/* =========================================================
   WINKA STUDIO — Design system
   Minimaliste · texte noir · fond crème · sans fioritures
   ========================================================= */

:root {
  /* Couleurs */
  --marine:      #1B357E;   /* bleu cobalt profond : grandes surfaces, footer, chat */
  --marine-deep: #122452;   /* bleu nuit / hover            */
  --sable:       #EAE3D7;   /* neutre clair (boutons secondaires) */
  --cream:       #F6F1EB;   /* fond principal crème         */
  --ivory:       #FBF8F2;   /* cartes claires               */
  --ink:         #161616;   /* texte noir                   */
  --ink-soft:    #595959;   /* texte secondaire (gris)      */
  --light:       #F6F1EB;   /* texte / éléments sur fond sombre */
  --light-soft:  rgba(246,241,235,.66);
  --wink:        #1E47FF;   /* accent bleu électrique (petites touches) */
  --wink-deep:   #1838E0;   /* accent bleu (texte sur crème) */
  --coral:       #F1542E;   /* accent corail : prix, badges promo */
  --steel:       #2C2C2C;   /* gris foncé (visuels)         */
  --rose:        #6E6E6E;   /* gris moyen (visuels)         */
  --line:        rgba(20,20,20,.12);
  --line-light:  rgba(246,241,235,.16);
  --veil:        rgba(22,22,22,.45);    /* voile derrière la modale Mika */
  --focus-ring:  rgba(30,71,255,.14);   /* halo de focus des champs */
  --wink-tint:   rgba(30,71,255,.07);   /* fond bleuté très léger (puces) */
  --live:        #43F08A;               /* pastille « en direct » */

  /* Typo */
  --font-title:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;

  /* Rayons */
  --r-pill:    999px;
  --r-card:    24px;
  --r-img:     20px;
  --r-section: 32px;

  /* Ombres */
  --shadow-sm: 0 14px 36px rgba(18, 18, 18, .08);
  --shadow:    0 26px 60px rgba(18, 18, 18, .14);

  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1); /* sortie douce et premium */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--wink-deep); font-weight: 600; font-family: var(--font-body);
}
.eyebrow.center { text-align: center; display: block; }

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section-title.center { text-align: center; }
.section-title em { font-family: var(--font-accent); font-weight: 500; font-style: italic; color: var(--wink-deep); }

.section-sub { color: var(--ink-soft); max-width: 620px; margin-top: 1.1rem; font-size: 1.08rem; }
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer; transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--marine); color: var(--light); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--marine-deep); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--marine); }
.btn-ghost:hover { background: var(--marine); color: var(--light); }
.btn-light { background: var(--sable); color: var(--ink); }
.btn-light:hover { background: var(--light); transform: translateY(-2px); }
.btn-wink { background: var(--wink); color: var(--light); }
.btn-wink:hover { background: var(--wink-deep); color: var(--light); transform: translateY(-2px); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .9rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--wink); padding-bottom: 3px;
  transition: color .3s, gap .3s;
}
.link-arrow::after { content: "\2197"; color: var(--wink); transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--wink-deep); gap: .6em; }
.link-arrow:hover::after { transform: translate(2px, -2px); }

/* ============================================================
   HEADER — pill flottante claire
   ============================================================ */
.site-header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 36px); max-width: var(--maxw); z-index: 100;
  background: rgba(246, 241, 235, .96);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), top .35s var(--ease), background .35s, border-color .35s;
}
.site-header.scrolled { top: 10px; background: rgba(251, 248, 242, .92); box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 14px 0 26px; }
.brand-logo { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand-logo { height: 40px; }
/* Accueil : en haut de page, pas de bande blanche — logo, menu & bouton posés sur le crème */
body.home .site-header:not(.scrolled) { background: transparent; border-color: transparent; box-shadow: none; }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-list > li > a {
  font-size: .9rem; font-weight: 500; color: var(--ink);
  transition: color .3s; position: relative;
}
.nav-list > li > a:hover { color: var(--wink-deep); }
.nav-list a.active { color: var(--wink-deep); }
.nav-cta { padding: 10px 22px; border-radius: var(--r-pill); background: var(--marine); color: var(--light) !important; }
.nav-cta:hover { background: var(--marine-deep); color: var(--light) !important; }

/* Sélecteur de langue */
.lang { position: relative; }
.lang-btn {
  font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .3s;
}
.lang-btn:hover { border-color: var(--marine); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 8px; min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .25s var(--ease);
  list-style: none;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 12px; font-size: .88rem; color: var(--ink);
}
.lang-menu li a:hover { background: var(--cream); }
.lang-menu li a.active { color: var(--wink-deep); font-weight: 600; }
.lang-menu .soon { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); opacity: .6; }
.lang-menu li a.is-soon { cursor: default; color: var(--ink-soft); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--marine); border-radius: 2px; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end;
  background: #F0E8D8;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center right;
}
/* iframe de l'animation logo en fond plein écran */
.hero-anim { border: 0; background: transparent; pointer-events: none; }
.hero::before {
  content: none;
}
.hero-inner { position: relative; z-index: 2; padding: 150px 28px 90px; max-width: 980px; }
.hero-title {
  font-family: var(--font-title); font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.03;
  letter-spacing: -0.04em; color: var(--ink); margin: 1.4rem 0;
}
.hero-title em { font-family: var(--font-accent); font-weight: 400; font-style: italic; color: var(--wink-deep); letter-spacing: -0.02em; }
.hero-sub { font-size: 1.22rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   SECTIONS génériques
   ============================================================ */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }

