﻿/* Palette claire + ton "primary" violet façon Blazor */
:root {
    --bs-primary: #5f6adf; /* bouton violet */
    --bs-primary-rgb: 95,106,223;
}

body {
    background: #f5f6fa; /* gris très clair (comme ton app) */
    color: #212529;
}

h1, h2, h3, h4, h5 {
    color: #1f2630;
}

.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: .75rem;
}

    .card .card-body {
        padding: 1.25rem 1.25rem;
    }

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

    .btn-primary:hover {
        filter: brightness(0.95);
    }

.btn-outline-secondary {
    border-color: #d1d5db;
    color: #374151;
}

    .btn-outline-secondary:hover {
        background: #f3f4f6;
        color: #111827;
    }

.table > :not(caption) > * > * {
    background: transparent;
}
.img-ai {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
/* Bande reco avec image full-width en arrière-plan */
.alert-reco {
    position: relative;
    overflow: hidden;
    min-height: 110px; /* ajuste la hauteur si tu veux plus grand */
}

/* Bande reco : image complète à gauche + fond subtil */
.alert-reco {
    position: relative;
    overflow: hidden;
    min-height: 140px;
    padding-left: 180px; /* espace pour l’image à gauche */
}

    /* Fond (teinte + motif circuit si tu l'as) */
    .alert-reco::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(13,110,253,.18), rgba(13,110,253,.18)), /* teinte */
        url("/images/members-bg.svg") center/cover no-repeat; /* optionnel: motif */
        opacity: 1;
    }

    /* Image IA complète, non rognée, ancrée à gauche */
    .alert-reco::after {
        content: "";
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 150px; /* ↑ taille de l’image (ajuste au besoin) */
        height: 110px;
        background: url("/images/ai/brain-chip.png") center/contain no-repeat; /* contain => pas de crop */
        filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
    }

/* Texte au-dessus du fond */
.reco-content {
    position: relative;
    z-index: 1;
}

/* Mobile */
@media (max-width: 576px) {
    .alert-reco {
        min-height: 120px;
        padding-left: 130px;
    }

        .alert-reco::after {
            width: 110px;
            height: 90px;
        }
}
.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* Hero */
.hero-section {
    position: relative;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #1b3b5a, #1f6f8b);
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    max-width: 700px;
}

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    background-color: #ffd166;
    color: #1b3b5a;
    font-weight: 600;
    text-decoration: none;
}

/* Sections */
.content-section {
    margin-top: 2.5rem;
}

    .content-section.alt {
        background: #f7f9fc;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .content-section h2 {
        margin-bottom: 1rem;
    }

/* Cartes & grilles */
.cards-grid,
.examples-grid {
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 800px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .examples-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card,
.example-column {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.steps-list {
    list-style: none;
    padding-left: 0;
}

    .steps-list li {
        margin-bottom: 1rem;
    }

/* Contact */
.contact-section {
    margin-top: 3rem;
}

.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
}

@media (min-width: 700px) {
    .contact-form .form-row input {
        flex: 1;
    }
}

.contact-form textarea {
    min-height: 120px;
    margin-bottom: 0.8rem;
}
.hero-section {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 3rem 1.5rem;
    border-radius: 18px;
    background: radial-gradient(circle at top left, #1f2937, #111827);
    color: #fff;
}

@media (min-width: 900px) {
    .hero-section {
        grid-template-columns: 3fr 2fr;
    }
}

.hero-subtitle {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    margin-bottom: 1.4rem;
    max-width: 480px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 16px;
}

/* Cards services cloud */
.service-card {
    text-align: left;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.6rem;
}

/* A propos */
.about-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 800px) {
    .about-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.about-photo img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
