/* =====================================================================
   LIA Innovations Sàrl — Feuille de style
   Thème moderne & technologique
   ===================================================================== */

:root {
    --primary: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-dark: #0b2a8a;
    --accent: #22d3ee;        /* cyan électrique */
    --lime: #bed100;          /* secondaire marque */
    --bg-dark: #0a0e1a;
    --bg-dark-2: #0f1629;
    --bg-card: rgba(255, 255, 255, 0.04);
    --light: #f4f6f9;
    --muted: #9aa6c0;
    --text-dark: #1c2433;
    --gradient: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-soft: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
}

* { scroll-behavior: smooth; }

html { font-size: 100%; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p { color: #475066; }

a { text-decoration: none; }

.text-justify { text-align: justify; }

/* Titres de section ------------------------------------------------- */
.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title .grad,
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 0.6rem;
}

.section-lead {
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
}

/* =====================================================================
   NAVBAR
   ===================================================================== */
.navbar {
    background-color: rgba(18, 26, 48, 0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar.scrolled {
    background-color: rgba(14, 21, 40, 0.95);
    box-shadow: 0 8px 30px rgba(22, 33, 62, 0.18);
}

.navbar-brand img { height: 44px; width: auto; }

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.9rem !important;
    position: relative;
    transition: color 0.2s ease;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem; right: 0.9rem; bottom: 0.35rem;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus { color: #fff !important; }

.navbar .nav-link:hover::after { transform: scaleX(1); }

.navbar .btn-nav-cta {
    background: var(--gradient);
    color: #fff !important;
    border-radius: 999px;
    padding: 0.5rem 1.3rem !important;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(34, 211, 238, 0.25);
}
.navbar .btn-nav-cta::after { display: none; }
.navbar .btn-nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* =====================================================================
   BOUTONS
   ===================================================================== */
.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-gradient {
    background: var(--gradient);
    color: #fff;
    border: none;
    box-shadow: 0 10px 26px rgba(29, 78, 216, 0.3);
}
.btn-gradient:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); }

.btn-outline-light-soft {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}
.btn-outline-light-soft:hover { background: #fff; color: var(--bg-dark); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--bg-dark);
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.28;
    z-index: -3;
}

/* dégradé d'ambiance */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 75% 20%, rgba(34, 211, 238, 0.18), transparent 60%),
        radial-gradient(70% 90% at 10% 90%, rgba(29, 78, 216, 0.28), transparent 55%),
        linear-gradient(180deg, rgba(10, 14, 26, 0.85), rgba(10, 14, 26, 0.95));
    z-index: -2;
}

/* grille technologique */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
    z-index: -1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: #cfe0ff;
    margin-bottom: 1.5rem;
}
.hero__badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0 rgba(190, 209, 0, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(190, 209, 0, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(190, 209, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(190, 209, 0, 0); }
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.hero .lead {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: #c4cfe6;
    max-width: 620px;
}

.hero__stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.hero__stats .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.hero__stats .lbl { color: var(--muted); font-size: 0.9rem; }

.scroll-cue {
    position: absolute;
    bottom: 1.6rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* =====================================================================
   CARTES (vignettes / valeurs / solutions)
   ===================================================================== */
.feature-card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 22, 41, 0.12);
    border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--gradient-soft);
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid #e3ecff;
}

.feature-card h3, .feature-card .title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

/* Section claire alternée */
.section-pad { padding: 5.5rem 0; }
.bg-soft { background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%); }

/* =====================================================================
   SECTION VALEURS (sombre)
   ===================================================================== */
.values-section {
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.values-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 60% at 80% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
        radial-gradient(50% 60% at 10% 100%, rgba(29, 78, 216, 0.18), transparent 60%);
}
.values-section > * { position: relative; z-index: 1; }
.values-section .section-eyebrow { color: var(--accent); }

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(255, 255, 255, 0.06);
}
.glass-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.8rem; }
.glass-card p { color: #aebbd4; }
.glass-card .feature-icon {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.25);
    color: var(--accent);
}

