@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;700&display=swap');

:root {
    --bg-main: #fffdf8;
    --bg-main-50: #FFFDF880;
    --bg-main-80: #FFFDF8cc;
    --bg-second: #ffffff;

    --neutre: #e0ded9;
    --neutre-50: #e0ded980;
    --rassurante: #004554;
    --ludique: #fc5757;
    --contraste: #1c1c1b;
    --contraste-50: #1c1c1b80;
    --contraste-25: #1c1c1b40;
    --contraste-5: #1c1c1b0d;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);

    font-family: 'Ubuntu';
    font-size: 10px;

    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

h1 {
    font-family: 'Kanit';
    font-size: 19.8em;
    font-weight: bold;
    color: var(--rassurante);
    text-shadow: 0 6px var(--contraste-25);
}

h2 {
    font-family: 'Kanit';
    font-size: 6.4em;
    font-weight: bold;
    color: var(--rassurante);
    text-align: center;
}

h3 {
    font-family: 'Kanit';
    font-size: 3.6em;
    font-weight: bold;
    color: var(--rassurante);
}

h4 {
    font-family: 'Kanit';
    font-size: 2.4em;
    font-weight: bold;
    color: var(--rassurante);
}

ul {
    list-style: url('/plugins/auto/terensys/squelettes/assets/images/logo-ul.svg') !important;
    padding-left: 3em;
}

li::marker {
    font-size: 1.6em;
}

p, a, li {
    font-size: 1.6em;
    text-align: justify;
    color: var(--contraste);
}

.leaflet-control-attribution a {
    font-size: 10px;
}

hr {
    border: 2px solid var(--neutre);
    border-radius: 2px;
}

.button {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 24px;
    width: fit-content;

    outline: none;
    border: 2px solid var(--contraste);
    border-radius: 24px;
    background-color: transparent;

    color: var(--contraste);
    font-weight: bold;
    text-decoration: none;

    cursor: pointer;
    transition: all 250ms ease-in-out;
}

.button:hover {
    background-color: var(--contraste);
    color: var(--neutre);

    transition: all 150ms ease-in-out;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 198px 0;
    min-height: calc(100vh - 409px);
}

.hr-terensys {
    border: none;
    height: 30px;
    width: 30vw;
    background-image:url('/plugins/auto/terensys/squelettes/assets/images/hr.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    position: relative;

    display: flex;
    flex-direction: column;
    
    padding: 198px 12px;
    max-width: 1200px;
}

.header {
    opacity: 0;
    transform: translateY(24px);
    transition-property: opacity, transform;
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0, 0.4, 0.5, 1);
}

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

/* Navbar */
#nav-container {
    position: fixed;
    top: 24px;

    display: flex;
    justify-content: center;

    width: 100vw;
    
    z-index: 70;
}

#nav {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 6px;

    border: 2px solid var(--contraste);
    border-radius: 48px;
    background-color: var(--bg-second);
    box-shadow: 0 4px var(--contraste-25);
}

#nav #nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 42.5px;
    height: 42.5px;

    border-radius: 50%;
    background-color: var(--contraste);
    transition: all 250ms ease-in-out;
}

#nav #nav-logo:hover {
    background-color: var(--rassurante);
    transition: all 150ms ease-in-out;
}

#nav #nav-logo img {
    height: 24px;
}

#nav #menu-icon {
    font-size: 14px;
}

#nav #nav-items {
    display: flex;
    align-items: center;
    gap: 12px;
}

#nav #burger-menu {
    position: absolute;
    top: calc(58.5px + 6px);
    right: 0;

    cursor: pointer;
}

#nav #burger-menu-mobile {
    position: absolute;
    top: calc(58.5px + 6px);
    right: 0;

    cursor: pointer;
}

#nav #nav-logo-full {
    display: none;
}

#nav #nav-items-burger {
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 6px;

    border: 2px solid var(--contraste);
    border-radius: 24px;
    background-color: var(--bg-second);
    box-shadow: 0 4px var(--contraste-25);
}

.not-shown {
    opacity: 0;

    transform: scale(0) translateY(-200px);
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(.85,-0.4,.2,1.5);
}

.shown {
    opacity: 1;

    transform: scale(1) translateY(0);
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(.85,-0.4,.2,1.5);
}

#nav #nav-items .nav-item,
#nav #nav-items-burger .nav-item {
    padding: 12px 24px;

    font-weight: bold;
    text-decoration: none;
    
    border-radius: 24px;
    transition: all 250ms ease-in-out;
}

#nav #burger {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 42.5px;
    height: 42.5px;

    border-radius: 50%;
    background-color: var(--contraste);

    cursor: pointer;
    user-select: none;
}

#nav #burger span {
    color: var(--neutre);
}

#nav #nav-items .nav-item:hover,
#nav #nav-items-burger .nav-item:hover {
    color: var(--neutre);
    background: var(--contraste);
    transition: all 150ms ease-in-out;
}

#nav #sub-menu {
    position: absolute;
    top: 48px;

    display: none;
    flex-direction: column;
    gap: 6px;

    padding: 6px;

    border: 2px solid var(--contraste);
    border-radius: 24px;
    background-color: var(--bg-second);
    box-shadow: 0 4px var(--contraste-25);
}

#nav #nav-items #item:hover #sub-menu {
    display: flex;
}

/* Breves */
.breves-marquee {
    width: 100%;
    overflow: hidden;
    background-color: var(--contraste);
    padding: 12px 0;
    position: relative;
}
  
.breves-track {
    display: flex;
    width: max-content;
    will-change: transform;
}
  
.breves-content {
    display: flex;
}
  
.breves-track a {
    margin: 0 48px;
    white-space: nowrap;
    color: var(--neutre);
    text-decoration: none;
    font-weight: bold;
}

/* Logo Animation */
#banner img.header {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#banner img.header.logo-loaded {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Animation SVG - État initial invisible */
#logo-animated #logo-part-1,
#logo-animated #logo-part-2,
#logo-animated #logo-part-3,
#logo-animated #letter-t-1,
#logo-animated #letter-t-2,
#logo-animated #letter-e-1,
#logo-animated #letter-r,
#logo-animated #letter-e-2,
#logo-animated #letter-n,
#logo-animated #letter-s-1,
#logo-animated #letter-y,
#logo-animated #letter-s-2 {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

