/* ==========================================================================
   Arréa : feuille de style du site arreacorporate.com
   Charte : orange #E58027, braise #DD5A2A, terre cuite #C2461C, bleu #251FC2,
   nuit #050409, crème #FBF6F1. Polices : Montserrat (titres) et Inter (textes).
   ========================================================================== */

:root {
  --orange: #E58027;
  --braise: #DD5A2A;
  --terre: #C2461C;
  --bleu: #251FC2;
  --nuit: #050409;
  --nuit-2: #12101A;
  --creme: #FBF6F1;
  --sable: #ECE6DF;
  --sable-2: #D9D1C7;
  --ardoise: #5C5866;
  --texte: #16141C;
  --texte-2: #3A3644;
  --peche: #FFF1E6;
  --lilas: #ECEBFB;
  --gris-clair: #B9B4C4;
  --grad: linear-gradient(135deg, var(--orange), var(--braise));
  --ombre: 0 30px 60px -28px rgba(5, 4, 9, .28);
  --ombre-forte: 0 40px 80px -40px rgba(5, 4, 9, .5);
  --titre: 'Montserrat', system-ui, sans-serif;
  --corps: 'Inter', system-ui, sans-serif;
  --gouttiere: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--texte); font: 17px/1.65 var(--corps); overflow-x: hidden; }
