.landing-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap:60px;
    /*margin: 50px 0;*/
    
}

.landing__section {
    margin: 0px 65px;
    display: block;
    text-align: center;
}

.landing__section:not(:first-of-type) {
  margin-bottom: 40px;
}

.landing__hero-content {
    display: flex;
    align-items: anchor-center;
    /*justify-content: center;*/
    gap : 100px;
}

.landing__hero .landing__hero-left, .landing__hero-switched .landing__hero-right, 
.landing__hero .landing__hero-right, .landing__hero-switched .landing__hero-left
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap : 40px;
}

.landing__hero-left h1, .landing__hero-switched .landing__hero-right h1 {
    font-family: Poppins;
    font-weight: 900;
    line-height: 115%;
}

.landing__hero-left h4, .landing__hero-switched .landing__hero-right h4 {
    font-weight: 600;
    line-height: 190%;
}

.landing__button-primary {
    border-radius: 8px;
    padding: 12px 20px;
    background: #55F5FF;
}

.landing__buttons-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.landing__buttons-container-mobile {
    display: none;
}

.landing__button-primary {
    display: inline-block;
    border-radius: 8px;
    padding: 12px 20px;
    background: #55F5FF;
    text-decoration: none;
}

.landing__button-centred {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing__button-primary span {
    font-size: 18px;
    line-height: 24px;
    color: #161822;
}

.landing__hero-right img, .landing__hero-left img {
    width: 450px;
    height: 450px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero_svg_image image {
  shape-rendering: crispEdges;
  text-rendering: optimizeLegibility;
}

.landing__boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.landing__boxes-header, .landing__testimonials-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.landing__boxes-header h1 {
    font-weight: 900;
    line-height: 130%;
    text-align: center;
    letter-spacing: -0.56px;
}

.landing__boxes-header span {
    font-weight: 400;
    line-height: 150%;
}

.landing__boxes-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.landing__boxes-card {
    min-width: 409px;
    width: 100%;
    min-height: 325px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 20px;
    padding: 20px 8px;
    background: var(--color-white);
}

.landing__boxes-no-icon .landing__boxes-card {
    justify-content: space-around;
}

.landing__boxes-card-header h3 {
    font-weight: 600;
    line-height: 130%;
    color: var(--color-black);
    text-align: center;
}

.landing__boxes-card-content p {
    font-weight: 400;
    line-height: 150%;
    color: #2D2D2D;
    text-align: center;
    font-size : 20px;
}

.landing__boxes-no-icon h3 {
    font-size: 26px;
}

.landing__boxes-no-icon p {
    line-height: 190%;
}

.landing__boxes-carousel {
    overflow: hidden;
    width: 80%;
    height: 150px;
    position: relative;
}

.landing__boxes-carousel-content {
    display: flex;
    gap: 24px;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.carousel-img {
    max-width: 150px;
    max-height: 200px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;   
    background: #FFFFFF;
}

.landing__boxes-card-payment {
    gap: 30px;
    max-width: 370px;
    color: var(--color-black);
    padding: 40px 30px;
}

.landing__boxes-card-payment .landing__boxes-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
}

.landing__boxes-card-payment .landing__boxes-card-header * { 
    text-align: left;
    color: #2D2D2D;
}

.landing__boxes-card-payment .landing__boxes-card-header span:first-of-type {
    font-weight: 400;
    line-height: 150%;
}

.landing__boxes-card-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.landing__boxes-card-payment .landing__boxes-card-header .landing__boxes-card-header-container span:first-of-type {
    font-weight: 700;
    font-size: 50px;
    line-height: 130%;
    letter-spacing: -2px;
}

.landing__boxes-card-payment .landing__boxes-card-header .landing__boxes-card-header-container span:nth-of-type(2) {
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
}
.landing__boxes-card-payment .landing__boxes-card-header p {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
}

.landing__boxes-card-payment .landing__button-primary {
    border-radius: 20px;
    padding: 16px 50px;
    background: #4285F4;
}

.landing__boxes-card-payment .landing__button-primary span {
    font-weight: 600;
    font-size: 16px;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
}

.landing__boxes-card-content ul {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
}

.landing__boxes-card-content ul li {
    display: flex;
    justify-content: center;
    gap: 12px;
    text-align: left;
    color : #2D2D2D;
}

.landing__boxes-card-content ul li span {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color : #2D2D2D;
}

.landing__boxes-card-content ul li img {
    width: 20px;
    height: 20px;
}

.landing__testimonials.landing__section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-left: 0;
    margin-right: 0;
}

.landing__testimonials-content {
    width: 100%;
    display: flex;
    align-items: anchor-center;
    justify-content: center;
    gap: 120px;
    padding: 80px 160px;
    background: #FEC8C6;
}

.landing__testimonials-header h1 {
    font-weight: 900;
    line-height: 130%;
    letter-spacing: -0.76px;
}

.landing__testimonials-left .team_img, .landing__testimonials-right .team_img {
    width: 480px;
    height: 467px;
    min-height: 367px;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
    filter: grayscale(100%);
}

.landing__testimonials-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 54px;
    text-align: left;
    color : #2D2D2D;
}

