/*
Theme Name:   Smart Services Child
Theme URI:    https://smartservices.sn
Description:  Thème enfant Astra pour SMART SERVICES Fatick. Style tech moderne, animations vivantes. Pages codées en PHP pur (méthode TaphaTech).
Author:       TaphaTech — Moustapha Seck
Author URI:   https://taphatech.com
Template:     astra
Version:      3.0.0
License:      GNU General Public License v2 or later
Text Domain:  smartservices-child
*/

/* ═══════════════════════════════════════════════════════════════
   SMART SERVICES — STYLE.CSS v3 (Tech Moderne)
   Préfixe : ss-  ·  Méthode TaphaTech
   ═══════════════════════════════════════════════════════════════ */


/* ═══ 1. VARIABLES ═══ */
:root {
    --p: #2563EB; --pd: #1D4ED8; --pl: #3B82F6; --pbg: #EFF6FF;
    --a: #FB923C; --ad: #F97316; --abg: #FFF7ED;
    --t: #0F172A; --tm: #475569; --tl: #94A3B8;
    --bg: #FFFFFF; --bg2: #FAFBFC; --bg3: #F1F5F9;
    --dark: #0A0F1F; --dark2: #131A2C;
    --bd: #E2E8F0; --bdd: #1F2937;
    --gr-1: linear-gradient(135deg, #2563EB 0%, #FB923C 100%);
    --gr-2: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    --gr-3: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
    --gr-mesh: radial-gradient(at 20% 30%, rgba(37,99,235,0.15) 0px, transparent 50%),
               radial-gradient(at 80% 70%, rgba(251,146,60,0.12) 0px, transparent 50%);
    --fd: 'Space Grotesk', system-ui, sans-serif;
    --fb: 'Inter', system-ui, sans-serif;
    --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;
    --sh-sm: 0 1px 3px rgba(15,23,42,.05);
    --sh-md: 0 4px 16px rgba(15,23,42,.06);
    --sh-lg: 0 16px 40px rgba(15,23,42,.08);
    --sh-glow-b: 0 0 40px rgba(37,99,235,.25);
    --sh-glow-o: 0 0 40px rgba(251,146,60,.35);
    --tr: .3s cubic-bezier(.4,0,.2,1);
    --tr-f: .15s ease-out;
}

/* ═══ 2. RESET ═══ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fb); font-size: 16px; line-height: 1.65; color: var(--t); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--fd); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .5em; color: var(--t); }
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw + .5rem, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 1.5vw + .25rem, 1.5rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; }
::selection { background: var(--p); color: #fff; }

/* Gradient text helpers */
.gr-text { background: var(--gr-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
.gr-text-b { background: var(--gr-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gr-text-o { background: var(--gr-3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ═══ 3. LAYOUT ═══ */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

/* Patterns */
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%); }
.grid-bg--dark { background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); }
.grid-bg--dots { background-image: radial-gradient(rgba(15,23,42,.08) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%); }

/* Glow orbs */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .5; animation: orb-drift 12s ease-in-out infinite; }
.glow-orb--blue { background: radial-gradient(circle, rgba(37,99,235,.4), transparent 70%); }
.glow-orb--orange { background: radial-gradient(circle, rgba(251,146,60,.4), transparent 70%); animation-delay: -6s; }
@keyframes orb-drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-20px) scale(1.1); } }

/* ═══ 4. BOUTONS ═══ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--r-md); font-family: var(--fb); font-weight: 600; font-size: .9375rem; line-height: 1; text-decoration: none; cursor: pointer; transition: var(--tr); white-space: nowrap; position: relative; overflow: hidden; border: none; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); transition: left .6s; }
.btn:hover::before { left: 100%; }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--gr-2); color: #fff; box-shadow: var(--sh-glow-b); }
.btn--primary:hover { box-shadow: 0 0 50px rgba(37,99,235,.5); color: #fff; }
.btn--accent { background: var(--gr-3); color: #fff; box-shadow: var(--sh-glow-o); }
.btn--accent:hover { box-shadow: 0 0 50px rgba(251,146,60,.6); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.05); color: var(--t); border: 1px solid var(--bd); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--bg); border-color: var(--p); color: var(--p); }
.btn--dark-ghost { background: rgba(255,255,255,.05); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.btn--dark-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--a); color: #fff; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn__icon { width: 18px; height: 18px; transition: transform var(--tr); flex-shrink: 0; }
.btn:hover .btn__icon { transform: translateX(4px); }

/* ═══ 5. BADGES ═══ */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(37,99,235,.08); color: var(--pd); border-radius: var(--r-full); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; border: 1px solid rgba(37,99,235,.15); }
.badge--accent { background: rgba(251,146,60,.1); color: var(--ad); border-color: rgba(251,146,60,.2); }
.badge--dark { background: rgba(255,255,255,.06); color: var(--a); border-color: rgba(251,146,60,.25); }
.badge__dot { width: 6px; height: 6px; background: var(--a); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(251,146,60,.5); } 50% { opacity: .8; box-shadow: 0 0 0 6px rgba(251,146,60,0); } }

/* ═══ 6. HEADER ═══ */
.header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.7); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(226,232,240,.6); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1.5rem; }
.header__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__logo { height: 44px; width: auto; }
.header__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.header__brand-name { font-family: var(--fd); font-weight: 700; font-size: 1rem; color: var(--t); letter-spacing: -.02em; }
.header__brand-tag { font-size: .65rem; color: var(--tm); text-transform: uppercase; letter-spacing: 1px; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 500; font-size: .9375rem; color: var(--t); border-radius: var(--r-sm); transition: var(--tr); }
.nav__link:hover, .nav__link.is-active { color: var(--p); background: var(--pbg); }
.nav__caret { width: 14px; height: 14px; transition: transform var(--tr); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }
.nav__dropdown { position: absolute; top: calc(100% + 12px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--bd); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--tr); }
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: .9375rem; color: var(--t); transition: var(--tr-f); }
.nav__dropdown-link:hover { background: var(--pbg); color: var(--p); }
.nav__dropdown-link svg { width: 18px; height: 18px; color: var(--a); flex-shrink: 0; }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--t); }
.header__phone:hover { color: var(--p); }
.header__phone-icon { width: 18px; height: 18px; color: var(--a); }