/* Classes pour déclencher l'animation via JavaScript */
#logo-animated .animate-logo {
    opacity: 1 !important;
    transform: translateX(0) scale(1.1) !important;
    transition: all 0.8s ease-out !important;
}

#logo-animated .animate-letter {
    opacity: 1 !important;
    transform: translateX(0) scale(1.05) !important;
    transition: all 0.6s ease-out !important;
}

/* Animation logo terminée - nettoyage CSS */

/* Hero Banner */
#banner {
    position: relative;

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

    height: 90vh;
    padding: 20px;
    box-sizing: border-box;
}

#banner::before {
    content: '';

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background-image: url("/plugins/auto/terensys/squelettes/assets/images/banner.webp");
    filter: saturate(0);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -5;
}

#banner::after {
    content: '';

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    border-bottom: 2px solid var(--bg-second);
    background-color: var(--bg-main-80);
    z-index: -5;
}

#banner img.header, #banner #logo-animated {
    width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#banner .button {
    position: absolute;
    bottom: 25%;
}

#banner .scroll {
    position: absolute;
    bottom: 48px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#banner .scroll span {
    animation: 500ms up-and-down alternate infinite ease-in;
}

@keyframes up-and-down {
    from {
        transform: translateY(-3px);
    }

    to {
        transform: translateY(3px);
    }
}

#banner #support-button {
    top: 5%;
    left: 5%;
    
    height: fit-content;
    z-index: 10;
}

#banner #support-button:hover .material-symbols-rounded {
    color: var(--neutre);
}

.banner-carousel-section {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    
    background: #ffffff;
    padding: 40px 0 20px 0;
    z-index: 5;
    filter: drop-shadow(0 5px rgba(0, 0, 0, 0.20));
}

/* Zone de dégradé avec blur au-dessus du carrousel */
.banner-carousel-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.7) 70%,
        rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(4px);
    z-index: 6;
}





.banner-carousel-section::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 15px solid #ffffff;
    
    z-index: 8;
}

.banner-carousel-section .carousel-container {
    background-color: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 7;
}



.banner-carousel-section .carousel-track {
    display: flex;
    align-items: center;
    will-change: transform;
    white-space: nowrap;
}

.banner-carousel-section .carousel-track #bannerContent {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.banner-carousel-section .carousel-track a {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.banner-carousel-section .carousel-track img {
    height: 48px;
    width: auto;
    max-width: 140px;
    margin: 0 24px;
    filter: opacity(.7) saturate(0);
    transition: all 250ms ease-in-out;
    flex-shrink: 0;
    display: block;
}

.banner-carousel-section .carousel-track img:hover {
    filter: opacity(1) saturate(1);
    transform: scale(1.1);
}



.material-symbols-rounded {
    color: var(--contraste);

    font-variation-settings: 
    'FILL' 1,
    'wght' 700,
    'GRAD' 0,
    'OPSZ' 24;
}

/* Home articles */
#articles {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article {
    position: relative;

    display: flex;
    align-items: center;
    gap: 48px;

    padding: 198px 12px;
    width: 100%;
    max-width: 1200px;
}

#partenaire-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 198px;

    padding: 198px 12px 500px 12px;
    width: 100%;
}

.partenaire-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 128px;

    width: 100%;
}

.partenaire-content {
    position: relative;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 96px;

    width: 100%;
    max-width: 1200px;
}

.partenaire-right {
    flex-direction: row-reverse;
}

.partenaire-content .item-logo {
    display: flex; 

    padding: 24px 48px;
    min-width: 600px;

    border: 2px solid var(--contraste);
    background-color: var(--bg-second);
    box-shadow: 0 6px var(--contraste-25);
}

.partenaire-left .item-logo {
    justify-content: end;

    border-radius: 200px 12px 12px 200px;
}

.partenaire-right .item-logo {
    justify-content: start;
    
    border-radius: 12px 200px 200px 12px;
}

.partenaire-content .item-logo img {
    height: 128px;
}

.partenaire-content .details p {
    font-size: 2.4em;
    text-align: center;
}

.partenaire-content .elipse {
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;
    box-shadow: 0 6px var(--contraste-25);
    z-index: -10;
}

.partenaire-left .elipse {
    top: -80px;
    left: -150px;

    background-color: var(--rassurante);
}

.partenaire-right .elipse {
    top: -80px;
    right: -150px;

    background-color: var(--ludique);
}

.map-container {
    display: flex;
    flex-direction: column;
    gap: 24px;

    position: relative;
    margin-top: -1060px;
    padding: 198px 12px;
    width: 100%;
    max-width: 1200px;
    z-index: 8;
}

.box {
    display: flex;
    flex-direction: column;
    gap: 48px;

    padding: 48px;

    border-radius: 48px;
    border: 2px solid var(--contraste);
    background-color: var(--bg-second);
    box-shadow: 0 6px var(--contraste-25);
}

#map { 
    height: 60vh;
    
    border-radius: 24px;
    border: 2px solid var(--contraste);
    box-shadow: 0 6px var(--contraste-25);

    z-index: 10;
}

.article-right {
    flex-direction: row-reverse;
}

.article img {
    height: 600px;

    border: 2px solid var(--contraste);
    border-radius: 48px;
    box-shadow: 0 6px var(--contraste-25);
}

.content {
    position: absolute;
    bottom: 246px;
    right: 12px;

    display: flex;
    flex-direction: column;
    gap: 24px;

    padding: 24px;
    max-width: 500px;

    border: 2px solid var(--contraste);
    border-radius: 24px;
    background-color: var(--bg-second);
    box-shadow: 0 6px var(--contraste-25);
}

.article-right .content {
    bottom: 246px;
    left: 12px;
}

.content .action {
    display: flex;
    margin-top: 24px;
}

.content-texte {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;

    padding: 198px 12px;
    width: 100%;
    max-width: 1200px;
}

.content-texte h3 {
    font-size: 3.2rem;
    color: var(--rassurante);
    text-align: center;
    margin: 0;
}

.content-texte .texte {
    width: 100%;
    max-width: 800px;
    line-height: 1.6;
    text-align: center;
}

.content-texte .texte p {
    margin-bottom: 18px;
    font-size: 1.6rem;
    color: var(--contraste);
    text-align: center;
}

