/* Swiss Media Pro — feuille de style principale */
:root {
	--red: #e30613;
	--red-dark: #b9040f;
	--navy: #0b1f3a;
	--navy-2: #102a4c;
	--blue: #1d4ed8;
	--blue-light: #4078ff;
	--ink: #14213a;
	--muted: #5b6b82;
	--line: #e3e9f2;
	--soft: #f4f7fb;
	--white: #fff;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(11, 31, 58, .10);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55em; font: 600 1rem/1 var(--font); padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 6, 19, .35); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.link-btn { background: none; border: 0; padding: 0; color: #b9c6dc; text-decoration: underline; cursor: pointer; font: inherit; margin-top: 8px; }
.link-btn:hover { color: #fff; }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .25s, box-shadow .25s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand img { display: block; height: 44px; width: auto; }
.brand .logo-dark { display: none; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover { border-color: var(--red); color: #fff; }
.nav-cta { padding: 12px 20px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2px; background: #fff; position: relative; content: ""; margin: auto; transition: .25s; }
.nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bars::after { position: absolute; top: 7px; left: 0; }
.site-header.is-scrolled, body.is-inner .site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(11, 31, 58, .08); }
.site-header.is-scrolled .logo-light, body.is-inner .site-header .logo-light { display: none; }
.site-header.is-scrolled .logo-dark, body.is-inner .site-header .logo-dark { display: block; }
.site-header.is-scrolled .nav-list a, body.is-inner .nav-list a { color: var(--navy); }
.site-header.is-scrolled .nav-toggle .bars, .site-header.is-scrolled .bars::before, .site-header.is-scrolled .bars::after,
body.is-inner .nav-toggle .bars, body.is-inner .bars::before, body.is-inner .bars::after { background: var(--navy); }

/* Hero */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: center; background: radial-gradient(1200px 700px at 80% 30%, #16396b 0%, transparent 60%), linear-gradient(160deg, #081529 0%, var(--navy) 55%, #0d2a52 100%); color: #fff; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-glow { position: absolute; inset: auto -10% -35% -10%; height: 60%; background: radial-gradient(closest-side, rgba(227, 6, 19, .28), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 30px) 0 110px; }
.hero-slides { position: relative; min-height: 380px; max-width: 640px; }
.hero-slide { position: absolute; inset: 0 auto auto 0; opacity: 0; visibility: hidden; transform: translateY(22px); transition: opacity .35s, transform .35s, visibility .35s; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: #ff8a92; margin-bottom: 18px; }
.kicker--dark { color: var(--red); }
.hero-title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: .45em; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3def0; max-width: 54ch; margin-bottom: 1.7em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-controls { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.hero-arrow, .hero-play { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.1rem; cursor: pointer; transition: .2s; }
.hero-play { font-size: .7rem; }
.hero-arrow:hover, .hero-play:hover { background: #fff; color: var(--navy); }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 6px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .28); cursor: pointer; padding: 0; overflow: hidden; position: relative; }
.hero-dot.is-active { background: rgba(255, 255, 255, .28); }
.hero-dot.is-active::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: dot 4.2s linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* Bandeau d'atouts */
.strip { background: var(--navy-2); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip-grid div { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding-left: 14px; }
.strip-grid span { color: #b9c6dc; font-size: .92rem; }

/* Sections */
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: linear-gradient(160deg, var(--navy) 0%, #0d2a52 100%); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.section-head p:last-child { color: var(--muted); }
.section--dark .section-head p:last-child { color: #b9c6dc; }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px 24px; }
.step-num { display: block; font-size: 2.6rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; }
.step p { color: #c4d0e6; margin: 0; font-size: .96rem; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: 9px 18px; border-radius: 999px; font: 600 .92rem var(--font); cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.work { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, opacity .3s; }
.work[hidden] { display: none; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-link { display: block; color: inherit; text-decoration: none; }
.work-visual { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; }
.work-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s; }
.work:hover .work-visual img { transform: scale(1.05); }
.work-visual.has-shot::after { display: none; }
.work-visual.has-shot::before { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(7, 20, 42, .65)); z-index: 1; }
.work-visual.has-shot .work-host { z-index: 2; }
.work-mark { font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; opacity: .95; }
.work-host { position: absolute; left: 16px; bottom: 12px; font-size: .82rem; font-weight: 600; opacity: .85; background: rgba(0, 0, 0, .22); padding: 3px 10px; border-radius: 999px; }
.work-visual::after { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; top: -60px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.v1 { background: linear-gradient(135deg, #0b1f3a, #1d4ed8); }
.v2 { background: linear-gradient(135deg, #b9040f, #e30613 60%, #ff6b74); }
.v3 { background: linear-gradient(135deg, #102a4c, #4078ff); }
.v4 { background: linear-gradient(135deg, #1d4ed8, #0b1f3a 70%); }
.v5 { background: linear-gradient(135deg, #e30613, #0b1f3a); }
.v6 { background: linear-gradient(135deg, #0d2a52, #e30613 120%); }
.work-body { padding: 20px 22px 24px; }
.work-cat { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.work-body h3 { font-size: 1.2rem; margin: 6px 0 8px; display: flex; align-items: center; gap: 8px; }
.work-body h3 .icon { width: 16px; height: 16px; color: var(--muted); }
.work-body p { color: var(--muted); font-size: .94rem; margin: 0; }

/* À propos */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 5px #fff, 0 0 0 2px var(--red); }
.about-visual { position: relative; min-height: 340px; }
.orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #6c95ff, var(--blue) 45%, var(--navy) 100%); width: 280px; height: 280px; left: 15%; top: 8%; box-shadow: 0 30px 60px rgba(11, 31, 58, .3); animation: float 7s ease-in-out infinite; }
.orb--2 { width: 130px; height: 130px; left: 62%; top: 52%; background: radial-gradient(circle at 30% 30%, #ff7a83, var(--red) 50%, #7a020a 100%); animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.contact-info > p { color: #c4d0e6; }
.contact-list { list-style: none; margin: 26px 0; padding: 0; }
.contact-list li { margin-bottom: 16px; }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #ff8a92; }
.contact-list a { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 4px rgba(64, 120, 255, .18); }
.field .is-invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.check input { margin-top: 4px; accent-color: var(--red); }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #0a7a3c; }
.form-status.err { color: var(--red); }

/* Pied de page */
.site-footer { background: #07142a; color: #b9c6dc; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 36px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.site-footer a { color: #b9c6dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding: 20px 0; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Pages intérieures */
.page-hero { background: linear-gradient(160deg, var(--navy), #0d2a52); color: #fff; padding: calc(var(--header-h) + 56px) 0 56px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1em 0 1.5em; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--soft); }
.entry { border-bottom: 1px solid var(--line); padding-bottom: 1em; }

/* Chat */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font: 700 .95rem var(--font); cursor: pointer; box-shadow: 0 12px 30px rgba(227, 6, 19, .4); transition: transform .2s; }
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab .icon { width: 22px; height: 22px; }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 95; width: min(380px, calc(100vw - 24px)); }
.chat-panel { background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(7, 20, 42, .35); overflow: hidden; display: flex; flex-direction: column; max-height: min(600px, calc(100vh - 44px)); animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.chat-status { display: block; font-size: .8rem; color: #cfe0ff; }
.chat-status::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #3ddc84; border-radius: 50%; margin-right: 6px; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.chat-log { padding: 16px; overflow-y: auto; flex: 1; min-height: 220px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { color: var(--muted); font-style: italic; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 0; background: #fff; }
.chat-chips:empty { display: none; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px 14px; background: #fff; }
.chat-form input { flex: 1; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px; }
.chat-form input:focus { outline: none; border-color: var(--blue-light); }
.chat-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-send .icon { width: 20px; height: 20px; }

/* Cookies */
.cookie { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 120; width: min(720px, calc(100vw - 24px)); background: #fff; border-radius: 18px; box-shadow: 0 25px 70px rgba(7, 20, 42, .35); border: 1px solid var(--line); animation: pop .3s ease-out; }
.cookie-body { padding: 22px 24px; }
.cookie h2 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie p { font-size: .93rem; color: var(--muted); margin-bottom: 14px; }
.cookie-options { margin-bottom: 14px; display: grid; gap: 8px; }
.switch { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.switch input { accent-color: var(--red); width: 18px; height: 18px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { padding: 12px 20px; font-size: .92rem; }

/* Animations d'apparition */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.strip-grid { grid-template-columns: repeat(2, 1fr); }
	.about, .contact { grid-template-columns: 1fr; gap: 36px; }
	.about-visual { min-height: 260px; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; transform: translateY(-120%); transition: transform .3s; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
	.primary-nav.is-open { transform: none; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a, .site-header.is-scrolled .nav-list a, body.is-inner .nav-list a { display: block; padding: 14px 0; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.nav-cta { margin-top: 16px; justify-content: center; }
	.hero-slides { min-height: 420px; }
	.hero-inner { padding-bottom: 90px; }
	.hero-title { text-shadow: 0 2px 20px rgba(8, 21, 41, .6); }
}
@media (max-width: 600px) {
	.section { padding: 68px 0; }
	.steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
	.chat-fab span { display: none; }
	.chat-fab { padding: 15px; }
	.form { padding: 22px; }
	.cookie-actions { justify-content: stretch; }
	.cookie-actions .btn { flex: 1; justify-content: center; }
	.strip-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Témoignages (carrousel) */
.tcarousel { position: relative; }
.t-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; -webkit-overflow-scrolling: touch; }
.t-track::-webkit-scrollbar { display: none; }
.t-slide { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; position: relative; transition: box-shadow .25s, transform .25s; }
.t-slide:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.t-slide::before { content: "\201C"; position: absolute; top: 6px; right: 20px; font: 800 5rem/1 Georgia, serif; color: var(--red); opacity: .18; }
.t-slide blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.t-slide blockquote p:last-child { margin-bottom: 0; }
.t-slide figcaption { display: flex; align-items: center; gap: 14px; }
.t-slide figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.t-slide em { font-style: normal; color: var(--muted); font-size: .88rem; }
.t-avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid !important; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-weight: 800; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.t-arrow { border-color: var(--line); background: #fff; color: var(--navy); }
.t-arrow:hover { background: var(--navy); color: #fff; }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #c8d2e3; cursor: pointer; transition: .2s; }
.t-dot.is-active { background: var(--red); width: 26px; border-radius: 9px; }
@media (max-width: 1000px) { .t-slide { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .t-slide { flex-basis: 88%; } }
.t-stars { margin: 0 0 8px; color: #f5a623; font-size: 1.15rem; letter-spacing: 2px; }
.t-head { font-size: 1.12rem; margin: 0 0 10px; color: var(--navy); }

/* Formulaire complet */
.form-wrap { position: relative; }
.form fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.form legend { font-weight: 800; font-size: 1rem; color: var(--navy); padding: 0; margin: 6px 0 14px; display: flex; align-items: center; gap: 8px; }
.form legend::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--red); }
.form legend .opt { font-weight: 500; color: var(--muted); font-size: .86rem; }
.form-intro { margin: 0 0 14px; color: var(--muted); font-size: .88rem; }
.field { position: relative; }
.counter { position: absolute; right: 10px; bottom: 8px; font-size: .75rem; color: var(--muted); background: rgba(255, 255, 255, .85); padding: 0 4px; }
.field select { appearance: auto; }
.drop { border: 2px dashed #c8d2e3; border-radius: 14px; background: var(--soft); transition: .2s; }
.drop.is-over, .drop:focus-within { border-color: var(--blue-light); background: #eaf0ff; }
.drop-label { display: block; padding: 20px 16px; text-align: center; cursor: pointer; font-size: .95rem; }
.drop-label strong { color: var(--blue); }
.drop-label small { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .9rem; }
.file-list .fn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-list .fs { color: var(--muted); font-size: .8rem; }
.file-list button { border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.file-list button:hover { color: var(--red); }
.send-progress { width: 100%; height: 8px; margin-top: 14px; accent-color: var(--red); }
.antispam-note { margin: 12px 0 0; font-size: .78rem; color: var(--muted); }
.form-success { background: #fff; color: var(--ink); border-radius: 20px; padding: 44px 32px; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.form-success:focus { outline: none; }
.ok-mark { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e6f7ee; color: #0a7a3c; font-size: 2rem; font-weight: 800; }
.form-success .ref { color: var(--muted); }
.form-success .btn { margin-top: 10px; }

/* Correctifs formulaire / barre d'administration */
.field.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.field .is-invalid, .field .is-invalid:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .15); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } body.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); } }

/* Brochure (hero) */
.hero-brochure { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 20px 10px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; backdrop-filter: blur(6px); transition: background .2s, transform .2s, border-color .2s; }
.hero-brochure:hover, .hero-brochure:focus-visible { background: rgba(255, 255, 255, .16); border-color: #fff; transform: translateY(-2px); }
.hero-brochure svg { flex: none; box-sizing: content-box; width: 20px; height: 20px; padding: 8px; border-radius: 50%; background: #e30613; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-brochure small { display: block; font-weight: 400; font-size: .74rem; opacity: .75; }
.hero-brochure + .hero-controls { margin-top: 22px; }

/* FAQ */
.faq-list { max-width: 820px; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line, #e3e9f2); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #c9d6ea; box-shadow: 0 8px 24px rgba(11, 31, 58, .07); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; color: #0b1f3a; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; border-radius: 14px; }
.faq-item summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #f4f7fb; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #e30613; transition: transform .25s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 22px 20px; color: #5b6b82; }
.faq-a p { margin: 0; }

/* Ebook */
.ebook { background: linear-gradient(180deg, #fff 0%, #f4f7fb 100%); }
.ebook-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.ebook-pitch h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.ebook-lead { color: var(--muted); max-width: 520px; }
.ebook-points { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.ebook-points li { position: relative; padding-left: 28px; }
.ebook-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e30613; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.ebook-cover { display: block; width: min(260px, 70%); height: auto; border-radius: 6px; box-shadow: 0 22px 50px rgba(11, 31, 58, .28); transform: rotate(-3deg); }
.ebook-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; box-shadow: 0 18px 50px rgba(11, 31, 58, .1); }
.ebook-card h3 { margin: 0 0 6px; }
.ebook-card .field { margin-bottom: 14px; }
.ebook-card .field-row { margin-bottom: 0; }
.ebook-card .check { margin: 6px 0 12px; }
@media (max-width: 860px) { .ebook-grid { grid-template-columns: 1fr; gap: 34px; } .ebook-cover { width: 200px; } }
.ebook-card .form-success { box-shadow: none; padding: 18px 0; }

/* Sélecteur de langue */
.lang-switch { color: #fff; text-decoration: none; font-weight: 700; font-size: .78rem; letter-spacing: .08em; padding: 7px 11px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 999px; transition: background .2s, border-color .2s; }
.lang-switch:hover, .lang-switch:focus-visible { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.site-header.is-scrolled .lang-switch, body.is-inner .site-header .lang-switch { color: var(--navy); border-color: var(--line); }
.site-header.is-scrolled .lang-switch:hover, body.is-inner .site-header .lang-switch:hover { background: var(--soft); border-color: var(--navy); color: var(--navy); }
@media (min-width: 1001px) and (max-width: 1180px) { .primary-nav { gap: 16px; } .nav-list { gap: 16px; } .nav-list a { font-size: .9rem; } }
@media (max-width: 1000px) { .lang-switch, .site-header.is-scrolled .lang-switch, body.is-inner .site-header .lang-switch { align-self: flex-start; margin-top: 16px; color: #fff; border-color: rgba(255, 255, 255, .55); } .lang-switch + .nav-cta { margin-top: 12px; } }

/* Avion qui descend la page jusqu'au pied de page */
.plane-tour { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(7, 20, 42, .28)); }
@media print { .plane-tour { display: none; } }

/* Retour en haut (pied de page) */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .88rem; text-decoration: none !important; transition: background .2s, transform .2s; }
.to-top:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Documents gratuits (guide + dossier d'audit) */
.ebook-docs { display: grid; gap: 18px; margin-top: 26px; }
.ebook-doc { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 10px 28px rgba(11, 31, 58, .07); }
.ebook-doc img { width: 92px; height: auto; border-radius: 5px; box-shadow: 0 10px 24px rgba(11, 31, 58, .25); }
.ebook-doc h3 { font-size: 1.05rem; margin: 0 0 6px; }
.ebook-doc p { margin: 0 0 8px; color: var(--muted); font-size: .94rem; }
.ebook-meta { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--red); letter-spacing: .06em; text-transform: uppercase; }
.doc-pick { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.doc-pick legend { font-weight: 700; font-size: .92rem; color: var(--navy); padding: 0; margin-bottom: 6px; }
.doc-pick .check { margin: 4px 0; }

/* V1.1 – Femme IA dynamique : parallaxe souris/scroll, tête vivante, balayage lumineux, particules */
.hero { background-color: #081529; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-repeat: no-repeat; z-index: 1; background-image: linear-gradient(90deg, rgba(5,14,33,.94) 0%, rgba(5,14,33,.82) 30%, rgba(5,14,33,.38) 58%, rgba(5,14,33,.10) 100%); background-position: center; animation: none; transform: none; filter: none; }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: radial-gradient(circle at 72% 14%, rgba(62,191,255,.33), transparent 19%), radial-gradient(circle at 82% 58%, rgba(237,94,251,.20), transparent 24%); mix-blend-mode: screen; animation: smp-energy-pulse 3.6s ease-in-out infinite alternate; }
@keyframes smp-energy-pulse { 0% { opacity: .3; transform: translate3d(-1.3%, 0, 0) scale(.98); } 100% { opacity: .7; transform: translate3d(1%, -1.2%, 0) scale(1.05); } }
.hero-canvas { z-index: 2; opacity: 1; pointer-events: none; } .hero-glow { z-index: 1; } .hero-inner { z-index: 3; } .hero .scroll-hint { z-index: 3; }
@media (max-width: 600px) { .hero-canvas { opacity: .8; } .hero::after { opacity: .35; } }
.hero-ai { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; --mx: 0; --my: 0; --sc: 0; --br: 0; --hs: 0; }
.hero-ai-photo, .hero-ai-head { position: absolute; inset: -6%; background: url('../img/hero-femme-ia.webp') 60% center / cover no-repeat; will-change: transform; }
.hero-ai-photo { transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -12px - var(--sc) * 60px), 0) scale(calc(1.06 + var(--br) * .025)); transform-origin: 68% 50%; filter: brightness(calc(1 + var(--br) * .08)) saturate(calc(1.05 + var(--br) * .12)); }
/* calque « tête » : même image, visible seulement autour du visage et des cheveux, bouge davantage pour donner du volume */
.hero-ai-head { -webkit-mask-image: radial-gradient(ellipse 15% 26% at 72% 12%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 15% 26% at 72% 12%, #000 30%, transparent 100%);
  transform-origin: 72% 20%; transform: translate3d(calc(var(--mx) * -22px + var(--mx) * -7px + var(--hs) * 3px), calc(var(--my) * -12px - var(--my) * 5px - var(--sc) * 60px), 0) rotate(calc(var(--mx) * -.5deg + var(--hs) * .35deg)) scale(calc(1.06 + var(--br) * .025 + .004)); filter: brightness(calc(1 + var(--br) * .08)) saturate(calc(1.05 + var(--br) * .12)); }
.hero-ai-sweep { position: absolute; inset: 0; mix-blend-mode: screen; opacity: .55;
  background: linear-gradient(105deg, transparent 38%, rgba(120,210,255,.0) 42%, rgba(120,210,255,.28) 50%, rgba(237,94,251,.18) 54%, transparent 60%); background-size: 260% 100%; animation: smp-sweep 7s linear infinite; }
@keyframes smp-sweep { 0% { background-position: 130% 0; } 100% { background-position: -80% 0; } }
.hero-ai-fx { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
@media (max-width: 860px) {
  .hero::before { background-image: linear-gradient(90deg, rgba(5,14,33,.89), rgba(5,14,33,.60)); }
  .hero-ai-photo, .hero-ai-head { background-position: 62% center; }
}
@media (max-width: 600px) {
  .hero::before { background-image: linear-gradient(180deg, rgba(5,14,33,.79) 0%, rgba(5,14,33,.73) 65%, rgba(5,14,33,.85) 100%); }
  .hero-ai-head { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-ai-sweep { animation: none; opacity: .2; } .hero-ai-photo, .hero-ai-head { transform: scale(1.06) !important; } }

/* Avion en premier plan : traverse tout le hero, au-dessus du texte et de la femme */
.hero-plane { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(3, 10, 25, .45)); }