/* ═══ 7. BURGER + DRAWER ═══ */
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.burger:hover { background: var(--bg3); }
.burger__lines { width: 22px; height: 16px; position: relative; }
.burger__lines::before, .burger__lines::after, .burger__line { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--t); border-radius: 2px; transition: var(--tr); }
.burger__lines::before { top: 0; }
.burger__line { top: 50%; transform: translateY(-50%); }
.burger__lines::after { bottom: 0; }
.burger.is-open .burger__lines::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.is-open .burger__line { opacity: 0; }
.burger.is-open .burger__lines::after { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
.drawer { position: fixed; top: 0; right: -100%; width: min(85vw, 360px); height: 100vh; background: #fff; box-shadow: -8px 0 32px rgba(15,23,42,.15); z-index: 900; transition: right .35s cubic-bezier(.4,0,.2,1); overflow-y: auto; padding: 1.5rem 1.25rem 2rem; }
.drawer.is-open { right: 0; }
.overlay { position: fixed; inset: 0; background: rgba(15,23,42,.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; z-index: 850; transition: var(--tr); }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.drawer__close:hover { background: var(--bg3); }
.drawer__title { font-size: .75rem; font-weight: 600; margin: 0 0 1.5rem; color: var(--tm); text-transform: uppercase; letter-spacing: 1.5px; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 500; color: var(--t); border-radius: var(--r-md); }
.drawer__link:hover, .drawer__link.is-active { background: var(--pbg); color: var(--p); }
.drawer__sub { margin: 4px 0 8px 16px; padding-left: 12px; border-left: 2px solid var(--bd); display: flex; flex-direction: column; gap: 2px; }
.drawer__sublink { padding: 10px 14px; font-size: .9375rem; color: var(--tm); border-radius: var(--r-sm); }
.drawer__sublink:hover { background: var(--bg3); color: var(--p); }
.drawer__cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }

/* ═══ 8. HERO ═══ */
.hero { position: relative; padding-block: clamp(3rem, 6vw, 6rem); overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at top, black, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at top, black, transparent 70%); pointer-events: none; }
.hero__orb-1 { position: absolute; top: -100px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,.15), transparent 70%); filter: blur(40px); pointer-events: none; animation: orb-drift 14s ease-in-out infinite; }
.hero__orb-2 { position: absolute; bottom: -200px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(251,146,60,.18), transparent 70%); filter: blur(50px); pointer-events: none; animation: orb-drift 18s ease-in-out infinite reverse; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero__content > * { animation: fade-up .8s cubic-bezier(.16,1,.3,1) both; }
.hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero__content > *:nth-child(5) { animation-delay: .4s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero__title { margin-bottom: 1.25rem; }
.hero__title-line { display: block; }
.hero__subtitle { font-size: 1.125rem; color: var(--tm); line-height: 1.7; margin-bottom: 2rem; max-width: 540px; }
.hero__subtitle strong { color: var(--t); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__trust { padding-top: 1.5rem; border-top: 1px solid var(--bd); }
.hero__trust-label { font-size: .75rem; color: var(--tm); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .75rem; font-weight: 600; }
.hero__trust-items { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }
.hero__trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; color: var(--t); }
.hero__trust-icon { width: 20px; height: 20px; color: #10B981; flex-shrink: 0; }
.hero__visual { position: relative; }
.hero__image-wrap { position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); transform: rotate(-2deg); transition: var(--tr); }
.hero__image-wrap:hover { transform: rotate(0deg) scale(1.02); }
.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__image-frame { position: absolute; top: -16px; right: -16px; bottom: 16px; left: 16px; border: 2px solid var(--p); border-radius: var(--r-xl); z-index: -1; transform: rotate(-2deg); }
.hero__card { position: absolute; background: #fff; border-radius: var(--r-lg); padding: 1rem 1.25rem; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px; border: 1px solid var(--bd); animation: float 4s ease-in-out infinite; z-index: 2; }
.hero__card--top { top: 2rem; left: -2rem; }
.hero__card--bottom { bottom: 2rem; right: -2rem; animation-delay: 2s; }
.hero__card-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--gr-2); color: #fff; box-shadow: var(--sh-glow-b); }
.hero__card--bottom .hero__card-icon { background: var(--gr-3); box-shadow: var(--sh-glow-o); }
.hero__card-icon svg { width: 22px; height: 22px; }
.hero__card-text { line-height: 1.3; }
.hero__card-label { font-size: .7rem; color: var(--tm); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.hero__card-value { font-weight: 700; color: var(--t); font-family: var(--fd); font-size: 1.0625rem; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ═══ 9. STATS ═══ */
.stats { padding-block: clamp(3rem, 6vw, 4rem); background: var(--bg); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); position: relative; overflow: hidden; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stats__item { text-align: center; padding: 1rem; position: relative; }
.stats__item:not(:last-child)::after { content: ''; position: absolute; right: -1rem; top: 20%; bottom: 20%; width: 1px; background: linear-gradient(to bottom, transparent, var(--bd), transparent); }
.stats__value { font-family: var(--fd); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; background: var(--gr-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: .5rem; letter-spacing: -.04em; }
.stats__label { font-size: .9375rem; color: var(--tm); font-weight: 500; }

/* ═══ 10. SECTION HEAD ═══ */
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head .badge { margin-bottom: 1rem; }
.section__title { margin-bottom: 1rem; }
.section__subtitle { font-size: 1.0625rem; color: var(--tm); line-height: 1.7; }

/* ═══ 11. SERVICES ═══ */
.services { position: relative; overflow: hidden; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { position: relative; background: #fff; border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 2rem 1.75rem 1.75rem; transition: var(--tr); overflow: hidden; isolation: isolate; }
.service-card::before { content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); padding: 1.5px; background: var(--gr-1); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--tr); }
.service-card:hover::before { opacity: 1; }
.service-card::after { content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px; background: radial-gradient(circle, rgba(251,146,60,.08), transparent 70%); border-radius: 50%; opacity: 0; transition: var(--tr); pointer-events: none; }
.service-card:hover::after { opacity: 1; }
.service-card:hover { box-shadow: var(--sh-lg); transform: translateY(-6px); border-color: transparent; }
.service-card__header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.25rem; }
.service-card__number { font-family: var(--fd); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--bg3); letter-spacing: -.05em; transition: var(--tr); }
.service-card:hover .service-card__number { background: var(--gr-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.service-card__icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--pbg); color: var(--p); display: flex; align-items: center; justify-content: center; transition: var(--tr); position: relative; }
.service-card__icon::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: var(--gr-1); opacity: 0; transition: var(--tr); z-index: -1; }
.service-card:hover .service-card__icon { background: transparent; color: #fff; transform: rotate(-5deg) scale(1.1); }
.service-card:hover .service-card__icon::before { opacity: 1; }
.service-card__icon svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.service-card__title { font-size: 1.25rem; margin-bottom: .75rem; }
.service-card__desc { color: var(--tm); font-size: .9375rem; line-height: 1.65; margin-bottom: 1.25rem; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; color: var(--p); transition: var(--tr); }
.service-card__link:hover { gap: 12px; color: var(--ad); }
.service-card__link svg { width: 16px; height: 16px; }

/* ═══ 12. TRANSFER ═══ */
.transfer { position: relative; padding-block: clamp(4rem, 8vw, 6rem); background: var(--dark); color: #fff; overflow: hidden; }
.transfer__mesh { position: absolute; inset: 0; background: var(--gr-mesh); pointer-events: none; }
.transfer__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, black, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%); pointer-events: none; }
.transfer__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; margin-bottom: 3rem; }
.transfer__title { color: #fff; margin-top: 1rem; margin-bottom: 1rem; }
.transfer__subtitle { color: rgba(255,255,255,.7); font-size: 1.0625rem; line-height: 1.7; }
.marquee { position: relative; overflow: hidden; padding: 1rem 0; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); margin-bottom: 2rem; }
.marquee__track { display: flex; gap: 1.25rem; animation: marquee 25s linear infinite; width: max-content; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; padding: 1rem 1.75rem; background: rgba(255,255,255,.05); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); white-space: nowrap; transition: var(--tr); }
.marquee__item:hover { background: rgba(255,255,255,.1); border-color: var(--a); transform: scale(1.05); }
.marquee__icon { width: 28px; height: 28px; padding: 4px; border-radius: var(--r-sm); background: var(--gr-3); color: #fff; flex-shrink: 0; }
.marquee__name { font-weight: 600; font-size: .9375rem; color: #fff; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.transfer__cta { text-align: center; position: relative; z-index: 1; }

/* ═══ 13. PILLARS ═══ */
.pillars { background: var(--bg2); position: relative; overflow: hidden; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.pillar { background: #fff; border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 2rem 1.5rem; text-align: center; transition: var(--tr); position: relative; overflow: hidden; }
.pillar::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 3px; background: var(--gr-1); border-radius: 0 0 var(--r-full) var(--r-full); opacity: 0; transition: var(--tr); }
.pillar:hover::before { opacity: 1; width: 60%; }
.pillar:hover { box-shadow: var(--sh-lg); transform: translateY(-6px); border-color: transparent; }
.pillar__icon-wrap { position: relative; width: 80px; height: 80px; margin: 0 auto 1.25rem; }
.pillar__icon-bg { position: absolute; inset: 0; background: var(--gr-3); border-radius: var(--r-lg); transform: rotate(8deg); opacity: .1; transition: var(--tr); }
.pillar:hover .pillar__icon-bg { transform: rotate(0deg); opacity: 1; }
.pillar__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ad); transition: var(--tr); }
.pillar:hover .pillar__icon { color: #fff; transform: rotate(-5deg) scale(1.1); }
.pillar__icon svg { width: 36px; height: 36px; stroke-width: 2; }
.pillar__title { font-size: 1.125rem; margin-bottom: .5rem; }
.pillar__desc { color: var(--tm); font-size: .9375rem; line-height: 1.6; margin: 0; }

/* ═══ 14. ABOUT ═══ */
.about { position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__image-wrap { position: relative; }
.about__image { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh-lg); z-index: 1; }
.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__image-frame { position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px; border: 2px solid var(--p); border-radius: var(--r-xl); z-index: 0; }
.about__image-dots { position: absolute; bottom: -40px; right: -30px; width: 120px; height: 120px; background-image: radial-gradient(var(--a) 2px, transparent 2px); background-size: 16px 16px; z-index: 0; opacity: .5; }
.about__badge { position: absolute; top: -16px; right: 20px; background: var(--gr-1); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-md); font-family: var(--fd); font-weight: 700; box-shadow: var(--sh-glow-b); z-index: 2; font-size: .875rem; letter-spacing: .5px; }
.about__content .badge { margin-bottom: 1rem; }
.about__content h2 { margin-bottom: 1rem; }
.about__content p { color: var(--tm); line-height: 1.75; margin-bottom: 1rem; font-size: 1rem; }
.about__content p strong { color: var(--t); font-weight: 600; }
.about__highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.about__highlight { display: flex; align-items: center; gap: 12px; padding: 1rem; background: var(--bg2); border-radius: var(--r-md); border: 1px solid var(--bd); }
.about__highlight-icon { width: 36px; height: 36px; background: var(--gr-3); color: #fff; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about__highlight-icon svg { width: 20px; height: 20px; }
.about__highlight-text { font-size: .875rem; line-height: 1.3; }
.about__highlight-value { font-family: var(--fd); font-weight: 700; color: var(--t); font-size: 1.125rem; }
.about__highlight-label { color: var(--tm); font-size: .75rem; }

/* ═══ 15. CTA ═══ */
.cta { position: relative; background: var(--dark); overflow: hidden; }
.cta__mesh { position: absolute; inset: 0; background: var(--gr-mesh); pointer-events: none; }
.cta__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at center, black, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%); pointer-events: none; }
.cta__orb { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(251,146,60,.2), transparent 60%); filter: blur(40px); pointer-events: none; animation: orb-drift 10s ease-in-out infinite; }
.cta__inner { text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta__title { color: #fff; font-size: clamp(2rem, 4vw + .5rem, 3rem); margin-bottom: 1rem; font-weight: 700; }
.cta__subtitle { color: rgba(255,255,255,.7); font-size: 1.125rem; margin-bottom: 2rem; line-height: 1.7; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ═══ 16. CONTACT ═══ */
.contact { background: var(--bg2); position: relative; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact__info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.contact__info-card { background: #fff; padding: 1.25rem; border-radius: var(--r-md); border: 1px solid var(--bd); transition: var(--tr); position: relative; overflow: hidden; }
.contact__info-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); border-color: transparent; }
.contact__info-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gr-2); }
.contact__info-card--accent::before { background: var(--gr-3); }
.contact__info-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--gr-2); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; box-shadow: var(--sh-glow-b); }
.contact__info-card--accent .contact__info-icon { background: var(--gr-3); box-shadow: var(--sh-glow-o); }
.contact__info-icon svg { width: 20px; height: 20px; }
.contact__info-label { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--tm); font-weight: 600; margin-bottom: .25rem; }
.contact__info-value { font-weight: 600; color: var(--t); line-height: 1.4; font-size: .9375rem; }
.contact__info-value a { color: inherit; }
.contact__info-value a:hover { color: var(--p); }
.contact__map { width: 100%; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); border: 0; }
.contact__form { background: #fff; padding: 2rem; border-radius: var(--r-lg); box-shadow: var(--sh-md); border: 1px solid var(--bd); position: relative; overflow: hidden; }
.contact__form::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(251,146,60,.08), transparent 70%); border-radius: 50%; pointer-events: none; }
.contact__form-title { margin-bottom: 1.5rem; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form__field { display: flex; flex-direction: column; margin-bottom: 1rem; position: relative; }
.form__label { font-size: .75rem; font-weight: 600; color: var(--t); margin-bottom: .375rem; text-transform: uppercase; letter-spacing: .5px; }
.form__input, .form__textarea { padding: 12px 14px; border: 1.5px solid var(--bd); border-radius: var(--r-sm); font-family: var(--fb); font-size: .9375rem; color: var(--t); background: var(--bg); transition: var(--tr-f); width: 100%; }
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form__textarea { resize: vertical; min-height: 100px; font-family: var(--fb); }
.form__submit { width: 100%; }
.form__honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form__alert { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 1rem; font-size: .9375rem; display: none; }
.form__alert.is-visible { display: block; }
.form__alert--success { background: rgba(16,185,129,.1); color: #047857; border: 1px solid rgba(16,185,129,.3); }
.form__alert--error { background: rgba(239,68,68,.1); color: #b91c1c; border: 1px solid rgba(239,68,68,.3); }

/* ═══ 17. FOOTER ═══ */
.footer { background: var(--dark); color: #cbd5e1; padding: 4rem 0 0; position: relative; overflow: hidden; }
.footer__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.footer__inner { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer__col { display: flex; flex-direction: column; gap: 1rem; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: .5rem; }
.footer__logo { height: 48px; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--r-sm); }
.footer__brand-name { font-family: var(--fd); font-weight: 700; font-size: 1.125rem; color: #fff; line-height: 1.1; }
.footer__brand-tag { font-size: .7rem; color: var(--tl); text-transform: uppercase; letter-spacing: 1px; }
.footer__desc { font-size: .9375rem; line-height: 1.7; color: #94a3b8; margin: 0; }
.footer__legal { font-size: .8125rem; color: var(--tl); line-height: 1.7; padding-top: 1rem; border-top: 1px solid var(--bdd); }
.footer__legal strong { color: #fff; }
.footer__legal-item { display: block; margin-bottom: .25rem; }
.footer__title { font-family: var(--fd); font-size: .75rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 1rem; position: relative; padding-bottom: .75rem; }
.footer__title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--gr-3); }
.footer__list { display: flex; flex-direction: column; gap: .625rem; }
.footer__link { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: #cbd5e1; transition: var(--tr-f); }
.footer__link::before { content: '→'; opacity: 0; transition: var(--tr); color: var(--a); }
.footer__link:hover { color: var(--a); padding-left: 4px; }
.footer__link:hover::before { opacity: 1; }
.footer__info { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.5; }
.footer__info-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--a); margin-top: 3px; }
.footer__info a { color: #cbd5e1; }
.footer__info a:hover { color: var(--a); }
.footer__social { display: flex; gap: .75rem; margin-top: .5rem; }
.footer__social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.05); color: #fff; transition: var(--tr); border: 1px solid rgba(255,255,255,.1); }
.footer__social-link:hover { background: var(--gr-3); transform: translateY(-4px) scale(1.1); border-color: transparent; box-shadow: var(--sh-glow-o); }
.footer__social-icon { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--bdd); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 1; }
.footer__copyright { font-size: .875rem; color: var(--tl); margin: 0; }
.footer__dev { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--tl); }
.footer__dev-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--gr-1); color: #fff; border-radius: var(--r-full); font-weight: 700; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; box-shadow: var(--sh-glow-o); transition: var(--tr); position: relative; overflow: hidden; }
.footer__dev-badge::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); transition: left .5s; }
.footer__dev-badge:hover::before { left: 100%; }
.footer__dev-badge:hover { box-shadow: 0 0 30px rgba(251,146,60,.7); transform: translateY(-2px); color: #fff; }
.payment { background: var(--dark2); padding: 1.25rem 0; border-top: 1px solid var(--bdd); position: relative; z-index: 1; }
.payment__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; font-size: .8125rem; color: var(--tl); }
.payment__label { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; }
.payment__item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-full); transition: var(--tr-f); }
.payment__item:hover { background: rgba(255,255,255,.08); border-color: var(--a); }
.payment__item-icon { width: 16px; height: 16px; color: var(--a); }