.content-texte .texte p:first-child {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--rassurante);
    margin-bottom: 24px;
}

.content-texte .texte p:last-child {
    font-style: italic;
    color: var(--ludique);
    margin-top: 24px;
}

.clients {
    display: none;
}

/* Carrousel */
#carousel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;

    padding: 200px 0 128px 0;
    width: 100%;
}

.carousel-container {
    position: relative;

    display: flex;
    flex-wrap: nowrap;

    padding: 450px 0 48px 0;
    width: 100%;

    background-color: var(--bg-main);
    z-index: 1;
}

.carousel-container .elipse {
    position: absolute;
    top: -350px;

    width: 100%;
    height: 300px;

    border-radius: 50%;
    background-color: var(--bg-main);
    box-shadow: 0 -6px 5px var(--contraste-25);
    z-index: -5;
}

.carousel img:hover {
    filter: opacity(1) saturate(1); 
    transform: scale(1.05) translateY(-12px);
    transition: all 150ms ease-in-out;
}

.carousel.paused {
    animation-play-state: paused;
}

.carousel {
    display: flex;
    align-items: center;

    animation: 25s slide linear infinite;
}

.carousel img {
    height: 72px;
    margin: 0 64px;

    filter: opacity(.5) saturate(0);
    transition: all 250ms ease-in-out;
}

/* Carrousel inverse */
.carousel-container.carousel-reverse {
    padding: 180px 0 48px 0;
    margin-top: -80px;
}

.carousel-reverse-animation {
    animation: 25s slide-reverse linear infinite;
}

.carousel-reverse-animation.paused {
    animation-play-state: paused;
}

@keyframes slide {
    from {
        transform: translateX(0);
    } 

    to {
        transform: translateX(-100%);
    }
}

@keyframes slide-reverse {
    from {
        transform: translateX(-100%);
    } 

    to {
        transform: translateX(0);
    }
}

.scroll-circles-section {
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    bottom: 90vh;
}

.scroll-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0;
    transition: all 0.8s ease-out;
    z-index: -2;
    box-shadow: 0 6px var(--contraste-25);
}

/* Styles des cercles animés au scroll - couleurs identiques aux cercles existants */
.scroll-circle-1 {
    width: 120px;
    height: 120px;
    background: var(--ludique);
    top: 10%;
    left: 15%;
    transform: translateY(100px);
}

.scroll-circle-2 {
    width: 80px;
    height: 80px;
    background: var(--rassurante);
    top: 25%;
    right: 20%;
    transform: translateY(120px);
}

.scroll-circle-3 {
    width: 150px;
    height: 150px;
    background: var(--neutre);
    top: 45%;
    left: 25%;
    transform: translateY(80px);
}

.scroll-circle-4 {
    width: 60px;
    height: 60px;
    background: var(--ludique);
    top: 60%;
    right: 35%;
    transform: translateY(150px);
}

.scroll-circle-5 {
    width: 200px;
    height: 200px;
    background: var(--rassurante);
    top: 15%;
    left: 60%;
    transform: translateY(60px);
}

.scroll-circle-6 {
    width: 90px;
    height: 90px;
    background: var(--neutre);
    top: 70%;
    left: 10%;
    transform: translateY(110px);
}

.scroll-circle-7 {
    width: 110px;
    height: 110px;
    background: var(--ludique);
    top: 35%;
    right: 10%;
    transform: translateY(90px);
}

.scroll-circle-8 {
    width: 70px;
    height: 70px;
    background: var(--rassurante);
    top: 80%;
    right: 25%;
    transform: translateY(130px);
}

.scroll-circle-9 {
    width: 95px;
    height: 95px;
    background: var(--neutre);
    top: 5%;
    left: 50%;
    transform: translateY(85px);
}

.scroll-circle-10 {
    width: 140px;
    height: 140px;
    background: var(--ludique);
    top: 55%;
    left: 5%;
    transform: translateY(110px);
}

.scroll-circle-11 {
    width: 55px;
    height: 55px;
    background: var(--rassurante);
    top: 20%;
    right: 5%;
    transform: translateY(95px);
}

.scroll-circle-12 {
    width: 180px;
    height: 180px;
    background: var(--neutre);
    top: 75%;
    left: 45%;
    transform: translateY(70px);
}

.scroll-circle-13 {
    width: 75px;
    height: 75px;
    background: var(--ludique);
    top: 30%;
    left: 35%;
    transform: translateY(120px);
}

.scroll-circle-14 {
    width: 100px;
    height: 100px;
    background: var(--rassurante);
    top: 65%;
    right: 15%;
    transform: translateY(85px);
}

.scroll-circle-15 {
    width: 45px;
    height: 45px;
    background: var(--neutre);
    top: 40%;
    left: 70%;
    transform: translateY(140px);
}

.scroll-circle-16 {
    width: 125px;
    height: 125px;
    background: var(--ludique);
    top: 85%;
    right: 40%;
    transform: translateY(75px);
}

/* Classes d'animation quand visible */
.scroll-circle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Section avec cercles décoratifs et cartes clients */
.clients-showcase-section {
    position: relative;
    width: 100%;
    padding: 40px 50px 20px;
    min-height: 400px;
    z-index: 1; 
}

/* Cercles colorés décoratifs en arrière-plan */
.decorative-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -8;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid white;
    animation: float 8s ease-in-out infinite;
}