/* Bloc intro / promesse */
.promise { padding: 40px 0 20px; }
.promise p {
  font-family: var(--font-title); font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.05rem); line-height: 1.35;
  letter-spacing: -0.02em; color: var(--ink); max-width: 920px;
}
.promise em { font-family: var(--font-accent); font-style: italic; color: var(--wink-deep); font-weight: 400; }

/* ---------- Cartes services (aperçu) ---------- */
.cards { display: grid; gap: 22px; margin-top: 50px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: block; background: var(--ivory); border: 1px solid var(--line);
  padding: 32px 28px; border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
a.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--wink); }
.card-num { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--wink-deep); }
.card-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.card h3 { font-family: var(--font-title); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .price { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--ink); font-size: .9rem; }
.card .link-arrow { margin-top: 16px; }

/* ============================================================
   BANDE IA (mise en avant)
   ============================================================ */
.ai-band { padding: 56px 0; overflow: visible; scroll-margin-top: 130px; }
.ai-inner {
  background: linear-gradient(135deg, var(--marine), var(--marine-deep));
  color: var(--light); border-radius: var(--r-section);
  padding: 70px 60px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center;
  position: relative; overflow: hidden;
}
.ai-inner.is-open, .ai-inner:focus-within {
  width: calc(100vw - 32px);
  margin-left: calc(50% - 50vw + 16px);
  min-height: calc(100vh - 170px);
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: clamp(28px, 5vw, 70px);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(18, 18, 18, .20);
}
.ai-inner::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05), transparent 70%);
}
.ai-inner .eyebrow { color: var(--light); }
.ai-inner h2 { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.08; margin: 12px 0 16px; }
.ai-inner p { color: var(--light-soft); font-size: 1.05rem; max-width: 520px; }
.ai-copy {
  position: relative; z-index: 1; max-height: 520px;
  transition: opacity .25s var(--ease), visibility .25s;
}
.ai-inner.is-open .ai-copy, .ai-inner:focus-within .ai-copy {
  opacity: 0; visibility: hidden; max-height: 0; overflow: hidden; pointer-events: none;
}
.ai-visual {
  position: relative; z-index: 1;
}
.ai-inner.is-open .ai-visual, .ai-inner:focus-within .ai-visual {
  width: 100%; max-width: min(980px, 100%); margin: auto;
}
.ai-chat {
  background: transparent; border: 0;
  border-radius: 0; padding: 0;
}
.ai-live-chat {
  min-height: 300px;
  display: flex; flex-direction: column; gap: 12px;
}
.ai-inner.is-open .ai-live-chat, .ai-inner:focus-within .ai-live-chat {
  min-height: min(620px, calc(100vh - 270px));
  background: transparent;
  padding: clamp(20px, 3vw, 34px);
}
.ai-live-head {
  display: flex; align-items: center; gap: 9px;
  color: var(--light); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .28s var(--ease), max-height .28s var(--ease);
}
.ai-live-head span:last-child { margin-left: auto; color: var(--light-soft); font-size: .68rem; }
.ai-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 5px var(--line-light); flex: none; }
.ai-live-body {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding-right: 4px; scrollbar-width: thin;
}
.ai-bubble { padding: 13px 17px; border-radius: 18px; font-size: .95rem; line-height: 1.5; max-width: 88%; }
/* Messages de Mika : le papier du site posé sur le marine (pattern .cta) */
.ai-bubble.bot { background: var(--ivory); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.ai-bubble.user { background: var(--wink); color: var(--light); margin-left: auto; border-bottom-right-radius: 6px; box-shadow: var(--shadow-sm); }
/* Attente d'une réponse dans la bande : trois points, comme l'overlay */
.ai-bubble.typing { display: inline-flex; align-items: center; gap: 5px; width: auto; }
.ai-bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: blink 1.2s infinite both; }
.ai-bubble.typing span:nth-child(2) { animation-delay: .2s; }
.ai-bubble.typing span:nth-child(3) { animation-delay: .4s; }

