@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Inter:wght@300;400;500;600&display=swap');

:root {

    --navy: #0B2B26;
    --navy-2: #16473F;
    --navy-dark: #071F1B;
    --blue: #12A11B;
    --blue-light: #e6f9ed;
    --orange: #f5941f;
    --orange-dark: #d97e0f;
    --bg: #fdfbf6;
    --bg-alt: #f4f0e6;
    --text: #1a2942;
    --text-muted: #5b6472;
    --border: #e6e1d4;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(26, 41, 66, 0.08);
    --shadow-sm: 0 4px 14px rgba(26, 41, 66, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; color: var(--navy); font-family: 'DM Sans', 'Inter', system-ui, sans-serif; letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.1em; height: 1.1em; vertical-align: -0.2em; }
.icon-sm { width: 1em; height: 1em; }
.icon-xs { width: .85em; height: .85em; }
.highlight { color: var(--blue); }
.highlight-orange { color: var(--orange); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: .95rem;
    border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-outline { background: #fff; border-color: var(--border); color: var(--text); }
.btn-whatsapp { background: var(--orange); color: #fff; }
.btn-whatsapp:hover { background: var(--orange-dark); }
.btn-cta { background: var(--orange); color: #fff; }
.btn-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: #c0392b; color: #fff; padding: 8px 14px; font-size: .8rem; }
.btn-secondary { background: #eef1f4; color: var(--text); }

/* Topbar */
.topbar { background: var(--navy-dark); color: #cfd7e2; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #cfd7e2; margin-right: 18px; }
.topbar-address { opacity: .85; }
.topbar-right { display: flex; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.header-logo img { height: 42px; width: auto; }
.header-nav { display: flex; gap: 22px; flex: 1; font-weight: 600; font-size: .95rem; }
.header-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-action-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); }

/* Hero */
.hero { padding: 56px 0 60px; background: var(--bg); }
/* Hero â€” fond couleur branding */
.hero.hero--bg-brand {
    background: #0B2B26; /* Biztop style dark green */
    position: relative;
    overflow: hidden;
}
.hero.hero--bg-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0B2B26 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.hero.hero--bg-brand .hero-copy h1,
.hero.hero--bg-brand .hero-copy { color: #fff; }
.hero.hero--bg-brand .hero-copy h1 { color: #fff; }
.hero.hero--bg-brand .eyebrow { background: rgba(255,255,255,.12); color: #e0e7ff; border: 1px solid rgba(255,255,255,.2); }
.hero.hero--bg-brand .hero-subtitle { color: rgba(255,255,255,.75); }
.hero.hero--bg-brand .hero-trust { color: rgba(255,255,255,.8); }
.hero.hero--bg-brand .hero-trust .icon { color: var(--orange); }
.hero.hero--bg-brand .btn-outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; }
.hero.hero--bg-brand .btn-outline:hover { background: rgba(255,255,255,.16); }
.hero.hero--bg-brand .highlight { color: var(--orange); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-copy, .hero-visual, .whyus-copy, .whyus-media, .contact-info, .contact-form-card, .cta-copy, .cta-actions { min-width: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue);
    padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .82rem; margin-bottom: 18px;
}
.eyebrow-dark { background: rgba(245,148,31,.15); color: var(--orange); }
.hero-copy h1 { font-size: 2.6rem; margin-bottom: .4em; }

/*
 * Styles du titre Hero â€” moteur extensible.
 * Chaque style est un bloc autonome sous `.hero-title-style-{cle}` ; le dÃ©clenchement se fait
 * soit via `.hero-copy.revealed` (styles CSS purs, se jouent une fois quand la section entre
 * dans l'Ã©cran â€” voir assets/js/reveal.js), soit via assets/js/hero-title-styles.js pour les
 * styles qui doivent recomposer le texte en mots/lettres (stagger-reveal, typewriter).
 * Pour ajouter un nouveau style : un bloc CSS ici + une option dans admin/tabs/tab_hero.php +,
 * si besoin d'un traitement JS, une branche dans assets/js/hero-title-styles.js.
 */

/* classic : aucun style particulier, c'est l'Ã©tat de repli. */

/* gradient-shine : dÃ©gradÃ© animÃ© en continu sur la partie surlignÃ©e. */
.hero-title-style-gradient-shine .highlight {
    background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 18%, var(--orange) 42%, var(--orange) 58%, var(--blue) 82%, var(--navy) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: hero-gradient-shine 6s linear infinite;
}
@keyframes hero-gradient-shine { to { background-position: -250% center; } }

/* underline-draw : soulignement qui se dessine une fois la section visible. */
.hero-title-style-underline-draw .highlight { position: relative; white-space: normal; }
.hero-title-style-underline-draw .highlight::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: .05em; height: .22em;
    background: var(--orange); opacity: .3; z-index: -1;
    transition: right 1s cubic-bezier(.65, 0, .35, 1) .3s;
}
.hero-copy.revealed .hero-title-style-underline-draw .highlight::after { right: 0; }

/* marker-highlight : surlignage faÃ§on feutre qui balaie le texte. */
.hero-title-style-marker-highlight .highlight {
    background-image: linear-gradient(100deg, rgba(245,148,31,.38) 50%, transparent 50%);
    background-size: 250% 100%; background-position: 100% 0; box-decoration-break: clone;
    padding: .02em .15em; margin: 0 -.15em; border-radius: .15em;
    transition: background-position 1.1s cubic-bezier(.65, 0, .35, 1) .3s;
}
.hero-copy.revealed .hero-title-style-marker-highlight .highlight { background-position: 0 0; }

/* stagger-reveal : chaque mot apparaÃ®t en fondu-dÃ©calÃ© (mots dÃ©coupÃ©s en JS). */
.hero-title-style-stagger-reveal .word-anim {
    display: inline-block; opacity: 0; transform: translateY(.5em);
    transition: opacity .55s ease, transform .55s ease;
    transition-delay: calc(var(--i, 0) * 55ms);
}
.hero-copy.revealed .hero-title-style-stagger-reveal .word-anim { opacity: 1; transform: translateY(0); }

/* typewriter : texte retapÃ© lettre par lettre en JS, curseur clignotant. */
.hero-title-style-typewriter .typewriter-cursor {
    display: inline-block; width: 3px; height: .9em; background: var(--orange);
    margin-left: 2px; vertical-align: -.1em; animation: hero-caret-blink .9s steps(1) infinite;
}
@keyframes hero-caret-blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .hero-title-style-gradient-shine .highlight { animation: none; background-position: 0 center; }
    .hero-title-style-underline-draw .highlight::after { transition: none; right: 0; }
    .hero-title-style-marker-highlight .highlight { transition: none; background-position: 0 0; }
    .hero-title-style-stagger-reveal .word-anim { transition: none; opacity: 1; transform: none; }
    .hero-title-style-typewriter .typewriter-cursor { animation: none; }
}
.hero-subtitle { font-size: 1.05rem; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; font-weight: 600; color: var(--navy-2); }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--blue); }

.hero-visual { position: relative; }
.hero-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--navy); }
.hero-slider-track { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Style d'animation "Zoom" : lÃ©ger zoom-arriÃ¨re (Ken Burns) Ã  l'entrÃ©e du visuel */
.hero-slider.anim-zoom .hero-slide { transition: opacity .6s ease, transform 1.4s ease; transform: scale(1.08); }
.hero-slider.anim-zoom .hero-slide.active { transform: scale(1); }

/* Style d'animation "Glissement" : la piste dÃ©file horizontalement, un visuel Ã  la fois */
.hero-slider.anim-slide .hero-slide-track { display: flex; width: 100%; height: 100%; transition: transform .6s ease; will-change: transform; }
.hero-slider.anim-slide .hero-slide { position: relative; inset: auto; flex: 0 0 100%; opacity: 1; transition: none; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slider.anim-zoom .hero-slide, .hero-slider.anim-slide .hero-slide-track { transition: none !important; }
}
.hero-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    background: rgba(255,255,255,.9); border: none; border-radius: 8px; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.hero-slider-nav.prev { left: 10px; } .hero-slider-nav.next { right: 10px; }
.hero-slider-count { position: absolute; top: 12px; right: 12px; background: rgba(15,27,45,.75); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 999px; z-index: 3; }
.hero-slider-badge { position: absolute; left: 12px; top: 12px; max-width: 68%; background: rgba(255,255,255,.96); padding: 10px 14px; z-index: 2; border-radius: 10px; box-shadow: var(--shadow-sm); }
.badge-eyebrow { display: block; font-size: .68rem; font-weight: 800; color: var(--orange); letter-spacing: .05em; margin-bottom: 2px; }
.badge-title { font-weight: 700; font-size: .9rem; }
.hero-rating-card {
    position: absolute; left: -16px; bottom: -24px; background: #fff; box-shadow: var(--shadow);
    border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: .82rem;
}
.hero-rating-icon { width: 32px; height: 32px; background: var(--orange); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.hero-rating-label { color: var(--text-muted); font-size: .72rem; }
.hero-rating-value { font-weight: 800; }
.hero-rating-count { margin-left: auto; color: var(--text-muted); font-size: .72rem; }

/* Stats */
.stats { background: var(--bg-alt); padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.stat-number { font-size: 2.1rem; font-weight: 800; color: var(--navy); font-family: 'DM Sans', sans-serif; letter-spacing: -.03em; }
.stat-label { color: var(--text-muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }

/* â”€â”€â”€ Brand Logos Strip â€” Slider horizontal CSS infini â”€â”€â”€ */
.brand-strip {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 0;
    width: 100%;
    /* Masques dÃ©gradÃ©s sur les bords */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.brand-strip-scroller {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: max-content !important;
    animation: brand-infinite-scroll 25s linear infinite;
    will-change: transform;
}
.brand-strip-scroller:hover {
    animation-play-state: paused;
}

@keyframes brand-infinite-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.33333%); }
}

.brand-strip-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.brand-strip-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 14px 36px !important;
    border-right: 1px solid var(--border);
    height: 72px !important;
}
.brand-strip-item:last-child {
    border-right: none;
}
.brand-strip-item a,
.brand-strip-item span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.brand-strip-item img {
    height: 38px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.brand-strip-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .brand-strip-scroller { animation: none; }
}
@media (max-width: 640px) {
    .brand-strip-item { padding: 10px 20px !important; height: 58px !important; }
    .brand-strip-item img { height: 28px !important; }
    .brand-strip-scroller { animation-duration: 18s; }
}

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 40px; max-width: 700px; }
.section-head.center { max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.with-link { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head h2, .page-header h1 { font-size: 2rem; }
.section-subtitle { font-size: 1rem; max-width: 620px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); white-space: nowrap; }

/* Grid / cards */
.grid-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.badge-row { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.pill { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; width: 100%; }

.references-grid { grid-template-columns: repeat(4, 1fr); }
.reference-card .pill { margin-bottom: 8px; }

/* Photo cards (realisations) */
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card-overlay {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
    background: linear-gradient(to top, rgba(15,27,45,.88), rgba(15,27,45,0));
    color: #fff;
}
.photo-card-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 800; color: var(--orange); letter-spacing: .04em; margin-bottom: 4px; }
.photo-card-overlay h4 { color: #fff; margin: 0; font-size: 1rem; }
.photo-card-overlay p { color: #e4e8ee; font-size: .82rem; margin: 6px 0 0; }
.full-listing { grid-template-columns: repeat(3, 1fr); }

/* Why us */
.whyus-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.whyus-media { position: relative; }
.whyus-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.whyus-badge {
    position: absolute; right: 16px; bottom: 16px; background: var(--blue); color: #fff;
    padding: 14px 18px; border-radius: 12px; max-width: 220px;
}
.whyus-badge strong { display: block; font-size: 1.4rem; }
.whyus-badge span { font-size: .78rem; opacity: .9; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.feature-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.feature-icon { flex: none; width: 40px; height: 40px; background: var(--blue-light); color: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.feature-item h4 { margin: 0 0 4px; font-size: 1rem; }
.feature-item p { margin: 0; font-size: .88rem; }

/* Process */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: relative; }
.process-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.process-icon { width: 40px; height: 40px; background: var(--blue); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.process-number { font-weight: 800; color: var(--orange); font-size: 1.3rem; }
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: .85rem; margin: 0; }

/* Testimonials */
.testimonials-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.testimonial-card.featured { background: var(--blue); color: #fff; border-color: var(--blue); }
.testimonial-card.featured p, .testimonial-card.featured span { color: #eaf1f8; }
.testimonial-card.featured .quote-icon { color: var(--orange); }
.quote-icon { color: var(--orange); display: inline-block; margin-bottom: 10px; }
.testimonial-text { font-size: .95rem; }
.testimonial-footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(0,0,0,.08); padding-top: 14px; margin-top: 14px; }
.testimonial-card.featured .testimonial-footer { border-color: rgba(255,255,255,.2); }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-footer strong { display: block; font-size: .9rem; color: inherit; }
.testimonial-footer span { font-size: .78rem; }

/* Partners â€” logo strip moderne */
.partners-grid { grid-template-columns: repeat(6, 1fr); align-items: center; --partner-logo-height: 64px; }
.partner-logo { display: flex; align-items: center; justify-content: center; height: calc(var(--partner-logo-height, 64px) + 32px); padding: 10px 16px; }
.partner-logo img { max-height: var(--partner-logo-height, 64px); width: auto; filter: grayscale(1) opacity(.6); transition: filter .3s ease, transform .3s ease; }
.partner-logo:hover img { filter: grayscale(0) opacity(1); transform: scale(1.06); }
.partners-grid.no-grayscale .partner-logo img { filter: none; }
.partners-grid.no-grayscale .partner-logo:hover img { filter: none; }

/* â”€â”€â”€ Tech Partners & Certifications â€” Section Premium â”€â”€â”€ */
.tech-partners { padding: 76px 0; background: #fff; border-top: 1px solid var(--border); }
.tech-tabs { display: flex; gap: 4px; margin-bottom: 40px; background: #f1f5f9; border-radius: 12px; padding: 4px; width: fit-content; }
.tech-tab {
    padding: 8px 20px; border-radius: 8px; font-size: .85rem; font-weight: 600; font-family: 'DM Sans', sans-serif;
    color: var(--text-muted); background: transparent; border: none; cursor: pointer;
    transition: all .2s ease;
}
.tech-tab.active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.tech-tab-panel { display: none; }
.tech-tab-panel.active { display: block; animation: fadeInPanel .3s ease; }
@keyframes fadeInPanel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ISO / Certification badges */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    background: #fff;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.cert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(245,158,11,.04));
    pointer-events: none;
}
.cert-card:hover { border-color: var(--orange); box-shadow: 0 12px 32px rgba(245,158,11,.12); transform: translateY(-4px); }
.cert-badge-img { width: 70px; height: 70px; object-fit: contain; }
.cert-badge-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem; font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 16px rgba(15,31,89,.25);
    flex-shrink: 0;
}
.cert-badge-icon.cert-icon-gold { background: linear-gradient(135deg, #92400e 0%, #d97706 100%); }
.cert-badge-icon.cert-icon-blue { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); }
.cert-name { font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.cert-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.cert-year { font-size: .72rem; font-weight: 700; color: var(--orange); letter-spacing: .05em; text-transform: uppercase; }

/* Tech partner cards */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.tech-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: #fff;
    align-items: flex-start;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.tech-card:hover { border-color: var(--blue); box-shadow: 0 8px 28px rgba(37,99,235,.10); transform: translateY(-3px); }
.tech-card-logo {
    width: 52px; height: 52px; border-radius: 10px;
    background: var(--bg); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.tech-card-logo img { max-width: 42px; max-height: 36px; object-fit: contain; }
.tech-card-body { flex: 1; min-width: 0; }
.tech-card-body h4 { font-size: .95rem; margin-bottom: 4px; color: var(--navy); font-family: 'DM Sans', sans-serif; }
.tech-card-body p { font-size: .8rem; margin: 0; color: var(--text-muted); line-height: 1.45; }
.tech-pill {
    display: inline-flex; align-items: center; margin-top: 8px;
    padding: 3px 9px; border-radius: 999px;
    background: var(--blue-light); color: var(--blue);
    font-size: .68rem; font-weight: 700; letter-spacing: .03em;
}

/* CTA banner */
.cta-banner { background: var(--navy-dark); color: #fff; padding: 64px 0; border-top: 4px solid var(--orange); border-bottom: 4px solid var(--orange); }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-banner h2 { color: #fff; font-size: 2.1rem; }
.cta-banner p { color: #c3cbd6; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cta-trust li { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-avg { color: #9aa6b5; font-size: .78rem; text-align: center; margin: 0; }
.cta-rating { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 10px 14px; font-size: .82rem; }
.cta-rating .stars { display: flex; }
.star-icon { width: 14px; height: 14px; color: var(--orange); display: inline-flex; }
.star-icon.star-empty { color: rgba(255,255,255,.25); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.contact-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.contact-card-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.icon-blue { background: var(--blue); } .icon-orange { background: var(--orange); } .icon-slate { background: var(--navy-2); }
.contact-card-label { display: block; font-size: .68rem; color: var(--text-muted); font-weight: 700; letter-spacing: .04em; }
.contact-card strong { display: block; font-size: .95rem; }
.contact-card small { color: var(--text-muted); }
.contact-card-address { align-items: flex-start; }
.contact-card-multi { align-items: flex-start; }
.contact-card-body { display: flex; flex-direction: column; gap: 2px; }
.contact-card-line { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 700; color: var(--text); width: fit-content; }
.contact-card-line .icon { width: 12px; height: 12px; opacity: .5; transition: opacity .15s ease, transform .15s ease; }
.contact-card-line:hover { color: var(--blue); }
.contact-card-line:hover .icon { opacity: 1; transform: translateX(2px); }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { display: block; }
.contact-office { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--border); }
.contact-office-name { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 12px; color: var(--navy); }
.contact-office .contact-cards { margin: 0; }

.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); height: fit-content; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-group { margin-bottom: 16px; }
.input-group label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--navy-2); margin-bottom: 6px; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 9px; font-size: .95rem; font-family: inherit; background: #fdfdfb;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.field-hint { font-size: .75rem; color: var(--text-muted); }
.form-legal { font-size: .72rem; text-align: center; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b7c0cd; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 24px 32px; }
.footer-logo { height: 34px; margin-bottom: 14px; background: #fff; padding: 6px 10px; border-radius: 6px; }
.footer-brand p { color: #93a0b1; font-size: .88rem; }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.footer-socials a, .footer-socials span {
    width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center; color: #cfd7e2; transition: background-color .2s ease, color .2s ease;
}
.footer-socials a:hover { background: var(--blue); color: #fff; }
.footer-socials span.footer-social-placeholder { opacity: .35; cursor: default; }
.footer-col h5 { color: #fff; font-size: .85rem; letter-spacing: .04em; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-office-name { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #8b96a5; margin: 14px 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 18px 24px; font-size: .8rem; color: #8b96a5; flex-wrap: wrap; gap: 8px; }
.footer-legal a:hover { color: #fff; }

/* Page header (realisations.php / references.php) */
.page-header { padding-bottom: 24px; text-align: center; }
.page-header .section-subtitle { margin-left: auto; margin-right: auto; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.pill-filter { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: .82rem; font-weight: 700; }
.pill-filter.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Quand les deux widgets flottants partagent le mÃªme cÃ´tÃ© (chat en position "droite"),
   un seul reste visible Ã  la fois pour Ã©viter que le widget de contact dÃ©ployÃ©
   ne passe derriÃ¨re/Ã  travers la bulle de l'assistant IA. */
.fab-widget.widget-peer-hidden, .chat-widget.widget-peer-hidden {
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease;
}

/* FAB widget â€” Toujours ouvert, sans bouton d'activation */
.fab-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    --fab-icon-size: 24px;
}
.fab-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.fab-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 999px;
    padding: 8px 18px 8px 8px;
    font-weight: 700;
    font-size: .88rem;
    color: var(--text);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.fab-pill:hover {
    transform: translateX(-3px) scale(1.03);
    box-shadow: 0 14px 34px rgba(26,41,66,.16);
    background: #fafcff;
}
.fab-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: filter .18s ease;
}
.fab-icon-blue { background: var(--blue); }
.fab-icon-orange { background: var(--orange); }
.fab-icon-slate { background: var(--navy-2); }
.fab-pill:hover .fab-pill-icon {
    filter: brightness(1.12);
}
.fab-toggle {
    display: none !important; /* MasquÃ© car le widget est toujours ouvert */
}

/* Style Responsive Mobile pour les raccourcis de contact (Dock horizontal bas d'Ã©cran) */
@media (max-width: 640px) {
    .fab-widget {
        right: 14px !important;
        bottom: 14px !important;
        left: 14px !important;
        width: calc(100% - 28px) !important;
        align-items: center !important;
    }
    .fab-options {
        flex-direction: row !important;
        justify-content: space-around !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 8px 12px !important;
        border-radius: 999px !important;
        box-shadow: 0 10px 30px rgba(15,27,45,0.18) !important;
        border: 1px solid var(--border) !important;
    }
    .fab-pill {
        flex: 1 !important;
        justify-content: center !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 6px 4px !important;
        font-size: 0.78rem !important;
        border-right: 1px solid var(--border) !important;
        border-radius: 0 !important;
    }
    .fab-pill:last-child {
        border-right: none !important;
    }
    .fab-pill:hover {
        transform: none !important;
    }
    .fab-pill-icon {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Carousel (shared, progressive enhancement) */
.grid-section.is-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.grid-section.is-carousel::-webkit-scrollbar { height: 6px; }
.grid-section.is-carousel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.grid-section.is-carousel .carousel-slide { flex: 0 0 300px; scroll-snap-align: start; }
.carousel-wrap { position: relative; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: #fff; box-shadow: var(--shadow);
    border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.carousel-arrow.prev { left: -6px; } .carousel-arrow.next { right: -6px; }

/* Scroll-reveal animations (progressive enhancement, see assets/js/reveal.js) */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
    transition-delay: calc(var(--reveal-index, 0) * 90ms);
    will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="zoom"].revealed { transform: scale(1); }
[data-reveal="left"] { transform: translate(-40px, 0); }
[data-reveal="left"].revealed { transform: none; }
[data-reveal="right"] { transform: translate(40px, 0); }
[data-reveal="right"].revealed { transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Hover micro-interactions */
.card, .photo-card, .testimonial-card, .process-step, .feature-item {
    transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover, .photo-card:hover { transform: translateY(-7px); box-shadow: 0 22px 44px rgba(26,41,66,.16); }
.testimonial-card:hover, .process-step:hover, .feature-item:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(26,41,66,.1); }
.partner-logo:hover img { transform: translateY(-3px); }
.process-icon, .feature-icon { transition: transform .28s ease; }
.process-step:hover .process-icon, .feature-item:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26,41,66,.16); }
.btn:active { transform: translateY(0); }
.hero-slider-nav, .carousel-arrow { transition: transform .18s ease, background-color .18s ease; }
.hero-slider-nav:hover, .carousel-arrow:hover { transform: translateY(-50%) scale(1.1); background: #fff; }
.link-arrow, .card-link { transition: gap .2s ease; }
.link-arrow:hover, .card-link:hover { gap: 10px; }

/* Reference detail modal */
.reference-card[data-modal-trigger] { cursor: pointer; }
.reference-card[data-modal-trigger]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
body.modal-open { overflow: hidden; }
.modal-overlay {
    position: fixed; inset: 0; background: rgba(15,27,45,.6); z-index: 200;
    display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-dialog {
    background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%;
    max-height: 88vh; overflow-y: auto; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.35);
    transform: scale(.94) translateY(10px); transition: transform .25s ease;
}
.modal-overlay.open .modal-dialog { transform: scale(1) translateY(0); }
.modal-close {
    position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(15,27,45,.55); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--navy); }
.modal-media { aspect-ratio: 16/10; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 26px; }
.modal-body .pill { margin-bottom: 10px; }
.modal-title { margin-bottom: 10px; }
.modal-description { margin: 0; }

/* Chat widget (assistant IA) */
.chat-widget { position: fixed; left: 22px; bottom: 22px; z-index: 95; --chat-icon-size: 24px; }
.chat-widget.pos-right { left: auto; right: 22px; bottom: 96px; }
.chat-widget.pos-right .chat-panel { left: auto; right: 0; }
.chat-widget.pos-right .chat-attention-bubble { left: auto; right: 0; }
.chat-toggle {
    width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; border: none;
    box-shadow: var(--shadow); cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.chat-toggle:hover { background: var(--navy); transform: scale(1.07); box-shadow: 0 16px 36px rgba(15,27,45,.32); }
.chat-toggle-icon-default, .chat-toggle-icon-close {
    position: absolute; top: 50%; left: 50%; width: var(--chat-icon-size, 24px); height: var(--chat-icon-size, 24px);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .2s ease, transform .2s ease;
}
.chat-toggle .icon { width: 100%; height: 100%; display: block; }

/* Anneau de pulsation, quelques cycles au chargement pour attirer l'Å“il sans devenir agaÃ§ant */
.chat-toggle::before {
    content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue);
    opacity: 0; pointer-events: none;
}
.chat-widget.attention-pulse .chat-toggle::before { animation: chat-pulse-ring 1.8s ease-out 3; }
.chat-toggle.has-unread::after {
    content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--orange); border: 2px solid #fff; animation: chat-unread-pulse 1.4s ease-in-out infinite;
}
@keyframes chat-unread-pulse { 50% { transform: scale(1.25); } }
@keyframes chat-pulse-ring {
    0% { transform: scale(.85); opacity: .7; }
    100% { transform: scale(1.35); opacity: 0; }
}

.chat-attention-bubble {
    position: absolute; bottom: 70px; left: 0; width: 240px; background: #fff; border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.2); padding: 12px 32px 12px 14px; font-size: .85rem; line-height: 1.4; color: var(--text);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.chat-attention-bubble.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-attention-bubble::after {
    content: ""; position: absolute; bottom: -7px; left: 22px; width: 14px; height: 14px; background: #fff;
    transform: rotate(45deg); box-shadow: 3px 3px 6px rgba(0,0,0,.06);
}
.chat-widget.pos-right .chat-attention-bubble::after { left: auto; right: 22px; }
.chat-attention-close {
    position: absolute; top: 6px; right: 8px; border: none; background: none; color: var(--text-muted);
    font-size: 1rem; line-height: 1; cursor: pointer; padding: 2px 4px;
}
.chat-attention-close:hover { color: var(--text); }
.chat-toggle-icon-default { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.chat-toggle-icon-close { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
.chat-widget.open .chat-toggle-icon-default { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
.chat-widget.open .chat-toggle-icon-close { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* Effet floutÃ© de fond d'Ã©cran pour le mode centrÃ© */
.chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 27, 45, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 94;
    transition: opacity 0.25s ease;
}

.chat-panel {
    position: absolute; bottom: 70px; left: 0; width: 340px; max-width: calc(100vw - 40px); height: 480px; max-height: 70vh;
    background: #fff; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0,0,0,.28);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.chat-widget.open .chat-panel { opacity: 1; visibility: visible; transform: translateY(0); }

/* Mode centrÃ© dynamique (Desktop) */
.chat-widget.is-centered .chat-panel {
    position: fixed !important;
    bottom: 50% !important;
    left: 50% !important;
    transform: translate(-50%, 50%) scale(1) !important;
    margin: 0 !important;
    z-index: 95 !important;
    box-shadow: 0 30px 70px rgba(15, 27, 45, 0.28) !important;
    width: 440px !important;
    max-width: 90vw !important;
    height: 520px !important;
    max-height: 80vh !important;
}
.chat-widget.is-centered .chat-panel-header {
    padding: 16px 20px !important;
}
.chat-widget.is-centered .chat-toggle {
    display: none !important; /* Masquer la bulle flottante quand le chat est centrÃ© ouvert */
}

/* Sur tablette/mobile, dÃ©sactivation de l'overlay et adaptation en bottom drawer natif */
@media (max-width: 640px) {
    .chat-overlay {
        display: none !important;
    }
    .chat-widget.is-centered .chat-panel {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: 62vh !important;
        max-height: 62vh !important;
        border-radius: 20px 20px 0 0 !important;
        border-bottom: none !important;
        box-shadow: 0 -10px 40px rgba(15, 27, 45, 0.18) !important;
    }
}
.chat-panel-header { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; flex-shrink: 0; }
.chat-panel-header img { height: 24px; background: #fff; border-radius: 4px; padding: 3px 6px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper, #faf7f0); }
.chat-message { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .88rem; line-height: 1.45; white-space: pre-wrap; }
.chat-message-assistant { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-message-user { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-message-error { background: #fde8e8; color: #8a1f1f; align-self: center; text-align: center; font-size: .82rem; }
.chat-message-escalate { background: var(--blue-light); border: 1px solid var(--blue); align-self: stretch; text-align: center; font-size: .85rem; }
.chat-message-system { background: transparent; color: var(--text-muted); align-self: center; text-align: center; font-size: .78rem; font-style: italic; max-width: 100%; }
.chat-message-admin { background: var(--navy); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-message-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--orange); margin-bottom: 3px; }
.chat-escalate-actions { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.chat-escalate-actions .btn { padding: 7px 14px; font-size: .8rem; }
.chat-typing { display: flex; gap: 4px; padding: 2px 0; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: chat-typing-bounce 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-typing-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; flex-shrink: 0; }
.chat-input-row input { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; font-size: .88rem; font-family: inherit; min-width: 0; }
.chat-input-row input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.chat-input-row button {
    width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .18s ease;
}
.chat-input-row button:hover { background: var(--navy); }
@media (max-width: 480px) {
    .chat-widget { left: 14px; bottom: 14px; }
    .chat-widget.pos-right { left: auto; right: 14px; bottom: 86px; }
    .chat-panel { width: calc(100vw - 28px); height: 65vh; }
}

/* Alerts */
.alert { padding: 12px 16px; border-radius: 10px; font-size: .88rem; font-weight: 600; margin-bottom: 16px; }
.alert-success { background: #e6f6ec; color: #1a7a3c; }
.alert-error { background: #fdeceb; color: #c0392b; }

/* Responsive */
@media (max-width: 980px) {
    .hero-inner, .whyus-inner, .contact-inner, .cta-inner { grid-template-columns: 1fr; }
    .stats-grid, .process-track { grid-template-columns: repeat(2, 1fr); }
    .grid-section, .references-grid, .full-listing, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .feature-grid { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .header-nav.open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 16px 24px; box-shadow: var(--shadow); gap: 14px; border-top: 1px solid var(--border);
    }
    .nav-toggle { display: flex; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-tabs { width: 100%; }
}
@media (max-width: 640px) {
    .hero-copy h1 { font-size: 1.9rem; }
    .stats-grid, .grid-section, .references-grid, .full-listing, .testimonials-grid, .process-track { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .form-row { grid-template-columns: 1fr; }
    .header-actions .header-action-link, .header-actions .btn-outline { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-ctas, .cta-trust, .hero-trust { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; white-space: normal; }
    .filter-bar { justify-content: flex-start; }
    .cert-grid { grid-template-columns: 1fr 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .tech-tabs { flex-wrap: wrap; }
}



/* Immersive Image Slider Hero */
.hero.hero--bg-image-slider {
    position: relative;
    color: #fff;
    padding: 100px 0 120px;
    overflow: hidden;
}
.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-slider .hero-slider-track,
.hero-bg-slider .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-bg-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 43, 38, 0.92) 0%, rgba(15, 60, 48, 0.85) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}
.hero.hero--bg-image-slider .container {
    position: relative;
    z-index: 2;
}
.hero.hero--bg-image-slider .hero-inner {
    grid-template-columns: 1fr; /* Full width for text */
    max-width: 800px;
}
.hero.hero--bg-image-slider h1, 
.hero.hero--bg-image-slider .hero-subtitle {
    color: #fff;
}
.hero.hero--bg-image-slider .eyebrow {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero.hero--bg-image-slider .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}
.hero.hero--bg-image-slider .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Force hero layout */
.hero.hero--bg-image-slider {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-bg-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-bg-slider .hero-slider-track,
.hero-bg-slider .hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
}
.hero-bg-slider .hero-slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-bg-slider .hero-slide.active {
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 43, 38, 0.92) 0%, rgba(15, 60, 48, 0.85) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Amélioration Process Steps */
.process-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
.process-step {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(11, 43, 38, 0.06);
    border-top: 4px solid var(--blue);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(11, 43, 38, 0.12);
}
.process-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.process-icon {
    width: 64px;
    height: 64px;
    background: rgba(18, 161, 27, 0.1);
    color: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.process-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(11, 43, 38, 0.05);
}
.process-step h4 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════
   COB CUVELAGE – Immersive Hero (Biztop style)
   ═══════════════════════════════════════════ */
.hero--immersive {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* BG slider */
.hero-immersive-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-immersive-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero-immersive-slide.active {
    opacity: 1;
}
.hero-immersive-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(11, 43, 38, 0.93) 0%,
        rgba(11, 43, 38, 0.80) 55%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

/* Inner layout */
.hero-immersive-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-immersive-copy { max-width: 720px; }

/* Rating badge */
.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 6px 16px;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-badge-stars { color: #f5a623; letter-spacing: 2px; }
.hero-badge-sep { opacity: .4; }

/* H1 */
.hero-immersive-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.hero-title-accent {
    color: var(--blue);
    display: inline;
}

/* Subtitle */
.hero-immersive-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 36px;
}

/* CTAs */
.hero-immersive-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .25s, transform .2s;
}
.btn-hero-primary:hover { background: #0f8e18; transform: translateY(-2px); }

.btn-hero-call {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .9rem;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .25s;
}
.btn-hero-call:hover { background: rgba(255,255,255,.18); }
.btn-hero-call-icon {
    width: 40px; height: 40px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-hero-call small { display: block; font-size: .72rem; opacity: .7; letter-spacing: .05em; }
.btn-hero-call strong { display: block; font-weight: 700; font-size: .95rem; }

/* Trust list */
.hero-trust-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 500;
}
.hero-trust-icon { color: var(--blue); }

/* Slide dots */
.hero-slide-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
    border: none;
    cursor: pointer;
    transition: all .3s;
    padding: 0;
}
.hero-dot.active {
    background: var(--blue);
    width: 28px;
}

/* ═══════════════════════════════════════════
   Services Cards (Biztop alternating style)
   ═══════════════════════════════════════════ */
.cob-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 48px;
    box-shadow: 0 20px 60px rgba(11,43,38,.12);
}
@media (max-width: 1024px) { .cob-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cob-services-grid { grid-template-columns: 1fr; } }

.cob-service-card {
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .3s ease;
}
.cob-service-card:hover { transform: translateY(-4px); z-index: 2; }

.cob-service-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.cob-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.cob-service-card p {
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.cob-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .88rem;
    border-top: 1px solid;
    padding-top: 16px;
    text-decoration: none;
    margin-top: auto;
    transition: gap .2s;
}
.cob-service-link:hover { gap: 14px; }
.cob-service-num {
    position: absolute;
    bottom: -10px;
    right: 16px;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   Process Section (Sticky image + steps)
   ═══════════════════════════════════════════ */
.cob-process-section { background: var(--bg-alt); }
.cob-process-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 64px;
}
@media (max-width: 768px) { .cob-process-header { grid-template-columns: 1fr; } }
.cob-process-header-right p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.cob-process-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 768px) { .cob-process-body { grid-template-columns: 1fr; gap: 48px; } }

/* Steps */
.cob-process-steps { display: flex; flex-direction: column; }
.cob-process-step {
    display: flex;
    gap: 24px;
    cursor: default;
}
.cob-step-num-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.cob-step-number {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all .3s;
    flex-shrink: 0;
}
.cob-process-step.is-active .cob-step-number {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: scale(1.1);
}
.cob-step-line {
    width: 2px;
    flex: 1;
    min-height: 32px;
    background: var(--border);
    margin: 8px 0;
}
.cob-process-step.is-active .cob-step-line { background: var(--navy); }
.cob-step-content {
    padding-bottom: 40px;
}
.cob-step-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 8px 0 8px;
    transition: color .3s;
}
.cob-process-step.is-active .cob-step-content h4 { color: var(--navy); font-size: 1.25rem; }
.cob-step-content p {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .3s;
    opacity: 0;
}
.cob-process-step.is-active .cob-step-content p { max-height: 200px; opacity: 1; }

/* Image column */
.cob-process-image-col {
    position: sticky;
    top: 120px;
}
.cob-process-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    background: #0B2B26;
}
.cob-process-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .5s;
}
.cob-process-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(11,43,38,.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    border-radius: 999px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   Chantier Image Strip (replaces logo strip)
   ═══════════════════════════════════════════ */
.chantier-strip {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.chantier-strip-scroller {
    display: flex;
    animation: chantier-scroll 35s linear infinite;
    width: max-content;
}
.chantier-strip-scroller:hover { animation-play-state: paused; }
.chantier-strip-list {
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}
.chantier-strip-item {
    position: relative;
    width: 220px;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
}
.chantier-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.chantier-strip-item:hover img { transform: scale(1.08); }
.chantier-strip-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(11,43,38,.8));
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 16px 10px 8px;
    opacity: 0;
    transition: opacity .3s;
}
.chantier-strip-item:hover .chantier-strip-caption { opacity: 1; }
.chantier-strip-placeholder {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    padding: 32px;
    color: var(--text-muted);
    font-size: .9rem;
}
@keyframes chantier-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.33333%); }
}

/* ═══════════════════════════════════════════════════════
   Biztop Services (3-tone cards)
   ═══════════════════════════════════════════════════════ */
.biztop-services-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}
@media (max-width: 768px) { .biztop-services-head { grid-template-columns: 1fr; gap: 16px; } }
.biztop-services-head-right p { color: var(--text-muted); line-height: 1.7; margin: 0; }

.biztop-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.biztop-card {
    border-radius: 20px;
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 20px rgba(11,43,38,.06);
}
.biztop-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(11,43,38,.14); }

.biztop-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.biztop-card--light .biztop-card-icon { background: rgba(18,161,27,.1); color: #12A11B; }
.biztop-card--green .biztop-card-icon { background: rgba(255,255,255,.2); color: #fff; }
.biztop-card--dark  .biztop-card-icon { background: rgba(18,161,27,.2); color: #12A11B; }

.biztop-card-body { flex: 1; }
.biztop-card--light h3 { color: var(--navy); }
.biztop-card--green h3, .biztop-card--dark h3 { color: #fff; }

.biztop-card--light p { color: var(--text-muted); }
.biztop-card--green p { color: rgba(255,255,255,.8); }
.biztop-card--dark p  { color: rgba(255,255,255,.7); }

.biztop-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; }
.biztop-card p  { font-size: .9rem; line-height: 1.65; margin: 0; }

.biztop-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .88rem;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid;
    text-decoration: none;
    transition: gap .2s;
}
.biztop-card--light .biztop-card-link { color: #12A11B; border-color: rgba(18,161,27,.2); }
.biztop-card--green .biztop-card-link { color: #fff; border-color: rgba(255,255,255,.25); }
.biztop-card--dark  .biztop-card-link { color: #12A11B; border-color: rgba(255,255,255,.15); }
.biztop-card-link:hover { gap: 14px; }

/* ═══════════════════════════════════════════════════════
   Process Numbered Cards (pstep)
   ═══════════════════════════════════════════════════════ */
.pstep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11,43,38,.12);
    margin-top: 48px;
}
.pstep-card {
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .3s ease;
}
.pstep-card:hover { transform: translateY(-4px); z-index: 2; }

.pstep-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.pstep-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.pstep-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}
.pstep-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.pstep-card p {
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   Chantier strip — bigger for immersion
   ═══════════════════════════════════════════════════════ */
.chantier-strip-item {
    width: 340px  !important;
    height: 220px !important;
}

/* ── Fix: ensure text visibility on colored Biztop cards ── */
.biztop-card--green h3,
.biztop-card--green p,
.biztop-card--green .biztop-card-body { color: #fff !important; }
.biztop-card--green p { color: rgba(255,255,255,.82) !important; }

.biztop-card--dark h3,
.biztop-card--dark p,
.biztop-card--dark .biztop-card-body { color: #fff !important; }
.biztop-card--dark p { color: rgba(255,255,255,.72) !important; }

/* Fix: process step colored cards */
.pstep--green h4, .pstep--dark h4 { color: #fff !important; }
.pstep--green p,  .pstep--dark p  { color: rgba(255,255,255,.75) !important; }

/* Logo size override — controllable via site_content keys:
   site_logo_height_header (default 56px)
   site_logo_height_footer (default 52px)
   These are set as inline style on the img tag in header.php / footer.php */
.header-logo img { height: auto !important; max-height: 72px; }
.footer-logo     { height: auto !important; max-height: 70px; }

/* ═══════════════════════════════════════════════
   DOMAINES D INTERVENTION — Domain Cards
   Style: photo top + icon-label bar at bottom
   ═══════════════════════════════════════════════ */
.domain-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
@media (max-width: 1024px) { .domain-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .domain-cards-grid { grid-template-columns: 1fr; } }

.domain-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(11, 43, 38, .07);
    transition: transform .35s ease, box-shadow .35s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.domain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(11, 43, 38, .14);
}

/* Photo */
.domain-card-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
}
.domain-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.domain-card:hover .domain-card-photo img { transform: scale(1.06); }

/* Label bar */
.domain-card-label {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
}
.domain-card-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #12A11B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.domain-card-label span {
    font-weight: 700;
    font-size: .95rem;
    color: var(--navy);
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════
   P1 — Hero geo eyebrow & micro-reassurance text
   ═══════════════════════════════════════════════ */
.hero-eyebrow-geo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-eyebrow-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #12A11B;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 0 rgba(18,161,27,.5); }
    50%      { box-shadow: 0 0 0 6px rgba(18,161,27,0); }
}
.hero-cta-micro {
    margin-top: -8px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.55);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .03em;
}

/* ═══════════════════════════════════════════════
   P1 — Header nav CTA button
   ═══════════════════════════════════════════════ */
.header-cta-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px !important;
    font-size: .88rem !important;
    font-weight: 700;
    border-radius: 10px;
}
.header-cta-nav .icon { width: 15px; height: 15px; }

/* ═══════════════════════════════════════════════
   P1 — Remove old header-action-link phone style
       (replace with simple text link)
   ═══════════════════════════════════════════════ */
.header-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    padding: 6px 0;
}
.header-action-link:hover { color: var(--blue); }

/* ═══════════════════════════════════════════════
   P2 — Horizontal timeline (Methodologie)
   ═══════════════════════════════════════════════ */
.cob-method-section { background: var(--bg-alt); }

.cob-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}
@media (max-width: 768px) {
    .cob-timeline { grid-template-columns: 1fr; gap: 32px; }
}

.cob-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

/* Node row: number + circle + connecting arrow */
.cob-timeline-node {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    position: relative;
    margin-bottom: 28px;
}
.cob-tl-num {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(11,43,38,.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.cob-tl-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(11,43,38,.2);
    transition: transform .3s, box-shadow .3s;
}
.cob-timeline-step:hover .cob-tl-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(11,43,38,.28);
}
/* Connecting line + arrow between steps */
.cob-tl-arrow {
    display: flex;
    align-items: center;
    position: absolute;
    left: calc(50% + 36px);
    width: calc(100% - 72px);
    z-index: 1;
}
.cob-tl-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--navy), var(--blue));
    opacity: .25;
}
.cob-tl-chevron {
    color: var(--blue);
    opacity: .6;
    flex-shrink: 0;
}
@media (max-width: 768px) { .cob-tl-arrow { display: none; } }

/* Step content */
.cob-timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
}
.cob-timeline-content p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 260px;
}

/* Bottom reassurance */
.cob-method-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    padding: 16px 24px;
    background: rgba(11,43,38,.06);
    border-radius: 12px;
    color: var(--navy);
    font-size: .88rem;
    font-weight: 600;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.cob-method-footer .icon { color: var(--blue); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   P2 — Domain cards ratio fix (4:3 -> 3:2)
   ═══════════════════════════════════════════════ */
.domain-card-photo { aspect-ratio: 3 / 2 !important; }

/* ══════════════════════════════════════════════════════════════════
   PHASE 3 — FINITION UI/UX & CONVERSION
   1. Typographie & Densité
   2. Domaines d intervention (4 cards enrichies)
   3. Partenaires & Certifications (haut contraste, badges DTU/CSTB)
   4. Témoignages (carte centrale mise en avant, 5 étoiles, badges)
   5. CTA Vert Foncé (hiérarchie 2 colonnes renforcée)
   ══════════════════════════════════════════════════════════════════ */

/* ── 1. Typographie & Lisibilité ── */
body {
    font-size: 15.5px;
    line-height: 1.65;
}
.section-head h2 {
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--text-muted);
}
.eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── 2. Domaines d intervention ── */
.domain-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    align-items: stretch;
}
@media (max-width: 1024px) { .domain-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .domain-cards-grid { grid-template-columns: 1fr; } }

.domain-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 43, 38, .08);
    box-shadow: 0 4px 20px rgba(11, 43, 38, .06);
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1), border-color .35s ease;
    display: flex;
    flex-direction: column;
}
.domain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(11, 43, 38, .14);
    border-color: rgba(18, 161, 27, .35);
}
.domain-card-photo {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, #0B2B26 0%, #17423b 100%);
}
.domain-card-photo.has-fallback-pattern {
    background: linear-gradient(135deg, #0B2B26 0%, #12A11B 100%);
}
.domain-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.domain-card:hover .domain-card-photo img {
    transform: scale(1.08);
}
.domain-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 43, 38, .85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.domain-card-body {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.domain-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.domain-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(18, 161, 27, .12);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.domain-card-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
    line-height: 1.25;
}
.domain-card-desc {
    font-size: .88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 16px;
    flex: 1;
}
.domain-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: .86rem;
    color: var(--blue);
    text-decoration: none;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(11, 43, 38, .07);
    transition: gap .2s ease;
}
.domain-card-link:hover {
    gap: 12px;
}

/* ── 3. Partenaires & Certifications ── */
.partners-trust-pills {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 20px 0 36px;
}
.partners-trust-pill {
    background: #fff;
    border: 1px solid rgba(11, 43, 38, .12);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.partners-trust-pill .icon {
    color: var(--blue);
}
.partners-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
    align-items: center;
}
@media (max-width: 1024px) { .partners-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 640px)  { .partners-grid { grid-template-columns: repeat(2, 1fr) !important; } }

.partner-logo {
    background: #fff;
    border: 1px solid rgba(11, 43, 38, .08);
    border-radius: 14px;
    padding: 18px 24px;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(11, 43, 38, .09);
    border-color: rgba(18, 161, 27, .3);
}
.partner-logo img {
    max-height: 52px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    filter: none !important;
    opacity: 0.88 !important;
    transition: opacity .3s ease, transform .3s ease;
}
.partner-logo:hover img {
    opacity: 1 !important;
    transform: scale(1.06);
}

/* ── 4. Témoignages & Preuve Sociale ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 48px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(11, 43, 38, .05);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 43, 38, .1);
}
.testimonial-card.is-featured-review {
    border: 2px solid var(--blue);
    box-shadow: 0 16px 42px rgba(18, 161, 27, .13);
    transform: translateY(-6px);
}
.testimonial-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 1.15rem;
    letter-spacing: 2px;
}
.testimonial-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(18, 161, 27, .1);
    color: var(--blue);
    font-size: .74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.testimonial-text {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--navy);
    font-style: italic;
    margin-bottom: 24px;
    flex: 1;
}
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(11, 43, 38, .08);
    padding-top: 16px;
    margin-top: auto;
}
.testimonial-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.is-featured-review .testimonial-avatar-placeholder {
    background: var(--blue);
}
.testimonial-footer strong {
    display: block;
    font-size: .95rem;
    color: var(--navy);
    font-weight: 700;
}
.testimonial-role {
    display: block;
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.35;
}

/* ── 5. CTA Banner — Rupture Visuelle & Hiérarchie ── */
.cta-banner {
    background: var(--navy) !important;
    color: #fff !important;
    padding: 76px 0 !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}
.cta-inner {
    display: grid !important;
    grid-template-columns: 1.25fr 1fr !important;
    gap: 56px !important;
    align-items: center !important;
}
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr !important; gap: 36px !important; } }

.cta-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 6px;
    animation: pulse-dot 2s infinite;
}
.cta-copy h2 {
    color: #fff !important;
    font-size: clamp(2rem, 3.2vw, 2.7rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 12px 0 16px !important;
}
.cta-lead-text {
    color: rgba(255, 255, 255, .84) !important;
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
    max-width: 540px !important;
}
.cta-trust {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}
.cta-trust li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    font-size: .84rem !important;
    font-weight: 600 !important;
    color: #fff !important;
}
.cta-trust li .icon {
    color: #22c55e !important;
}
.cta-actions-box {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(10px);
}
.cta-action-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.btn-cta {
    background: var(--blue) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 1.02rem !important;
    padding: 18px 28px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease !important;
    box-shadow: 0 8px 24px rgba(18, 161, 27, .35) !important;
}
.btn-cta:hover {
    background: #0f8e18 !important;
    transform: translateY(-2px) !important;
}
.btn-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: background .2s ease;
}
.btn-cta-phone:hover {
    background: rgba(255, 255, 255, .18);
}
.btn-cta-phone-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.btn-cta-phone small {
    display: block;
    font-size: .7rem;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .05em;
}
.btn-cta-phone strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}
.cta-avg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .65) !important;
    margin: 0 !important;
}

/* ═══════════════════════════════════════════════
   Video Support for Realisations & Chantiers
   ═══════════════════════════════════════════════ */
.photo-card-media-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}
.photo-card-media-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    cursor: pointer;
}
.photo-card-video-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(11, 43, 38, .85);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
    transition: transform .2s ease, background .2s ease;
}
.photo-card:hover .photo-card-video-pill {
    background: var(--blue);
    transform: scale(1.06);
}
.photo-card-video-pill .icon {
    color: #fff;
}

/* Video Live Indicator */
.video-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 2px;
    animation: pulse-dot 1.8s infinite;
}
.photo-card-media-wrap video.cob-autoplay-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

/* Hero Slide Video Background */
.hero-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ─── BTP Trust Strip (Réassurance Légale & Technique sous les stats) ─── */
.btp-trust-strip {
    background: #08211D;
    color: #ffffff;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.btp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}
.btp-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.btp-trust-badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.btp-trust-badge-icon svg {
    width: 22px;
    height: 22px;
}
.btp-trust-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.btp-trust-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}
.btp-trust-text span {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.35;
}
@media (max-width: 991px) {
    .btp-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (max-width: 575px) {
    .btp-trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .btp-trust-strip {
        padding: 20px 0;
    }
}