/* ═══ 18. WHATSAPP FLOAT ═══ */
.whatsapp { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.4); z-index: 200; transition: var(--tr); animation: wa-pulse 2s infinite; }
.whatsapp:hover { transform: scale(1.15) rotate(10deg); color: #fff; }
.whatsapp__icon { width: 32px; height: 32px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); } }

/* ═══ 19. REVEAL ON SCROLL ═══ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ═══ 20. RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero__visual { max-width: 480px; margin: 0 auto; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .pillars__grid { grid-template-columns: repeat(2, 1fr); }
    .about__grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stats__item:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
    .nav, .header__phone { display: none; }
    .burger { display: flex; }
    .header__brand-text { display: none; }
    .services__grid { grid-template-columns: 1fr; }
    .pillars__grid { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .contact__info-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .whatsapp { width: 54px; height: 54px; bottom: 16px; right: 16px; }
    .hero__card--top { left: 0; top: 1rem; }
    .hero__card--bottom { right: 0; bottom: 1rem; }
    .about__highlights { grid-template-columns: 1fr; }
    .stats__item::after { display: none; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   v3.2.0 — Logo officiel S + SMART rouge + SERVICES bleu
   À AJOUTER À LA FIN DE style.css (avant le commentaire FIN)
   ═══════════════════════════════════════════════════════════════ */