/* Différents cercles avec les couleurs de la charte */
.circle-1 {
    width: 200px;
    height: 200px;
    background: var(--ludique);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: var(--rassurante);
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.circle-3 {
    width: 120px;
    height: 120px;
    background: var(--neutre);
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.circle-4 {
    width: 180px;
    height: 180px;
    background: var(--ludique);
    bottom: 10%;
    right: 5%;
    animation-delay: 3s;
}

.circle-5 {
    width: 100px;
    height: 100px;
    background: var(--rassurante);
    top: 60%;
    left: 50%;
    animation-delay: 1.5s;
}

.circle-6 {
    width: 140px;
    height: 140px;
    background: var(--ludique);
    top: 5%;
    left: 40%;
    animation-delay: 2.5s;
}

.circle-7 {
    width: 80px;
    height: 80px;
    background: var(--neutre);
    bottom: 50%;
    right: 30%;
    animation-delay: 0.5s;
}

.circle-8 {
    width: 160px;
    height: 160px;
    background: var(--rassurante);
    top: 40%;
    left: 20%;
    animation-delay: 4s;
}

/* Gros cercles pour couvrir la largeur */
.circle-big-1 {
    width: 300px;
    height: 300px;
    background: var(--ludique);
    top: -5%;
    left: -10%;
    animation-delay: 0s;
}

.circle-big-2 {
    width: 350px;
    height: 350px;
    background: var(--rassurante);
    bottom: -15%;
    right: -12%;
    animation-delay: 4s;
}

.circle-big-3 {
    width: 280px;
    height: 280px;
    background: var(--neutre);
    top: 20%;
    right: -8%;
    animation-delay: 2s;
}

/* Petits cercles pour remplir les espaces */
.circle-small-1 {
    width: 60px;
    height: 60px;
    background: var(--ludique);
    top: 15%;
    left: 25%;
    animation-delay: 1s;
}

.circle-small-2 {
    width: 70px;
    height: 70px;
    background: var(--rassurante);
    bottom: 35%;
    left: 5%;
    animation-delay: 3s;
}

.circle-small-3 {
    width: 50px;
    height: 50px;
    background: var(--neutre);
    top: 70%;
    left: 15%;
    animation-delay: 2.5s;
}

.circle-small-4 {
    width: 65px;
    height: 65px;
    background: var(--ludique);
    top: 30%;
    right: 25%;
    animation-delay: 4.5s;
}

.circle-small-5 {
    width: 55px;
    height: 55px;
    background: var(--rassurante);
    bottom: 15%;
    left: 70%;
    animation-delay: 1.5s;
}

.circle-small-6 {
    width: 75px;
    height: 75px;
    background: var(--neutre);
    top: 50%;
    right: 5%;
    animation-delay: 3.8s;
}

.circle-small-7 {
    width: 45px;
    height: 45px;
    background: var(--ludique);
    bottom: 60%;
    right: 15%;
    animation-delay: 2.2s;
}

.circle-small-8 {
    width: 65px;
    height: 65px;
    background: var(--rassurante);
    top: 80%;
    right: 35%;
    animation-delay: 5s;
}

/* Conteneur des cartes clients - Positionnement libre et aléatoire */
.clients-cards-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 5%;
    width: 100%;
    box-sizing: border-box;
    min-height: 300px;
}

/* Positionnement aléatoire pour chaque carte avec margins spécifiques */
.client-card:nth-child(1) { 
    transform: rotate(-8deg) translateY(30px); 
    margin: 20px 40px 10px 0px;
}
.client-card:nth-child(2) { 
    transform: rotate(5deg) translateY(10px); 
    margin: 0px 20px 30px 30px;
}
.client-card:nth-child(3) { 
    transform: rotate(-3deg) translateY(40px); 
    margin: 15px 0px 20px 50px;
}
.client-card:nth-child(4) { 
    transform: rotate(7deg) translateY(70px); 
    margin: 40px 60px 10px 20px;
}
.client-card:nth-child(5) { 
    transform: rotate(-5deg) translateY(35px); 
    margin: 25px 30px 15px 40px;
}
.client-card:nth-child(6) { 
    transform: rotate(4deg) translateY(80px); 
    margin: 50px 10px 20px 70px;
}

/* Cartes rectangulaires pour les logos - plus grandes et penchées */
.client-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px 35px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.8);
    min-width: 160px;
    max-width: 280px;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}



.client-card:hover {
    transform: translateY(-20px) scale(1.15) rotate(0deg) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
    background: rgba(255, 255, 255, 1) !important;
    border: 3px solid rgba(255, 255, 255, 1) !important;
    z-index: 100 !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.client-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    z-index: 10;
    position: relative;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card a:hover {
    transform: none !important;
    z-index: 101 !important;
    outline: none;
}

.client-card a:focus {
    outline: 2px solid var(--ludique);
    outline-offset: 2px;
}

.client-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover img {
    transform: scale(1.2) !important;
}

/* Animation de flottement pour les cercles */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(5deg);
    }
    66% {
        transform: translateY(-5px) rotate(-3deg);
    }
}

.big-title-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* 4 Blocs */

.main-blocs-container {
    display: flex;
    justify-content: center;
}

.blocs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    position: relative;
}

.blocs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 200px;
    padding-bottom: 200px;
    max-width: 600px;
}

.section-4-blocs {
    text-align: center;
    padding: 198px 12px 0px 12px;
}

.text-container, .text-container-citation {
    display: flex;
    justify-content: center;
    padding: 60px;
    flex-direction: column;
    text-align: justify;
}

.text-container-citation p {
    max-width: 1000px;
    text-align: center;
    padding: 10px;
}

.blocs-text-container p {
    max-width: 1000px;
    text-align: justify;
    padding: 10px;
    font-size: 1.5rem;
}

.svg-deco {
    position: absolute;
    top: 610px;
}


.svg-left {
    transform: translateY(-90%);
    left: -20%;
}

.svg-right {
    transform: translateY(-70%);
    right: -20%;
}

