/* ==========================================================================
   2SM — thème moderne du site public (surcouche du thème Arsha)
   Chargé après assets/site/css/style.css. Aucun changement de structure.
   ========================================================================== */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; ascent-override: 95%; descent-override: 31%; line-gap-override: 0%; src: url('../../fonts/PlusJakartaSans/pjs-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; ascent-override: 95%; descent-override: 31%; line-gap-override: 0%; src: url('../../fonts/PlusJakartaSans/pjs-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300 800; font-display: swap; ascent-override: 95%; descent-override: 31%; line-gap-override: 0%; src: url('../../fonts/Sora/sora-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300 800; font-display: swap; ascent-override: 95%; descent-override: 31%; line-gap-override: 0%; src: url('../../fonts/Sora/sora-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sm-navy: #061630;
  --sm-ink: #0B1B2E;
  --sm-text: #475569;
  --sm-muted: #7C8AA5;
  --sm-line: #E6EAF4;
  --sm-bg: #F5F7FC;
  --sm-primary: #16A34A;
  --sm-primary-2: #0F7A34;
  --sm-cyan: #6EE7A0;
  --sm-grad: linear-gradient(135deg, #16A34A 0%, #0F7A34 100%);
  --sm-grad-cyan: linear-gradient(135deg, #6EE7A0 0%, #16A34A 100%);
  --sm-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -8px rgba(15, 23, 42, .10);
  --sm-shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 28px 56px -16px rgba(11, 37, 64, .28);
  --sm-glow: 0 12px 28px -8px rgba(22, 163, 74, .7);
  --sm-font: "Plus Jakarta Sans", "Open Sans", system-ui, sans-serif;
  --sm-display: "Sora", "Jost", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sm-font); color: var(--sm-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--sm-display); color: var(--sm-ink); letter-spacing: -.02em; }
a { color: var(--sm-primary); }
a:hover { color: var(--sm-primary-2); }
p { line-height: 1.75; }
::selection { background: rgba(var(--sm-glow-rgb), .22); }

/* ---- En-tête ---- */
#header { background: transparent; padding: 18px 0; transition: all .35s ease; }
#header.header-scrolled, #header.header-inner-pages {
  background: rgba(var(--sm-deep-rgb), .78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  padding: 10px 0; box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .5); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
#header .logo img { width: 52px !important; max-height: none; filter: drop-shadow(0 6px 14px rgba(var(--sm-accent-rgb), .35)); }
.navbar a, .navbar a:focus { font-family: var(--sm-font); font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .78); padding: 10px 0 10px 28px; }
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a { color: var(--sm-cyan); }
.navbar .getstarted, .navbar .getstarted:focus {
  background: var(--sm-grad); border: 0; border-radius: 999px; padding: 11px 26px; margin-left: 28px; color: #fff; box-shadow: var(--sm-glow); transition: all .25s ease;
}
.navbar .getstarted:hover, .navbar .getstarted:focus:hover { background: var(--sm-grad); color: #fff; transform: translateY(-2px); }
.navbar .dropdown ul { border-radius: 16px; border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow-lg); padding: 8px; }
.navbar .dropdown ul a { border-radius: 10px; padding: 10px 14px; color: var(--sm-ink); font-weight: 600; }
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a { color: var(--sm-primary); background: rgba(var(--sm-primary-rgb), .07); }
.navbar-mobile { background: rgba(var(--sm-deep-rgb), .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.navbar-mobile ul { border-radius: 20px; }
.navbar-mobile a, .navbar-mobile a:focus { color: var(--sm-ink); }
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a { color: var(--sm-primary); }
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus { margin: 15px; color: #fff; }

/* ---- Hero ---- */
#hero {
  height: auto; min-height: min(100vh, 860px); padding: 140px 0 90px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(var(--sm-glow-rgb), .55), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(var(--sm-accent-rgb), .30), transparent 60%),
    linear-gradient(160deg, var(--sm-navy) 0%, var(--sm-navy-2) 60%, var(--sm-navy-3) 100%);
}
#hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
#hero .container { position: relative; z-index: 1; }
#hero h1 { font-family: var(--sm-display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.1; letter-spacing: -.035em; color: #fff; margin-bottom: 22px; }
#hero h1::after { content: ""; display: block; width: 84px; height: 5px; border-radius: 5px; margin-top: 22px; background: linear-gradient(90deg, var(--sm-accent), var(--sm-primary-2)); }
#hero h2 { font-family: var(--sm-font); font-weight: 400; font-size: 1.1rem; line-height: 1.75; color: rgba(226, 232, 255, .72); margin-bottom: 38px; max-width: 560px; }
#hero .btn-get-started {
  font-family: var(--sm-font); font-weight: 700; font-size: 15px; letter-spacing: .01em; padding: 15px 34px; border-radius: 999px; margin: 0;
  background: var(--sm-grad-cyan); box-shadow: 0 16px 36px -10px rgba(var(--sm-accent-rgb), .65); transition: all .25s ease;
}
#hero .btn-get-started:hover { background: var(--sm-grad-cyan); transform: translateY(-3px); box-shadow: 0 22px 44px -10px rgba(var(--sm-accent-rgb), .8); }
#hero .btn-watch-video { font-weight: 600; margin-left: 26px; color: rgba(255, 255, 255, .85); }
#hero .btn-watch-video i { color: var(--sm-cyan); font-size: 38px; }
#hero .btn-watch-video:hover, #hero .btn-watch-video:hover i { color: var(--sm-cyan); }
#hero .hero-img img { filter: drop-shadow(0 40px 60px rgba(var(--sm-accent-rgb), .28)); }
#hero .animated { animation: sm-float 5s ease-in-out infinite alternate; }
@keyframes sm-float { from { transform: translateY(-10px); } to { transform: translateY(12px); } }
@media (max-width: 991px) { #hero { padding-top: 120px; text-align: center; } #hero h1::after { margin-left: auto; margin-right: auto; } #hero h2 { margin-left: auto; margin-right: auto; } }

/* ---- Sections ---- */
section { padding: 84px 0; }
.section-bg { background: var(--sm-bg); }
.section-title { padding-bottom: 44px; }
.section-title h2 {
  font-family: var(--sm-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: none; letter-spacing: -.03em; color: var(--sm-ink); padding-bottom: 22px;
}
.section-title h2::before { display: none; }
.section-title h2::after { width: 72px; height: 5px; border-radius: 5px; left: calc(50% - 36px); background: linear-gradient(90deg, var(--sm-accent), var(--sm-primary-2)); }
.section-title p { color: var(--sm-muted); max-width: 720px; margin: 0 auto; }

.cliens { padding: 26px 0; background: #fff; border-bottom: 1px solid var(--sm-line); }
.cliens img { filter: grayscale(1); opacity: .55; transition: all .3s ease; }
.cliens img:hover { filter: none; opacity: 1; transform: scale(1.06); }

.about .content ul i { color: var(--sm-primary); }
.about .content .btn-learn-more, .btn-learn-more {
  font-family: var(--sm-font); font-weight: 700; border-radius: 999px; border: 0; color: #fff; background: var(--sm-grad); box-shadow: var(--sm-glow); padding: 13px 32px; transition: all .25s ease;
}
.about .content .btn-learn-more:hover { background: var(--sm-grad); transform: translateY(-2px); color: #fff; }

.why-us .content h3 { font-weight: 700; color: var(--sm-ink); }
.why-us .accordion-list li { border-radius: 18px; border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow); padding: 22px 24px; transition: all .25s ease; }
.why-us .accordion-list li:hover { transform: translateY(-2px); box-shadow: var(--sm-shadow-lg); }
.why-us .accordion-list a { font-family: var(--sm-display); font-weight: 600; font-size: 1rem; color: var(--sm-ink); }
.why-us .accordion-list span { color: var(--sm-primary); font-weight: 800; }
.why-us .accordion-list a.collapsed:hover { color: var(--sm-primary); }

.services .icon-box {
  border-radius: 24px; border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow); padding: 38px 28px; position: relative; overflow: hidden; height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.services .icon-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--sm-accent), var(--sm-primary), var(--sm-primary-2)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.services .icon-box:hover { transform: translateY(-8px); box-shadow: var(--sm-shadow-lg); border-color: transparent; }
.services .icon-box:hover::before { transform: scaleX(1); }
.services .icon-box .icon { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: rgba(var(--sm-primary-rgb), .09); margin-bottom: 20px; }
.services .icon-box .icon i { color: var(--sm-primary); font-size: 30px; line-height: 1; }
.services .icon-box h4 a { font-family: var(--sm-display); color: var(--sm-ink); font-weight: 700; font-size: 1.1rem; }
.services .icon-box:hover h4 a { color: var(--sm-primary); }
.services .icon-box p { color: var(--sm-text); }

.cta {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(var(--sm-accent-rgb), .35), transparent 60%),
    linear-gradient(135deg, var(--sm-navy-2) 0%, var(--sm-primary) 50%, var(--sm-primary-2) 100%) !important;
  padding: 96px 0; position: relative; overflow: hidden;
}
.cta h3 { font-family: var(--sm-display); font-weight: 800; font-size: 2rem; color: #fff; }
.cta p { color: rgba(255, 255, 255, .82); }
.cta .cta-btn { font-family: var(--sm-font); font-weight: 700; border: 0; background: #fff; color: var(--sm-primary); border-radius: 999px; padding: 15px 38px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); transition: all .25s ease; }
.cta .cta-btn:hover { background: #fff; color: var(--sm-primary-2); transform: translateY(-3px); border: 0; }

.team .member { border-radius: 24px; border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow); padding: 26px; transition: all .3s ease; }
.team .member:hover { transform: translateY(-6px); box-shadow: var(--sm-shadow-lg); }
.team .member .pic { border-radius: 22px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(var(--sm-primary-rgb), .3); }
.team .member h4 { font-family: var(--sm-display); color: var(--sm-ink); font-weight: 700; }
.team .member span::after { background: linear-gradient(90deg, var(--sm-accent), var(--sm-primary-2)); height: 3px; border-radius: 3px; }
.team .member .social a { border-radius: 12px; background: rgba(var(--sm-primary-rgb), .08); }
.team .member .social a i { color: var(--sm-primary); }
.team .member .social a:hover { background: var(--sm-grad); }
.team .member .social a:hover i { color: #fff; }

.contact .info, .contact .php-email-form { border: 1px solid var(--sm-line); border-top: 0; border-radius: 24px; box-shadow: var(--sm-shadow); position: relative; overflow: hidden; }
.contact .info::before, .contact .php-email-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--sm-accent), var(--sm-primary), var(--sm-primary-2)); }
.contact .info i { color: var(--sm-primary); background: rgba(var(--sm-primary-rgb), .09); border-radius: 16px; }
.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i { background: var(--sm-grad); color: #fff; }
.contact .info h4 { font-family: var(--sm-display); color: var(--sm-ink); }
.contact .info .social-links a { border-radius: 12px; background: rgba(var(--sm-primary-rgb), .08); color: var(--sm-primary); }
.contact .info .social-links a:hover { background: var(--sm-grad); color: #fff; }
.contact .php-email-form input, .contact .php-email-form textarea, .form-control, .form-select {
  border-radius: 12px; border: 1.5px solid var(--sm-line); font-size: 14px; padding: .7rem .95rem; height: auto; box-shadow: none; transition: all .2s ease;
}
.contact .php-email-form input { height: 46px; }
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus, .form-control:focus, .form-select:focus { border-color: var(--sm-primary); box-shadow: 0 0 0 4px rgba(var(--sm-primary-rgb), .14); }
.contact .php-email-form label { font-weight: 600; font-size: .82rem; color: var(--sm-ink); }
.contact .php-email-form button[type="submit"], .btn-primary {
  font-family: var(--sm-font); font-weight: 700; background: var(--sm-grad); border: 0; border-radius: 999px; padding: 13px 38px; box-shadow: var(--sm-glow); transition: all .25s ease; color: #fff;
}
.contact .php-email-form button[type="submit"]:hover, .btn-primary:hover { background: var(--sm-grad); transform: translateY(-2px); color: #fff; }
.btn-outline-primary { border-radius: 999px; border: 1.5px solid rgba(var(--sm-primary-rgb), .4); color: var(--sm-primary); font-weight: 700; }
.btn-outline-primary:hover { background: var(--sm-grad); border-color: transparent; color: #fff; }

/* ---- Pages intérieures (actualités, FAQ, mentions) ---- */
.breadcrumbs { background: linear-gradient(160deg, var(--sm-navy), var(--sm-navy-3)); padding: 26px 0; margin-top: 72px; min-height: 0; }
.breadcrumbs h2 { color: #fff; font-family: var(--sm-display); font-weight: 700; }
.breadcrumbs ol, .breadcrumbs ol a { color: rgba(255, 255, 255, .7); }
.breadcrumbs ol li + li::before { color: rgba(255, 255, 255, .4); }
.card { border: 1px solid var(--sm-line); border-radius: 22px; box-shadow: var(--sm-shadow); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--sm-shadow-lg); }
.card .card-title { font-family: var(--sm-display); font-weight: 700; color: var(--sm-ink); }
.card-img-top { transition: transform .5s ease; }
.card:hover .card-img-top { transform: scale(1.04); }
.badge { border-radius: 999px; font-weight: 600; padding: .45em .9em; }
.badge.bg-primary { background: rgba(var(--sm-primary-rgb), .12) !important; color: var(--sm-primary-2); }
.pagination { gap: 6px; }
.pagination .page-link { border-radius: 10px !important; border: 1px solid var(--sm-line); color: var(--sm-text); font-weight: 600; }
.pagination .page-item.active .page-link { background: var(--sm-grad); border-color: transparent; box-shadow: var(--sm-glow); color: #fff; }
.faq .faq-list li { border-radius: 18px; border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow); }
.faq .faq-list a { font-family: var(--sm-display); font-weight: 600; color: var(--sm-ink); }
.faq .faq-list a.collapsed:hover, .faq .faq-list .icon-help { color: var(--sm-primary); }
.alert { border: 0; border-radius: 14px; }

/* ---- Pied de page ---- */
#footer { font-size: 14px; background: var(--sm-navy); color: rgba(226, 232, 255, .7); }
#footer .footer-newsletter { background: var(--sm-bg); }
#footer .footer-newsletter h4 { font-family: var(--sm-display); color: var(--sm-ink); font-weight: 700; }
#footer .footer-newsletter form { border-radius: 999px; border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow); padding: 6px 8px; }
#footer .footer-newsletter form input[type="submit"] { border-radius: 999px; background: var(--sm-grad); font-weight: 700; }
#footer .footer-top { background: var(--sm-navy); border-bottom: 1px solid rgba(255, 255, 255, .06); }
#footer .footer-top h3, #footer .footer-top h4 { color: #fff; font-family: var(--sm-display); }
#footer .footer-top .footer-contact p, #footer .footer-top p { color: rgba(226, 232, 255, .65); }
#footer .footer-top .footer-links ul a { color: rgba(226, 232, 255, .65); }
#footer .footer-top .footer-links ul a:hover { color: var(--sm-cyan); }
#footer .footer-top .footer-links ul i { color: var(--sm-cyan); }
#footer .footer-top .social-links a { border-radius: 12px; background: rgba(255, 255, 255, .08); }
#footer .footer-top .social-links a:hover { background: var(--sm-grad); }
#footer .footer-bottom, #footer .copyright, #footer .credits { color: rgba(226, 232, 255, .55); }
#footer .credits a { color: var(--sm-cyan); }

.back-to-top { border-radius: 14px; background: var(--sm-grad); box-shadow: var(--sm-glow); }
.back-to-top:hover { background: var(--sm-grad); transform: translateY(-3px); }
#preloader { background: var(--sm-navy); }
#preloader::before { border-color: var(--sm-cyan); border-top-color: rgba(255, 255, 255, .1); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Formes « pill » : boutons et pastilles d'icônes entièrement arrondis */
.btn, .btn-primary, .btn-outline-primary, .btn-sm, .btn-lg, .pagination .page-link { border-radius: 999px !important; }
.services .icon-box .icon, .contact .info i, .contact .info .social-links a, .team .member .social a,
#footer .footer-top .social-links a, .back-to-top { border-radius: 50% !important; }
.navbar .dropdown ul a { border-radius: 999px; }

/* Pages intérieures (actualités, FAQ, conditions…) : en-tête toujours opaque, contenu dégagé sous l'en-tête fixe */
#header.header-inner-pages { background: rgba(var(--sm-deep-rgb), .92); }
#header.header-inner-pages + * , #header.header-inner-pages ~ main#main { scroll-margin-top: 80px; }
.breadcrumbs { margin-top: 24px; border-radius: 0 0 28px 28px; }
.breadcrumbs ol li, .breadcrumbs ol li + li { font-size: .82rem; font-weight: 500; }

/* liste des actualités : titre de l'article au-dessus de l'extrait */
.sm-news-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; margin: .2rem 0 .45rem; }
.sm-news-title a { color: var(--sm-ink); text-decoration: none; transition: color .2s ease; }
.sm-news-title a:hover { color: var(--sm-primary); }

/* Champs de formulaire sans bordure : fond plein, halo au focus */
.contact .php-email-form input, .contact .php-email-form textarea, .form-control, .form-select,
#footer .footer-newsletter form {
  border: 1px solid transparent !important; background-color: #F1F4FA; box-shadow: none;
}
#footer .footer-newsletter form { background-color: #fff; box-shadow: var(--sm-shadow); }
.contact .php-email-form input:hover, .contact .php-email-form textarea:hover, .form-control:hover, .form-select:hover { background-color: #EBEFF8; }
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus, .form-control:focus, .form-select:focus {
  background-color: #fff; border-color: rgba(var(--sm-primary-rgb), .55) !important; box-shadow: 0 0 0 4px rgba(var(--sm-primary-rgb), .14);
}

/* Champ sélectionné / actif : trait fin d'un pixel, sans halo épais */
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus, .form-control:focus, .form-select:focus {
  background-color: #fff; border: 1px solid rgba(var(--sm-primary-rgb), .45) !important; outline: 0; box-shadow: 0 2px 10px -4px rgba(var(--sm-primary-rgb), .25) !important;
}
.btn:focus, .btn:active:focus { outline: 0; box-shadow: none; }

/* ---- Menu utilisateur de l'en-tête public (connecté) ---- */
.navbar .sm-user-menu > a.getstarted, .navbar .sm-user-menu > a.getstarted:focus { display: inline-flex; align-items: center; gap: 9px; padding: 6px 18px 6px 6px; }
.navbar .sm-user-menu > a.getstarted img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.navbar .sm-user-menu > a.getstarted i { font-size: 11px; margin-left: 0; line-height: 1; }
.navbar .sm-user-menu > ul { left: auto; right: 0; min-width: 250px; }
.navbar .sm-user-menu ul li { min-width: 0; }
.navbar .sm-user-menu-head { padding: 10px 14px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--sm-line); }
.navbar .sm-user-menu-head strong { display: block; font-family: var(--sm-display); font-size: .9rem; color: var(--sm-ink); letter-spacing: -.01em; }
.navbar .sm-user-menu-head small { display: block; font-size: .74rem; color: var(--sm-muted); overflow: hidden; text-overflow: ellipsis; }
.navbar .sm-user-menu ul a, .navbar .sm-user-menu-logout { display: flex; align-items: center; justify-content: flex-start; gap: 10px; font-size: 14px; }
.navbar .sm-user-menu ul a i, .navbar .sm-user-menu-logout i { font-size: 15px; color: var(--sm-primary); margin: 0; line-height: 1; }
.navbar .sm-user-menu form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--sm-line); }
.navbar .sm-user-menu-logout { width: 100%; border: 0; background: transparent; padding: 10px 14px; border-radius: 999px; font-family: var(--sm-font); font-weight: 600; color: #E11D48; cursor: pointer; text-align: left; transition: background .2s ease; }
.navbar .sm-user-menu-logout i { color: #E11D48; }
.navbar .sm-user-menu-logout:hover { background: rgba(244, 63, 94, .08); }
.navbar-mobile .sm-user-menu > a.getstarted { margin: 15px; justify-content: center; }
.navbar-mobile .sm-user-menu > ul { position: static; min-width: 0; }
/* le sous-menu s'ouvre aussi au clavier (Tab), pas seulement au survol */
@media (min-width: 992px) { .navbar .dropdown:focus-within > ul { opacity: 1; top: 100%; visibility: visible; } }

/* ---- Bandeau des équipes inscrites ---- */
.sm-clients-title { text-align: center; margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sm-muted); }
.sm-client { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; text-decoration: none; }
.sm-client img { width: 64px; height: 64px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: all .3s ease; }
.sm-client span { font-size: .78rem; font-weight: 600; color: var(--sm-muted); text-align: center; line-height: 1.25; transition: color .3s ease; }
.sm-client:hover img { filter: none; opacity: 1; transform: translateY(-3px) scale(1.05); }
.sm-client:hover span { color: var(--sm-ink); }
.cliens .sm-client img:hover { transform: translateY(-3px) scale(1.05); }

/* ---- Section Application ---- */
.sm-download {
  padding: 96px 0; position: relative; overflow: hidden; color: #E2E8FF;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(var(--sm-glow-rgb), .45), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(var(--sm-accent-rgb), .25), transparent 60%),
    linear-gradient(160deg, var(--sm-navy) 0%, var(--sm-navy-2) 100%);
}
.sm-download h2 { color: #fff; font-family: var(--sm-display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.03em; margin: 14px 0 16px; }
.sm-download > .container > .row > div > p { color: rgba(226, 232, 255, .72); font-size: 1.02rem; }
.sm-download-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sm-cyan); }

.sm-pwa { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.sm-pwa-icon { flex: 0 0 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; background: var(--sm-grad-cyan); box-shadow: 0 10px 24px -10px rgba(var(--sm-accent-rgb), .8); }
.sm-pwa strong { color: #fff; font-family: var(--sm-display); font-size: 1rem; }
.sm-pwa p { margin: 2px 0 0; font-size: .82rem; line-height: 1.5; color: rgba(226, 232, 255, .7); }
.sm-pwa-btn { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: .85rem; color: var(--sm-navy); background: #fff; cursor: pointer; transition: transform .2s ease; }
.sm-pwa-btn:hover { transform: translateY(-2px); }

.sm-stores { display: grid; gap: 14px; }
.sm-store { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.sm-store.is-ready:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); border-color: rgba(var(--sm-accent-rgb), .45); }
.sm-store.is-current { border-color: rgba(var(--sm-accent-rgb), .55); box-shadow: 0 0 0 1px rgba(var(--sm-accent-rgb), .2), 0 24px 48px -24px rgba(var(--sm-accent-rgb), .45); }
.sm-store-icon { flex: 0 0 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; background: rgba(255, 255, 255, .1); }
.sm-store.is-ready .sm-store-icon { background: var(--sm-grad); box-shadow: var(--sm-glow); }
.sm-store-body { flex: 1; min-width: 0; }
.sm-store-body h4 { margin: 0 0 2px; color: #fff; font-size: 1.05rem; font-weight: 700; }
.sm-store-body p { margin: 0; font-size: .82rem; color: rgba(226, 232, 255, .65); }
.sm-store-size { color: rgba(226, 232, 255, .5); }
.sm-store-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--sm-navy); background: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.sm-store-btn:hover { color: var(--sm-navy); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255, 255, 255, .6); }
.sm-store-soon { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(226, 232, 255, .6); border: 1px dashed rgba(226, 232, 255, .3); }
.sm-store.is-soon { opacity: .75; }
.sm-store-note { margin: 16px 4px 0; font-size: .78rem; color: rgba(226, 232, 255, .55); display: flex; align-items: center; gap: 8px; }
@media (max-width: 575px) {
  .sm-store { flex-wrap: wrap; }
  .sm-store-btn, .sm-store-soon { width: 100%; justify-content: center; text-align: center; }
  .sm-pwa { flex-wrap: wrap; }
  .sm-pwa-btn { width: 100%; justify-content: center; margin-left: 0; }
}
.cliens .sm-client img { max-width: none; width: 64px; height: 64px; padding: 0; }
.sm-store-note { font-size: .78rem !important; line-height: 1.5; }
.sm-store-icon i { line-height: 1; }

/* Charte 2SM : l'emblème est plus large que l'ancien logo */
#header .logo img { width: auto !important; height: 42px; max-height: none; filter: none; }
@media (max-width: 991px) { #header .logo img { height: 36px; } }

/* ------------------------------------------------------------------
   « La saison en direct » (accueil) : chiffres, matchs, compétitions,
   activités — en accès libre.
   ------------------------------------------------------------------ */
.sm-saison { padding: 70px 0 60px; }
.sm-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sm-stat {
  background: #fff; border-radius: var(--sm-radius, 20px); padding: 18px 16px 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  box-shadow: 0 10px 30px -18px rgba(var(--sm-dark-rgb), .35);
  border-left: 3px solid var(--sm-primary);
}
.sm-stat-icon {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(var(--sm-primary-rgb), .12); color: var(--sm-primary); font-size: 18px; margin-bottom: 8px;
}
.sm-stat strong { font-family: var(--sm-num, 'Saira Condensed'), sans-serif; font-size: 34px; line-height: 1; color: var(--sm-ink); font-variant-numeric: tabular-nums; }
.sm-stat > span:last-child { font-size: 13px; color: var(--sm-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

.sm-block { background: #fff; border-radius: var(--sm-radius, 20px); padding: 20px 20px 10px; height: 100%; box-shadow: 0 10px 30px -18px rgba(var(--sm-dark-rgb), .35); }
.sm-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sm-block-head h3 { font-size: 18px; font-weight: 800; margin: 0; color: var(--sm-ink); }
.sm-block-head a { font-size: 13px; font-weight: 700; color: var(--sm-primary); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.sm-empty { color: var(--sm-muted); font-size: 14px; padding: 6px 0 14px; }

/* Résultat : équipe — score en cases — équipe */
.sm-fixture { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 6px; border-top: 1px solid var(--sm-line); color: var(--sm-ink); border-radius: 14px; transition: background .15s; }
.sm-fixture:first-of-type { border-top: 0; }
.sm-fixture:hover { background: rgba(var(--sm-primary-rgb), .05); color: var(--sm-ink); }
.sm-fixture-team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; font-size: 14px; }
.sm-fixture-team span:not(.sm-badge-ini) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-fixture-team.is-away { justify-content: flex-end; text-align: right; }
.sm-fixture-team img, .sm-badge-ini { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.sm-badge-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--sm-navy-2); color: #fff; font-size: 12px; font-weight: 800; }
.sm-fixture-score { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-items: center; column-gap: 4px; }
.sm-fixture-score b {
  font-family: var(--sm-num, 'Saira Condensed'), sans-serif; font-size: 22px; line-height: 1; min-width: 34px; padding: 6px 4px;
  text-align: center; background: var(--sm-navy-2); color: #fff; border-radius: 10px; font-variant-numeric: tabular-nums;
}
.sm-fixture-score i { font-style: normal; font-weight: 800; color: var(--sm-vert-500); }
.sm-fixture-score small { grid-column: 1 / -1; font-size: 11px; color: var(--sm-muted); margin-top: 4px; display: inline-flex; align-items: center; gap: 5px; }
.sm-fixture-score.is-live b { background: var(--sm-red, #E5484D); }
.sm-fixture-score.is-live small { color: var(--sm-red, #E5484D); font-weight: 700; }
.sm-live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: sm-pulse 1.2s infinite; }
@keyframes sm-pulse { 50% { opacity: .25; } }

/* Prochains matchs / activités : pastille de date + texte */
.sm-next { display: flex; align-items: center; gap: 14px; padding: 10px 6px; border-top: 1px solid var(--sm-line); color: var(--sm-ink); border-radius: 14px; }
.sm-next:first-of-type { border-top: 0; }
.sm-next:hover { background: rgba(var(--sm-primary-rgb), .05); color: var(--sm-ink); }
.sm-next-date { width: 50px; height: 50px; border-radius: 50%; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--sm-grad-dark); color: #fff; }
.sm-next-date.is-activity { background: var(--sm-grad); }
.sm-next-date b { font-family: var(--sm-num, 'Saira Condensed'), sans-serif; font-size: 20px; line-height: 1; }
.sm-next-date small { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.sm-next-body { display: flex; flex-direction: column; min-width: 0; }
.sm-next-body strong { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-next-body strong em { font-style: normal; color: var(--sm-muted); font-weight: 600; }
.sm-next-body small { font-size: 12px; color: var(--sm-muted); }

/* Compétitions */
.sm-compet { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 16px 16px; border-radius: 18px; background: var(--sm-grad-dark); color: #fff; overflow: hidden; margin-bottom: 10px; }
.sm-compet:hover { color: #fff; transform: translateY(-2px); }
.sm-compet::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(rgba(var(--sm-glow-rgb), .45), transparent 70%); }
.sm-compet-icon { font-size: 22px; color: var(--sm-vert-500); }
.sm-compet strong { font-size: 15px; line-height: 1.25; }
.sm-compet small { font-size: 12px; color: rgba(255, 255, 255, .7); }
.sm-compet-status { align-self: flex-start; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); margin-bottom: 6px; }
.sm-compet-status.is-on { background: var(--sm-primary); border-color: var(--sm-primary); }

/* En-tête : lien « Se connecter » à côté de « Commencer » */
#header .navbar .sm-login-link { font-weight: 600; }

@media (max-width: 991px) { .sm-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) {
  .sm-stats { grid-template-columns: repeat(2, 1fr); }
  .sm-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sm-fixture-team span:not(.sm-badge-ini) { display: none; }
  .sm-fixture { grid-template-columns: auto 1fr auto; }
  .sm-fixture-score { justify-self: center; }
}

/* Menu mobile des pages publiques : offcanvas (2sm-offcanvas.css) ouvert par .sm-menu-toggle */
.sm-menu-toggle { display: none; }
@media (max-width: 991.98px) {
  .sm-menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 12px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1;
  }
  #header.header-scrolled .sm-menu-toggle, #header.header-inner-pages .sm-menu-toggle { background: rgba(255, 255, 255, .14); }
}
