/* -------------------- RESET + BASE -------------------- */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: #112142;
    color: white;
    text-align: center;
}

/* -------------------- HEADER + NAV -------------------- */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 0;
    z-index: 10;
}

.header .logo-container {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.header .logo-container img {
    height: 50px;
    margin-right: 10px;
}

.header .logo {
    font-size: 17px;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 80px;
    margin-right: 25px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 15px;
}

.nav a:hover {
    color: #FF9411;
}

.nav a.active {
    color: #FF9411;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 11;
    margin-right: 25px;
}

/* -------------------- HERO SOLUTIONS -------------------- */

.solutions-main {
    min-height: 100vh;
}
.solutions-hero {
    position: relative;
    min-height: 90vh;
    padding: 130px 8% 130px;
    background-color: #112142;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Fond starry avec opacité 60% */
.solutions-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../ressources/starry.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* <-- ici tu ajustes comme tu veux */
    z-index: 0;
}

.solutions-hero > * {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(255,255,255,0.05) 0, transparent 45%),
                radial-gradient(circle at 90% 100%, rgba(255,255,255,0.06) 0, transparent 50%),
                linear-gradient(to bottom, rgba(17,33,66,0.35), rgba(17,33,66,0.9));
    z-index: 1;
}

.hero-center {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 32px;
}

.hero-cta {
    border: none;
    background-color: #0373FF;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out;
}

.hero-cta-icon {
    font-size: 1.1rem;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    background-color: #005ccd;
}

/* -------------------- BULLES SOLUTIONS -------------------- */

.solutions-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* Style global d’une bulle */

.solution-bubble {
    position: absolute;
    pointer-events: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 10px 16px;
    min-width: 260px;
    max-width: 340px;

    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    text-decoration: none;
    color: #FFFFFF;
    font-size: 0.85rem;
    transition: transform 0.2s ease-out,
                box-shadow 0.2s ease-out,
                border-color 0.2s ease-out,
                background-color 0.2s ease-out;
}

.solution-bubble:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(14, 30, 70, 0.98);
}

/* Bloc texte à gauche */

.bubble-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Sous-titre */

.bubble-caption {
    font-size: 0.70rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 8px;
	text-align: left;
}

/* Nom du produit */

.bubble-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Pastille ronde à droite */

.bubble-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.bubble-arrow i {
    color: #112142;
    font-size: 1rem;
}

/* Positionnement "aléatoire" mais maîtrisé */


.bubble-sarchat {
    top: 13%;
    left: 25%;
}

.bubble-mro {
    top: 15%;
    left: 56%;
}

.bubble-clear {
    top: 29%;
    left: 75%;
}

.bubble-academy {
    top: 52%;
    left: 72%;
}

.bubble-mission {
    top: 70%;
    left: 60%;
}

.bubble-artan {
    top: 65%;
    left: 14%;
}

.bubble-mig {
    top: 34%;
    left: 5%;
}

.solution-section {
    padding: 50px 8% 50px;
    background-color: #112142;
}

.solution-inner {
    margin: 0 auto;
    max-width: 1180px;
    background-color: #1E3763;
    border-radius: 8px;
    padding: 50px 48px 40px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.55);
    text-align: left;
}

/* Ligne 1 : titre */

.solution-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 26px;
}

.solution-title-block {
    width: 100%;
    max-width: none;
}
.solution-category {
    font-size: 0.8rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.75;
    margin: 0 0 8px;
}

.solution-name-main {
    font-size: clamp(2.4rem, 4.7vw, 9.1rem);
    font-weight: 900;
    letter-spacing: 0.4em;
    margin: 0;
	color: #ffffff7e;
}

/* Ligne 2 : texte + visuel */

.solution-main-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 34px;
}

.solution-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

.solution-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 18px 0 6px;
}

.solution-subtitle:first-of-type {
    margin-top: 0;
}

.solution-list {
    padding-left: 18px;
    margin: 8px 0 14px;
}

.solution-list li {
    margin-bottom: 5px;
}

.solution-pricing {
    margin-top: 16px;
}

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


.solution-visual-sarchat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.solution-visual-sarchat img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

.solution-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

/* Ligne 3 : boutons */

.solution-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* -------------------- BOUTONS GÉNÉRIQUES -------------------- */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
}

.btn-primary {
    background-color: #2A6BFF;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}

.btn-primary:hover {
    background-color: #3a7bff;
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(0,0,0,0.55);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.55);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.06);
    border-color: #ffffff;
    transform: translateY(-1px);
}

/* -------------------- SECTION BROCHURE -------------------- */

.brochure-section {
    padding: 40px 8% 90px;
    background-color: #112142;
    text-align: center;
}