/* ═══ 21. LOGO OFFICIEL — S icône + SMART rouge + SERVICES bleu ═══ */

/* Variables couleurs du logo officiel */
:root {
    --ss-logo-red:        #E1242B;
    --ss-logo-red-dark:   #B81E24;
    --ss-logo-blue:       #0A60A9;
    --ss-logo-blue-dark:  #0D497D;
}

.ss-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    transition: transform var(--tr);
    padding: 4px 0;
}

.ss-logo:hover {
    transform: translateY(-1px);
}

/* L'icône S officielle */
.ss-logo__icon {
    height: 46px;
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(10, 96, 169, .15));
    transition: filter var(--tr);
}

.ss-logo:hover .ss-logo__icon {
    filter: drop-shadow(0 4px 10px rgba(225, 36, 43, .25)) drop-shadow(0 2px 6px rgba(10, 96, 169, .25));
}

/* Bloc texte à côté de l'icône */
.ss-logo__text {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--fd);
    font-weight: 800;
    font-size: clamp(1.15rem, 2vw + .35rem, 1.6rem);
    letter-spacing: -.04em;
    line-height: 1;
}

/* "SMART" — rouge officiel */
.ss-logo__smart {
    background: linear-gradient(135deg, var(--ss-logo-red) 0%, var(--ss-logo-red-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 6px rgba(225, 36, 43, .15));
    transition: filter var(--tr);
}

/* "SERVICES" — bleu officiel */
.ss-logo__services {
    background: linear-gradient(135deg, var(--ss-logo-blue) 0%, var(--ss-logo-blue-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 6px rgba(10, 96, 169, .15));
    transition: filter var(--tr);
}

.ss-logo:hover .ss-logo__smart {
    filter: drop-shadow(0 0 10px rgba(225, 36, 43, .35));
}

.ss-logo:hover .ss-logo__services {
    filter: drop-shadow(0 0 10px rgba(10, 96, 169, .35));
}

/* Responsive mobile */
@media (max-width: 768px) {
    .ss-logo {
        gap: 8px;
    }
    .ss-logo__icon {
        height: 36px;
    }
    .ss-logo__text {
        font-size: 1.05rem;
        gap: 4px;
    }
}


/* ═══ 22. RÉDUCTION ESPACE HEADER → HERO ═══ */

.hero {
    padding-block: clamp(1rem, 2.5vw, 2.5rem) clamp(3rem, 6vw, 6rem);
}

.header__inner {
    height: 72px;
}

/* ═══ 23. HEADER MOBILE — Décalage "Devis gratuit" ═══ */

@media (max-width: 768px) {

    /* Plus d'espace entre Devis et Burger */
    .header__actions {
        gap: 0.75rem;
    }

    /* Bouton Devis : plus compact, bien à droite */
    .header__actions .btn--accent {
        padding: 10px 18px;
        font-size: 0.85rem;
        margin-left: auto;
    }

    /* Logo plus compact sur mobile */
    .header__inner {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Sur très petits écrans, on raccourcit encore */
    .header__actions .btn--accent {
        padding: 9px 14px;
        font-size: 0.8rem;
    }
}


/* ═══ 24. STATS LUMINEUSES — Compteurs animés ═══ */

/* Override de la section stats existante */
.stats {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: var(--bg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--bd);
    border-bottom: 1px solid var(--bd);
}

/* Glow orbs en arrière-plan */
.stats__bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.15;
}

.stats__bg-orb--1 {
    top: -100px;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #E1242B, transparent 70%);
}

.stats__bg-orb--2 {
    bottom: -100px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0A60A9, transparent 70%);
}

/* Override grid : on enlève les séparateurs verticaux */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.stats__item:not(:last-child)::after {
    display: none !important;  /* On enlève l'ancien séparateur */
}

/* Stats item — Card lumineuse */
.stats__item {
    position: relative;
    background: #fff;
    border: 1px solid var(--bd);
    border-radius: var(--r-lg);
    padding: 2rem 1.25rem;
    text-align: center;
    overflow: hidden;
    transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
    isolation: isolate;
}

.stats__item:hover {
    transform: translateY(-6px);
    border-color: transparent;
}

/* Glow coloré derrière chaque stat */
.stats__icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.25;
    z-index: -1;
    transition: opacity var(--tr), transform var(--tr);
}