img, video, svg { max-width: 100%; }
img, video { display: block; }
a { color: var(--bleu); }
a:hover { color: #1A1590; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--nuit); color: #FFFFFF; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; color: #FFFFFF; }

/* ---------- Mise en page ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: 104px 0; }
.section--creme { background: var(--creme); }
.section--nuit { background: var(--nuit); color: #FFFFFF; }
.section--tight-top { padding-top: 0; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Typographie ---------- */
.eyebrow { margin: 0 0 14px; font: 700 13px/1.4 var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--terre); }
.section--nuit .eyebrow { color: var(--orange); }
.h1 { margin: 0; font: 800 clamp(40px, 5.4vw, 74px)/1.06 var(--titre); letter-spacing: -.025em; }
.h2 { margin: 0; font: 800 clamp(32px, 3.9vw, 50px)/1.1 var(--titre); letter-spacing: -.02em; }
.h3 { margin: 0; font: 800 clamp(22px, 2vw, 26px)/1.22 var(--titre); }
.lead { margin: 22px 0 0; max-width: 560px; font-size: 19px; color: var(--texte-2); }
.muted { color: var(--ardoise); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose p { margin: 0 0 14px; color: var(--texte-2); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 700 15px/1 var(--titre); text-decoration: none; cursor: pointer; transition: transform .35s ease, box-shadow .35s ease, background .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.btn--primary { background: var(--terre); color: #FFFFFF; }
.btn--primary:hover { color: #FFFFFF; background: #AD3D18; }
.btn--dark { background: var(--nuit); color: #FFFFFF; }
.btn--dark:hover { color: #FFFFFF; }
.btn--outline { background: #FFFFFF; border-color: var(--texte); color: var(--texte); }
.btn--outline:hover { color: var(--texte); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #FFFFFF; }
.btn--outline-light:hover { color: #FFFFFF; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn .arw, .lift .arw { transition: transform .3s ease; }
.btn:hover .arw, .lift:hover .arw { transform: translateX(5px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--titre); text-decoration: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Pastilles d'icônes ---------- */
.ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; }
.ico--sm { width: 38px; height: 38px; border-radius: 12px; }
.ico--lg { width: 54px; height: 54px; border-radius: 16px; }
.ico--peche { background: var(--peche); color: var(--terre); }
.ico--lilas { background: var(--lilas); color: var(--bleu); }
.ico--terre { background: var(--terre); color: #FFFFFF; }
.ico--nuit { background: var(--nuit); color: #FFFFFF; }

/* ---------- Cartes et effets ---------- */
.card { border-radius: 26px; border: 1px solid var(--sable); background: #FFFFFF; }
.lift { transition: transform .35s ease, box-shadow .35s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.zoom { overflow: hidden; }
.zoom img, .zoom video { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.zoom:hover img, .zoom:hover video { transform: scale(1.06); }
.feature { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .85); border: 1px solid var(--sable); }
.feature b { display: block; font: 700 16px/1.3 var(--titre); }
.feature span span { display: block; font-size: 14px; color: var(--ardoise); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1.4 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--terre); }

/* ---------- Puces de filtre ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sable-2); background: #FFFFFF; color: var(--texte-2); font: 600 14px var(--titre); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--texte); }
.chip[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: #FFFFFF; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--sable); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(5, 4, 9, .35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; font: 600 15px var(--titre); }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--texte); text-decoration: none; transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--creme); }
.nav a[aria-current="page"] { background: var(--peche); color: var(--terre); }
.nav .btn { margin-left: 10px; min-height: 46px; padding: 0 22px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--sable); background: #FFFFFF; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--texte); position: relative; transition: transform .3s, background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 81px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: #FFFFFF; border-bottom: 1px solid var(--sable); box-shadow: 0 30px 50px -30px rgba(5, 4, 9, .4); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { min-height: 52px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ==========================================================================
   En-têtes de page
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 88% 5%, #FFE9D6, rgba(255, 233, 214, 0) 70%), radial-gradient(600px 400px at 0% 100%, #EEEDFB, rgba(238, 237, 251, 0) 70%), var(--creme); }
.page-hero .wrap { position: relative; padding-top: 56px; padding-bottom: 88px; }
.page-hero__line { position: absolute; left: 0; bottom: 0; width: 100%; height: 320px; pointer-events: none; }
.crumbs { font-size: 14px; color: var(--ardoise); }
.crumbs a { color: var(--ardoise); }
.crumbs [aria-current] { color: var(--texte); font-weight: 600; }
.page-hero .h1 { margin-top: 18px; max-width: 860px; }

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 85% 10%, #FFE9D6 0%, rgba(255, 233, 214, 0) 70%), radial-gradient(700px 500px at 0% 100%, #EEEDFB 0%, rgba(238, 237, 251, 0) 70%), var(--creme); }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.hero__text { flex: 1 1 460px; min-width: 0; }
.hero__art { flex: 1 1 480px; min-width: 0; display: flex; justify-content: center; }
.rotator { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: bottom; }
.rotator > span { display: block; animation: words 11s cubic-bezier(.75, 0, .25, 1) infinite; }
.rotator > span > span { display: block; height: 1.1em; }
.rotator .is-blue { color: var(--bleu); }
.hero .h1 { line-height: 1.1; }

.compo { position: relative; width: 100%; max-width: 620px; aspect-ratio: 620 / 560; }
.compo > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 22px rgba(229, 128, 39, .35)); }
.compo__item { position: absolute; }
.mock { background: #FFFFFF; border: 1px solid var(--sable); box-shadow: 0 30px 60px -30px rgba(5, 4, 9, .3); }
.bar { display: block; border-radius: 6px; transform-origin: left; }

.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--fade { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.band { background: var(--nuit); color: #FFFFFF; padding: 22px 0; }
.band__item { display: inline-flex; align-items: center; gap: 12px; padding-right: 56px; font: 700 20px var(--titre); white-space: nowrap; }

.svc-card { display: flex; flex-direction: column; border-radius: 28px; border: 1px solid var(--sable); background: #FFFFFF; text-decoration: none; color: var(--texte); overflow: hidden; }
.svc-card:hover { color: var(--texte); }
.svc-card__art { position: relative; height: 240px; overflow: hidden; }
.svc-card__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.svc-card__body p { margin: 0; color: var(--ardoise); font-size: 16px; }
.svc-card__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--titre); color: var(--bleu); }

.devis-banner { display: flex; flex-wrap: wrap; border-radius: 36px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--sable); box-shadow: 0 40px 80px -50px rgba(5, 4, 9, .35); }
.devis-banner__text { flex: 1 1 520px; min-width: 0; padding: 64px 56px; }
.devis-banner__art { flex: 1 1 420px; min-width: 0; min-height: 460px; position: relative; background: radial-gradient(420px 320px at 55% 45%, #2A1A22 0%, #0B0910 70%), var(--nuit); display: flex; align-items: center; justify-content: center; padding: 48px; }
.steps-mini { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.steps-mini li { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: var(--creme); border: 1px solid var(--sable); font: 700 15px/1.3 var(--titre); }

.work-tile { position: relative; display: block; min-width: 0; min-height: 320px; border-radius: 28px; overflow: hidden; background: var(--nuit); text-decoration: none; color: #FFFFFF; }
.work-tile:hover { color: #FFFFFF; }
.work-tile > img, .work-tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(0deg, rgba(5, 4, 9, .9), rgba(5, 4, 9, 0)); }
.work-tile__cap strong { display: block; margin-top: 10px; font: 800 22px/1.25 var(--titre); }
.work-tile--wide { grid-column: span 2; min-height: 380px; }
.work-tile--wide strong { font-size: 26px; }
@media (max-width: 700px) { .work-tile--wide { grid-column: auto; } }

/* Orbite */
.orbit { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; }
.orbit__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.orbit__dot, .orbit__pulse { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; border-radius: 50%; background: var(--orange); }
.orbit__pulse { animation: pulseRing 2.6s ease-out infinite; }
.float-chip { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 20px 40px -22px rgba(5, 4, 9, .38); white-space: nowrap; }
.float-chip b { display: block; font: 700 15px/1.3 var(--titre); }
.float-chip small { display: block; font-size: 12px; color: var(--ardoise); }

.cta-orange { position: relative; border-radius: 36px; overflow: hidden; background: linear-gradient(135deg, #E58027, #DD5A2A 55%, #C2461C); color: #FFFFFF; padding: 64px 56px; }
.cta-orange > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-orange__row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-dark { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; border-radius: 36px; background: var(--nuit); color: #FFFFFF; padding: 56px; overflow: hidden; }

/* Logos clients */
.logos { padding: 16px 0 32px; }
.logos .marquee__track { gap: 24px; animation-duration: 32s; }
.logos--reverse .marquee__track { animation-direction: reverse; }
.logo-tile { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 240px; height: 128px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--sable); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.logo-tile img { width: auto; height: auto; max-width: 180px; max-height: 70px; filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s, transform .4s; }
.logo-tile img.is-square { width: 96px; height: 96px; max-height: none; border-radius: 18px; object-fit: cover; }
.logo-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -26px rgba(5, 4, 9, .3); border-color: var(--orange); }
.logo-tile:hover img, .logo-tile:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }
.logo-tile__go { position: absolute; right: 12px; top: 12px; display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--terre); color: #FFFFFF; align-items: center; justify-content: center; opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .3s; }
.logo-tile:hover .logo-tile__go { opacity: 1; transform: none; }

/* ==========================================================================
   Services
   ========================================================================== */
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tab { position: relative; display: flex; gap: 16px; align-items: center; padding: 22px 22px 26px; border-radius: 22px; border: 1.5px solid var(--sable); background: rgba(255, 255, 255, .9); color: var(--texte); text-align: left; cursor: pointer; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tab .ico { transition: background .3s, color .3s; }
.tab[aria-selected="true"] { background: #FFFFFF; border-color: var(--accent, var(--terre)); box-shadow: 0 24px 50px -30px rgba(5, 4, 9, .4); transform: translateY(-4px); }
.tab[aria-selected="true"] .ico { background: var(--accent, var(--terre)); color: #FFFFFF; }
.tab__kick { display: block; font: 700 12px var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--accent, var(--terre)); }
.tab__name { display: block; font: 800 18px/1.25 var(--titre); }
.tab__progress { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 3px; border-radius: 3px; background: #F1E2D6; overflow: hidden; opacity: 0; }
.tab[aria-selected="true"] .tab__progress { opacity: 1; }
.tab__progress span { display: block; height: 100%; background: var(--accent, var(--terre)); transform-origin: left; transform: scaleX(0); }
.tab[aria-selected="true"] .tab__progress span { animation: progress 9s linear both; }
.studio { margin-top: 24px; display: flex; flex-wrap: wrap; border-radius: 32px; border: 1px solid var(--sable); overflow: hidden; background: #FFFFFF; box-shadow: 0 40px 80px -50px rgba(5, 4, 9, .35); }
.studio__scene { flex: 1 1 540px; min-width: 0; position: relative; min-height: 520px; overflow: hidden; }
.studio__detail { flex: 1 1 440px; min-width: 0; padding: 48px; display: flex; flex-direction: column; }
.scene { position: absolute; inset: 0; animation: panelIn .6s ease both; }
.scene[hidden], .panel[hidden] { display: none; }
.panel { animation: panelIn .5s ease both; display: flex; flex-direction: column; height: 100%; }
.sub-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.sub-list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--sable); font-weight: 600; font-size: 15px; line-height: 1.35; }

.method { position: relative; margin-top: 64px; }
.method > svg { position: absolute; left: 0; right: 0; top: 18px; width: 100%; height: 20px; }
.method ol { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.method h3 { margin: 20px 0 0; font: 700 20px var(--titre); }
.method p { margin: 8px 0 0; color: var(--ardoise); font-size: 16px; }
.method .ico { width: 56px; height: 56px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--sable); color: var(--terre); }
.method li:last-child .ico { background: var(--bleu); border-color: var(--bleu); color: #FFFFFF; }

.faq details { border-top: 1px solid var(--sable); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--sable); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 700 18px var(--titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--creme); align-items: center; justify-content: center; font-size: 20px; color: var(--terre); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--ardoise); }

/* ==========================================================================
   Réalisations
   ========================================================================== */
.fan { position: relative; width: 52%; max-width: 270px; aspect-ratio: 4 / 5; }
.fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(5, 4, 9, .45); }
.fan img:nth-child(1) { transform-origin: 50% 120%; animation: fanL 8s cubic-bezier(.65, 0, .25, 1) infinite; }
.fan img:nth-child(2) { transform-origin: 50% 120%; animation: fanR 8s cubic-bezier(.65, 0, .25, 1) infinite; }
.fan img:nth-child(3) { animation: fanC 8s cubic-bezier(.65, 0, .25, 1) infinite; }

.vtabs { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.vtab { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; border: 1.5px solid var(--sable); background: var(--creme); color: var(--texte); text-align: left; cursor: pointer; transition: transform .3s, box-shadow .3s, background .3s; }
.vtab .ico { background: #EDE3FB; color: #6D3FD8; }
.vtab b { display: block; font: 700 16px var(--titre); }
.vtab small { display: block; font-size: 14px; color: var(--ardoise); }
.vtab[aria-selected="true"] { background: #FFFFFF; border-color: #8B5CF6; box-shadow: 0 20px 44px -28px rgba(70, 30, 140, .5); transform: translateX(6px); }
.vtab[aria-selected="true"] .ico { background: #6D3FD8; color: #FFFFFF; }
.vstage { flex: 2 1 560px; min-width: 0; min-height: 560px; border-radius: 32px; background: radial-gradient(520px 380px at 50% 45%, #EDE3FB, #F7F3FC 75%); display: flex; align-items: center; justify-content: center; padding: 32px; overflow: hidden; }
.phone { width: 260px; padding: 10px; border-radius: 40px; background: var(--nuit); box-shadow: 0 40px 80px -30px rgba(70, 30, 140, .55); animation: panelIn .5s ease both; }
.phone video { width: 100%; aspect-ratio: 9 / 16; border-radius: 32px; background: var(--nuit); object-fit: cover; }
.browser { width: 100%; max-width: 760px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 40px 80px -30px rgba(70, 30, 140, .45); overflow: hidden; animation: panelIn .5s ease both; }
.browser__bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #EEEDF6; }
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: #E4E3FA; }
.browser__bar span:first-child { background: #8B5CF6; }
.browser video { width: 100%; aspect-ratio: 16 / 9; background: var(--nuit); }

.masonry { margin-top: 44px; columns: 3 300px; column-gap: 22px; }
.work { display: block; width: 100%; margin: 0 0 22px; padding: 0; break-inside: avoid; border-radius: 24px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--sable); cursor: zoom-in; text-align: left; color: var(--texte); animation: cardIn .55s ease both; }
.work[hidden] { display: none; }
.work__media { position: relative; display: block; overflow: hidden; }
.work__media img { width: 100%; height: auto; }
.work__veil { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(5, 4, 9, .35); opacity: 0; transition: opacity .35s; }
.work:hover .work__veil, .work:focus-visible .work__veil { opacity: 1; }
.work__veil span { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: #FFFFFF; color: var(--texte); align-items: center; justify-content: center; }
.work__body { display: block; padding: 18px 20px 20px; }
.work__body strong { display: block; margin-top: 8px; font: 800 19px/1.25 var(--titre); }
.work__body span.d { display: block; margin-top: 4px; color: var(--ardoise); font-size: 15px; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 32px; background: rgba(5, 4, 9, .88); }
.lightbox[hidden] { display: none; }
.lightbox__close-zone { position: absolute; inset: 0; border: 0; background: transparent; cursor: zoom-out; }
.lightbox__box { position: relative; max-width: 1000px; width: 100%; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; animation: boxIn .35s ease both; }
.lightbox__media { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.lightbox__media img, .lightbox__media video { max-width: 100%; max-height: 78vh; border-radius: 20px; background: var(--nuit); }
.lightbox__info { flex: 0 1 280px; color: #FFFFFF; }
.lightbox__info .kicker { color: #F29A45; }
.lightbox__info strong { display: block; margin-top: 8px; font: 800 26px/1.2 var(--titre); }
.lightbox__info p { margin: 8px 0 0; color: #C9C4D3; }
.round-btn { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; }
.round-btn:hover { background: rgba(255, 255, 255, .1); }

/* ==========================================================================
   À propos
   ========================================================================== */
.map { position: relative; flex: 1.4 1 520px; min-width: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 10; background-color: var(--nuit); background-image: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.4px); background-size: 18px 18px; }
.map::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 50% 60%, rgba(229, 128, 39, .18), rgba(5, 4, 9, 0) 70%); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; width: 0; height: 0; }
.map__pin i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; }
.map__pin i + i { animation: pulseRing 2.4s ease-out infinite; }
.map__pin span { position: absolute; left: -60px; top: 22px; width: 120px; text-align: center; color: #FFFFFF; }
.map__pin b { display: block; font: 700 16px var(--titre); }
.map__pin small { display: block; font-size: 12px; color: var(--gris-clair); }

.portrait { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; }
.portrait__ring { position: absolute; left: -14%; top: -10%; width: 128%; height: auto; animation: spin 50s linear infinite; }
.portrait__photo { position: absolute; inset: 0; border-radius: 200px 200px 32px 32px; overflow: hidden; background: var(--sable); box-shadow: 0 50px 90px -40px rgba(5, 4, 9, .5); }
.portrait__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.quote { margin: 28px 0 0; padding: 0; font: 700 clamp(22px, 2.2vw, 28px)/1.35 var(--titre); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--sable); font-size: 14px; font-weight: 600; }

/* ==========================================================================
   Formulaires
   ========================================================================== */
.form-card { padding: 44px; border-radius: 32px; background: var(--creme); border: 1px solid var(--sable); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label small { font-weight: 400; color: var(--ardoise); font-size: 14px; }
.input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--sable-2); background: #FFFFFF; font: inherit; color: var(--texte); transition: border-color .2s, box-shadow .2s; width: 100%; }
textarea.input { padding: 14px 16px; min-height: 140px; resize: vertical; }
.input:focus { outline: none; border-color: var(--terre); box-shadow: 0 0 0 4px rgba(194, 70, 28, .14); }
.input[aria-invalid="true"] { border-color: #B42318; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ardoise); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--terre); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.form-msg[hidden] { display: none; }
.form-msg--error { background: #FDECEA; color: #8A1C12; }
.done { padding: 32px 0; text-align: center; display: flex; flex-direction: column; align-items: center; animation: fadeUp .5s ease both; }
.done[hidden] { display: none; }
.done h2 { margin: 22px 0 0; font: 800 28px var(--titre); }
.done p { margin: 8px 0 0; color: var(--ardoise); max-width: 480px; }

/* Devis */
.devis-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.devis-form { flex: 999 1 600px; min-width: 0; margin-top: -32px; background: #FFFFFF; border-radius: 28px; border: 1px solid var(--sable); box-shadow: 0 30px 60px -40px rgba(5, 4, 9, .35); overflow: hidden; position: relative; }
.devis-aside { position: relative; flex: 1 1 320px; min-width: 0; margin-top: -32px; display: flex; flex-direction: column; gap: 20px; }
.steps { margin: 0; padding: 0 40px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--sable); }
.steps li { display: flex; align-items: center; gap: 10px; padding: 22px 16px 20px 0; margin-right: 16px; font: 700 15px var(--titre); color: var(--ardoise); border-bottom: 3px solid transparent; }
.steps li i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 13px; background: var(--creme); border: 1px solid var(--sable-2); }
.steps li.is-active { color: var(--texte); border-bottom-color: var(--terre); }
.steps li.is-active i { background: var(--terre); border-color: var(--terre); color: #FFFFFF; }
.steps li.is-done { color: var(--texte); }
.steps li.is-done i { background: var(--nuit); border-color: var(--nuit); color: #FFFFFF; }
.step { padding: 40px; }
.step[hidden] { display: none; }
.step h2 { margin: 0; font: 800 28px var(--titre); }
.step > p { margin: 8px 0 0; color: var(--ardoise); }
.choice-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; min-height: 76px; border-radius: 18px; border: 2px solid var(--sable); background: #FFFFFF; cursor: pointer; transition: border-color .2s, background .2s; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 2px solid var(--sable-2); background: #FFFFFF; color: transparent; transition: background .2s, border-color .2s; }
.choice b { display: block; font: 700 16px var(--titre); }
.choice small { display: block; font-size: 14px; color: var(--ardoise); }
.choice:has(input:checked) { border-color: var(--terre); background: #FFF4EC; }
.choice:has(input:checked) .choice__box { background: var(--terre); border-color: var(--terre); color: #FFFFFF; }
.choice:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.radio-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.radio { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--sable); background: #FFFFFF; font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio:has(input:checked) { border-color: var(--terre); background: #FFF4EC; }
.radio:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--creme); border: 1px solid var(--sable); }
.seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--texte-2); font: 700 13px var(--titre); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--nuit); color: #FFFFFF; }
.step-nav { padding: 24px 40px; border-top: 1px solid var(--sable); background: #FDFBF8; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.step-nav[hidden] { display: none; }
.btn-text { min-height: 52px; padding: 0 20px; border: 0; background: transparent; font: 700 15px var(--titre); color: var(--texte); cursor: pointer; }
.btn-text[disabled] { color: #B5AFBD; cursor: default; }
.recap { padding: 32px; border-radius: 28px; background: var(--nuit); color: #FFFFFF; }
.recap ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.recap li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.recap .lbl { margin-top: 20px; font-size: 14px; color: var(--gris-clair); }
.recap__row { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--nuit); color: var(--gris-clair); font-size: 15px; line-height: 1.6; padding: 72px 0 36px; }
.site-footer a { color: var(--gris-clair); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; }
.newsletter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: 32px 36px; border-radius: 28px; background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, .08); }
.newsletter__intro { display: flex; gap: 18px; align-items: center; flex: 1 1 360px; min-width: 0; }
.newsletter__intro b { display: block; font: 800 22px var(--titre); color: #FFFFFF; }
.newsletter form { flex: 1 1 420px; min-width: 0; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.newsletter input[type="email"] { flex: 1 1 220px; min-width: 0; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: var(--nuit); color: #FFFFFF; font: inherit; }
.newsletter .btn { background: var(--orange); color: var(--nuit); min-height: 54px; }
.newsletter .btn:hover { color: var(--nuit); }
.newsletter__ok { flex: 1 1 420px; display: flex; gap: 12px; align-items: center; color: #FFFFFF; font-weight: 600; }
.newsletter__ok[hidden] { display: none; }
.footer-cols { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-cols h2 { margin: 0 0 10px; font: 700 15px var(--titre); color: #FFFFFF; }
.footer-cols nav, .footer-cols .col { display: flex; flex-direction: column; gap: 10px; }
.socials { margin-top: 20px; display: flex; gap: 10px; }
.socials a { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, .1); align-items: center; justify-content: center; color: #FFFFFF; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .credit a { color: #F29A45; font-weight: 600; }

/* ==========================================================================
   Apparition au défilement
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s !important; } .reveal-d2 { transition-delay: .2s !important; } .reveal-d3 { transition-delay: .3s !important; }
.fade-up { animation: fadeUp .8s ease both; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes draw { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes ink { 0%, 10% { stroke-dashoffset: 1000; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1000; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes words { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-1.1em); } 50%, 68% { transform: translateY(-2.2em); } 75%, 93% { transform: translateY(-3.3em); } 100% { transform: translateY(-4.4em); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { 0%, 8% { transform: scale(0); opacity: 0; } 16%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
@keyframes grow { 0%, 6% { transform: scaleX(0); } 22%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes chat1 { 0%, 4% { opacity: 0; transform: translateY(10px); } 10%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chatT { 0%, 14% { opacity: 0; } 18%, 36% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes chat2 { 0%, 38% { opacity: 0; transform: translateY(10px); } 44%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes notif { 0%, 30% { opacity: 0; transform: translateX(30px); } 38%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateX(30px); } }
@keyframes slide { 0%, 25% { transform: translateX(0); } 33%, 58% { transform: translateX(-33.333%); } 66%, 91% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
@keyframes slideY { 0%, 25% { transform: translateY(0); } 33%, 58% { transform: translateY(-33.333%); } 66%, 91% { transform: translateY(-66.666%); } 100% { transform: translateY(0); } }
@keyframes heart { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } }
@keyframes cursor { 0%, 12% { transform: translate(0, 0); } 40%, 52% { transform: translate(-150px, -96px); } 46% { transform: translate(-150px, -96px) scale(.82); } 80%, 100% { transform: translate(0, 0); } }
@keyframes clickRing { 0%, 40% { transform: scale(.4); opacity: 0; } 46% { opacity: .7; } 60%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes wipe { 0%, 15% { clip-path: inset(0 100% 0 0); } 45%, 85% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes bump { 0%, 50%, 100% { transform: scale(1); } 56% { transform: scale(1.4); } 62% { transform: scale(1); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fanL { 0%, 12% { transform: rotate(0) translateX(0); } 35%, 80% { transform: rotate(-14deg) translateX(-34%); } 100% { transform: rotate(0) translateX(0); } }
@keyframes fanR { 0%, 12% { transform: rotate(0) translateX(0); } 35%, 80% { transform: rotate(14deg) translateX(34%); } 100% { transform: rotate(0) translateX(0); } }
@keyframes fanC { 0%, 12% { transform: translateY(0) scale(1); } 35%, 80% { transform: translateY(-6%) scale(1.04); } 100% { transform: translateY(0) scale(1); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes boxIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-8deg); } 86% { transform: rotate(0); } }
@keyframes sendFly { 0%, 60%, 100% { transform: translate(0, 0); } 70% { transform: translate(4px, -4px); } 80% { transform: translate(0, 0); } }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 760px) {
  :root { --gouttiere: 20px; }
  .section { padding: 72px 0; }
  .brand img { height: 44px; }
  .hero__grid { padding-top: 40px; }
  .devis-banner__text, .studio__detail, .step { padding: 32px 24px; }
  .steps { padding: 0 24px; }
  .step-nav { padding: 20px 24px; }
  .form-card { padding: 28px 22px; }
  .cta-orange, .cta-dark { padding: 40px 26px; }
  .studio__scene { min-height: 440px; }
  .vstage { min-height: 480px; padding: 20px; }
  .float-chip { padding: 10px 12px; }
  .float-chip b { font-size: 13px; }
  .float-chip small { display: none; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  /* la composition animée de l'accueil est réduite d'un bloc pour garder ses proportions */
  .hero__art { overflow: hidden; }
  .compo { width: 620px; max-width: none; flex: none; zoom: .56; }
  .devis-aside { margin-top: 0; }
}
@media (max-width: 400px) { .compo { zoom: .52; } }

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