.bloc {
    display: flex;
    border-radius: 24px;
    border: 2px solid var(--contraste);
    background: #FFF;
    padding: 24px;
    box-shadow: 0px 6px 0px 0px var(--contraste-25);
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.bloc .title {
    font-family: 'Kanit';
    font-weight: bold;
    font-size: 20px;
    color: var(--rassurante);
}
.bloc p {
    text-align: center;
}

.bloc hr {
    width: 20em;
    border: 2px solid var(--ludique);
}

/* Image avec Cartes */
.cards-section {
    display: flex;
    justify-content: space-between;

    padding: 198px 12px 0 12px;
    width: 100%;
}

.cards-section .article {
    padding-top: 0;
}

.cards-section .content {
    bottom: 136px;
    right: -200px;
    z-index: 1;
}

.cards {
	--curvature: calc(7.5deg * var(--cards) / max(var(--cards), 1));
	width: 100%;
    height: 50%;
	display: flex;
	justify-content: center;
	transform-style: preserve-3d;
	list-style: none !important;
}

.cards > li {
	--curve: calc(var(--curvature) * (var(--index) - ((var(--cards) - 1) / 2)));
    position: absolute;
	flex: 0 0 auto;
	width: calc(min(220px, 90vw / var(--cards)));
	aspect-ratio: 2/3;
	transform-origin: 50% 350%;
	transform: rotate(var(--curve)) translateY(-20%);
	transition: all 0.3s;
	cursor: pointer;
	font-size: 3em;
    text-align: center;
	transform-style: preserve-3d;
}


.inner {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border: 2px solid black;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}


.cards > *:hover .inner {
    animation: hoverEffect 1s ease-in-out infinite alternate forwards;
    transform: translateY(-40%) scale(1.2) rotate(calc(var(--curve) * -1));
    transition-duration: 0.2s, 0s;
    translate: 0px -100px 1px;
}


@keyframes hoverEffect {
	from {
        transform: translateY(0) scale(1.2) rotate(calc(var(--curve) * -1));
    }
    to {
        transform: translateY(12px) scale(1.2) rotate(calc(var(--curve) * -1));
    }
}

.inner .nom {
    font-family: 'Kanit';
    font-weight: bold;
    font-size: .8rem;
    color: var(--ludique);
}

.inner .fonction {
    font-family: 'Kanit';
    font-weight: bold;
    font-size: .7rem;
    color: var(--rassurante);
    text-align: center;
}

.inner img {
    border-radius: 24px;
    object-fit: cover;
    width: 80%;
    height: 80%;
    overflow: hidden;
}

.cards-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  height: calc(30vh * var(--rows));
}

.cards-wrapper a {
    text-decoration: none;
}


/* Footer */
.material-symbols-outlined {
    color: var(--ludique);
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

#footer {
    display: flex;
    flex-direction: column;
    gap: 64px;

    padding: 96px 15%;
    width: 100vw;
    
    background-color: var(--contraste);
    position: relative;
    z-index: 2;
}

#footer p {
    color: var(--neutre);
}

#footer .network {
    display: flex;
    align-items: center;
    gap: 6px;
}

#footer .network img {
    width: 16px;
    height: 16px;
}

#footer .text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#footer .text .title {
    font-family: 'Kanit';
    font-weight: bold;
    font-size: 2.4em;
}

#footer a {
    color: var(--neutre);
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .icon {
    padding-top: 7px;
}

#footer #informations {
    display: flex;
    justify-content: space-between;
    gap: 128px;
}

#footer #informations .information {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

#footer #informations .logo {
    display: flex;
    align-items: center;
}

#footer #informations .logo img {
    height: 24px;
}

#footer .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

#footer .footer #information-inline {
    display: flex;
    gap: 24px;
}

.popup_map img{
    width: 100%;
}

.popup_map p {
    font-size: 1em;
    color: var(--rassurante);
}

.popup_map .title {
    font-family: 'Kanit';
    font-weight: bold;
    font-size: 2.4em;
    margin: 0;
    color: var(--ludique);
}

.blurry-circle-1,
.blurry-circle-2,
.blurry-circle-3 {
    position: fixed;

    filter: opacity(.5) blur(50em);
}

.blurry-circle-1 {
    top: -150px;
    left: -150px;

    width: 500px;
    height: 500px;

    border-radius: 50%;
    background-color: var(--rassurante);

    z-index: -10;
}

.blurry-circle-2 {
    bottom: 24px;
    right: 20%;

    width: 500px;
    height: 500px;

    border-radius: 50%;
    background-color: var(--ludique);

    z-index: -10;
}

.blurry-circle-3 {
    bottom: 50%;
    right: 10%;

    width: 300px;
    height: 300px;

    border-radius: 50%;
    background-color: var(--rassurante);

    z-index: -10;
}

.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    

    width: 100%;
    height: 100%;
}

@keyframes elipse-left {
    from {
        transform: translateY(-50px);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes elipse-middle {
    from {
        transform: translateX(-35px);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes elipse-right {
    from {
        transform: translateY(-35px);
    }

    to {
        transform: translateY(35px);
    }
}

.elipse-deco {
    position: absolute;
    
    border-radius: 50%;
    box-shadow: 0 6px var(--contraste-25);

    z-index: -5;
}
.elipse-deco.elipse-left {
    width: 350px;
    height: 350px;

    bottom: 300px;
    left: -25px;

    background-color: var(--ludique);
    
    animation: 9s elipse-left infinite ease-in-out alternate;
}

.elipse-deco.elipse-middle {
    width: 250px;
    height: 250px;

    top: 90px;
    right: 50px;

    background-color: var(--neutre);

    animation: 7s elipse-middle infinite ease-in-out alternate;
}

.elipse-deco.elipse-right {
    width: 350px;
    height: 350px;

    top: calc(50% - 175px);
    right: -175px;

    background-color: var(--rassurante);

    animation: 6s elipse-right infinite ease-in-out alternate;
}

@media screen and (max-width: 1820px) {

    .cards-section {
        flex-direction: column;
        gap: 24px;
    }

    .elipse-deco{
        display: none;
    }
    
    .cards > li {
        width: 15vw;
    }
}


@media screen and (min-width: 1820px) and (max-width: 2228px){
    .cards-section {
        gap: 15%;
    }

    .article {
        width: 30%;
    }
    .content-texte {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .cards-section .content {
        right: -400px;
    }
}

/* Ajustements pour écrans ultra-larges */
@media screen and (min-width: 2400px) {  
    .content-texte {
        max-width: 1200px;
    }
}


@media screen and (max-width: 1500px) {
    #banner #support-button {
        left: 12px;
    }
}

@media screen and (max-width: 1440px) {
    #footer {
        padding: 96px 10%;
    }

    #footer #informations {
        gap: 96px;
    }
}

@media screen and (max-width: 1350px) {
    #nav {
        gap: 24px;
    }

    #nav #nav-logo img {
        height: 14px;
    }

    #nav #nav-logo-full {
        display: inline;
    }

    #nav #nav-items {
        display: none;
    }

    #nav #burger {
        display: flex;
    }
}

@media screen and (max-width: 1200px) {
    .cards-section .content {
        right: 12px;
    }

    .cards > li {
        width: 22vw;
    }

}