.stats__item:hover .stats__icon-glow {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Couleurs spécifiques par stat */
.stats__item--red .stats__icon-glow    { background: #E1242B; }
.stats__item--orange .stats__icon-glow { background: #F97316; }
.stats__item--blue .stats__icon-glow   { background: #0A60A9; }
.stats__item--green .stats__icon-glow  { background: #10B981; }

/* Bordure gradient au hover */
.stats__item--red:hover    { box-shadow: 0 12px 32px rgba(225, 36, 43, .25), 0 0 0 1px rgba(225, 36, 43, .3); }
.stats__item--orange:hover { box-shadow: 0 12px 32px rgba(249, 115, 22, .25), 0 0 0 1px rgba(249, 115, 22, .3); }
.stats__item--blue:hover   { box-shadow: 0 12px 32px rgba(10, 96, 169, .25), 0 0 0 1px rgba(10, 96, 169, .3); }
.stats__item--green:hover  { box-shadow: 0 12px 32px rgba(16, 185, 129, .25), 0 0 0 1px rgba(16, 185, 129, .3); }

/* Le chiffre — opaque, vif, avec glow */
.stats__value {
    font-family: var(--fd);
    font-weight: 800;
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
    position: relative;
    display: inline-block;
    /* Background remplacé par couleur spécifique selon parent */
    background: none;
    -webkit-text-fill-color: initial;
    animation: stats-pulse 3s ease-in-out infinite;
}

@keyframes stats-pulse {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 12px currentColor); }
    50%      { filter: brightness(1.1) drop-shadow(0 0 24px currentColor); }
}

/* Couleur du chiffre par variante */
.stats__item--red    .stats__value { color: #E1242B; }
.stats__item--orange .stats__value { color: #F97316; }
.stats__item--blue   .stats__value { color: #0A60A9; }
.stats__item--green  .stats__value { color: #059669; }

/* Sous-style pour le "7/7" — la fraction reste lisible */
.stats__value-suffix {
    font-size: 0.55em;
    opacity: 0.85;
    font-weight: 700;
}

/* Label sous le chiffre */
.stats__label {
    font-size: 0.9375rem;
    color: var(--t);
    font-weight: 600;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stats__item {
        padding: 1.5rem 1rem;
    }
    .stats__value {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }
}

* ═══ 25. HEADER MOBILE — Burger visible + Devis caché ═══ */

@media (max-width: 768px) {

    /* CACHER le bouton Devis gratuit du header (il reste dans le drawer) */
    .header__actions .btn--accent {
        display: none;
    }

    /* RENDRE LE BURGER BIEN VISIBLE */
    .burger {
        background: linear-gradient(135deg, #E1242B 0%, #0A60A9 100%);
        border-radius: var(--r-md);
        box-shadow: 0 4px 12px rgba(225, 36, 43, .25), 0 2px 6px rgba(10, 96, 169, .15);
        transition: transform var(--tr), box-shadow var(--tr);
    }

    .burger:hover {
        background: linear-gradient(135deg, #B81E24 0%, #0D497D 100%);
        transform: scale(1.05);
    }

    /* Barres du burger : BLANCHES pour bien contraster */
    .burger__lines::before,
    .burger__lines::after,
    .burger__line {
        background: #fff;
        height: 2.5px;
    }

    /* Quand le menu est ouvert */
    .burger.is-open {
        background: linear-gradient(135deg, #0A60A9 0%, #E1242B 100%);
    }
}


/* ═══ 26. TITRE HERO DYNAMIQUE ═══ */

/* Gradient animé en boucle sur le mot-clé */
.hero__title-anim {
    display: inline-block;
    position: relative;
    background: linear-gradient(
        90deg,
        #E1242B 0%,
        #F97316 25%,
        #0A60A9 50%,
        #F97316 75%,
        #E1242B 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: title-gradient-shift 6s ease-in-out infinite;
}

@keyframes title-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Soulignement décoratif animé sous le titre dynamique */
.hero__title-anim::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #E1242B, #F97316, #0A60A9);
    transform: scaleX(0);
    transform-origin: left;
    animation: title-underline-grow 1.4s cubic-bezier(.16, 1, .3, 1) 0.6s forwards;
}

@keyframes title-underline-grow {
    to { transform: scaleX(1); }
}

/* Petite étincelle animée à côté du titre */
.hero__title-anim::before {
    content: '✦';
    position: absolute;
    top: -20px;
    right: -32px;
    font-size: 1.5rem;
    color: #F97316;
    opacity: 0;
    animation: title-sparkle 2s ease-in-out infinite, sparkle-appear .8s ease-out 1.2s forwards;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, .7));
}

@keyframes sparkle-appear {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes title-sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50%      { transform: rotate(180deg) scale(1.2); }
}

@media (max-width: 768px) {
    .hero__title-anim::before { display: none; }
}


/* ═══ 27. ORBIT — Icônes services tournant autour de la photo ═══ */

.hero__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 90px);
    height: calc(100% + 90px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    /* Variable pour le rayon — change selon breakpoint */
    --orbit-radius: 260px;
}

.hero__orbit-track {
    position: absolute;
    inset: 0;
    animation: orbit-rotate 30s linear infinite;
}

@keyframes orbit-rotate {
    to { transform: rotate(360deg); }
}

/* Chaque icône positionnée sur le cercle */
.hero__orbit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--orbit-radius)));
}

/* Conteneur interne avec contre-rotation pour garder l'icône droite */
.hero__orbit-icon-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .12),
        0 0 30px var(--icon-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
    animation: orbit-counter-rotate 30s linear infinite;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid rgba(255, 255, 255, .8);
}

.hero__orbit-icon-inner:hover {
    transform: scale(1.15);
}

@keyframes orbit-counter-rotate {
    to { transform: rotate(-360deg); }
}

/* Angles de positionnement des 6 icônes (60° d'écart) */
.hero__orbit-icon--1 { --angle: 0deg; }
.hero__orbit-icon--2 { --angle: 60deg; }
.hero__orbit-icon--3 { --angle: 120deg; }
.hero__orbit-icon--4 { --angle: 180deg; }
.hero__orbit-icon--5 { --angle: 240deg; }
.hero__orbit-icon--6 { --angle: 300deg; }

/* Couleurs des icônes — rotation rouge/bleu/orange */
.hero__orbit-icon--red {
    --icon-color: #E1242B;
    --icon-glow: rgba(225, 36, 43, .35);
}

.hero__orbit-icon--blue {
    --icon-color: #0A60A9;
    --icon-glow: rgba(10, 96, 169, .35);
}

.hero__orbit-icon--orange {
    --icon-color: #F97316;
    --icon-glow: rgba(249, 115, 22, .4);
}

/* Pulse lumineux sur chaque icône (asynchrone via delay) */
.hero__orbit-icon--1 .hero__orbit-icon-inner { animation: orbit-counter-rotate 30s linear infinite, icon-pulse 3s ease-in-out infinite; }
.hero__orbit-icon--2 .hero__orbit-icon-inner { animation: orbit-counter-rotate 30s linear infinite, icon-pulse 3s ease-in-out infinite -0.5s; }
.hero__orbit-icon--3 .hero__orbit-icon-inner { animation: orbit-counter-rotate 30s linear infinite, icon-pulse 3s ease-in-out infinite -1s; }
.hero__orbit-icon--4 .hero__orbit-icon-inner { animation: orbit-counter-rotate 30s linear infinite, icon-pulse 3s ease-in-out infinite -1.5s; }
.hero__orbit-icon--5 .hero__orbit-icon-inner { animation: orbit-counter-rotate 30s linear infinite, icon-pulse 3s ease-in-out infinite -2s; }
.hero__orbit-icon--6 .hero__orbit-icon-inner { animation: orbit-counter-rotate 30s linear infinite, icon-pulse 3s ease-in-out infinite -2.5s; }

@keyframes icon-pulse {
    0%, 100% {
        box-shadow:
            0 8px 24px rgba(0, 0, 0, .12),
            0 0 30px var(--icon-glow);
    }
    50% {
        box-shadow:
            0 12px 32px rgba(0, 0, 0, .15),
            0 0 50px var(--icon-glow),
            0 0 80px var(--icon-glow);
    }
}

/* Responsive — adapter le rayon selon écran */
@media (max-width: 1024px) {
    .hero__orbit {
        --orbit-radius: 220px;
        width: calc(100% + 70px);
        height: calc(100% + 70px);
    }
    .hero__orbit-icon {
        width: 50px;
        height: 50px;
        margin: -25px 0 0 -25px;
    }
}

@media (max-width: 768px) {
    .hero__orbit {
        --orbit-radius: 175px;
        width: calc(100% + 60px);
        height: calc(100% + 60px);
    }
    .hero__orbit-icon {
        width: 44px;
        height: 44px;
        margin: -22px 0 0 -22px;
    }
    .hero__orbit-icon-inner {
        border-radius: 12px;
    }
    .hero__orbit-icon-inner svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero__orbit {
        --orbit-radius: 145px;
    }
    .hero__orbit-icon {
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
    }
}

@media (max-width: 768px) {
 
    /* ── 1. CACHER "Devis gratuit" sur mobile ── */
    .header .btn--accent,
    .header__actions .btn--accent,
    .header__actions > a.btn {
        display: none !important;
        visibility: hidden !important;
    }
 
    /* ── 2. BURGER bien visible : gradient rouge/bleu + barres blanches ── */
    .burger {
        display: flex !important;
        background: linear-gradient(135deg, #E1242B 0%, #0A60A9 100%) !important;
        border: none !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 14px rgba(225, 36, 43, .3), 0 2px 6px rgba(10, 96, 169, .2) !important;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
    }
 
    .burger:hover {
        background: linear-gradient(135deg, #B81E24 0%, #0D497D 100%) !important;
        transform: scale(1.05) !important;
    }
 
    /* Barres BLANCHES bien épaisses pour bien voir */
    .burger__lines {
        width: 22px !important;
        height: 16px !important;
    }
 
    .burger__lines::before,
    .burger__lines::after,
    .burger__line {
        background: #ffffff !important;
        height: 2.5px !important;
        border-radius: 2px !important;
    }
 
    /* Quand le menu est ouvert : on inverse le gradient */
    .burger.is-open {
        background: linear-gradient(135deg, #0A60A9 0%, #E1242B 100%) !important;
    }
}

/* ═══ 28. ESPACEMENT GLOBAL DES SECTIONS — Plus compact ═══ */
 
/* Override général de .section : passe de clamp(4-7rem) à clamp(2.5-4rem) */
.section {
    padding-block: clamp(2.5rem, 5vw, 4rem) !important;
}
 
/* Hero : encore plus compact en haut pour se rapprocher du header */
.hero {
    padding-block: clamp(1rem, 2vw, 2rem) clamp(2rem, 4vw, 3.5rem) !important;
}
 
/* Stats : très compact car c'est un bandeau */
.stats {
    padding-block: clamp(2rem, 4vw, 3rem) !important;
}
 
/* Transfer : section dark, on garde un peu d'air */
.transfer {
    padding-block: clamp(2.5rem, 5vw, 4rem) !important;
}
 
/* CTA : on resserre aussi */
.cta {
    padding-block: clamp(2.5rem, 5vw, 4rem) !important;
}
 
/* Footer : padding du haut réduit */
.footer {
    padding-top: 2.5rem !important;
}
 
 
/* ═══ 29. MARGES INTERNES DES SECTIONS — Tighter ═══ */
 
/* Espace sous les headers de section (badge + titre + sous-titre) */
.section__head {
    margin-bottom: 2rem !important;  /* Au lieu de 3rem */
}
 
/* Espace entre les éléments du hero */
.hero__title {
    margin-bottom: 1rem !important;  /* Au lieu de 1.25rem */
}
 
.hero__subtitle {
    margin-bottom: 1.5rem !important;  /* Au lieu de 2rem */
}
 
.hero__ctas {
    margin-bottom: 2rem !important;  /* Au lieu de 2.5rem */
}
 
.hero__trust {
    padding-top: 1.25rem !important;  /* Au lieu de 1.5rem */
}
 
 
/* ═══ 30. MOBILE — Espacement encore plus serré ═══ */
 
@media (max-width: 768px) {
 
    .section {
        padding-block: clamp(2rem, 4vw, 3rem) !important;
    }
 
    .hero {
        padding-block: 0.75rem 2rem !important;
    }
 
    .stats {
        padding-block: 1.5rem !important;
    }
 
    .section__head {
        margin-bottom: 1.5rem !important;
    }
 
    /* Hero — encore plus compact entre éléments */
    .hero__title { margin-bottom: 0.75rem !important; }
    .hero__subtitle { margin-bottom: 1.25rem !important; }
    .hero__ctas { margin-bottom: 1.5rem !important; }
}


/* ═══ 31. CARDS SERVICES — Photo + numéro en badge ═══ */

/* La card englobe : photo en haut + corps texte en bas */
.service-card {
    padding: 0 !important;
    overflow: hidden;
}

/* ── Conteneur image ── */
.service-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg3);
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

/* Overlay gradient subtil sur la photo (en bas pour transition douce) */
.service-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, .25) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Zoom ken burns au hover */
.service-card:hover .service-card__image img {
    transform: scale(1.08);
}

/* ── Badge numéro flottant sur la photo (en haut-gauche) ── */
.service-card__num-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-family: var(--fd);
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, #E1242B 0%, #0A60A9 100%);
    border-radius: 12px;
    letter-spacing: -.02em;
    box-shadow: 0 4px 12px rgba(225, 36, 43, .35), 0 2px 6px rgba(10, 96, 169, .25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: transform var(--tr);
}

.service-card:hover .service-card__num-badge {
    transform: scale(1.1) rotate(-3deg);
}

/* ── Corps de la card (sous la photo) ── */
.service-card__body {
    padding: 1.5rem 1.5rem 1.5rem;
}

/* Titre */
.service-card__title {
    font-size: 1.2rem !important;
    margin-bottom: 0.6rem !important;
}

/* Description */
.service-card__desc {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
}


/* ═══ 32. RESPONSIVE ═══ */

@media (max-width: 768px) {
    .service-card__image {
        aspect-ratio: 16 / 9;
    }

    .service-card__body {
        padding: 1.25rem;
    }

    .service-card__num-badge {
        top: 12px;
        left: 12px;
        min-width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}

/* ═══ 33. ABOUT — Photo entièrement visible ═══ */
 
/* On change le ratio pour mieux accueillir le logo horizontal */
.about__image {
    aspect-ratio: 16 / 10 !important;
    background: linear-gradient(135deg, #0A0F1F 0%, #131A2C 100%);
    /* Fond sombre élégant qui se marie avec le logo Smart Services */
}
 
/* Le logo doit s'afficher en ENTIER, pas être coupé */
.about__image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;   /* ← Affiche l'image entière */
    object-position: center;
    padding: 1.5rem;                   /* Petite marge intérieure */
}
/* ═══ 34. PAGE HERO — Banner compact pour pages intérieures ═══ */
 
.page-hero {
    position: relative;
    padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid var(--bd);
}
 
/* Grid pattern subtil en fond */
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    pointer-events: none;
}
 
/* 2 orbes lumineux d'arrière-plan */
.page-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orb-drift 14s ease-in-out infinite;
}
 
.page-hero__orb--1 {
    top: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225, 36, 43, .15), transparent 70%);
}
 