.brochure-inner {
    max-width: 780px;
    margin: 0 auto;
}

.brochure-cover {
    width: 210px;
    max-width: 50%;
    height: auto;
    margin-bottom: 30px;
}

.brochure-text {
    font-size: 1.05rem;
    margin-bottom: 26px;
}

.brochure-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* -------------------- FOOTER (copié index) -------------------- */

.footer {
    background-color: #112142;
    width: 100%;
    padding: 40px 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.logo-partner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo-partner img {
    max-width: 150px;
    opacity: 30%;
    width: 100%;
    object-fit: contain;
}

.footer .footer-block {
    text-decoration: none;
}

.footer-block.large {
    flex: 2;
    min-width: 250px;
}

.footer-block.small {
    flex: 1;
    min-width: 180px;
}

.footer-title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 30px;
}

.footer-content a {
    color: #AAAAAA;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.footer-content a:hover {
    color: #AAAAAA;
}

.footer-block p {
    margin-bottom: 35px;
    color: #AAAAAA;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-input {
    flex: 1;
    width: auto;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #1E3763;
    color: white;
    font-style: italic;
}

.footer .top {
    text-align: center;
    opacity: 0.3;
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 3px;
}

.footer .subtitle {
    font-size: 17px;
    margin-top: 15px;
    letter-spacing: 6px;
    font-weight: 500;
    opacity: 1;
}

.subtitle-partner {
    font-size: 15px;
    font-style: italic;
    margin-top: 15px;
    letter-spacing: 6px;
    font-weight: 500;
    opacity: 0.5;
}

.footer .separator {
    width: 90%;
    height: 1px;
    background: white;
    margin: 40px auto;
}

.footer .bottom-text {
    font-size: 12px;
    color: #909090;
}

.footer .bottom-bar {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 10px auto;
    font-size: 12px;
    color: #909090;
}

.footer-block i {
    color: white;
    font-size: 15px;
    margin-right: 10px;
}

.footer .bottom-bar a {
    text-decoration: none;
    color: #909090;
}

/* Snackbar (newsletter) */

.snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 12px;
    position: fixed;
    z-index: 999;
    left: 50%;
    bottom: 30px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s ease, bottom 0.5s ease;
}

.snackbar.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

.snackbar.error {
    background-color: #f44336;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 1024px) {
    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: rgba(17, 33, 66, 0.98);
        flex-direction: column;
        align-items: flex-end;
        padding: 20px;
        gap: 40px;
        display: none;
        width: auto;
        border-radius: 10px;
    }

    .nav.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .header .logo {
        font-size: 13px;
        font-weight: bold;
    }

    .header .logo-container img {
        height: 35px;
        margin-right: 10px;
    }

    .solution-inner {
        padding: 40px 26px 32px;
    }

    .solution-main-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    /* on cache les bulles sur mobile */
    .solutions-bubbles {
        display: none;
    }

    .solutions-hero {
        padding: 120px 18px 110px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 2.6rem);
    }

    .solution-header-row {
        flex-direction: column;

        align-items: flex-start;
    }

    .solution-title-block {
        max-width: 100%;
    }

    .brochure-cover {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .footer .top {
        font-size: 25px;
    }

    .footer .subtitle {
        font-size: 10px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        gap: 30px;
        flex-wrap: wrap;
        width: 90%;
        margin: 0 auto;
        text-align: left;
    }
}

.newsletter-button {
    background-color: #1E3763;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-button i {
    font-size: 16px;
}

.newsletter-button:hover {
    background-color: #2c4a86;
}



/* ---------- MODALE DE CONTACT ---------- */

.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;

}

.contact-modal-content {
    background: #1E3763;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.6);
    color: white;
    text-align: left;
        margin: 30px;

}

.contact-close {
    font-size: 26px;
    cursor: pointer;
    float: right;
    opacity: 0.8;
}

.contact-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.7rem;
    font-weight: 700;
}

.contact-product {
    opacity: 0.8;
    margin-bottom: 20px;
}

#contact-form input,
#contact-form textarea {
    width: 96%;
    padding: 10px;
    margin: 8px 0 18px;
    border-radius: 6px;
    border: none;
    background: #112142;
    color: white;
}

.contact-submit {
    background: #2A6BFF;
    color: white;
    padding: 12px 22px;
    border-radius: 7px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.contact-submit:hover {
    background: #1a4cc0;
}

#contact-status {
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Snackbar Contact */
#snackbar-contact {
    visibility: hidden;
    min-width: 260px;
    padding: 14px 20px;
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity .5s ease, bottom .5s ease;
}

#snackbar-contact.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}