/* Puce « Recherche web » — overlay (fond clair) */
.msg-search { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: .72rem; color: var(--ink-soft); background: var(--wink-tint); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; margin: 2px 0 4px; }
.msg-search svg { width: 13px; height: 13px; color: var(--wink-deep); flex: none; }
.msg-search-label { font-weight: 600; letter-spacing: .01em; color: var(--wink-deep); }
.msg-search-src { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }
.msg-search-src a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }
.msg-search-src a:hover { color: var(--wink-deep); border-color: var(--wink-deep); }

/* Puce « Recherche web » — widget inline (fond foncé) */
.ai-search { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: .72rem; color: var(--light-soft); background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--r-pill); padding: 6px 12px; max-width: 88%; }
.ai-search svg { width: 13px; height: 13px; color: var(--light-soft); flex: none; }
.ai-search-label { font-weight: 600; color: var(--light); }
.ai-search-src { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }
.ai-search-src a { color: var(--light-soft); text-decoration: none; border-bottom: 1px solid var(--line-light); }
.ai-search-src a:hover { border-color: var(--light); color: var(--light); }
.ai-live-quick {
  display: flex; flex-wrap: wrap; gap: 8px;
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .28s var(--ease), max-height .28s var(--ease);
}
.ai-live-chip {
  border: 1px solid var(--line-light); background: rgba(255,255,255,.08); color: var(--light);
  border-radius: var(--r-pill); padding: 8px 12px; font-family: var(--font-body); font-size: .78rem; cursor: pointer;
}
.ai-live-chip:hover { background: var(--light); color: var(--ink); }
.ai-live-form {
  display: flex; gap: 10px;
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .28s var(--ease), max-height .28s var(--ease);
}
.ai-live-form input {
  flex: 1; min-width: 0; border: 1px solid var(--line-light); background: rgba(255,255,255,.95); color: var(--ink);
  border-radius: var(--r-pill); padding: 13px 16px; font-family: var(--font-body); font-size: .92rem;
}
.ai-live-form input:focus { outline: none; border-color: var(--light); box-shadow: 0 0 0 4px var(--line-light); }
.ai-live-form button {
  width: 46px; border: none; border-radius: 50%; background: var(--wink); color: var(--light); cursor: pointer; font-size: 1.1rem; flex: none;
}
.ai-inner.is-open .ai-live-head, .ai-inner:focus-within .ai-live-head,
.ai-inner.is-open .ai-live-quick, .ai-inner:focus-within .ai-live-quick,
.ai-inner.is-open .ai-live-form, .ai-inner:focus-within .ai-live-form {
  opacity: 1; max-height: 90px;
}
.ai-band-actions { margin-top: 26px; }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
/* ---------- Réalisations : style éditorial (image flottante, sans cadre) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; margin-top: 54px; }
.work-card { display: block; background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
/* la vignette : grande image arrondie qui flotte et se soulève au survol */
.work-thumb { aspect-ratio: 4 / 3; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease); }
.work-thumb span { font-family: var(--font-title); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; color: rgba(255,255,255,.92); }
.work-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 30px 34px; transition: transform .6s var(--ease-out); }
.work-card:hover .work-thumb { transform: translateY(-10px); box-shadow: var(--shadow); }
.work-card:hover .work-thumb img { transform: scale(1.05); }
/* voile cobalt qui apparaît en douceur au survol */
.work-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,53,126,0) 40%, rgba(27,53,126,.28) 100%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.work-card:hover .work-thumb::after { opacity: 1; }
/* pastille ronde avec flèche ↗ (bas-droite), révélée au survol — comme la maquette */
.work-thumb::before { content: ""; position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--wink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 8px 20px rgba(30,71,255,.35); opacity: 0; transform: translateY(10px) scale(.82); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); pointer-events: none; }
.work-card:hover .work-thumb::before, .work-card:focus-visible .work-thumb::before { opacity: 1; transform: translateY(0) scale(1); }
/* fonds dégradés clairs et premium (les logos restent lisibles) */
.thumb-cp  { background: linear-gradient(150deg, #ffffff 0%, #eef0fb 100%); }
.thumb-hcl { background: linear-gradient(150deg, #ffffff 0%, #e9eefc 100%); }
.thumb-kao { background: linear-gradient(150deg, #ffffff 0%, #edf0fd 100%); }
/* logo Kaoxis : le fond blanc de l'image se fond dans le dégradé */
.thumb-kao img { mix-blend-mode: multiply; }
/* texte directement sous l'image, sans boîte */
.work-body { padding: 18px 2px 0; }
.work-body .eyebrow { display: inline-block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wink-deep); }
.work-body h3 { font-family: var(--font-title); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; color: var(--ink); margin: 9px 0 8px; }
.work-body p { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; margin: 0; }

/* ============================================================
   PAGE BANNER (sous-pages)
   ============================================================ */
.page-banner { padding: 180px 0 60px; background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.breadcrumb { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb a { color: var(--wink-deep); }
.breadcrumb span { margin: 0 8px; }
.page-title { font-family: var(--font-title); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 1.2rem; }
.page-title em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--wink-deep); }
.page-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }

/* ============================================================
   SERVICES (page)
   ============================================================ */
.svc { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.svc:first-of-type { border-top: none; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.svc-head .eyebrow { font-size: .7rem; }
.svc-head h2 { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; color: var(--ink); margin: 10px 0 14px; }
.svc-head p { color: var(--ink-soft); }
.svc-head .price-tag { display: inline-block; margin-top: 16px; background: var(--marine); color: var(--light); padding: 8px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; }

/* tableau suppléments */
.supp { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.supp h4 { font-family: var(--font-title); font-weight: 700; color: var(--ink); font-size: 1rem; letter-spacing: .02em; margin-bottom: 6px; }
.supp ul { list-style: none; }
.supp li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.supp li:last-child { border-bottom: none; }
.supp li span:last-child { color: var(--wink-deep); font-weight: 600; white-space: nowrap; }
.supp-note { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; font-style: italic; }

.svc-visual { aspect-ratio: 5 / 4; border-radius: var(--r-card); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.sv-1 { background: linear-gradient(135deg, #2c2c2c, #161616); }
.sv-2 { background: linear-gradient(135deg, #4a4a4a, #1f1f1f); }
.sv-3 { background: linear-gradient(135deg, #e7e0d4, #cfc7b8); }
.sv-4 { background: linear-gradient(135deg, var(--wink), var(--wink-deep)); }
.sv-5 { background: linear-gradient(135deg, var(--ivory), var(--sable)); border: 1px solid var(--line); }
.svc-image { position: relative; overflow: hidden; background: var(--ivory); }
.svc-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-branding-img { aspect-ratio: 1 / 1; background: var(--ivory); }
.svc-branding-img img { object-fit: cover; object-position: center; }
.svc-photo-img { aspect-ratio: 1 / 1; background: #d1a374; }
.svc-photo-img img { object-position: center; }
.svc-video { position: relative; overflow: hidden; background: #161616; }
.svc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   STUDIO (page) — process & valeurs
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--font-title); font-weight: 800; font-size: 2.4rem; color: var(--wink); line-height: 1; }
.step h3 { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; margin: 10px 0 8px; }
.step p { color: var(--ink-soft); font-size: .96rem; }

.values { list-style: none; margin-top: 34px; display: grid; gap: 14px; }
.values li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); }
.values strong { display: block; margin-bottom: 4px; font-family: var(--font-title); color: var(--ink); font-weight: 700; }
.values .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wink); margin-top: 11px; flex: none; }

/* ============================================================
   CONTACT (page)
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.contact-card { background: linear-gradient(135deg, var(--marine), var(--marine-deep)); color: var(--light); border-radius: var(--r-section); padding: 48px 44px; box-shadow: var(--shadow); }
.contact-card .eyebrow { color: var(--light); }
.contact-card h2 { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin: 12px 0 14px; }
.contact-card p { color: var(--light-soft); margin-bottom: 26px; }
.contact-aside { padding-top: 10px; }
.contact-aside h3 { font-family: var(--font-title); font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 8px; }
.contact-list { list-style: none; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-list span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wink-deep); margin-bottom: 4px; }
.contact-list a, .contact-list em { font-size: 1.05rem; color: var(--ink); font-style: normal; }

/* ============================================================
   CTA band (transverse)
   ============================================================ */
.cta-band { padding: 50px 0 70px; }
.cta-inner { background: linear-gradient(135deg, var(--marine), var(--marine-deep)); color: var(--light); border-radius: var(--r-section); padding: 70px 50px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; left: -100px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.05), transparent 70%); }
.cta-inner h2 { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.06; margin-bottom: .6rem; position: relative; z-index: 1; }
.cta-inner h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--light); }
.cta-inner p { color: var(--light-soft); margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-inner .btn { position: relative; z-index: 1; }

/* ============================================================
   FOOTER (marine)
   ============================================================ */
.site-footer { background: var(--marine); color: var(--light); padding: 70px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.footer-tag { font-family: var(--font-accent); font-style: italic; font-size: 1.3rem; color: var(--light); }
.footer-col h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--light-soft); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--light-soft); font-size: .95rem; transition: color .3s; }
.footer-col a:hover { color: var(--light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 26px; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--light-soft); font-size: .82rem; }
.footer-legal a:hover { color: var(--light); }
.footer-copy { font-size: .82rem; color: var(--light-soft); }

/* ============================================================
   ŒIL WINKA (module js/eye.js) — partagé page Studio + widget
   ============================================================ */
.eye-svg { width: 100%; height: 100%; overflow: visible; display: block; }
.eye-svg .lid-skin { fill: var(--sable); transition: transform .2s cubic-bezier(.36, 0, .2, 1); }
.eye-svg.blinking .lid-skin { transform: translateY(104px); transition: transform .08s cubic-bezier(.5, 0, 1, 1); }
.eye-track { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .eye-svg .lid-skin { transform: none; }
  /* Loader sans mouvement : simple présence atténuée */
  .eye-svg.eye-loading { opacity: .55; }
}

/* Texte pour lecteurs d'écran uniquement */
.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;
}

/* ============================================================
   MIKA — modale conversationnelle (univers papier du site)
   ============================================================ */
.assistant-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--veil);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.assistant-overlay.open { opacity: 1; visibility: visible; }
.assistant {
  width: 100%; max-width: 560px; height: min(760px, 92vh);
  display: flex; overflow: hidden; color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-section);
  box-shadow: var(--shadow);
  opacity: 0; transform: translate3d(0, 22px, 0);
  transition: opacity .55s ease, transform .6s cubic-bezier(.33, 1, .68, 1);
  will-change: transform, opacity;
}
.assistant-overlay.open .assistant { opacity: 1; transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .assistant { transition: opacity .4s ease; transform: none; }
}

.chip-ic svg, .assistant-input button svg, .assistant-close svg, .msg-checks svg { display: block; }

/* Colonne principale */
.mika-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mika-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 22px 10px; gap: 12px; border-bottom: 1px solid var(--line); }
.mika-brand { grid-column: 2; display: flex; flex-direction: row; align-items: center; gap: 10px; }
.mika-eye { width: 32px; flex: none; display: block; }
.mika-name { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 1.3rem; color: var(--wink-deep); }
.mika-topright { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 16px; }
.assistant-close {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); color: var(--ink-soft); cursor: pointer; transition: all .25s ease;
}
.assistant-close svg { width: 16px; height: 16px; }
.assistant-close:hover { color: var(--ink); border-color: var(--ink); background: var(--sable); }

