/* Page d'accueil publique — style site Odoo (clair, épuré, accents violets) */
:root {
    --o-brand: #714b67; --o-brand-dark: #5b3c52; --o-brand-rgb: 113, 75, 103;
    --o-ink: #1d2230; --o-muted: #5f6b7a; --o-line: #e6e8ec; --o-soft: #f4f5f8;
    --o-hand: "Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.lo { font-family: "Roboto", -apple-system, "Segoe UI", "Noto Sans", Arial, sans-serif; color: var(--o-ink); background: #fff; font-size: 16px; line-height: 1.6; padding: 0; }
.lo a { text-decoration: none; }
.lo h1, .lo h2, .lo h3, .lo h4, .lo h5 { color: var(--o-ink); }

/* Navigation */
.lo-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 64px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.lo-nav.scrolled { box-shadow: 0 1px 12px rgba(20, 24, 40, .1); }
.lo-nav .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.lo-brand img { height: 38px; max-width: 160px; object-fit: contain; display: block; background: #2d2d37; padding: 4px 8px; border-radius: 6px; }
.lo-links { display: flex; gap: 4px; list-style: none; margin: 0 auto 0 28px; padding: 0; }
.lo-links a { display: block; padding: 8px 12px; color: #2b3345; font-size: .9rem; font-weight: 500; border-radius: 6px; }
.lo-links a:hover { color: var(--o-brand); background: var(--o-soft); }
.lo-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lo-login { color: #2b3345; font-weight: 500; font-size: .9rem; }
.lo-login:hover { color: var(--o-brand); }
.lo-burger { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--o-ink); margin-left: auto; }

.lo-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 6px; font-weight: 500; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.lo-btn-primary { background: var(--o-brand); color: #fff; }
.lo-btn-primary:hover { background: var(--o-brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--o-brand-rgb), .3); }
.lo-btn-light { background: #eceef2; color: #2b3345; }
.lo-btn-light:hover { background: #dfe2e8; color: #2b3345; }
.lo-btn-white { background: #fff; color: var(--o-brand); font-weight: 700; }
.lo-btn-white:hover { background: #f4eef2; color: var(--o-brand-dark); }
.lo-btn-lg { padding: 13px 28px; font-size: 1.02rem; }
.lo-btn-sm { padding: 6px 14px; font-size: .84rem; }
.lo-btn-outline { background: #fff; border-color: var(--o-line); color: var(--o-brand); }
.lo-btn-outline:hover { border-color: var(--o-brand); color: var(--o-brand-dark); background: #faf6f9; }

/* Hero */
.lo-hero { padding: 140px 0 70px; text-align: center; position: relative; overflow: hidden; }
.lo-hero h1 { font-family: var(--o-hand); font-weight: 700; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.08; margin: 0 auto 6px; max-width: 900px; color: #1f2a44; }
.lo-hero .lo-sub { font-family: var(--o-hand); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.7rem); color: #1f2a44; margin-bottom: 30px; line-height: 1.2; }
.hl-yellow { background: linear-gradient(transparent 52%, #fbb73a 52%, #fbb73a 92%, transparent 92%); padding: 0 .12em; border-radius: 4px; }
.hl-blue { position: relative; display: inline-block; }
.hl-blue::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: .22em; background: no-repeat center/100% 100% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'><path d='M0 6 Q 10 0 20 6 T 40 6 T 60 6 T 80 6 T 100 6 T 120 6' fill='none' stroke='%232f9bf0' stroke-width='3.5' stroke-linecap='round'/></svg>"); }
.lo-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lo-note { font-family: var(--o-hand); color: var(--o-brand); font-size: 1.7rem; font-weight: 700; transform: rotate(-6deg); display: inline-block; margin-top: 22px; line-height: 1.1; }

/* Arche + grille d'applications */
.lo-apps { position: relative; background: var(--o-soft); padding: 40px 0 90px; margin-top: 60px; }
.lo-apps::before { content: ""; position: absolute; left: 50%; top: -59px; width: 130%; height: 120px; transform: translateX(-50%); background: var(--o-soft); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.lo-apps .container { position: relative; }
.lo-app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 14px; max-width: 980px; margin: 0 auto; }
.lo-app { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #2b3345; font-size: .88rem; font-weight: 500; text-align: center; padding: 8px 4px; border-radius: 12px; transition: transform .15s; }
.lo-app:hover { transform: translateY(-4px); color: var(--o-brand); }
.lo-app-ico { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 1.9rem; box-shadow: 0 6px 16px rgba(20, 24, 40, .14), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lo-more { text-align: center; margin-top: 34px; }
.lo-more a { color: var(--o-brand); font-weight: 600; }
.lo-more a:hover { text-decoration: underline; }

/* Sections génériques */
.lo-section { padding: 90px 0; }
.lo-section.alt { background: var(--o-soft); }
.lo-center { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.lo-eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--o-brand); font-weight: 700; font-size: .78rem; margin-bottom: 10px; }
.lo-h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.18; margin-bottom: 14px; }
.lo-lead { color: var(--o-muted); font-size: 1.1rem; }
.lo-quote { font-family: var(--o-hand); font-size: 1.9rem; color: var(--o-brand); text-align: center; margin-top: 28px; line-height: 1.2; }

.lo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lo-card { background: #fff; border: 1px solid var(--o-line); border-radius: 14px; padding: 28px 26px; transition: box-shadow .2s, transform .2s, border-color .2s; height: 100%; }
.lo-card:hover { box-shadow: 0 14px 34px rgba(20, 24, 40, .09); transform: translateY(-3px); border-color: #d9c9d4; }
.lo-card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--o-brand-rgb), .1); color: var(--o-brand); font-size: 1.4rem; margin-bottom: 16px; }
.lo-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.lo-card p { color: var(--o-muted); font-size: .94rem; margin: 0; }

/* Bandeau sombre (statistiques) */
.lo-dark { background: linear-gradient(135deg, #714b67 0%, #4a2f44 100%); color: #fff; padding: 80px 0; }
.lo-dark h2 { color: #fff; }
.lo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; text-align: center; }
.lo-stat b { display: block; font-family: var(--o-hand); font-size: 3.4rem; line-height: 1; color: #ffd27a; }
.lo-stat span { color: rgba(255, 255, 255, .85); font-size: .95rem; }

/* À propos */
.lo-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.lo-about img { width: 100%; border-radius: 16px; box-shadow: 0 20px 44px rgba(20, 24, 40, .15); }
.lo-ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.lo-ticks li { display: flex; gap: 10px; padding: 6px 0; color: #394255; }
.lo-ticks i { color: var(--o-brand); margin-top: 4px; }

/* Offres / formations */
.job-card { background: #fff; border: 1px solid var(--o-line); border-radius: 14px; padding: 1.1rem; height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.job-card:hover { box-shadow: 0 14px 34px rgba(20, 24, 40, .09); transform: translateY(-3px); }
.job-card .job-footer { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--o-line); }
.job-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--o-muted); }
.job-badge { background: rgba(var(--o-brand-rgb), .1); color: var(--o-brand); border-radius: 20px; font-weight: 600; white-space: nowrap; }
.job-title { font-weight: 700; color: var(--o-ink); }
.job-details, .job-detail { color: var(--o-muted); }
.job-detail { display: flex; gap: 6px; align-items: center; }
.job-description, .job-date { color: var(--o-muted); }
.job-card .btn-outline-primary { color: var(--o-brand); border-color: var(--o-line); }
.job-card .btn-outline-primary:hover { background: var(--o-brand); color: #fff; border-color: var(--o-brand); }
.job-card .btn-primary, .job-card .btn-success { background: var(--o-brand); border-color: var(--o-brand); }
.job-card .btn-primary:hover, .job-card .btn-success:hover { background: var(--o-brand-dark); border-color: var(--o-brand-dark); }

/* Appel final */
.lo-final { background: linear-gradient(135deg, #714b67, #8b5d7e); color: #fff; text-align: center; padding: 90px 0; }
.lo-final h2 { font-family: var(--o-hand); font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; font-weight: 700; line-height: 1.1; }
.lo-final p { color: rgba(255, 255, 255, .88); margin: 8px 0 28px; }

/* Pied de page */
.lo-footer { background: #1f2330; color: #b9c0cf; padding: 60px 0 26px; font-size: .92rem; }
.lo-footer h5 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.lo-footer a { color: #b9c0cf; }
.lo-footer a:hover { color: #fff; }
.lo-footer ul { list-style: none; padding: 0; margin: 0; }
.lo-footer li { padding: 3px 0; }
.lo-footer .fi { display: flex; gap: 10px; padding: 4px 0; }
.lo-footer .fi i { color: #d6a8c8; margin-top: 4px; }
.lo-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; text-align: center; font-size: .85rem; }

@media (max-width: 991.98px) {
    .lo-burger { display: block; }
    .lo-links, .lo-actions { display: none; }
    .lo-nav.open { height: auto; padding-bottom: 14px; }
    .lo-nav.open .container { flex-wrap: wrap; height: auto; padding-top: 10px; }
    .lo-nav.open .lo-links { display: flex; flex-direction: column; width: 100%; margin: 6px 0 0; order: 3; }
    .lo-nav.open .lo-actions { display: flex; width: 100%; order: 4; margin: 8px 0 0; }
    .lo-app-grid { grid-template-columns: repeat(4, 1fr); }
    .lo-cards { grid-template-columns: repeat(2, 1fr); }
    .lo-stats { grid-template-columns: repeat(2, 1fr); }
    .lo-about { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .lo-hero { padding: 110px 0 50px; }
    .lo-app-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
    .lo-app-ico { width: 58px; height: 58px; font-size: 1.6rem; border-radius: 15px; }
    .lo-cards { grid-template-columns: 1fr; }
    .lo-section { padding: 60px 0; }
}

/* ===== Écran d'accueil = lanceur d'applications Odoo ===== */
.lo-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 46px; display: flex; align-items: center; background: #714b67; color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.lo-grid-btn { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; color: #fff; }
.lo-grid-btn:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.lo-top-brand { font-weight: 700; font-size: 1rem; padding: 0 16px 0 6px; white-space: nowrap; }
.lo-top-links { display: flex; align-items: stretch; height: 46px; }
.lo-top-links a { display: flex; align-items: center; padding: 0 12px; color: rgba(255, 255, 255, .88); font-size: .8125rem; font-weight: 500; white-space: nowrap; }
.lo-top-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lo-top-right { margin-left: auto; display: flex; align-items: center; gap: 4px; padding-right: 10px; }
.lo-top-link { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 46px; color: rgba(255, 255, 255, .92); font-size: .8125rem; }
.lo-top-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lo-top-cta { background: #fff; color: #714b67; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 4px; }
.lo-top-cta:hover { background: #f1e8ee; color: #5b3c52; }

.lo-launcher { position: relative; min-height: 100vh; padding: 46px 16px 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, #714b67 0%, #5a3a52 55%, #44293e 100%); }
.lo-l-search { position: relative; width: 100%; max-width: 380px; margin: 40px 0 38px; }
.lo-l-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, .75); pointer-events: none; }
.lo-l-search input { width: 100%; height: 38px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; color: #fff; font-size: .9rem; padding: 0 16px 0 40px; outline: 0; }
.lo-l-search input::placeholder { color: rgba(255, 255, 255, .7); }
.lo-l-search input:focus { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .5); }
.lo-l-grid { display: grid; grid-template-columns: repeat(auto-fill, 128px); justify-content: center; gap: 26px 8px; max-width: 960px; width: 100%; }
.lo-l-app { display: flex; flex-direction: column; align-items: center; color: #fff; padding: 6px 0 4px; border-radius: 8px; transition: transform .12s; }
.lo-l-app:hover { color: #fff; transform: translateY(-3px); }
.lo-l-app[hidden] { display: none; }
.lo-l-ico { width: 84px; height: 84px; border-radius: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .22); }
.lo-l-app:hover .lo-l-ico { box-shadow: 0 8px 18px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .22); }
.lo-l-ico i { font-size: 2.6rem; line-height: 1; color: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .2)); }
.lo-l-cap { margin-top: 10px; font-size: .8125rem; font-weight: 500; text-align: center; line-height: 1.25; max-width: 120px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.lo-l-empty { color: rgba(255, 255, 255, .8); margin-top: 30px; }
.lo-l-hint { color: rgba(255, 255, 255, .78); font-size: .88rem; margin: 40px 0 0; text-align: center; }
.lo-l-hint a { color: #fff; font-weight: 700; text-decoration: underline; }
.lo-l-down { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-size: 1.6rem; animation: lo-bob 1.8s ease-in-out infinite; }
.lo-l-down:hover { color: #fff; }
@keyframes lo-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
html { scroll-padding-top: 56px; }

@media (max-width: 991.98px) { .lo-top-links { display: none; } }
@media (max-width: 575.98px) {
    .lo-top-brand { display: none; }
    .lo-l-grid { grid-template-columns: repeat(auto-fill, 96px); gap: 20px 6px; }
    .lo-l-ico { width: 66px; height: 66px; border-radius: 15px; }
    .lo-l-ico i { font-size: 2rem; }
    .lo-l-cap { font-size: .75rem; max-width: 92px; }
    .lo-top-link span { display: none; }
}

/* ===== Odoo 18 : accueil clair, tuiles blanches, barre grise ===== */
.lo-topbar { background: #f8f9fa; color: #212529; box-shadow: none; }
.lo-grid-btn { color: #495057; }
.lo-grid-btn:hover { background: rgba(0, 0, 0, .05); color: #212529; }
.lo-top-brand { color: #212529; font-weight: 400; font-size: 1.05rem; }
.lo-top-links a { color: #212529; margin: 7px 1px; height: 32px; padding: 0 8px; border-radius: 6px; font-weight: 400; }
.lo-top-links a:hover { background: rgba(0, 0, 0, .06); color: #212529; }
.lo-top-link { color: #212529; margin: 7px 0; height: 32px; padding: 0 8px; border-radius: 6px; }
.lo-top-link:hover { background: rgba(0, 0, 0, .06); color: #212529; }
.lo-top-cta { background: #714b67; color: #fff; border-radius: 6px; padding: 5px 12px; font-weight: 500; font-size: .875rem; }
.lo-top-cta:hover { background: #5b3c52; color: #fff; }
.lo-launcher {
    background-color: #f8f9fa;
    background-image: radial-gradient(circle, rgba(0, 0, 0, .09) 1px, transparent 1.4px), radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .9), rgba(248, 249, 250, 0) 70%);
    background-size: 18px 18px, 100% 100%;
}
.lo-l-search i { color: #6b7280; }
.lo-l-search input { background: #fff; border: 1px solid #dee2e6; color: #212529; height: 36px; font-size: .875rem; }
.lo-l-search input::placeholder { color: #9aa0a6; }
.lo-l-search input:focus { background: #fff; border-color: #714b67; box-shadow: 0 0 0 .15rem rgba(113, 75, 103, .15); }
.lo-l-grid { grid-template-columns: repeat(auto-fill, 140px); gap: 30px 4px; }
.lo-l-app, .lo-l-app:hover { color: #212529; transform: none; }
.lo-l-ico { width: 72px; height: 72px; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .04); transition: box-shadow .15s, transform .15s; }
.lo-l-app:hover .lo-l-ico { box-shadow: 0 6px 16px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .05); transform: translateY(-2px); }
.lo-l-ico i { color: var(--c, #714b67); font-size: 2.2rem; filter: none; }
.lo-l-cap { color: #212529; text-shadow: none; font-size: .875rem; }
.lo-l-empty { color: #6b7280; }
.lo-l-hint { color: #6b7280; }
.lo-l-hint a { color: #714b67; }
.lo-l-down { color: #9aa0a6; }
.lo-l-down:hover { color: #212529; }
@media (max-width: 575.98px) { .lo-l-grid { grid-template-columns: repeat(auto-fill, 100px); gap: 22px 2px; } .lo-l-ico { width: 60px; height: 60px; } .lo-l-ico i { font-size: 1.8rem; } }

.lo-l-signature { margin-top: 36px; color: #6b7280; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }

.lo-about.lo-about-texte { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.lo-about-texte p { color: #394255; font-size: 1.02rem; margin-bottom: 1rem; }
.lo-about-texte p.lo-lead { color: var(--o-muted); font-size: 1.1rem; }