@media screen and (max-width: 1024px) {
    body {
        font-size: 8px;
    }

    .article img {
        height: 400px;
    }

    .content {
        max-width: 400px;
    }
    
    .content-texte {
        padding: 128px 12px;
        gap: 32px;
    }

    .content-texte h3 {
        font-size: 2.8rem;
    }

    .content-texte .texte p {
        font-size: 1.5rem;
    }

    .content-texte .texte p:first-child {
        font-size: 1.7rem;
    }
    
    .partenaire-content {
        gap: 48px;
    }

    .partenaire-content .item-logo {
        min-width: 350px;
    }

    .partenaire-content .item-logo img {
        height: 64px;
    }

    .partenaire-content .elipse {
        width: 250px;
        height: 250px;
    }

    .carousel-container .elipse {
        top: -250px;
        height: 150px;
        border-radius: 50%;
    }

    .svg-deco {
        top: 580px;
    }

    .svg-left {
        left: -100px;
    }
    
    .svg-right {
        right: -100px;
    }


    #footer {
        padding: 96px 5%;
    }

    #footer #informations {
        gap: 24px;
        flex-wrap: wrap;
    }

    #footer #informations .logo {
        width: 100%;
    }

    #footer .text img {
        height: 12.8px;
    }

    /* Responsive pour les cercles d'animation au scroll */
    .scroll-circles-section {
        height: 60vh;
    }

    .scroll-circle-1 {
        width: 80px;
        height: 80px;
        left: 10%;
    }

    .scroll-circle-2 {
        width: 60px;
        height: 60px;
        right: 15%;
    }

    .scroll-circle-3 {
        width: 100px;
        height: 100px;
        left: 20%;
    }

    .scroll-circle-4 {
        width: 45px;
        height: 45px;
        right: 30%;
    }

    .scroll-circle-5 {
        width: 120px;
        height: 120px;
        left: 55%;
    }

    .scroll-circle-6 {
        width: 65px;
        height: 65px;
        left: 5%;
    }

    .scroll-circle-7 {
        width: 75px;
        height: 75px;
        right: 5%;
    }

    .scroll-circle-8 {
        width: 50px;
        height: 50px;
        right: 20%;
    }

    .scroll-circle-9 {
        width: 65px;
        height: 65px;
        left: 45%;
    }

    .scroll-circle-10 {
        width: 90px;
        height: 90px;
        left: 3%;
    }

    .scroll-circle-11 {
        width: 40px;
        height: 40px;
        right: 3%;
    }

    .scroll-circle-12 {
        width: 110px;
        height: 110px;
        left: 40%;
    }

    .scroll-circle-13 {
        width: 55px;
        height: 55px;
        left: 30%;
    }

    .scroll-circle-14 {
        width: 70px;
        height: 70px;
        right: 12%;
    }

    .scroll-circle-15 {
        width: 35px;
        height: 35px;
        left: 65%;
    }

    .scroll-circle-16 {
        width: 85px;
        height: 85px;
        right: 35%;
    }

    /* Masquer quelques cercles sur tablette pour éviter la surcharge */
    .scroll-circle-12, .scroll-circle-15, .scroll-circle-16 {
        display: none;
    }

    /* Repositionner quelques cercles pour éviter qu'ils sortent du cadre */
    .scroll-circle-1 {
        top: 15%;
    }

    .scroll-circle-2 {
        top: 30%;
    }

    .scroll-circle-5 {
        top: 20%;
    }

    .scroll-circle-9 {
        top: 10%;
    }

    .scroll-circle-11 {
        top: 25%;
    }

    /* Responsive section showcase clients */
    .clients-showcase-section {
        padding: 30px 40px 15px;
        min-height: 350px;
    }

    .clients-cards-container {
        padding: 15px 6%;
        min-height: 280px;
        max-height: 350px;
    }
    
    /* Garder 3 cartes minimum sur tablettes */

    /* Ajustement positionnement aléatoire tablette */
    .client-card:nth-child(1) { 
        transform: rotate(-6deg) translateY(25px); 
        margin: 15px 30px 8px 0px;
    }
    .client-card:nth-child(2) { 
        transform: rotate(4deg) translateY(8px); 
        margin: 0px 15px 25px 25px;
    }
    .client-card:nth-child(3) { 
        transform: rotate(-2deg) translateY(35px); 
        margin: 12px 0px 15px 40px;
    }
    .client-card:nth-child(4) { 
        transform: rotate(5deg) translateY(55px); 
        margin: 30px 45px 8px 15px;
    }
    .client-card:nth-child(5) { 
        transform: rotate(-4deg) translateY(28px); 
        margin: 20px 25px 12px 30px;
    }
    .client-card:nth-child(6) { 
        transform: rotate(3deg) translateY(60px); 
        margin: 40px 8px 15px 50px;
    }

    .client-card {
        padding: 20px 25px;
        min-width: 130px;
        max-width: 200px;
        border: 2px solid rgba(255, 255, 255, 0.8);
    }

    .client-card img {
        max-height: 65px;
    }

    #carousel-container {
        gap: 60px;
        padding: 40px 0 128px 0;
    }

    /* Ajustement des cercles décoratifs */
    .circle-big-1, .circle-big-2, .circle-big-3 {
        width: 250px;
        height: 250px;
    }

    .circle-1, .circle-4, .circle-8 {
        width: 140px;
        height: 140px;
    }

    .circle-2, .circle-6 {
        width: 100px;
        height: 100px;
    }

    .circle-3, .circle-7 {
        width: 80px;
        height: 80px;
    }

    .circle-small-1, .circle-small-2, .circle-small-3, .circle-small-4, 
    .circle-small-5, .circle-small-6, .circle-small-7, .circle-small-8 {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 2228px) {
    /* Masquer la 6e carte - garder 5 cartes */
    .client-card:nth-child(n+6) {
        display: none;
    }
}

@media screen and (max-width: 1828px) {
    /* Masquer à partir de la 5e carte - garder 4 cartes */
    .client-card:nth-child(n+5) {
        display: none;
    }
}