/* =====================================================================
   SOLUTIONS
   ===================================================================== */
.solution-box {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 20px;
    padding: 2.25rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solution-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 22, 41, 0.12);
}
.solution-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.solution-badge {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}
.solution-badge.permiz { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.solution-badge.organiz { background: linear-gradient(135deg, #16a34a, #4ade80); }
.solution-badge.foodcellar { background: linear-gradient(135deg, #d97706, #f59e0b); }

.solution-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.solution-link i { transition: transform 0.2s ease; }
.solution-link:hover i { transform: translateX(4px); }

/* =====================================================================
   CONFÉRENCE
   ===================================================================== */
.conference-section { background: #0f1629; color: #e6ecf8; }
.conference-section p { color: #c7d1e6; }
.conference-section strong { color: #fff; }
.conference-section h3, .conference-section h5 { color: #fff; }
.conference-section a.link-accent { color: var(--accent); text-decoration: underline; }
.conference-section .conf-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.2rem;
}
.conference-section .conf-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.6rem;
    color: #c7d1e6;
}
.conference-section .conf-list li::before {
    content: "\F26A"; /* bi-check-circle-fill */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--accent);
}
.conference-section .gallery img {
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
/* Pastille blanche pour afficher les logos couleur sur fond foncé */
.logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-chip:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }
.logo-chip img,
.logo-img {
    height: 42px;
    max-width: 160px;
    object-fit: contain;
}

/* =====================================================================
   ÉQUIPE
   ===================================================================== */
.team-section { background: var(--gradient-soft); }
.team-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #eef1f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(15,22,41,0.1); }
.team-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.team-name { font-size: 1.15rem; margin-bottom: 0.15rem; }
.team-role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.8rem; }

/* =====================================================================
   CTA bandeau
   ===================================================================== */
.cta-band {
    background: var(--gradient);
    color: #fff;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: var(--bg-dark);
    color: #c7d1e6;
    padding-top: 4rem;
}
.site-footer h5 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 1.2rem;
}
.site-footer p { color: #aebbd4; }
.site-footer a { color: #aebbd4; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding-left: 0; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer .contact-list i { color: var(--accent); width: 1.3rem; }
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    font-size: 1.1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social:hover { background: var(--gradient); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding: 1.4rem 0;
    font-size: 0.88rem;
    color: var(--muted);
}
.footer-bottom a { color: var(--lime); }

/* =====================================================================
   FORMULAIRE
   ===================================================================== */
.form-page { padding: 8rem 0 5rem; background: var(--gradient-soft); min-height: 100vh; }
.form-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(15, 22, 41, 0.1);
    border: 1px solid #eef1f6;
    padding: 2.5rem;
}
.form-card .form-label { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }
.form-card .form-control,
.form-card .form-select {
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    border: 1px solid #dfe5ef;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}
.captcha-img {
    height: 64px;
    width: 200px;
    border-radius: 10px;
    border: 1px solid #dfe5ef;
    background: #f5f7fa;
}

/* =====================================================================
   PARTENAIRES / CONFIANCE
   ===================================================================== */
.partners {
    background: #0a0e1a;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.partners__label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.partners__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2rem;
}
.partners__logos img { height: 38px; max-width: 150px; object-fit: contain; }

/* =====================================================================
   ACCESSIBILITÉ & ANCRES
   ===================================================================== */
/* Décalage des ancres pour ne pas passer sous la navbar fixe */
section[id] { scroll-margin-top: 84px; }

/* Focus visible clavier */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Respect des préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .scroll-cue, .hero__badge .dot { animation: none; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
    .navbar {
        background-color: rgba(10, 14, 26, 0.96);
        backdrop-filter: none;
    }
    .navbar-collapse {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .hero__stats { gap: 1.5rem; }
}
