/* ==== GLOBAL RESET ==== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0e1d50;
    background: #fff;
    line-height: 1.6;
    font-size: 1.125rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==== HEADER ==== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(14, 29, 80, 0.06);
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.logo img {
    height: 32px;
    width: auto;
}
.nav a {
    margin: 0 16px;
    text-decoration: none;
    color: #0e1d50;
    font-weight: 500;
    transition: color .3s;
}
.nav a:hover { color: #25c6c4; }
.nav a.connexion {
    background: #25c6c4;
    color: #fff;
    padding: 0.5em 1.5em;
    border-radius: 9999px;
    transition: background .3s;
}
.nav a.connexion:hover {
    background: #1fb0ae;
    color: #fff;
}

/* Responsive nav */
.burger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 70px; right: 20px; background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    .nav a { display: block; margin: 10px 0; }
    .burger { display: block; }
    .nav.active { display: block; }
}

/* ==== HERO ==== */
.hero {
    padding: 100px 40px;
    background: #0e1d50;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-text {
    text-align: left;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: white;
    font-weight: 700;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 30px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-buttons,
    .hero-video-links {
        justify-content: center;
    }
}
.btn-primary,
.btn-secondary {
    padding: 0.75em 2em;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 9999px;
    transition: background .3s, transform .2s, box-shadow .3s;
    display: inline-block;
}
.btn-primary {
    background: #25c6c4;
    color: #fff;
}
.btn-primary:hover {
    background: #1fb0ae;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 198, 196, 0.3);
}
.btn-secondary {
    background: #fff;
    color: #0e1d50;
    border: 2px solid #0e1d50;
}
.btn-secondary:hover {
    background: #f2f7f7;
    color: #0e1d50;
    border-color: #25c6c4;
    transform: translateY(-2px);
}

/* ==== DESCRIPTION SECTION ==== */
.description-section {
    background: #25c6c4;
    padding: 60px 40px;
    text-align: center;
    scroll-margin-top: 70px;
}
.description-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #0e1d50;
    max-width: 900px;
    margin: 0 auto;
}
.description-text strong {
    font-weight: 700;
    font-size: 1.5rem;
}

/* ==== SECTIONS ==== */
.section {
    padding: 90px 40px;
    max-width: 1200px;
    margin: auto;
    scroll-margin-top: 70px;
}
.section h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
    color: #0e1d50;
    font-weight: 700;
}
/* ==== SITUATION SECTION ==== */
.section-situation {
    background: #0e1d50;
    padding: 100px 40px;
    max-width: 100%;
}
.situation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.situation-visual {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}
.situation-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.situation-text {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
}
.situation-text h2 {
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: #25c6c4;
    font-weight: 700;
}
.situation-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #0e1d50;
    margin-bottom: 24px;
}

@media (max-width: 968px) {
    .situation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==== DOUBLE AVANTAGE SECTION ==== */
.avantage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.avantage-text h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #25c6c4;
    font-weight: 700;
}
.avantage-text p {
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #0e1d50;
}
.avantage-text p strong {
    color: #0e1d50;
    font-weight: 600;
}
.avantage-text .solution-winning {
    color: #25c6c4;
    font-weight: 700;
    font-size: 1.1rem;
}
.avantage-visual {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}
.avantage-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(14, 29, 80, 0.15);
}

@media (max-width: 968px) {
    .avantage-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.section-gray {
    background: #f2f7f7;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.section-gray .section,
.section-gray > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.two-columns {
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==== TWO COLUMNS SECTION ==== */
.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: start;
}
.column p {
    margin-bottom: 20px;
    line-height: 1.8;
}
.column .highlight {
    background: #25c6c4;
    color: #fff;
    padding: 0.75em 2em;
    border-radius: 9999px;
    font-weight: 500;
    margin-top: 25px;
    display: inline-block;
    text-decoration: none;
    transition: background .3s, transform .2s;
}
.column .highlight:hover {
    background: #1fb0ae;
    transform: translateY(-2px);
}

/* ==== GRID CARDS ==== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.card {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(14, 29, 80, 0.1);
    box-shadow: 0 4px 20px rgba(14, 29, 80, 0.08);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    color: #0e1d50;
    font-weight: 500;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(37, 198, 196, 0.2);
    border-color: #25c6c4;
}

/* ==== CONTACT SECTION ==== */
.section-contact {
    text-align: center;
}
.section-contact h2 {
    text-align: center;
}
.contact-methods {
    font-size: 1.1rem;
    color: #0e1d50;
    margin-top: 20px;
    margin-bottom: 0;
}
.contact-methods a {
    color: #25c6c4;
    text-decoration: none;
    font-weight: 600;
    transition: color .3s;
}
.contact-methods a:hover {
    color: #1fb0ae;
    text-decoration: underline;
}

/* ==== CONTACT FORM ==== */
.contact-form {
    max-width: 800px;
    margin: 40px auto 0;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    margin: 0;
    border: 1px solid rgba(14, 29, 80, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #0e1d50;
    transition: border-color .3s, box-shadow .3s;
}
.contact-form input:not(.form-row input) {
    margin-bottom: 24px;
}
.contact-form textarea {
    margin-bottom: 24px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #25c6c4;
    box-shadow: 0 0 0 3px rgba(37, 198, 196, 0.1);
}
.form-notice {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: left;
}
.contact-form button {
    padding: 0.75em 2em;
    background: #25c6c4;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background .3s, transform .2s;
    margin-top: 10px;
}
.contact-form button:hover {
    background: #1fb0ae;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==== FOOTER ==== */
.footer {
    text-align: center;
    padding: 50px 40px;
    background: #0e1d50;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
    font-size: 0.95rem;
}

/* ==== HOW IT WORKS VISUAL ==== */
.how-visual {
    margin-top: 50px;
    text-align: center;
}
.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(14, 29, 80, 0.15);
}

/* ==== PARTNERS & CLIENTS LOGOS ==== */
.partners-section {
    text-align: center;
}
.partners-intro {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #0e1d50;
    opacity: 0.8;
    font-weight: 500;
}
.partners-grid,
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}
.partners-grid img,
.clients-grid img {
    max-width: 140px;
    height: auto;
    opacity: 0.7;
    transition: opacity .3s, transform .3s;
}
.partners-grid img:hover,
.clients-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ==== TRUST SECTION ==== */
.section-trust {
    text-align: center;
    background: #fff;
    padding-bottom: 0;
}
.trust-title {
    font-size: 2rem;
    color: #0e1d50;
    font-weight: 700;
    margin-bottom: 40px;
}

/* ==== FADE-IN ANIMATIONS ==== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