/* Fil de discussion */
.assistant-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.mika-thread { display: flex; flex-direction: column; gap: 18px; padding: 14px 0; }
.msg-row { display: flex; flex-direction: column; max-width: 100%; animation: rise .45s var(--ease-out); }
.msg-row.bot { align-items: flex-start; }
.msg-row.user { align-items: flex-end; }
.msg-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.msg { padding: 14px 18px; border-radius: var(--r-card); font-size: .98rem; line-height: 1.6; max-width: 100%; }
.msg.bot { background: var(--ivory); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); border-bottom-left-radius: 8px; }
.msg.user { background: var(--marine); color: var(--light); box-shadow: var(--shadow-sm); border-bottom-right-radius: 8px; }
.msg-row.user .msg { max-width: 85%; }
/* La question de Mika — sa voix, en Fraunces italique bleue (pattern em du site) */
.msg.bot .msg-q { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--wink-deep); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg-meta { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--ink-soft); margin: 7px 6px 0; }
.msg-checks { color: var(--wink); display: inline-flex; }
.msg-checks svg { width: 18px; height: 12px; }

/* Carte de transmission inline : la fiche coordonnées dans le fil */
.transmit-row .msg-col { width: 100%; }
.transmit-card { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.transmit-title { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 1.05rem; color: var(--wink-deep); }
.transmit-card input:not(.tc-hp) {
  width: 100%; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: .92rem;
}
.transmit-card input::placeholder { color: var(--ink-soft); }
.transmit-card input:focus { outline: none; border-color: var(--wink); box-shadow: 0 0 0 4px var(--focus-ring); }
.tc-send {
  border: none; border-radius: var(--r-pill); padding: 13px 18px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  background: var(--wink); color: var(--light); box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), transform .2s ease, opacity .25s var(--ease);
}
.tc-send:hover:not(:disabled) { background: var(--wink-deep); transform: translateY(-1px); }
.tc-send:disabled { opacity: .45; cursor: not-allowed; }
.tc-status { margin: 0; font-size: .8rem; color: var(--ink-soft); }
.tc-status:empty { display: none; }
.tc-rgpd { margin: 0; font-size: .72rem; line-height: 1.5; color: var(--ink-soft); }
.tc-rgpd a { color: var(--wink-deep); text-decoration: underline; }
.transmit-row[data-state="sent"] .transmit-card { opacity: .55; }