.landing__testimonials-text div {
    min-width: 567px;
    width: 100%;
}

.landing__testimonials-text * {
    color : var(--color-black);
    font-weight: 600;
    font-size: 24px;
    line-height: 43.47px;
}

.landing__plus-wrapper {
    margin-top: 5px;
}

.landing__plus {
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.landing__plus:hover {
    color: #4285F4;
}

.landing__plus.landing__hidden {
  opacity: 0;
  pointer-events: none;
}

.team__full-text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team__full-text.landing__text-hidden {
    opacity: 0;
    transform: translateY(-10px);
}


.landing__testimonials-text-remaining {
    display: inline;
}

.landing__contacts {
    width: 100%;
    padding : 81px 75px;
}

.landing__contact-content {
    width: 100%;
    padding: 81px;
    border-radius: 27px;
    border: 1px solid #4285F4;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    gap: 81px;
}

.landing__contact-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    text-align: left;
}

.landing__contact-header h1 {
    font-weight: 700;
    line-height: 130%;
    color: var(--color-white);
}

.landing__contact-header span {
    font-weight: 400;
    line-height: 150%;
    color: var(--color-white);
    font-size: 22px;
}

.landing__contact-body, .landing__contact-body-left, .landing__contact-group,
.landing__contact-body-right {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.landing__contact-body-left , .landing__contact-body-right{
    flex-direction: column;
    gap: 16px;
}

.landing__contact-group {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

.landing__contact-group span, .landing__contact-group a {
    font-weight: 400;
    font-size: 21px;
    line-height: 150%;
}

.landing__contact-content h4 {
    font-weight: 600;
    font-size: 28px;
    line-height: 130%;
}

.landing__contact-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-link:hover svg path {
    fill: #4184f2;
}   

@media (max-width: 768px) {
    .landing-container {
        margin-top: 50px;
        gap: 50px;
    }

    .landing__section {
        padding-right: 16px;
        padding-left: 16px;
        margin: 0;
    }

    .landing__hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .landing__hero-content .hero_svg_image {
        max-width: 377px;
        max-height: 360px;
        width: 100%;
    }

    .landing__hero-content .landing__hero-left .landing__buttons-container {
        display: none;
    }

    .landing__hero-content .landing__hero-right .landing__buttons-container-mobile {
        display: flex;
        justify-content: center;
        padding: 20px;
    }

    .landing__hero .landing__hero-left, .landing__hero-switched .landing__hero-right,
    .landing__hero .landing__hero-right, .landing__hero-switched .landing__hero-left {
        gap: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .landing__hero-right img, .landing__hero-left img {
        width: 100%;
        height: 100%;
        padding-right: 8px;
        padding-left: 8px;
    }

    .landing__boxes-content {
        flex-direction: column;
        gap: 20px;
    }

    .landing__boxes-card {
        min-width: auto;
    }

    .landing__boxes-no-icon .landing__boxes-card {
        min-height: 210px;
    }
    
    .landing__boxes-card-header h3 {
        font-size : 20px;
    }

    .landing__boxes-card-content p {
        font-size : 16px;
    }

    .landing__boxes-carousel {
        height: 100px;
    }

    .landing__boxes-carousel-content {
        gap: 16px;
    }

    .carousel-img {
        max-width: 100px;
        max-height: 140px;
    }

    .landing__hero-switched .landing__hero-left {
        order: 2;
    }

    .landing__hero-switched .landing__hero-left {
        order: 1;
    }

    .landing__testimonials.landing__section {
        padding: 0;
    }

    .landing__testimonials-header {
        padding-left: 8px;
        padding-right: 8px;
    }

    .landing__testimonials-header h1 {
        letter-spacing: -0.28px;
    }

     .landing__testimonials-content {
        flex-direction: column;
        gap: 20px;
        padding: 80px 8px;
    }

    .landing__testimonials-left .team_img, .landing__testimonials-right .team_img {
        width: 100%;
        height: 100%;
        max-width: 240px;
        min-height: 233px;
    }

    .landing__testimonials-text {
        gap: 16px;
    }

    .landing__testimonials-text div {
        min-width: 340px;
        text-align: center;
    }

    .landing__testimonials-text img {
        width: 42px;
        height: 31.5px;
    }

    .landing__testimonials-text * {
        font-size: 16px;
        line-height: normal;
    }

    .landing__contact-header {
        text-align: center;
    }

    .landing__contact-header h1, .landing__contact-content h4 {
        font-size: 24px;
    }

    .landing__contact-header span, .landing__contact-group span, .landing__contact-group a {
        font-size: 16px;
    }

    .landing__contact-content {
        padding: 40px 8px;
        gap: 40px;
    }

    .landing__contact-body {
        flex-direction: column;
        gap: 40px;
    }

    .landing__contact-body-right {
        align-items: center;
    }

    .landing__plus:hover {
        color : unset
    }
}

/* Animations pour les cercles */
.landing__hero-content .hero_svg_image circle {
    opacity: 0;
    transform: scale(0.3); /* petit au départ, effet de profondeur */
    animation: zoomInFront 0.8s ease-out forwards;
}

.landing__hero-content .hero_svg_image circle:nth-child(1) { animation-delay: 0.3s; }
.landing__hero-content .hero_svg_image circle:nth-child(2) { animation-delay: 0.6s; }
.landing__hero-content .hero_svg_image circle:nth-child(3) { animation-delay: 0.9s; }

/* Animation pour les étoiles */
.landing__hero-content .hero_svg_image path.star {
    opacity: 0;
    animation: 
        fadeInScale 0.6s ease-out forwards,
        starTwinkle 2s ease-in-out infinite;
    animation-delay: 1.1s, 2s; /* Début à 1.1s, brillance à 2s */
}

.landing__hero-content .hero_svg_image path:nth-child(2) {
    animation-delay: 1.3s, 2.2s; /* Délai décalé pour la 2ème étoile */
}

/* Animation téléphone */
.landing__hero-content .hero_svg_image g {
    opacity: 0;
    animation: phoneAppear 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.6s;
}

/* Animation image */
.landing__hero-content .hero_svg_image foreignObject div {
    opacity: 0;
    transform: scale(0.95);
    animation: imageFadeIn 1s ease-out forwards;
    animation-delay: 1.6s;
}

@keyframes zoomInFront {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    60% {
        opacity: 1;
        transform: scale(1.1); /* léger dépassement pour l’effet “pop” */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* revient à sa taille normale */
    }
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.7); } /* Part de plus près (0.7 vs 0.5) */
    80% { transform: scale(1.05); } /* Micro-effet de rebond */
    100% { opacity: 1; transform: scale(1); }
}

@keyframes phoneAppear {
    0% { opacity: 0; filter: blur(3px); transform: scale(0.98); } /* Blur réduit */
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes imageFadeIn {
    0% { opacity: 0; transform: scale(0.98); } /* Zoom initial plus subtil */
    100% { opacity: 1; transform: scale(1); }
}

/* keyframes pour la brillance */

@keyframes starTwinkle {
    0%, 100% {
        filter: drop-shadow(0 0 1px #F8F9FF);
    }
    50% {
        filter: drop-shadow(0 0 3px #F8F9FF) 
                drop-shadow(0 0 6px rgba(248, 249, 255, 0.3));
    }
}

@keyframes fadeInScale {
    0% { 
        opacity: 0; 
        transform: scale(0.7); 
        filter: none;
    }
    70% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 4px rgba(248, 249, 255, 0.8));
    }
    100% { 
        opacity: 1; 
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(248, 249, 255, 0.7));
    }
}
