/* style.css */


@font-face {
    font-family: 'Sk Modernist';
    src: url('./font/Sk-Modernist-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sk Modernist', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 100px);
    max-width: 1050px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 1.4em 1em;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar .container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 54px;
    margin: 0;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list li a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 580;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: #47adce;
}


/* Burger button */
.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #1a1a1a;
    cursor: pointer;
}

/* Lang Switcher Styles */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 245, 245, 0.85);
    border-radius: 12px;
    padding: 6px 16px;
    box-shadow: 0 2px 8px rgba(71, 173, 206, 0.06);
    font-size: 1.05em;
}

.lang-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    font-weight: 600;
    font-family: inherit;
    font-size: 1em;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.lang-btn.active,
.lang-btn:focus {
    background: #47adce;
    color: #fff;
    outline: none;
}

.lang-btn:not(.active):hover {
    background: #e3f3fa;
    color: #47adce;
}

.lang-switch span {
    color: #bbb;
    font-weight: 700;
    font-size: 1.1em;
    user-select: none;
}


/* Mobile navigation (améliorée) */
@media screen and (max-width: 768px) {
    .burger {
        display: block;
        z-index: 1001;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #1a1a1a;
        cursor: pointer;
    }

    .nav-list {
        position: absolute;
        top: 110%;
        right: 20px;
        left: 20px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        border-radius: 16px;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 30px 0;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        display: none;
        transition: all 0.3s ease;
    }

    .nav-list.open {
        display: flex;
    }

    .navbar .container {
        position: relative;
    }

    .nav-list li a {
        font-size: 1.2rem;
        font-weight: 600;
        transition: color 0.2s;
    }

    .nav-list li a:hover {
        color: #47adce;
    }


}



main {
    margin: 2vw auto;
    padding: 2em 0 0 0;
}

.hero-section,
.card {
    scroll-margin-top: 200px;
}

.big-card,
.card {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0;
}

.big-card h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}



.card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
}


.hero-section {
    position: relative;
    background-color: #1a1a1a;
    color: white;
    border-radius: 24px;
    padding: 40px 40px 100px 40px;
    max-width: 1000px;
    margin: auto;
    margin-top: 100px;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 30px;
}

.cta-button {
    background: #fff;
    color: #111;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.cta-button .arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.2em;
    background: rgba(71, 173, 206, 0.15);
    padding: 2px 8px;
    border-radius: 8px;
    color: #47adce;
    transition: background 0.2s;
    backdrop-filter: blur(2px);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px #286376;
}


.shape {
    position: absolute;
    top: 50%;
    left: 70%;

    z-index: 0;
}

.services-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.features-intro p {
    font-size: 1rem;
    color: #555;
    max-width: 100%;
    margin: 0 auto 40px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 30px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.feature-card i {
    font-size: 2rem;
    color: #47adce;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

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

.services-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-text .label {
    font-size: 0.9rem;
    background: #eaeaea;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    color: #333;
}

.services-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.services-text p {
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.service-box {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Couleurs */
.service-box.purple {
    background: #e3e6ee;
    /* violet/gris légèrement plus foncé */
}

.service-box.lilac {
    background: #c9d8e6;
    /* bleu-gris plus soutenu */
}

.service-box.light {
    background: #e2e6ea;
    /* ton neutre un peu plus marqué */
}

.service-box.blue {
    background: #b8d6ee;
    /* bleu pâle mais plus vif */
}


.pricing-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.pricing-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.pricing-card {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    background: #f9f9f9;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #444;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.pricing-card .btn-outline,
.pricing-card .btn-filled,
.pricing-card .btn-orange,
.pricing-card .btn-green {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    background: none;
}

.btn-filled {
    background: #1a1a1a;
    color: #fff;
}

.btn-orange {
    background: #47adce;
    color: white;
    border: none;
}


.pricing-card.custom {
    background: #1a1a1a;
    color: white;
}

.pricing-card.custom ul li {
    color: #ccc;
}

.pricing-card.custom .price {
    color: white;
}

.pricing-card.custom .popular {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #47adce;
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 14px;
    font-weight: bold;
}

.contact-section {
    padding: 100px 20px;
    background-color: rgb(248, 249, 250);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-intro p {
    color: #555;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* plus d’espace entre les blocs */
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
    background-color: #fefefe;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #47adce;
    box-shadow: 0 0 0 3px rgba(71, 173, 206, 0.15);
}

.form-group textarea {
    height: 200px;
    resize: vertical;
}

.contact-form .btn-orange {
    align-self: flex-start;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 550;
    border: none;
    border-radius: 8px;
    background: #47adce;
    color: white;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.contact-form .btn-orange:hover {
    background: #389bb8;
    transform: translateY(-2px);
}

.site-footer {
    background: #f5f5f5;
    padding: 50px 0 10px 0;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand img {
    margin-bottom: 12px;
}

.footer-brand p {
    color: #555;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 14px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;

}

.footer-links a:hover {
    color: #47adce;
}

.footer-contact i {
    margin-right: 8px;
    color: #47adce;
}

.footer-contact a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #47adce;
}

.footer-bottom {
    text-align: center;
    margin-top: 10px;
    /* un peu plus compact */
    color: #888;
    font-size: 0.85rem;
}


/* Responsive language switcher */
.lang-switch-mobile {
    display: none;
}

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

    /* cacher le switcher desktop */
    .lang-switch {
        display: none;
    }

    /* afficher celui dans le menu */
    .lang-switch-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        width: 100%;
        /* facultatif : même style que .lang-switch */
        background: rgba(245, 245, 245, 0.85);
        border-radius: 12px;
        padding: 6px 16px;
        box-shadow: 0 2px 8px rgba(71, 173, 206, 0.06);
        font-size: 1.05em;
    }

    .lang-switch-mobile .lang-btn {
        background: none;
        border: none;
        color: #1a1a1a;
        font-weight: 600;
        font-family: inherit;
        font-size: 1em;
        padding: 6px 14px;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }

    .lang-switch-mobile .lang-btn.active,
    .lang-switch-mobile .lang-btn:focus {
        background: #47adce;
        color: #fff;
        outline: none;
    }

    .lang-switch-mobile .lang-btn:not(.active):hover {
        background: #e3f3fa;
        color: #47adce;
    }
}


.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #47adce;
    color: white;
    padding: 24px 36px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 9999;
    animation: fadeInPop 0.4s ease;
    max-width: 90%;
    text-align: center;

}

/* Style erreur */
.custom-alert.error {
    background: #ff4d4d;
}

/* Animation d'apparition */
@keyframes fadeInPop {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}