.page-hero__orb--2 {
    bottom: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 96, 169, .15), transparent 70%);
    animation-delay: -7s;
}
 
 
/* ═══ Breadcrumb (fil d'Ariane) ═══ */
 
.breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    color: var(--tm);
}
 
.breadcrumb__link {
    color: var(--tm);
    font-weight: 500;
    transition: color var(--tr-f);
}
 
.breadcrumb__link:hover {
    color: var(--p);
}
 
.breadcrumb__sep {
    color: var(--tl);
    font-weight: 400;
}
 
.breadcrumb__current {
    color: var(--t);
    font-weight: 600;
}
 
 
/* ═══ Contenu du page-hero ═══ */
 
.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
 
.page-hero__content .badge {
    margin-bottom: 1rem;
}
 
.page-hero__title {
    font-size: clamp(2rem, 4vw + .5rem, 3.25rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -.03em;
}
 
.page-hero__subtitle {
    font-size: 1.0625rem;
    color: var(--tm);
    line-height: 1.7;
    max-width: 680px;
    margin: 0;
}
 
 
/* ═══ Responsive ═══ */
 
@media (max-width: 768px) {
    .page-hero {
        padding-block: 1.5rem 2rem;
    }
 
    .breadcrumb {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
 
    .page-hero__title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
 
    .page-hero__subtitle {
        font-size: 0.9375rem;
    }
}

/* ═══ FIN ═══ */
