
/* ==========================================================
   MEDIATECH-Y - CORRECTION DEFINITIVE V1.4.9
   ========================================================== */

/* Masquer complètement la section Pourquoi TeamLive */
.teamlive-why {
    display: none !important;
}

/* Taille uniforme des grands titres */
.hero h1,
.hero-slide h1,
.hero-slide--teamlive h1,
.page-hero h1,
.project-hero h1,
.section-heading h2,
.service-detail h2,
.split-callout h2,
.contact-panel h2,
.form-sidebar h2,
.thank-you h1,
.error-page h1 {
    font-size: clamp(1.85rem, 3vw, 2.75rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
}

/* Smartphone */
@media (max-width: 720px) {
    .hero h1,
    .hero-slide h1,
    .hero-slide--teamlive h1,
    .page-hero h1,
    .project-hero h1,
    .section-heading h2,
    .service-detail h2,
    .split-callout h2,
    .contact-panel h2,
    .form-sidebar h2,
    .thank-you h1,
    .error-page h1 {
        font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.025em !important;
    }
}

/* ========================================================== */

/* =========================================================
   MEDIATECH-Y - TeamLive Hero typography FIX V1.0.8
   Ne modifie PAS le carousel ni son fonctionnement.
   ========================================================= */

.hero-rotator .hero-slide--teamlive h1,
.hero-slide--teamlive h1 {
    font-size: clamp(1.85rem, 3vw, 2.75rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
}

@media (max-width: 720px) {
    .hero-rotator .hero-slide--teamlive h1,
    .hero-slide--teamlive h1 {
        font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.025em !important;
    }
}

/* ========================================================= */

/* MEDIATECH-Y Vitrine 1.0 — CSS natif, sans framework */
:root {
    --ink: #0b1532;
    --ink-2: #17264f;
    --ink-3: #27375f;
    --blue: #1f66ff;
    --blue-dark: #174fd0;
    --cyan: #16c7d7;
    --magenta: #ed3e92;
    --orange: #ff8a3d;
    --white: #ffffff;
    --paper: #f7f9fd;
    --soft: #eef3fb;
    --line: #dbe3f1;
    --muted: #62708e;
    --danger: #b42318;
    --danger-soft: #fff2f0;
    --success: #087f5b;
    --shadow-sm: 0 12px 30px rgba(11, 21, 50, 0.08);
    --shadow-md: 0 24px 60px rgba(11, 21, 50, 0.14);
    --shadow-lg: 0 38px 90px rgba(11, 21, 50, 0.2);
    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 34px;
    --container: 1220px;
    --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
input, select, textarea { min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { color: var(--muted); }
::selection { color: var(--white); background: var(--blue); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 9999;
    padding: 12px 18px; border-radius: 10px; color: var(--white); background: var(--ink);
    transform: translateY(-160%); transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 18px; color: var(--blue); font-size: .78rem; font-weight: 800;
    letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.eyebrow--light { color: #9bbcff; }

.topbar { color: #dbe5ff; background: #071127; font-size: .78rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; color: #aebcda; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar a { transition: color var(--transition); }
.topbar a:hover { color: var(--white); }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(219, 227, 241, .8);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .97); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 214px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: .93rem; font-weight: 700; }
.main-nav > a:not(.button) { position: relative; padding-block: 30px; color: var(--ink-3); }
.main-nav > a:not(.button)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 20px;
    height: 3px; border-radius: 9px; background: linear-gradient(90deg, var(--blue), var(--cyan));
    transition: right var(--transition);
}
.main-nav > a:not(.button):hover, .main-nav > a.is-active { color: var(--blue); }
.main-nav > a:not(.button):hover::after, .main-nav > a.is-active::after { right: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 12px; background: var(--soft); }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: 14px;
    font-weight: 800; line-height: 1.2; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #264cdc); box-shadow: 0 14px 28px rgba(31, 102, 255, .25); }
.button--primary:hover { box-shadow: 0 18px 36px rgba(31, 102, 255, .34); }
.button--ghost { color: var(--ink); border-color: var(--line); background: var(--white); }
.button--ghost:hover { color: var(--blue); border-color: rgba(31, 102, 255, .35); box-shadow: var(--shadow-sm); }
.button--light { color: var(--ink); background: var(--white); box-shadow: var(--shadow-sm); }
.button--outline-light { color: var(--white); border-color: rgba(255,255,255,.45); background: transparent; }
.button--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button--small { min-height: 43px; padding: 10px 18px; border-radius: 12px; font-size: .88rem; }
.button--large { min-height: 58px; padding: 17px 28px; }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; }
.text-link span { transition: transform var(--transition); }
.text-link:hover span { transform: translateX(5px); }

.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 730px; padding: 105px 0 82px; color: var(--white);
    background:
        radial-gradient(circle at 80% 22%, rgba(22,199,215,.18), transparent 29%),
        radial-gradient(circle at 15% 15%, rgba(237,62,146,.13), transparent 22%),
        linear-gradient(140deg, #071127 0%, #0c1839 58%, #10285c 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 76px; }
.hero__content { position: relative; z-index: 2; }
.hero h1 { max-width: 820px; margin-bottom: 27px; font-weight: 850; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #7bdffc, #9cbcff 46%, #ff8ec1); -webkit-background-clip: text; background-clip: text; }
.hero__lead { max-width: 690px; margin-bottom: 34px; color: #c6d2ec; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: #b8c6e3; font-size: .86rem; font-weight: 700; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof span::before { content: "✓"; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #071127; background: var(--cyan); font-size: .7rem; }
.hero__visual { position: relative; }
.hero__visual > img { filter: drop-shadow(0 38px 38px rgba(0,0,0,.28)); }
.hero-card { position: absolute; min-width: 190px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.19); border-radius: 15px; background: rgba(10,23,53,.72); box-shadow: 0 18px 35px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.hero-card strong, .hero-card span { display: block; }
.hero-card strong { color: var(--white); font-size: .9rem; }
.hero-card span { color: #aebddd; font-size: .75rem; }
.hero-card--top { top: 8%; right: -3%; }
.hero-card--bottom { bottom: 7%; left: -4%; }
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(20px); }
.hero__glow--one { width: 230px; height: 230px; right: 4%; top: 9%; background: rgba(31,102,255,.18); }
.hero__glow--two { width: 170px; height: 170px; left: 6%; bottom: 8%; background: rgba(237,62,146,.12); }

.brand-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.brand-strip__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow-x: auto; scrollbar-width: none; color: var(--ink-3); font-size: .77rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.brand-strip__inner::-webkit-scrollbar { display: none; }
.brand-strip__inner span { display: inline-flex; align-items: center; gap: 20px; }
.brand-strip__inner span:not(:last-child)::after { content: "•"; color: var(--blue); }

.section { padding: 105px 0; }
.section--soft, .section--services { background: var(--paper); }
.section--dark { color: var(--white); background: linear-gradient(145deg, #09132d, #112759); }
.section--portfolio { background: linear-gradient(180deg, #fff, #f6f8fc); }
.section--cta { padding-top: 40px; }
.section--form { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading > div { max-width: 850px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading--center { justify-content: center; text-align: center; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 345px; padding: 29px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 28px rgba(11,21,50,.04); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.service-card:hover { transform: translateY(-7px); border-color: rgba(31,102,255,.25); box-shadow: var(--shadow-md); }
.service-card::after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(31,102,255,.12), transparent 65%); }
.service-card__icon { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 28px; border-radius: 20px; background: var(--soft); }
.service-card__icon img { width: 58px; }
.service-card__number { position: absolute; top: 30px; right: 30px; color: #c4cee1; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { margin-bottom: 25px; }
.service-card > a { color: var(--blue); font-size: .9rem; font-weight: 800; }

.about-preview { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.about-preview__visual img { width: 100%; }
.about-preview__content h2 { margin-bottom: 24px; }
.about-preview__content > p { color: #b7c5df; font-size: 1.08rem; }
.check-list { display: grid; gap: 13px; margin: 28px 0 34px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #d6e0f3; }
.check-list li::before { content: "✓"; display: grid; flex: 0 0 auto; place-items: center; width: 23px; height: 23px; margin-top: 1px; border-radius: 50%; color: #071127; background: var(--cyan); font-size: .72rem; font-weight: 900; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.process-card > span { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 40px; border-radius: 15px; color: var(--blue); background: var(--soft); font-size: .83rem; font-weight: 900; }
.process-card h3 { margin-bottom: 12px; }
.process-card p { margin-bottom: 0; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-grid--full { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 15px 34px rgba(11,21,50,.05); transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition); }
.portfolio-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.portfolio-card.is-hidden { display: none; }
.portfolio-card__image { display: block; overflow: hidden; aspect-ratio: 1.33; background: var(--soft); }
.portfolio-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.portfolio-card:hover .portfolio-card__image img { transform: scale(1.035); }
.portfolio-card__body { padding: 24px 25px 27px; }
.portfolio-card__body > span { color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.portfolio-card h2, .portfolio-card h3 { margin: 9px 0 12px; font-size: 1.35rem; }
.portfolio-card p { margin-bottom: 18px; font-size: .93rem; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 37px; }
.portfolio-filters button { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); background: var(--white); font-size: .88rem; font-weight: 800; transition: all var(--transition); }
.portfolio-filters button:hover, .portfolio-filters button.is-active { color: var(--white); border-color: var(--blue); background: var(--blue); }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 55px; padding: 55px 60px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(135deg, #164ed0, #1f66ff 55%, #16a9c5); box-shadow: var(--shadow-lg); }
.cta-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -95px; top: -120px; border: 45px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta-panel h2 { max-width: 770px; margin-bottom: 16px; }
.cta-panel p { max-width: 760px; margin-bottom: 0; color: #d9e5ff; }
.cta-panel__actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; min-width: 210px; }

.page-hero { position: relative; overflow: hidden; padding: 90px 0; color: var(--white); background: linear-gradient(135deg, #08132e, #132d66); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 85%); }
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 70px; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.page-hero p { max-width: 700px; margin-bottom: 0; color: #c7d4ed; font-size: 1.12rem; }
.page-hero img { max-height: 410px; margin-left: auto; filter: drop-shadow(0 30px 35px rgba(0,0,0,.28)); }
.page-hero--simple { padding: 80px 0; }
.page-hero--simple .container { position: relative; }
.page-hero__steps { display: grid; gap: 13px; }
.page-hero__steps span { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; color: #d7e1f5; background: rgba(255,255,255,.06); }
.page-hero__steps strong { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink); background: var(--cyan); }

.services-list { display: grid; gap: 28px; }
.service-detail { display: grid; grid-template-columns: 210px 1fr; gap: 55px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); scroll-margin-top: 120px; }
.service-detail__visual { position: relative; display: grid; place-items: center; min-height: 190px; border-radius: 24px; background: linear-gradient(145deg, var(--soft), #f7f9fd); }
.service-detail__visual img { width: 110px; }
.service-detail__visual span { position: absolute; top: 17px; left: 18px; color: #a7b4ca; font-size: .75rem; font-weight: 900; }
.service-detail h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.service-detail__lead { color: var(--ink-3); font-size: 1.08rem; font-weight: 700; }
.split-callout { display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: center; gap: 45px; padding: 45px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.split-callout h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.split-callout p { margin-bottom: 0; }

.about-story { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 70px; }
.about-story__content { position: sticky; top: 130px; }
.about-story__content p { font-size: 1.05rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.value-card > span { color: var(--blue); font-size: .8rem; font-weight: 900; }
.value-card h3 { margin: 45px 0 12px; }
.capabilities { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 80px; }
.capabilities h2 { margin-bottom: 0; }
.capabilities__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.capabilities__grid p { margin: 0; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; color: #b9c7e2; background: rgba(255,255,255,.04); }
.capabilities__grid strong, .capabilities__grid span { display: block; }
.capabilities__grid strong { margin-bottom: 8px; color: var(--white); font-size: 1.08rem; }

.project-hero { padding: 85px 0; background: var(--paper); }
.project-hero__grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 70px; }
.project-hero h1 { margin: 18px 0 24px; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.project-hero p { font-size: 1.08rem; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--muted); font-weight: 700; }
.project-meta { display: flex; gap: 30px; margin: 28px 0; }
.project-meta span, .project-meta strong { display: block; }
.project-meta span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.project-meta strong { margin-top: 4px; color: var(--ink); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.project-hero__image { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.project-hero__image img { width: 100%; }
.project-content { display: grid; grid-template-columns: 1fr 360px; align-items: start; gap: 70px; }
.project-content__main { max-width: 800px; }
.project-content__aside { position: sticky; top: 125px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.project-content__aside .button + .button { margin-top: 10px; }

.form-layout { display: grid; grid-template-columns: 360px 1fr; align-items: start; gap: 52px; }
.contact-layout { display: grid; grid-template-columns: 410px 1fr; align-items: start; gap: 52px; }
.form-sidebar, .contact-panel { position: sticky; top: 125px; }
.form-sidebar h2, .contact-panel h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.contact-mini-card { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-mini-card span, .contact-mini-card a { display: block; }
.contact-mini-card span { margin-bottom: 13px; color: var(--muted); font-size: .85rem; }
.contact-mini-card a { margin-top: 7px; color: var(--blue); font-weight: 800; }
.contact-panel { padding: 35px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(145deg, #0a1734, #173a7e); box-shadow: var(--shadow-md); }
.contact-panel p { color: #c2d0ea; }
.contact-panel dl { display: grid; gap: 0; margin: 30px 0; }
.contact-panel dl div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-panel dt { color: #8ea6d2; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-panel dd { margin: 6px 0 0; }
.contact-panel__socials { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-panel__socials a { padding: 9px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; font-weight: 700; }
.form-card { padding: clamp(25px, 4vw, 50px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.form-section-title { display: flex; align-items: flex-start; gap: 17px; margin: 8px 0 27px; }
.form-section-title:not(:first-of-type) { margin-top: 46px; padding-top: 40px; border-top: 1px solid var(--line); }
.form-section-title > span { display: grid; flex: 0 0 auto; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: var(--blue); background: var(--soft); font-size: .77rem; font-weight: 900; }
.form-section-title h2 { margin-bottom: 4px; font-size: 1.55rem; }
.form-section-title p { margin-bottom: 0; font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field--full { grid-column: 1 / -1; }
.field label, .radio-group legend { display: block; margin-bottom: 8px; color: var(--ink-3); font-size: .88rem; font-weight: 800; }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
    width: 100%; border: 1px solid #cfd8e8; border-radius: 12px; outline: 0;
    color: var(--ink); background: #fbfcfe; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.field input, .field select { height: 52px; padding: 0 15px; }
.field textarea { min-height: 150px; padding: 14px 15px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(31,102,255,.1); }
.field-help { display: flex; justify-content: space-between; gap: 15px; margin-top: 6px; color: #8b97ae; font-size: .75rem; }
.field-error { display: block; margin-top: 7px; color: var(--danger); font-size: .78rem; font-weight: 700; }
.field-error--consent { margin: -6px 0 17px 32px; }
.radio-group { margin: 0; padding: 0; border: 0; }
.radio-group > label { display: inline-flex; align-items: center; gap: 7px; margin: 4px 17px 0 0; font-weight: 600; }
.radio-group input { accent-color: var(--blue); }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 28px 0 18px; color: var(--muted); font-size: .85rem; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }
.consent strong { color: var(--danger); }
.form-note { margin: 12px 0 0; text-align: center; font-size: .76rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.alert { margin-bottom: 28px; padding: 17px 19px; border-radius: 14px; }
.alert strong, .alert p { display: block; }
.alert p { margin: 4px 0 0; color: inherit; }
.alert--error { color: var(--danger); border: 1px solid #f5c7c1; background: var(--danger-soft); }

.thank-you { min-height: 690px; display: grid; place-items: center; padding: 100px 0; background: radial-gradient(circle at 50% 20%, rgba(31,102,255,.11), transparent 33%), var(--paper); }
.thank-you__inner { max-width: 790px; text-align: center; }
.success-mark { display: grid; place-items: center; width: 90px; height: 90px; margin: 0 auto 28px; border-radius: 50%; color: var(--white); background: linear-gradient(145deg, var(--success), #18a77c); box-shadow: 0 22px 45px rgba(8,127,91,.23); font-size: 2.4rem; font-weight: 900; }
.thank-you h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 5vw, 4rem); }
.thank-you > p { font-size: 1.1rem; }
.reference-box { display: inline-grid; grid-template-columns: 1fr auto; gap: 5px 15px; align-items: center; margin: 20px auto 30px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; text-align: left; background: var(--white); box-shadow: var(--shadow-sm); }
.reference-box span { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.reference-box strong { font-size: 1.2rem; letter-spacing: .05em; }
.reference-box button { border: 0; color: var(--blue); background: transparent; font-weight: 800; }
.thank-you__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.legal-content { max-width: 880px; }
.legal-content h2 { margin: 44px 0 15px; font-size: 1.65rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 1.02rem; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.error-page { min-height: 670px; display: grid; place-items: center; padding: 90px 0; text-align: center; background: var(--paper); }
.error-page__inner { max-width: 700px; }
.error-page__inner > span { display: block; color: var(--blue); font-size: clamp(5rem, 15vw, 11rem); font-weight: 900; line-height: .9; opacity: .18; }
.error-page h1 { margin-top: -15px; font-size: clamp(2.3rem, 5vw, 4rem); }

.site-footer { margin-top: 80px; padding-top: 75px; color: var(--white); background: #071127; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1fr .7fr; gap: 55px; padding-bottom: 55px; }
.footer-brand img { width: 214px; margin-bottom: 23px; }
.footer-brand p { max-width: 340px; margin-bottom: 8px; color: #c0cce3; }
.footer-muted { color: #8697b8 !important; font-size: .87rem; }
.site-footer h2 { margin: 5px 0 20px; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #aebbd4; font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { padding: 9px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #c4d0e7; font-size: .84rem; font-weight: 700; }
.social-links a:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.footer-bottom { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: #7f90b0; font-size: .8rem; }
.footer-bottom div { display: flex; gap: 20px; color: #91a0bd; font-size: .8rem; }
.floating-whatsapp { position: fixed; right: 23px; bottom: 23px; z-index: 900; display: grid; place-items: center; width: 58px; height: 58px; border: 4px solid var(--white); border-radius: 50%; color: var(--white); background: #17a673; box-shadow: 0 14px 32px rgba(0,0,0,.2); font-size: .78rem; font-weight: 900; transition: transform var(--transition); }
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal--delay { transition-delay: 120ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }



/* Demande de devis rapide sur la page d’accueil */
.section--quick-quote {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 15%, rgba(22, 199, 215, .18), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(31, 102, 255, .25), transparent 34%),
        #08142f;
}
.section--quick-quote::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.quick-quote { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.quick-quote__content { max-width: 470px; }
.quick-quote__content h2 { margin: 15px 0 22px; }
.quick-quote__content > p { color: #bdc9df; font-size: 1.05rem; }
.check-list--light li { color: #d5deee; }
.check-list--light li::before { color: #071127; background: #56deea; }
.text-link--light { color: #fff; }
.quick-quote__form { padding: 38px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius-lg); color: var(--ink); background: rgba(255,255,255,.98); box-shadow: var(--shadow-lg); }
.quick-quote__form .form-grid { gap: 18px; }
.quick-quote__form .field textarea { min-height: 122px; }
.consent--compact { margin: 22px 0 17px; }

@media (max-width: 1100px) {
    .topbar p { display: none; }
    .topbar__inner { justify-content: center; }
    .main-nav { gap: 18px; }
    .main-nav > a:not(.button) { font-size: .86rem; }
    .hero__grid { gap: 35px; }
    .services-grid, .portfolio-grid, .portfolio-grid--full { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.25fr .8fr 1fr; }
    .footer-grid section:last-child { grid-column: 2 / -1; }
    .split-callout { grid-template-columns: 1fr 1fr; }
    .quick-quote { gap: 45px; }
    .split-callout .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 920px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .topbar { display: none; }
    .site-header__inner { min-height: 72px; }
    .brand img { width: 185px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: calc(100% + 1px); left: 15px; right: 15px;
        display: grid; gap: 0; padding: 13px; border: 1px solid var(--line); border-radius: 0 0 18px 18px;
        background: var(--white); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all var(--transition);
    }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .main-nav > a:not(.button) { padding: 13px 12px; border-bottom: 1px solid var(--line); }
    .main-nav > a:not(.button)::after { display: none; }
    .nav-cta { margin-top: 10px; }
    .hero { min-height: auto; padding: 75px 0; }
    .hero__grid, .page-hero__grid, .about-preview, .about-story, .capabilities, .project-hero__grid, .form-layout, .contact-layout, .quick-quote { grid-template-columns: 1fr; }
    .hero__visual { max-width: 650px; margin-inline: auto; }
    .page-hero img { max-width: 540px; margin: 10px auto 0; }
    .about-preview__content { order: -1; }
    .about-story__content, .form-sidebar, .contact-panel, .project-content__aside { position: static; }
    .project-content { grid-template-columns: 1fr; }
    .cta-panel { grid-template-columns: 1fr; padding: 45px; }
    .cta-panel__actions { flex-direction: row; min-width: 0; }
    .service-detail { grid-template-columns: 160px 1fr; gap: 35px; }
    .form-layout, .contact-layout { gap: 35px; }
}

@media (max-width: 680px) {
    body { font-size: 15px; }
    .section { padding: 75px 0; }
    .section-heading { display: block; margin-bottom: 34px; }
    .section-heading .text-link { margin-top: 20px; }
    .hero { padding-top: 60px; }
    .hero__actions, .cta-panel__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .button { width: 100%; }
    .hero__proof { display: grid; }
    .hero-card { display: none; }
    .services-grid, .portfolio-grid, .portfolio-grid--full, .process-grid, .values-grid, .capabilities__grid, .form-grid { grid-template-columns: 1fr; }
    .field--full { grid-column: auto; }
    .service-card { min-height: auto; }
    .page-hero { padding: 68px 0; }
    .page-hero__grid { gap: 35px; }
    .service-detail { grid-template-columns: 1fr; padding: 27px; }
    .service-detail__visual { min-height: 145px; }
    .split-callout { grid-template-columns: 1fr; padding: 28px; }
    .split-callout .button { grid-column: auto; width: 100%; }
    .cta-panel { padding: 34px 25px; }
    .project-meta { flex-direction: column; gap: 13px; }
    .form-card, .contact-panel, .quick-quote__form { padding: 25px; border-radius: var(--radius); }
    .radio-group > label { display: flex; margin-bottom: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-grid section:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
    .floating-whatsapp { width: 52px; height: 52px; right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .site-footer, .floating-whatsapp, .button, .portfolio-filters { display: none !important; }
    body { color: #000; background: #fff; }
    .section, .page-hero, .project-hero { padding: 25px 0; color: #000; background: #fff; }
    p { color: #222; }
}

/* ==========================================================
   MEDIATECH-Y V1.1 — Identité officielle issue du logo fourni
   Palette : turquoise / magenta / jaune avec neutres chauds
   ========================================================== */
:root {
    --ink: #162b2a;
    --ink-2: #21403e;
    --ink-3: #365654;
    --blue: #20b8ad;
    --blue-dark: #14847d;
    --cyan: #31c2b8;
    --magenta: #e83f7f;
    --orange: #f5bb17;
    --yellow: #f5bb17;
    --teal: #20b8ad;
    --teal-dark: #0e5f5a;
    --white: #ffffff;
    --paper: #fbfbfa;
    --soft: #eef8f6;
    --line: #dbe9e7;
    --muted: #647d7b;
    --success: #16867f;
    --shadow-sm: 0 12px 30px rgba(18, 68, 64, .08);
    --shadow-md: 0 24px 60px rgba(18, 68, 64, .13);
    --shadow-lg: 0 38px 90px rgba(18, 68, 64, .18);
}
::selection { background: var(--magenta); }
.topbar { background: linear-gradient(90deg, #0d4b47, #126b65); }
.topbar p, .topbar a { color: #d9f4f1; }
.site-header { border-bottom-color: rgba(32,184,173,.14); }
.brand { display: inline-flex; align-items: center; }
.brand__lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 76px !important; height: 50px; object-fit: contain; }
.brand__text { display: grid; line-height: 1.02; }
.brand__text strong { color: #193231; font-size: 1.08rem; font-weight: 900; letter-spacing: .025em; }
.brand__text small { margin-top: 5px; color: #6c7f7d; font-size: .72rem; font-weight: 700; }
.main-nav > a:not(.button)::after { background: linear-gradient(90deg, var(--teal), var(--magenta), var(--yellow)); }
.main-nav > a:not(.button):hover, .main-nav > a.is-active { color: var(--teal-dark); }
.button--primary {
    background: linear-gradient(110deg, #1eaea5 0%, #24bbb0 42%, #e74480 76%, #f5bb17 100%);
    box-shadow: 0 14px 30px rgba(32,184,173,.24);
}
.button--primary:hover { box-shadow: 0 18px 38px rgba(232,63,127,.22); }
.button--ghost:hover { color: var(--teal-dark); border-color: rgba(32,184,173,.38); }
.text-link, .legal-content a, .contact-mini-card a { color: var(--teal-dark); }
.eyebrow { color: var(--magenta); }
.eyebrow::before { background: linear-gradient(90deg, var(--teal), var(--magenta)); }

.hero {
    color: var(--ink);
    background:
        radial-gradient(circle at 78% 18%, rgba(49,194,184,.22), transparent 29%),
        radial-gradient(circle at 90% 72%, rgba(245,187,23,.16), transparent 23%),
        radial-gradient(circle at 11% 15%, rgba(232,63,127,.11), transparent 22%),
        linear-gradient(135deg, #ffffff 0%, #f5fbfa 58%, #fffaf0 100%);
}
.hero::after { opacity: .32; background-image: linear-gradient(rgba(32,184,173,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(32,184,173,.08) 1px, transparent 1px); }
.hero h1 { color: #172f2e; }
.hero h1 span { background: linear-gradient(90deg, #1eafa6 0%, #20b8ad 30%, #e83f7f 70%, #f5bb17 100%); -webkit-background-clip: text; background-clip: text; }
.hero__lead { color: #55726f; }
.hero__proof { color: #4e6f6c; }
.hero__proof span::before { color: #fff; background: linear-gradient(145deg, var(--teal), var(--magenta)); }
.hero-card { border-color: rgba(32,184,173,.2); background: rgba(255,255,255,.92); box-shadow: var(--shadow-md); }
.hero-card strong { color: var(--ink); }
.hero-card span { color: var(--muted); }
.hero__visual > img { filter: drop-shadow(0 32px 30px rgba(16,78,73,.18)); }
.hero__glow--one { background: rgba(32,184,173,.23); }
.hero__glow--two { background: rgba(232,63,127,.16); }

.brand-strip { border-color: rgba(32,184,173,.16); }
.brand-strip__inner span:not(:last-child)::after { color: var(--magenta); }
.section--services { background: linear-gradient(180deg, #fbfefd, #f4faf9); }
.service-card { border-color: rgba(32,184,173,.14); }
.service-card:nth-child(3n+1) { border-top: 4px solid var(--teal); }
.service-card:nth-child(3n+2) { border-top: 4px solid var(--magenta); }
.service-card:nth-child(3n+3) { border-top: 4px solid var(--yellow); }
.service-card__number { color: rgba(32,184,173,.45); }
.service-card a { color: var(--teal-dark); }

.section--dark {
    background:
        radial-gradient(circle at 8% 15%, rgba(232,63,127,.16), transparent 24%),
        radial-gradient(circle at 90% 85%, rgba(245,187,23,.13), transparent 22%),
        linear-gradient(145deg, #0b3432, #105b56 70%, #126a64);
}
.section--quick-quote {
    background:
        radial-gradient(circle at 12% 15%, rgba(232,63,127,.16), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(245,187,23,.20), transparent 34%),
        linear-gradient(145deg, #0b3432, #0f635d);
}
.check-list--light li::before { background: var(--yellow); color: #553c00; }
.process-card > span, .value-card > span { color: var(--magenta); }
.portfolio-card:hover { border-color: rgba(232,63,127,.34); }
.portfolio-card__meta span { color: var(--teal-dark); }
.cta-panel { background: linear-gradient(120deg, #0f615b 0%, #20a99f 58%, #e83f7f 100%); }
.contact-panel { background: linear-gradient(145deg, #0c4945, #116d66); }
.form-section-title > span { color: var(--magenta); background: #fff0f6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(32,184,173,.11); }
.radio-group input, .consent input { accent-color: var(--magenta); }
.success-mark { background: linear-gradient(145deg, var(--teal), var(--magenta)); }

.site-footer {
    position: relative;
    background: #0a3734;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--teal), var(--magenta), var(--yellow)); }
.brand__lockup--footer .brand__text strong { color: #fff; }
.brand__lockup--footer .brand__text small { color: #b9dbd7; }
.footer-brand .brand__lockup { margin-bottom: 23px; }
.footer-brand .brand__mark { width: 78px !important; }
.footer-brand p { color: #c5dfdc; }
.footer-muted { color: #87aaa6 !important; }
.social-links a:hover { background: rgba(32,184,173,.12); border-color: rgba(49,194,184,.5); }
.floating-whatsapp { background: linear-gradient(145deg, #21b9ae, #16867f); }

@media (max-width: 920px) {
    .brand__mark { width: 64px !important; height: 44px; }
    .brand__text strong { font-size: .96rem; }
    .brand__text small { font-size: .66rem; }
}

/* Accès direct à l'administration — V1.2.1 */
.button--admin{gap:8px;border:1px solid rgba(32,184,173,.42);background:#fff;color:var(--teal-dark);box-shadow:0 8px 20px rgba(23,58,72,.06)}.button--admin:hover{border-color:var(--magenta);background:#fff7fa;color:var(--magenta);transform:translateY(-1px)}.button--admin svg{width:17px;height:17px;fill:currentColor}.nav-admin{white-space:nowrap}.main-nav{gap:18px}@media(max-width:1100px){.main-nav{gap:11px}.button--small{padding-inline:13px}.main-nav> a:not(.button){font-size:.83rem}}@media(max-width:860px){.nav-admin,.nav-cta{width:100%;justify-content:center;margin-top:8px}}

/* V1.4.1 — Photos officielles et galeries de réalisations */
.portfolio-card__meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.portfolio-card__meta>span{color:var(--teal-dark);font-size:.75rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.portfolio-card__meta>small{padding:5px 8px;border-radius:999px;background:#eef8f6;color:var(--teal-dark);font-size:.7rem;font-weight:850}.portfolio-card__context{margin-top:-7px!important;color:var(--muted)!important;font-size:.78rem!important;font-weight:750}.section--project-gallery{background:linear-gradient(180deg,#f5fbfa,#fff)}.project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-gallery__item{overflow:hidden;margin:0;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}.project-gallery__item--wide{grid-column:span 2;grid-row:span 2}.project-gallery__item a{display:block;overflow:hidden;height:100%;min-height:240px}.project-gallery__item img{display:block;width:100%;height:100%;min-height:240px;object-fit:cover;transition:transform .45s ease}.project-gallery__item:hover img{transform:scale(1.025)}.project-gallery__item figcaption{padding:13px 16px;color:var(--muted);font-size:.85rem;line-height:1.5}.project-hero__image img{object-fit:cover}
@media(max-width:900px){.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.project-gallery__item--wide{grid-column:span 2;grid-row:auto}}
@media(max-width:620px){.project-gallery{grid-template-columns:1fr}.project-gallery__item--wide{grid-column:auto}.project-gallery__item a,.project-gallery__item img{min-height:220px}}

/* MEDIATECH-Y V1.4.1 — galerie des réalisations */
.portfolio-card__image{position:relative}.portfolio-card__photo-count{position:absolute;right:13px;bottom:13px;display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(23,58,72,.88);color:#fff;font-size:.72rem;font-weight:900;letter-spacing:.04em;backdrop-filter:blur(8px)}.section--project-gallery{background:linear-gradient(180deg,#f5fbfa,#fff)}.project-gallery__count{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(32,184,173,.12);color:var(--teal-dark);font-size:.78rem;font-weight:900}.project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-gallery__item{position:relative;overflow:hidden;margin:0;border-radius:var(--radius);background:var(--soft);box-shadow:0 14px 32px rgba(11,21,50,.08)}.project-gallery__item--wide{grid-column:span 2;grid-row:span 2}.project-gallery__item a{display:block;height:100%;min-height:280px}.project-gallery__item img{width:100%;height:100%;min-height:280px;object-fit:cover;transition:transform .45s ease}.project-gallery__item:hover img{transform:scale(1.025)}.project-gallery__item figcaption{position:absolute;right:0;bottom:0;left:0;padding:16px 18px;background:linear-gradient(180deg,transparent,rgba(10,35,45,.88));color:#fff;font-size:.9rem;font-weight:750}.project-meta{flex-wrap:wrap}.project-meta span{min-width:125px}@media(max-width:900px){.project-gallery{grid-template-columns:1fr 1fr}.project-gallery__item--wide{grid-column:span 2;grid-row:auto}}@media(max-width:620px){.project-gallery{grid-template-columns:1fr}.project-gallery__item--wide{grid-column:auto}.project-gallery__item a,.project-gallery__item img{min-height:240px}}

/* V1.4.2 - Réalisations officielles */
.hero__visual > img,
.about-preview__visual img,
.page-hero img {
    width: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 48px rgba(13, 24, 50, .18);
}

.service-card__icon {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
    padding: 0;
    overflow: hidden;
    background: #eef3f8;
}

.service-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.service-detail__visual {
    min-height: 240px;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(145deg, var(--soft), #f7f9fd);
}

.service-detail__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail__visual span {
    z-index: 1;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 18px rgba(15, 30, 60, .12);
}

/* V1.4.3 — Accès direct TeamLive depuis MEDIATECH-Y */
.button--teamlive {
    gap: 8px;
    color: #fff;
    border: 0;
    background: linear-gradient(120deg, #126b65, #20b8ad 52%, #e83f7f 100%);
    box-shadow: 0 10px 24px rgba(32,184,173,.2);
    white-space: nowrap;
}
.button--teamlive:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(232,63,127,.2); }
.teamlive-dot { width: 9px; height: 9px; border-radius: 999px; background: #f5bb17; box-shadow: 0 0 0 4px rgba(245,187,23,.18); }
.section--teamlive-access { padding-top: 44px; padding-bottom: 44px; background: linear-gradient(135deg,#f4fbfa,#fff8fb); }
.teamlive-access { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: center; gap: 44px; padding: 38px 42px; border: 1px solid rgba(32,184,173,.18); border-radius: 28px; background: #fff; box-shadow: var(--shadow-md); }
.teamlive-access__content h2 { max-width: 850px; margin-bottom: 16px; }
.teamlive-access__content p { max-width: 820px; margin-bottom: 24px; color: var(--muted); }
.teamlive-access__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.teamlive-access__badge { display: grid; place-items: center; min-height: 210px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 25% 20%, rgba(245,187,23,.35), transparent 28%), linear-gradient(145deg,#0e5d58,#20b8ad 55%,#e83f7f); box-shadow: 0 24px 44px rgba(15,97,91,.18); }
.teamlive-access__badge strong { font-size: 4.8rem; line-height: 1; letter-spacing: -.06em; }
.teamlive-access__badge span { margin-top: -28px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
@media(max-width:1100px){.main-nav{gap:8px}.button--small{padding-inline:11px}.nav-teamlive span:last-child{font-size:.82rem}}
@media(max-width:860px){.nav-teamlive{width:100%;justify-content:center;margin-top:8px}.teamlive-access{grid-template-columns:1fr;padding:30px}.teamlive-access__badge{min-height:160px}}

/* V1.4.4 — Hero rotatif TeamLive / MEDIATECH-Y */
.hero-rotator {
    position: relative;
    overflow: hidden;
}

.hero-rotator__viewport {
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(28px);
    transition: opacity .65s ease, transform .65s ease, visibility 0s linear .65s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}

.hero-slide--teamlive {
    background:
        radial-gradient(circle at 85% 18%, rgba(245,187,23,.18), transparent 22%),
        radial-gradient(circle at 10% 85%, rgba(232,63,127,.16), transparent 25%);
}

.teamlive-hero-panel {
    display: grid;
    align-content: center;
    min-height: 480px;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 75% 18%, rgba(245,187,23,.35), transparent 26%),
        linear-gradient(145deg,#0d4e4a 0%,#15968d 48%,#e83f7f 100%);
    box-shadow: 0 28px 58px rgba(15,97,91,.24);
}

.teamlive-hero-panel__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.teamlive-hero-panel__brand > strong {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 24px;
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    font-size: 2.5rem;
    letter-spacing: -.08em;
    backdrop-filter: blur(8px);
}

.teamlive-hero-panel__brand div {
    display: grid;
    gap: 4px;
}

.teamlive-hero-panel__brand span {
    font-size: 1.55rem;
    font-weight: 900;
}

.teamlive-hero-panel__brand small {
    color: rgba(255,255,255,.78);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.teamlive-hero-panel__grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

.teamlive-hero-panel__grid span {
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.10);
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.teamlive-hero-panel__footer {
    display: grid;
    gap: 3px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.20);
}

.teamlive-hero-panel__footer b {
    font-size: 1.05rem;
}

.teamlive-hero-panel__footer span {
    color: rgba(255,255,255,.78);
}

.hero-rotator__controls {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: -6px;
    padding-bottom: 22px;
}

.hero-rotator__arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(32,184,173,.25);
    border-radius: 999px;
    color: var(--teal-dark);
    background: #fff;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.hero-rotator__arrow:hover {
    border-color: var(--magenta);
    color: var(--magenta);
}

.hero-rotator__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-rotator__dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #bfd6d3;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.hero-rotator__dots button.is-active {
    width: 30px;
    background: linear-gradient(90deg,var(--teal),var(--magenta));
}

.hero-rotator__timer {
    margin-left: 6px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

@media (max-width: 860px) {
    .teamlive-hero-panel {
        min-height: 360px;
        padding: 26px;
    }
    .hero-rotator__timer { display: none; }
}

@media (max-width: 560px) {
    .teamlive-hero-panel__grid { grid-template-columns: 1fr; }
    .teamlive-hero-panel__brand > strong { width: 66px; height: 66px; font-size: 2rem; }
    .teamlive-hero-panel__brand span { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; transform: none; }
}
\n\n/* === TeamLive V1.4.5 : Pourquoi TeamLive + VPS dédié === */\n.teamlive-why{position:relative;overflow:hidden;background:linear-gradient(180deg,#f8fcfc 0%,#fff 100%)}\n.teamlive-why::before{content:"";position:absolute;right:-140px;top:-160px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(32,184,173,.12),rgba(32,184,173,0) 70%);pointer-events:none}\n.teamlive-why__grid{position:relative;display:grid;grid-template-columns:1.2fr .8fr;gap:54px;align-items:center}\n.teamlive-why__content h2{max-width:820px;margin:14px 0 20px;font-size:clamp(2rem,3.4vw,3.5rem);line-height:1.08;letter-spacing:-.04em}\n.teamlive-why__content p{max-width:860px;color:var(--muted);font-size:1rem;line-height:1.8}\n.teamlive-why__lead{font-size:1.08rem!important;color:var(--ink)!important}\n.teamlive-why__message{display:grid;gap:4px;margin-top:24px;padding:20px 22px;border-left:4px solid var(--teal);border-radius:0 16px 16px 0;background:#eefaf8}\n.teamlive-why__message strong{color:var(--ink);font-size:1.04rem}\n.teamlive-why__message span{color:var(--teal-dark);font-weight:800}\n.teamlive-why__dedicated{padding:34px;border:1px solid rgba(32,184,173,.22);border-radius:26px;background:linear-gradient(145deg,#0f3150,#144b61 68%,#166b70);box-shadow:0 26px 60px rgba(25,63,78,.16);color:#fff}\n.teamlive-why__badge{display:inline-flex;padding:7px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#b8fff6;background:rgba(32,184,173,.12);font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}\n.teamlive-why__dedicated h3{margin:15px 0 12px;color:#fff;font-size:1.8rem;line-height:1.12}\n.teamlive-why__dedicated p{margin:0;color:rgba(255,255,255,.8);line-height:1.7}\n.teamlive-why__dedicated ul{display:grid;gap:10px;margin:22px 0 26px;padding:0;list-style:none}\n.teamlive-why__dedicated li{position:relative;padding-left:25px;color:rgba(255,255,255,.9);font-size:.92rem}\n.teamlive-why__dedicated li::before{content:"✓";position:absolute;left:0;color:#72e9dc;font-weight:900}\n@media(max-width:900px){.teamlive-why__grid{grid-template-columns:1fr;gap:32px}}\n