@media screen and (max-width: 1440px) {
    /* Masquer à partir de la 4e carte - garder 3 cartes */
    .client-card:nth-child(n+4) {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    .svg-deco {
        display: none;
    }
    .carousel {
        display: none;
    }

    .article {
        flex-direction: column;
        gap: 2.4em;
    }

    .article img {
        width: 100%;
        height: fit-content;
    }

    .content {
        position: unset;

        border: none;
        background-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .content-texte {
        padding: 96px 12px;
        gap: 24px;
    }

    .content-texte h3 {
        font-size: 2.4rem;
    }

    .content-texte .texte p {
        font-size: 1.4rem;
    }

    .content-texte .texte p:first-child {
        font-size: 1.6rem;
    }

    .container {
        padding: 128px 12px;
    }
    
    .article {
        padding: 128px 12px;
    }

    #partenaire-container {
        gap: 128px;
        padding: 128px 12px 400px 12px;
    }

    .partenaire-container {
        gap: 96px;
    }

    .map-container {
        margin-top: -350px;
        padding: 128px 12px;
    }

    .box {
        padding: 24px;
    }

    .carousel-container {
        gap: 0px;
        padding: 0px;
    }
    
    .carousel-container.carousel-reverse {
        margin-top: -60px;
    }

    .blocs {
        padding-top: 128px;
    }

    .section-4-blocs {
        padding: 128px 12px;
    }

    .svg-left {
        top: 50%;
        left: -100px;
    }
    
    .svg-right {
        bottom: -150%;
        right: -100px;
    }

    .cards-section {
        padding: 128px 12px 0 12px;
    }

    .cards > li {
        width: 22vw;
    }


    .scroll-circles-section {
        height: 50vh;
        bottom: 60vh;
    }

    .scroll-circle-1 {
        width: 60px;
        height: 60px;
        left: 8%;
    }

    .scroll-circle-2 {
        width: 40px;
        height: 40px;
        right: 12%;
    }

    .scroll-circle-3 {
        width: 80px;
        height: 80px;
        left: 18%;
    }

    .scroll-circle-4 {
        width: 35px;
        height: 35px;
        right: 28%;
    }

    .scroll-circle-5 {
        width: 90px;
        height: 90px;
        left: 50%;
    }

    .scroll-circle-6 {
        width: 45px;
        height: 45px;
        left: 3%;
    }

    .scroll-circle-7 {
        width: 55px;
        height: 55px;
        right: 3%;
    }

    .scroll-circle-8 {
        width: 38px;
        height: 38px;
        right: 18%;
    }

    .scroll-circle-9 {
        width: 50px;
        height: 50px;
        left: 42%;
    }

    .scroll-circle-10 {
        width: 70px;
        height: 70px;
        left: 2%;
    }

    .scroll-circle-11 {
        width: 30px;
        height: 30px;
        right: 2%;
    }

    .scroll-circle-12 {
        width: 85px;
        height: 85px;
        left: 38%;
    }

    .scroll-circle-13 {
        width: 42px;
        height: 42px;
        left: 28%;
    }

    .scroll-circle-14 {
        width: 55px;
        height: 55px;
        right: 10%;
    }

    .scroll-circle-15 {
        width: 28px;
        height: 28px;
        left: 62%;
    }

    .scroll-circle-16 {
        width: 65px;
        height: 65px;
        right: 32%;
    }

    /* Masquer beaucoup de cercles sur mobile pour éviter la surcharge */
    .scroll-circle-9, .scroll-circle-10, .scroll-circle-11, 
    .scroll-circle-12, .scroll-circle-13, .scroll-circle-14, 
    .scroll-circle-15, .scroll-circle-16 {
        display: none;
    }

    /* Repositionner les cercles restants pour qu'ils ne sortent pas du cadre */
    .scroll-circle-1 {
        top: 20%;
        left: 10%;
    }

    .scroll-circle-2 {
        top: 35%;
        right: 15%;
    }

    .scroll-circle-3 {
        top: 50%;
        left: 20%;
    }

    .scroll-circle-4 {
        top: 65%;
        right: 25%;
    }

    .scroll-circle-5 {
        top: 25%;
        left: 55%;
    }

    .scroll-circle-6 {
        top: 75%;
        left: 5%;
    }

    .scroll-circle-7 {
        top: 45%;
        right: 8%;
    }

    .scroll-circle-8 {
        top: 80%;
        right: 20%;
    }

    /* Responsive showcase clients sur mobile */
    .clients-showcase-section {
        padding: 20px 30px 10px;
        min-height: 280px;
    }

    .clients-cards-container {
        padding: 10px 4%;
        min-height: 250px;
        max-height: 300px;
    }
    
    /* Garder 3 cartes minimum sur mobile */

    .client-card {
        padding: 15px 20px;
        min-width: 100px;
        max-width: 150px;
        border: 2px solid rgba(255, 255, 255, 0.8);
    }

    /* Positionnement aléatoire réduit sur mobile pour 6 cartes */
    .client-card:nth-child(1) { 
        transform: rotate(-4deg) translateY(20px); 
        margin: 10px 20px 5px 0px;
    }
    .client-card:nth-child(2) { 
        transform: rotate(3deg) translateY(5px); 
        margin: 0px 10px 20px 15px;
    }
    .client-card:nth-child(3) { 
        transform: rotate(-2deg) translateY(25px); 
        margin: 8px 0px 10px 25px;
    }
    .client-card:nth-child(4) { 
        transform: rotate(4deg) translateY(40px); 
        margin: 20px 30px 5px 10px;
    }
    .client-card:nth-child(5) { 
        transform: rotate(-3deg) translateY(15px); 
        margin: 15px 15px 8px 20px;
    }
    .client-card:nth-child(6) { 
        transform: rotate(2deg) translateY(45px); 
        margin: 30px 5px 10px 35px;
    }

    .client-card img {
        max-height: 50px;
    }

    #carousel-container {
        gap: 40px;
        padding: 20px 0 128px 0;
    }
    
    .carousel-container.carousel-reverse {
        margin-top: -40px;
    }

    /* Cercles plus petits sur mobile */
    .circle-big-1, .circle-big-2, .circle-big-3 {
        width: 200px;
        height: 200px;
    }

    .circle-1, .circle-4, .circle-8 {
        width: 100px;
        height: 100px;
    }

    .circle-2, .circle-6 {
        width: 80px;
        height: 80px;
    }

    .circle-3, .circle-5, .circle-7 {
        width: 60px;
        height: 60px;
    }

    .circle-small-1, .circle-small-2, .circle-small-3, .circle-small-4, 
    .circle-small-5, .circle-small-6, .circle-small-7, .circle-small-8 {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 680px) {
    #banner #support-button {
        top: 12px;
        left: 12px;
    }

    #banner #support-button span {  
        display: none;
    }
}