/* Bulle-bouton « Continuer avec Mika » dans la bande de l'accueil */
.ai-continue { align-self: flex-start; font-weight: 600; }

/* Pied : suggestions + saisie */
.assistant-foot { padding: 8px 22px 20px; border-top: 1px solid var(--line); background: var(--cream); }
.mika-footinner { max-width: 100%; }
.assistant-quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.assistant-quick:empty { display: none; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; background: transparent;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 16px;
  font-size: .88rem; font-family: var(--font-body); color: var(--ink); cursor: pointer; transition: all .25s var(--ease);
}
.chip:hover { background: var(--sable); border-color: var(--sable); }
.chip-ic { display: inline-flex; color: var(--wink-deep); }
.chip-ic svg { width: 17px; height: 17px; }
.assistant-input { display: flex; gap: 10px; align-items: center; }
.assistant-input input {
  flex: 1; padding: 15px 20px; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: .98rem; background: var(--ivory); color: var(--ink);
}
.assistant-input input::placeholder { color: var(--ink-soft); }
.assistant-input input:focus { outline: none; border-color: var(--wink); box-shadow: 0 0 0 4px var(--focus-ring); }
.assistant-input button {
  flex: none; width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer; color: var(--light);
  background: var(--wink); display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .2s ease, box-shadow .25s ease; box-shadow: var(--shadow-sm);
}
.assistant-input button:hover { background: var(--wink-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.assistant-input button svg { width: 20px; height: 20px; }
.assistant-note { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* Indicateur « Mika écrit… » : trois points */
.msg.typing { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 15px 18px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: blink 1.2s infinite both; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 700px) {
  .assistant-overlay { padding: 0; }
  .assistant { max-width: none; height: 100%; border-radius: 0; border: none; }
  .mika-top { padding: 14px 16px 8px; }
  .assistant-body { padding: 8px 16px; }
  .assistant-foot { padding: 8px 16px 16px; }
  .mika-thread { gap: 16px; padding: 12px 0; }
  .msg { font-size: .95rem; padding: 13px 16px; }
  .assistant-input input { padding: 13px 17px; }
  .assistant-input button { width: 46px; height: 46px; }
}

/* Erreurs de formulaire (transmission) */
.lead-error { color: var(--coral); }

/* ============================================================
   REFONTE — rythme, profondeur & médias
   ============================================================ */

/* Rythme vertical : sections alternées */
.section-alt { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Cadre d'image à générer (placeholder + prompt ChatGPT Image) */
.img-frame {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  width: 100%; padding: 28px 26px; border-radius: var(--r-img);
  border: 1.5px dashed var(--marine);
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(30,71,255,.10), transparent 55%),
    linear-gradient(135deg, #edf0ff, var(--ivory));
  color: var(--marine); overflow: hidden; box-shadow: var(--shadow-sm);
}
.img-frame .if-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--wink-deep); }
.img-frame .if-spec { font-size: .72rem; letter-spacing: .04em; color: var(--ink-soft); font-weight: 600; }
.img-frame .if-prompt { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .72rem; line-height: 1.55; color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.img-frame .if-hint { font-size: .66rem; color: var(--ink-soft); font-style: italic; }

/* Hero — image d'arrière-plan issue de image copy */
.hero-inner { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: var(--maxw); padding: 150px 28px clamp(90px, 15vh, 200px); }
.hero-copy { max-width: 760px; text-align: center; }
.hero .btn-ghost { background: rgba(246,241,235,.76); }
.hero .btn-ghost:hover { background: var(--marine); }
.hero-media { width: 100%; }
.hero-media .img-frame { aspect-ratio: 4 / 5; }
.hero-trust { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-trust > span { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.hero-trust-names { font-family: var(--font-title); font-weight: 600; color: var(--ink); font-size: .98rem; letter-spacing: -.01em; }

/* Bloc "split" — texte + visuel (teaser studio, etc.) */
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.split-copy { max-width: 520px; }
.split-copy p { color: var(--ink-soft); margin: 14px 0 22px; font-size: 1.06rem; }
.split-media .img-frame { aspect-ratio: 3 / 4; }

/* Images réelles (remplacent les cadres placeholder) */
.hero-img, .split-img { width: 100%; object-fit: cover; border-radius: var(--r-img); box-shadow: var(--shadow); display: block; }
.hero-img { aspect-ratio: 4 / 5; }
.split-img { aspect-ratio: 3 / 4; max-height: 580px; }

/* Cartes services — numéro d'index + barre d'accent au survol */
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--wink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
a.card:hover::before { transform: scaleX(1); }
.card-index { font-family: var(--font-title); font-weight: 800; font-size: .82rem; letter-spacing: .12em; color: var(--wink-deep); display: block; margin-bottom: 14px; }

@media (max-width: 920px) {
  .hero { min-height: 78vh; min-height: 78dvh; align-items: flex-end; }
  .hero-bg { object-position: 64% center; }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; padding: 132px 28px 72px; }
  .hero-media { max-width: 420px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-media .img-frame { aspect-ratio: 16 / 10; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav-toggle { display: flex; z-index: 120; }
  .nav-list {
    position: fixed; top: 14px; right: 14px; width: min(300px, 78vw);
    padding: 80px 28px 30px; flex-direction: column; align-items: flex-start; gap: 22px;
    background: rgba(246,241,235,.99);
    border-radius: var(--r-section); box-shadow: var(--shadow);
    transform: translateX(120%); transition: transform .45s var(--ease);
  }
  .nav-list.open { transform: none; }
  .ai-inner, .svc-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .ai-inner.is-open, .ai-inner:focus-within {
    width: auto;
    margin-left: 0;
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 54px 34px;
    transform: none;
  }
  .ai-live-chat, .ai-inner.is-open .ai-live-chat, .ai-inner:focus-within .ai-live-chat {
    min-height: 360px;
  }
  .cards-3, .cards-4, .work-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .lang { order: -1; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .cards-2, .cards-3, .cards-4, .work-grid, .steps, .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .ai-inner, .cta-inner, .contact-card { padding: 44px 28px; }
  .supp, .svc { padding-left: 0; padding-right: 0; }
}

/* ============================================================
   POLISH PASS — accessibilité, motion & élévation visuelle
   (UI/UX Pro Max) · palette & typo inchangées
   ============================================================ */

/* ---- Lien d'évitement (skip to content) ---- */
.skip-link {
  position: fixed; top: 12px; left: 50%;
  transform: translate(-50%, -160%);
  z-index: 1100;
  background: var(--marine); color: var(--light);
  padding: 12px 24px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .28s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }
.skip-link:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }

/* ---- Focus visible (navigation clavier) ---- */
:focus-visible { outline: 2px solid var(--wink); outline-offset: 3px; }
/* Surfaces sombres → anneau clair pour rester visible */
.site-footer :focus-visible,
.ai-inner :focus-visible,
.cta-inner :focus-visible,
.contact-card :focus-visible { outline-color: var(--light); }
/* La cible du skip-link ne doit pas afficher d'anneau quand on lui passe le focus */
#main:focus { outline: none; }

/* ---- Navigation : soulignement animé (survol + page active) ---- */
.nav-list > li > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--wink);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.nav-list > li > a:not(.nav-cta):hover::after,
.nav-list > li > a.active:not(.nav-cta)::after { transform: scaleX(1); }

/* ---- Boutons : retour tactile à l'appui ---- */
.btn:active { transform: translateY(1px) scale(.99); transition-duration: .08s; }
.nav-cta:active, .lang-btn:active { transform: translateY(1px); }

/* ---- Cartes : focus clavier net (au-delà du hover souris) ---- */
a.card:focus-visible, .work-card:focus-visible { transform: translateY(-4px); }

/* ============================================================
   prefers-reduced-motion : on respecte le réglage système
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Bouton menu mobile — bouton net & cible tactile ≥44px
   (les 3 traits fins se perdaient sur la pilule crème)
   ============================================================ */
@media (max-width: 920px) {
  .nav-toggle {
    width: 46px; height: 46px; padding: 0; gap: 5px;
    align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 14px;
    background: rgba(27, 53, 126, .05);
    transition: background .25s var(--ease), border-color .25s var(--ease);
  }
  .nav-toggle:hover { background: rgba(27, 53, 126, .1); border-color: var(--marine); }
  .nav-toggle span { width: 20px; transform-origin: center; transition: transform .3s var(--ease), opacity .2s var(--ease); }
  /* État ouvert : les traits forment une croix (piloté par aria-expanded) */
  .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); }
}

/* ============================================================
   FORMULES / PRICING — services.html
   ============================================================ */
.pricing { padding: 40px 0 24px; }
.pricing-head { position: relative; max-width: 720px; margin-bottom: 50px; }
.pricing-head .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; }
.pricing-head .section-title { margin: 14px 0; }
.pricing-head .section-sub { color: var(--ink-soft); font-size: 1.05rem; }
.promo-badge { position: absolute; top: 2px; right: 0; background: var(--coral); color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 1rem; padding: 9px 17px; border-radius: var(--r-pill); box-shadow: 0 12px 26px rgba(241,84,46,.32); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: center; }
.plan { position: relative; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 28px; box-shadow: var(--shadow-sm); text-align: center; }
.plan-featured { background: #16275c; border-color: transparent; color: var(--light); padding: 38px 32px; box-shadow: 0 38px 72px rgba(18,36,82,.34); z-index: 1; }

.plan-name { font-family: var(--font-title); font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--marine); }
.plan-featured .plan-name { color: var(--light); }

.plan-flag { display: inline-block; margin-top: 10px; background: var(--coral); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }
.plan-best { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill); box-shadow: 0 10px 20px rgba(241,84,46,.4); }

.plan-from { margin-top: 10px; font-size: .92rem; color: var(--light-soft); }
.plan-price { margin-top: 10px; line-height: 1; }
.plan-price .amount { position: relative; font-family: var(--font-title); font-weight: 800; font-size: 3.05rem; letter-spacing: -0.02em; color: var(--coral); }
.plan-price s { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 12px; white-space: nowrap; font-weight: 600; font-size: 1.3rem; color: var(--ink-soft); text-decoration-thickness: 2px; }
.plan-featured .plan-price s { color: var(--light-soft); }
.plan-rec { margin-top: 10px; font-size: .82rem; line-height: 1.45; color: var(--ink-soft); }
.plan-rec span { display: block; }
.plan-featured .plan-rec { color: var(--light-soft); }

.plan-tagline { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-title); font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.plan-featured .plan-tagline { border-color: var(--line-light); color: var(--light); }

.plan-feats { list-style: none; margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); text-align: left; display: grid; gap: 10px; }
.plan-featured .plan-feats { border-color: var(--line-light); }
.plan-feats li { display: flex; align-items: center; gap: 11px; font-size: .96rem; color: var(--ink); }
.plan-featured .plan-feats li { color: var(--light); }
.plan-feats li::before { content: ""; flex: 0 0 20px; width: 20px; height: 20px; background-color: var(--marine); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan-featured .plan-feats li::before { background-color: #9fb2ff; }

.btn-plan, .btn-plan-light { display: block; width: 100%; text-align: center; padding: 13px 18px; border-radius: var(--r-pill); font-family: var(--font-title); font-weight: 600; font-size: 1rem; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn-plan { border: 1.5px solid var(--marine); color: var(--marine); background: transparent; }
.btn-plan:hover { background: var(--marine); color: var(--light); transform: translateY(-2px); }
.plan-featured .btn-plan { border-color: rgba(246,241,235,.5); color: var(--light); }
.plan-featured .btn-plan:hover { background: var(--light); color: var(--marine); border-color: var(--light); }
.btn-plan-light { background: var(--light); color: var(--marine); border: 1.5px solid var(--light); }
.btn-plan-light:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }

.pricing-foot { margin-top: 30px; text-align: center; color: var(--ink-soft); font-size: .9rem; }

@media (max-width: 920px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 26px; align-items: stretch; }
  .plan-featured { padding: 46px 30px; }
  .pricing-head { max-width: none; }
  .promo-badge { position: static; display: inline-block; margin-bottom: 14px; }
}
