/* =====================================================================
   ITC — Information Technologies Consulting
   Design system : bleu ciel / azur (dérivé du logo), corporate,
   typographie Lato, angles nets, sections bleu nuit.
   ===================================================================== */

:root {
    --primary:      #1e88e5;   /* bleu ciel / azur — couleur signature (proche du logo) */
    --primary-dark: #1565c0;   /* survol / états actifs */
    --primary-soft: #e7f2fd;   /* fond teinté clair */
    --ink:         #0b1e46;    /* bleu nuit profond (sections sombres) */
    --ink-2:       #071634;
    --ink-3:       #13294f;
    --navy-soft:   #4b5280;
    --text:        #1a1d29;
    --muted:       #6b7280;
    --line:        #e5e7eb;
    --bg:          #ffffff;
    --bg-soft:     #f4f8fd;
    --bg-softer:   #e9f1fb;
    --white:       #ffffff;

    --radius:   6px;
    --radius-sm: 4px;
    --radius-lg: 8px;
    --shadow:   0 6px 24px rgba(11, 30, 70, .08);
    --shadow-lg: 0 20px 50px rgba(11, 30, 70, .16);
    --shadow-primary: 0 12px 30px rgba(30, 136, 229, .30);

    --container: 1200px;
    --font: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Lato', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 800; }

p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 0; color:#fff; }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 1.7rem; border-radius: var(--radius-sm); font-weight: 700;
    font-family: var(--font); font-size: .9rem; letter-spacing: .03em; text-transform: uppercase;
    cursor: pointer; border: 2px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn-sm { padding: .6rem 1.15rem; font-size: .78rem; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color:#fff; transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.btn-ghost { background: transparent; color:#fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color:#fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--primary); color:#fff; border-color: var(--primary); transform: translateY(-2px); }
.btn-light { background:#fff; color: var(--ink); border-color:#fff; }
.btn-light:hover { color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- Top utility bar */
.topbar { background: var(--ink); color: #aab0c4; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 1rem; }
.topbar-info { display: flex; align-items: center; gap: 1.6rem; }
.topbar-info span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-info a { color: #cfd3e0; }
.topbar-info a:hover { color:#fff; }
.topbar-social { display: flex; align-items: center; gap: .8rem; }
.topbar-clock { display: inline-flex; align-items: center; gap: .4rem; color: #cfd3e0; white-space: nowrap;
    font-variant-numeric: tabular-nums; padding-right: .9rem; border-right: 1px solid rgba(255,255,255,.16); }
.topbar-clock #gmtClock { color: #fff; font-weight: 600; }
.topbar-social a { color: #aab0c4; font-weight: 700; font-size: .78rem; }
.topbar-social a:hover { color: var(--primary); }
@media (max-width: 760px){ .topbar-info span.hide-sm { display:none; } .topbar .container{ justify-content:center; } .topbar-social{ display:none; } }

/* ---------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11,30,70,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { height: 46px; width: auto; flex: none; max-width: none; display: block; }
.brand-mark {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm);
    background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 900;
    font-size: 1.1rem; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 900; color: var(--ink); letter-spacing: .02em; }
.brand-text small { font-size: .64rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: .1rem; }
.main-nav > a, .nav-drop-toggle {
    padding: .6rem .8rem; color: var(--ink); font-weight: 700; font-size: .82rem; letter-spacing: .04em;
    text-transform: uppercase; display: inline-flex; align-items: center; gap: .3rem; position: relative;
}
.main-nav > a::after, .nav-drop-toggle::after {
    content:""; position:absolute; left:.8rem; right:.8rem; bottom:.35rem; height:2px; background: var(--primary);
    transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav > a:hover, .nav-drop-toggle:hover { color: var(--primary); }
.main-nav > a:hover::after, .nav-drop-toggle:hover::after { transform: scaleX(1); }
.caret { font-size: .6rem; }

.nav-dropdown { position: relative; }
.nav-menu {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff;
    border-top: 3px solid var(--primary); box-shadow: var(--shadow-lg); padding: .5rem;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s; display: flex; flex-direction: column;
}
.nav-dropdown:hover .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { padding: .7rem .9rem; color: var(--ink); font-size: .88rem; font-weight: 600; border-left: 2px solid transparent; }
.nav-menu a:hover { background: var(--bg-soft); color: var(--primary); border-left-color: var(--primary); }
.nav-menu-all { color: var(--primary) !important; font-weight: 800 !important; text-transform: uppercase; font-size: .78rem !important; letter-spacing: .04em; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; align-items: center; gap: .2rem; }
.lang-switch button { background: none; border: 0; cursor: pointer; color: var(--muted); font-weight: 800; font-size: .8rem; padding: 2px 4px; font-family: var(--font); }
.lang-switch button.active { color: var(--primary); }
.lang-switch span { color: var(--line); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 3px; background: var(--ink); transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------- Alerts */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin: 1.25rem 0; font-weight: 600; border-left: 4px solid; }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #10b981; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #ef4444; }

/* ---------------------------------------------------------------- Sections */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-dark { background: var(--ink); color: #b6bccf; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 760px; margin: 0 auto 3.2rem; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .78rem;
    letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem;
}
.eyebrow::before { content:""; width: 28px; height: 2px; background: var(--primary); }
.section-head.left .eyebrow { justify-content: flex-start; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #8b91a7; }
.section-dark .eyebrow { color: #7cc4ff; }
.section-dark .eyebrow::before { background: var(--primary); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; background: var(--ink); color: #d5d9e6; overflow: hidden; padding: 7rem 0 6rem; }
.hero::before {
    content:""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(11,30,70,.94) 0%, rgba(11,30,70,.72) 55%, rgba(7,11,28,.55) 100%),
      radial-gradient(700px 500px at 82% 20%, rgba(30,136,229,.28), transparent 60%);
}
.hero.has-img::before {
    background:
      linear-gradient(90deg, rgba(11,30,70,.92) 0%, rgba(11,30,70,.70) 55%, rgba(7,11,28,.45) 100%),
      radial-gradient(700px 500px at 82% 20%, rgba(30,136,229,.22), transparent 60%);
}
.hero-grid-bg {
    position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(148,163,184,.10) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(148,163,184,.10) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent 92%);
}
.hero-inner { position: relative; max-width: 820px; }
.hero .eyebrow { color: #7cc4ff; }
.hero .eyebrow::before { background: var(--primary); }
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero h1 .accent { color: #7cc4ff; }
.hero-lead { font-size: 1.22rem; color: #c3c8d8; max-width: 54ch; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-tagline { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.1rem,2vw,1.5rem); color:#fff; letter-spacing: .01em; }
.hero-tagline .accent { color: #7cc4ff; }

/* legacy hero card (unused in new layout, kept harmless) */
.hero-visual, .hero-card, .hero-float, .hero-badges { display: none; }

/* ---------------------------------------------------------------- Pillars band */
.pillars { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.06); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 3rem 2.2rem; border-right: 1px solid rgba(255,255,255,.07); position: relative; }
.pillar:last-child { border-right: 0; }
.pillar-ic { font-size: 2rem; margin-bottom: 1rem; }
.pillar h3 { color:#fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.pillar h3 span { color: #7cc4ff; }
.pillar p { color: #8b91a7; font-size: .96rem; margin: 0; }
@media (max-width: 860px){ .pillars-grid { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); } .pillar:last-child{ border-bottom:0; } }

/* ---------------------------------------------------------------- Stats */
.stats-band { background: var(--ink); color:#fff; }
.stats-band.on-light { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3.2rem 0; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content:""; position:absolute; left:-.75rem; top:15%; height:70%; width:1px; background: rgba(255,255,255,.12); }
.stats-band.on-light .stat + .stat::before { background: var(--line); }
.stat-val { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--primary); line-height:1; }
.stat-label { color: #b6bccf; font-size: .92rem; font-weight: 600; margin-top: .5rem; text-transform: uppercase; letter-spacing: .04em; }
.stats-band.on-light .stat-label { color: var(--muted); }

/* ---------------------------------------------------------------- Engagements / Notre promesse */
.engage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.engage-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius); padding: 1.8rem; text-align: left;
    display: flex; align-items: center; gap: 1.3rem;
    transition: transform .3s, border-color .3s, background .3s;
}
.engage-card:hover { transform: translateY(-6px); border-color: rgba(124,196,255,.55); background: rgba(255,255,255,.06); }
.engage-ic {
    width: 62px; height: 62px; flex: none; display: grid; place-items: center;
    font-size: 1.8rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7cc4ff);
    box-shadow: 0 10px 26px rgba(30,136,229,.40);
}
.engage-txt { min-width: 0; }
.engage-card h3 { color: #fff; font-size: 1.16rem; margin-bottom: .35rem; }
.engage-card p { color: #a6b6cf; font-size: .93rem; margin: 0; line-height: 1.5; }

/* ---------------------------------------------------------------- Cards / grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
    position: relative; background: #fff; border: 1px solid var(--line); padding: 2.2rem 1.9rem;
    transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.service-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--primary); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-ic {
    width: 62px; height: 62px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 1.3rem;
    background: var(--primary-soft); color: var(--primary); border-radius: var(--radius-sm); transition: all .3s;
}
.service-card:hover .service-ic { background: var(--primary); }
.service-card h3 { margin-bottom: .6rem; color: var(--ink); }
.service-card p { color: var(--muted); font-size: .96rem; margin-bottom: 1.2rem; }
.service-link { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); display: inline-flex; align-items: center; gap: .4rem; }
.service-link:hover { gap: .7rem; color: var(--primary-dark); }

/* feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-check { flex: none; width: 26px; height: 26px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: 3px; font-weight: 800; border-radius: var(--radius-sm); }

/* values */
.value-card { background:#fff; border:1px solid var(--line); padding: 1.9rem 1.6rem; transition: .25s; }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.value-ic { font-size: 1.9rem; margin-bottom: .8rem; }
.value-card h3 { font-size: 1.12rem; color: var(--ink); }
.value-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--ink); color: #fff; padding: 3.6rem; text-align: center; position: relative; overflow: hidden; border-top: 4px solid var(--primary); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 260px at 85% 10%, rgba(30,136,229,.25), transparent 60%); }
.cta-band h2 { color:#fff; position: relative; }
.cta-band p { color: #b6bccf; max-width: 600px; margin: 0 auto 1.9rem; position: relative; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------------------------------------------------------------- Testimonials */
.testi-card { background:#fff; border:1px solid var(--line); padding: 2rem 1.9rem; position: relative; }
.testi-card::before { content:"\201C"; position:absolute; top:.4rem; right:1.2rem; font-family: Georgia, serif; font-size: 4rem; color: var(--primary-soft); line-height:1; }
.testi-stars { color: var(--primary); margin-bottom: .8rem; letter-spacing: 2px; }
.testi-card p { font-size: 1rem; color: var(--text); font-style: italic; position: relative; }
.testi-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color:#fff; display: grid; place-items: center; font-weight: 900; font-family: var(--font-head); }
.testi-author b { display: block; font-size: .95rem; color: var(--ink); }
.testi-author span { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------- Partners */
.partners { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; justify-content: center; }
.partner-item { opacity: .65; transition: .25s; font-weight: 800; color: var(--navy-soft); filter: grayscale(1); font-size: 1.05rem; letter-spacing: .02em; }
.partner-item:hover { opacity: 1; filter: none; color: var(--primary); }
.partner-item img { height: 44px; width: auto; }

/* ---------------------------------------------------------------- Page hero (inner) */
.page-hero { background: var(--ink); color:#d5d9e6; padding: 4.5rem 0 3.8rem; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 320px at 88% 10%, rgba(30,136,229,.22), transparent 60%); }
.page-hero .container { position: relative; }
.breadcrumb { font-size: .82rem; color: #8b91a7; margin-bottom: 1rem; display:flex; gap:.5rem; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.breadcrumb a { color: #7cc4ff; }
.page-hero h1 { color:#fff; }
.page-hero p { color: #c3c8d8; max-width: 62ch; margin: 0; }

/* ---------------------------------------------------------------- Blog */
.post-card { background:#fff; border:1px solid var(--line); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-thumb { aspect-ratio: 16/10; background: var(--ink); position: relative; overflow: hidden; }
.post-thumb img { width:100%; height:100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb .ph { position:absolute; inset:0; display:grid; place-items:center; font-size:2.5rem; color: rgba(255,255,255,.4); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.post-card h3 { font-size: 1.18rem; margin: .5rem 0 .6rem; font-weight: 800; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); margin-top: 1rem; display: flex; gap: 1rem; align-items:center; }

.chips { display:flex; gap:.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { padding: .5rem 1.1rem; border:1px solid var(--line); background:#fff; font-size: .82rem; font-weight: 700; color: var(--navy-soft); text-transform: uppercase; letter-spacing: .03em; border-radius: var(--radius-sm); }
.chip:hover, .chip.active { background: var(--primary); color:#fff; border-color: var(--primary); }

.article { max-width: 780px; margin: 0 auto; }
.article-cover { overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.article-content { font-size: 1.08rem; color: var(--text); }
.article-content h2 { margin-top: 2rem; }
.article-content h3 { margin-top: 1.6rem; }
.article-content p { margin-bottom: 1.3rem; }
.article-content img { margin: 1.5rem 0; }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span { padding: .55rem .95rem; border:1px solid var(--line); color: var(--navy-soft); font-weight: 700; border-radius: var(--radius-sm); }
.pagination .current { background: var(--primary); color:#fff; border-color: var(--primary); }

/* ---------------------------------------------------------------- Forms */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.form-card { background:#fff; border:1px solid var(--line); border-top: 4px solid var(--primary); padding: 2.4rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .84rem; margin-bottom: .45rem; color: var(--ink); text-transform: uppercase; letter-spacing: .03em; }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .98rem; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,136,229,.12); }
.field textarea { resize: vertical; }
.field .errorlist { list-style: none; padding: 0; margin: .35rem 0 0; color: #dc2626; font-size: .85rem; }
.required-star { color: #dc2626; }

.info-list { display: grid; gap: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-ic { width: 50px; height: 50px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.3rem; flex: none; border-radius: var(--radius-sm); }
.info-item b { display: block; color: var(--ink); text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; }
.info-item span, .info-item a { color: var(--muted); font-size: .96rem; }
.map-embed { overflow: hidden; margin-top: 2rem; border:1px solid var(--line); }
.map-embed iframe { width:100%; height: 280px; border: 0; display: block; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: #8b91a7; padding-top: 4.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { display:inline-block; margin-bottom: 1.2rem; background:#fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.footer-logo img { height: 46px; width: auto; max-width: none; display: block; }
.footer-brand .brand-text strong { color:#fff; }
.footer-col h4 { color:#fff; font-size: .92rem; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: .06em; position: relative; padding-bottom: .7rem; }
.footer-col h4::after { content:""; position:absolute; left:0; bottom:0; width:34px; height:2px; background: var(--primary); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: #8b91a7; font-size: .93rem; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-brand p { font-size: .93rem; max-width: 34ch; margin: 1rem 0 1.2rem; }
.social { display: flex; gap: .6rem; }
.social a { width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); display: grid; place-items: center; color:#c3c8d8; font-size: .8rem; font-weight: 800; }
.social a:hover { background: var(--primary); color:#fff; }
.contact-list li { margin-bottom: .5rem; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }

/* ---------------------------------------------------------------- Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-media { overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--ink); position: relative; }
.split-media .ph { position:absolute; inset:0; display:grid; place-items:center; font-size:4rem; color: rgba(255,255,255,.3); }
.lead { font-size: 1.16rem; color: var(--navy-soft); font-weight: 400; }

/* ---------------------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------------------------------------------------------------- WhatsApp widget */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-fab {
    position: relative; display: inline-flex; align-items: center; gap: .6rem; height: 60px; padding: 0 20px 0 16px;
    border: 0; border-radius: 999px; background: #25d366; color: #fff; cursor: pointer;
    box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s;
    font-family: var(--font); font-weight: 700; font-size: .95rem;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,211,102,.55); }
.wa-fab svg { flex: none; }
.wa-fab-label { white-space: nowrap; }
.wa-fab::before {
    content: ""; position: absolute; left: 8px; top: 50%; width: 44px; height: 44px;
    border-radius: 50%; transform: translateY(-50%); background: #25d366; z-index: -1;
    animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%,100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

.wa-popup {
    width: 300px; max-width: calc(100vw - 44px); background: #fff; border-radius: 16px;
    overflow: hidden; box-shadow: 0 24px 60px rgba(11,30,70,.30); transform-origin: bottom right;
    animation: waIn .22s ease; border: 1px solid var(--line);
}
.wa-popup[hidden] { display: none; }
@keyframes waIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-popup-head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; background: #075e54; color: #fff; }
.wa-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; flex: none; }
.wa-head-txt { line-height: 1.2; flex: 1; }
.wa-head-txt b { display: block; font-size: .98rem; }
.wa-head-txt span { font-size: .78rem; opacity: .85; display: inline-flex; align-items: center; gap: .35rem; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #5efc82; display: inline-block; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .8; padding: 0 .2rem; }
.wa-close:hover { opacity: 1; }
.wa-popup-body { padding: 1.4rem 1rem; background: #e5ddd5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='3' cy='3' r='1' fill='%23d8cfc4'/%3E%3C/svg%3E"); }
.wa-bubble { background: #fff; border-radius: 0 10px 10px 10px; padding: .8rem .9rem; box-shadow: 0 1px 2px rgba(0,0,0,.12); max-width: 92%; position: relative; }
.wa-bubble b { color: #075e54; font-size: .82rem; display: block; margin-bottom: .2rem; }
.wa-bubble p { margin: 0; color: #1a1d29; font-size: .9rem; line-height: 1.45; }
.wa-start {
    display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0;
    padding: .95rem; background: #25d366; color: #fff; font-weight: 700; font-size: .95rem;
    text-decoration: none; transition: background .2s;
}
.wa-start:hover { background: #1ebe5b; color: #fff; }

/* ---------------------------------------------------------------- Boutique / Vente */
.shop-search { display:flex; gap:.6rem; max-width:560px; margin:0 auto 1.6rem; }
.shop-search input { flex:1; padding:.85rem 1.1rem; border:1.5px solid var(--line); border-radius:999px; font-family:var(--font); font-size:.98rem; background:#fff; transition:border-color .2s, box-shadow .2s; }
.shop-search input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(30,136,229,.12); }
.shop-search .btn { border-radius:999px; white-space:nowrap; }
.search-info { text-align:center; color:var(--muted); font-size:.92rem; margin:-0.6rem 0 1.6rem; }

.product-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:.28s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-thumb { position:relative; aspect-ratio: 4/3; background: var(--bg-soft); display:block; overflow:hidden; }
.product-thumb img { width:100%; height:100%; object-fit: contain; padding: .8rem; }
.product-thumb .ph { position:absolute; inset:0; display:grid; place-items:center; font-size: 3.2rem; }
.product-badge-promo { position:absolute; top:10px; left:10px; background:#dc2626; color:#fff; font-weight:800; font-size:.8rem; padding:.25rem .6rem; border-radius:6px; }
.product-body { padding: 1.1rem 1.2rem 1.3rem; display:flex; flex-direction:column; flex:1; }
.product-cat { font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--primary); }
.product-card h3 { font-size:1.06rem; margin:.35rem 0 .5rem; line-height:1.3; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--primary); }
.product-body > p { color: var(--muted); font-size:.9rem; margin:0 0 .8rem; flex:1; }
.product-tags { display:flex; gap:.4rem; flex-wrap:wrap; margin-bottom:.8rem; }
.tag { font-size:.74rem; font-weight:700; padding:.22rem .55rem; border-radius:999px; }
.tag-in_stock { background:#ecfdf5; color:#065f46; }
.tag-on_order { background:#fff7ed; color:#9a3412; }
.tag-out { background:#fef2f2; color:#991b1b; }
.tag-cond { background: var(--bg-softer); color: var(--slate); }
.product-foot { display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-top:auto; }
.product-price { display:flex; flex-direction:column; line-height:1.1; }
.price { font-family: var(--font-head); font-weight:800; font-size:1.15rem; color: var(--ink); }
.price-old { font-size:.8rem; color: var(--muted); text-decoration: line-through; }
.price-ask { font-size:1rem; color: var(--primary); }
.product-price-lg .price { font-size: 2rem; color: var(--primary); }
.product-detail-media { position:relative; aspect-ratio: 4/3; background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); overflow:hidden; display:grid; place-items:center; }
.product-detail-media img { width:100%; height:100%; object-fit: contain; padding: 1.5rem; }
.product-detail-media .ph { font-size: 5rem; }

/* ---------------------------------------------------------------- Fonds filigrane (accueil) */
/* fond sombre NEUTRE (anthracite) au lieu du bleu nuit, + image filigrane */
/* Diaporama de filigranes derrière le hero (fondu enchaîné) */
.hero--slides { background-color: #14161b; }
.hero--slides::before { display: none; }   /* supprime les halos bleus/violets */
.hero-slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.6s ease-in-out; will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slideshow::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(18,20,25,.74), rgba(15,16,20,.90));
}
.hero--slides .hero-grid-bg { z-index: 1; }
.hero--slides .hero-inner { position: relative; z-index: 2; }
.section-bg { position: relative; background-color: #14161b; background-size: cover; background-position: center; background-repeat: no-repeat; }
.section-bg::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(18,20,25,.90), rgba(13,14,18,.94));
}
.section-bg > .container { position: relative; z-index: 1; }
.section-bg-code { background-image: url("../img/bg/code.eae1b7728f9d.jpg"); }
.section-bg-network { background-image: url("../img/bg/network.83b93f7fd157.jpg"); }

/* section piliers "Nous sommes…" (accueil) : anthracite au lieu du bleu nuit */
.pillars { background: #17191f; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid, .engage-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .stat + .stat::before { display:none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .split, .form-wrap { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 760px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex; position: fixed; top: 122px; left: 0; right: 0; bottom: 0; flex-direction: column;
        align-items: stretch; background: #fff; padding: 1.2rem; gap: .2rem; overflow-y: auto; border-top: 1px solid var(--line); z-index: 99;
    }
    .main-nav.open > a, .main-nav.open .nav-drop-toggle { padding: .9rem 1rem; font-size: 1rem; }
    .main-nav.open > a::after, .main-nav.open .nav-drop-toggle::after { display:none; }
    .nav-dropdown { position: static; }
    .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding-left: 1rem; display: none; }
    .nav-dropdown.open .nav-menu { display: flex; }
    .nav-toggle { display: flex; }
    .header-actions .btn { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .engage-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 3.8rem 0; }
    .cta-band { padding: 2.4rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .pillar { padding: 2.2rem 1.5rem; }
    .wa-widget { right: 16px; bottom: 16px; }
    .wa-fab { padding: 0; width: 58px; height: 58px; justify-content: center; }
    .wa-fab-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