@media screen and (max-width: 550px) {
    h2 {
        font-size: 4.8em;
    }

    h3 {
        font-size: 2.4em;
    }

    h4 {
        font-size: 1.8em;
    }

    p, a, li {
        font-size: 1.6em;
    }

    .content-texte {
        padding: 64px 12px;
        gap: 20px;
    }

    .content-texte h3 {
        font-size: 2rem;
    }

    .content-texte .texte p {
        font-size: 1.3rem;
    }

    .content-texte .texte p:first-child {
        font-size: 1.5rem;
    }

    .container {
        padding: 96px 12px;
    }
    
    .article {
        padding: 96px 12px;
    }

    #partenaire-container {
        gap: 96px;
        padding: 96px 12px 400px 12px;

    }

    .partenaire-container {
        gap: 48px;
    }

    .map-container {
        margin-top: -250px;
        padding: 96px 12px;
    }

    .box {
        padding: 24px;
    }

    #carousel-container {
        gap: 128px;
        padding: 150px 0 96px 0;
    }
    
    .carousel-container.carousel-reverse {
        margin-top: -50px;
    }

    .carousel img {
        height: 48px;
        margin: 0 48px;
    }

    .carousel-container .elipse {
        top: -175px;
        height: 75px;
    }

    .blocs {
        padding-top: 96px;
    }

    .section-4-blocs {
        padding: 96px 12px;
    }

    .blocs {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .bloc {
        max-width: 70vw;
    }

    .svg-left {
        display: none;
    }

    .svg-right {
        display: none;
    }

    .cards-section {
        padding: 96px 12px 0 12px;
    }

    .cards > li {
        width: 22vw;
    }

    .inner {
        padding-top: 6px;
    }

    .inner .nom {
        font-size: 50%;
    }

    .inner .fonction {
        font-size: 40%;
        text-align: center;
    }

    .partenaire-content {
        flex-direction: column;
        gap: 24px;
    }   

    .partenaire-content .item-logo {
        justify-content: center;

        border-radius: 200px;
    }

    .partenaire-content .details {
        display: flex;
        justify-content: center;

        padding: 0 10%;
        width: 100%;
    }

    #footer #informations {
        flex-direction: column;
        gap: 48px;
    }

    /* Responsive showcase clients très petits écrans */
    .clients-showcase-section {
        padding: 15px 20px 5px;
        min-height: 220px;
    }

    .clients-cards-container {
        padding: 10px 3%;
        min-height: 200px;
        max-height: 250px;
        justify-content: space-around;
    }
    
    /* Garder 3 cartes minimum sur très petits écrans */

    .client-card {
        padding: 12px 18px;
        min-width: 90px;
        max-width: 130px;
        border: 2px solid rgba(255, 255, 255, 0.8);
    }

    /* Positionnement minimal sur très petits écrans - arrangement 2x3 */
    .client-card:nth-child(1) { 
        transform: rotate(-2deg) translateY(10px); 
        margin: 5px 15px 3px 0px;
    }
    .client-card:nth-child(2) { 
        transform: rotate(2deg) translateY(10px); 
        margin: 5px 0px 3px 15px;
    }
    .client-card:nth-child(3) { 
        transform: rotate(-1deg) translateY(5px); 
        margin: 3px 10px 5px 5px;
    }
    .client-card:nth-child(4) { 
        transform: rotate(2deg) translateY(5px); 
        margin: 3px 5px 5px 10px;
    }
    .client-card:nth-child(5) { 
        transform: rotate(-2deg) translateY(15px); 
        margin: 8px 15px 5px 0px;
    }
    .client-card:nth-child(6) { 
        transform: rotate(1deg) translateY(15px); 
        margin: 8px 0px 5px 15px;
    }

    .client-card img {
        max-height: 40px;
    }

    #carousel-container {
        gap: 30px;
        padding: 120px 0 96px 0;
    }
    
    .carousel-container.carousel-reverse {
        margin-top: -30px;
    }

    /* Cercles très petits sur petits écrans */
    .circle-big-1, .circle-big-2, .circle-big-3 {
        width: 150px;
        height: 150px;
    }

    .circle-1, .circle-4, .circle-8 {
        width: 80px;
        height: 80px;
    }

    .circle-2, .circle-6 {
        width: 60px;
        height: 60px;
    }

    .circle-3, .circle-5, .circle-7 {
        width: 40px;
        height: 40px;
    }

    .circle-small-1, .circle-small-2, .circle-small-3, .circle-small-4, 
    .circle-small-5, .circle-small-6, .circle-small-7, .circle-small-8 {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 425px) {
    h2 {
        font-size: 3.6em;
    }

    h3 {
        font-size: 1.8em;
    }

    h4 {
        font-size: 1.4em;
    }

    p, a, li{
        font-size: 1.4em;
    }
}

.grid-articles-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes fixes */
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    padding: 2rem;
}

.grid-article {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    border: 2px solid var(--contraste);
    background: #FFF;
    padding: 32px;
    box-shadow: 0px 8px 0px 0px var(--contraste-25);
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-articles-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.grid-article p {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.grid-article:hover {
    transform: translateY(-20px) scale(1.15) rotate(0deg) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
    background: rgba(255, 255, 255, 1) !important;
    z-index: 100 !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Responsive : 1 colonne sur petits écrans */
@media screen and (max-width: 700px) {
    .grid-articles-container {
        grid-template-columns: 1fr;
    }
}

.grid-article:nth-child(1) { 
    transform: rotate(-8deg) translateY(-70px);
}
.grid-article:nth-child(2) {
    transform: rotate(5deg) translateY(-20px);
}
.grid-article:nth-child(3) { 
    transform: rotate(5deg) translateY(-90px);
}
.grid-article:nth-child(4) { 
    transform: rotate(-7deg) translateY(-70px);
}


@media screen and (max-width: 1820px) {
    .grid-articles-container {
        display: none;
    }
}


@media screen and (max-height: 1500px) {
    .scroll-circles-section {
        bottom: 70vh;
    }
    
}

@media screen and (max-height: 1280px) {
    .scroll-circles-section {
        bottom: 90vh;
    }
    
}

@media screen and (max-height: 980px) {
    .scroll-circles-section {
        bottom: 160vh;
    }
}