@import url("/assets/fonts/fonts.css");

/* ==========================================================================
   Kamel Digital — v3 (concept D : « C × immersif »)
   Fraunces (titres) · Work Sans (texte) · aplats ocre, terre cuite, indigo, cyan
   ========================================================================== */

:root {
  --cream: #f6efe3;
  --cream-2: #efe5d3;
  --ink: #1a1612;
  --ink-2: #2c2620;
  --text: #4a4036;
  --muted: #6b5f52;
  --faint: #9c907f;
  --sand: #cbbfae;

  --ochre: #d9a441;
  --terracotta: #b5482a;
  --indigo: #22306b;
  --cyan: #0fa1db;

  --line: rgba(26, 22, 18, 0.18);
  --line-2: rgba(26, 22, 18, 0.32);
  --line-light: rgba(246, 239, 227, 0.45);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1320px;
  --narrow: 1160px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 9vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  /* Couleurs du bandeau d'ouverture (surchargées par le thème de la page) */
  --hero-bg: var(--ink);
  --hero-fg: var(--cream);
  --hero-accent: var(--ochre);
}
.theme-ink        { --hero-bg: var(--ink);        --hero-fg: var(--cream); --hero-accent: var(--ochre); }
.theme-terracotta { --hero-bg: var(--terracotta); --hero-fg: var(--cream); --hero-accent: var(--cream); }
.theme-indigo     { --hero-bg: var(--indigo);     --hero-fg: var(--cream); --hero-accent: var(--cyan); }
.theme-ochre      { --hero-bg: var(--ochre);      --hero-fg: var(--ink);   --hero-accent: var(--ink); }
.theme-cyan       { --hero-bg: var(--cyan);       --hero-fg: var(--ink);   --hero-accent: var(--ink); }
.theme-cream      { --hero-bg: var(--cream);      --hero-fg: var(--ink);   --hero-accent: var(--terracotta); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ink); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ochre); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 300; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Typographie & gabarits ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { width: 100%; max-width: var(--narrow); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; }
.sec--tint { background: var(--cream-2); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; letter-spacing: -0.02em; }
.h2--center { text-align: center; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.rule { border-top: 1px solid var(--line); padding-top: 44px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 48px; }
.ulink { font-weight: 500; border-bottom: 2px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.ulink:hover { color: var(--terracotta); }

/* Boutons-pilules */
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid currentColor; padding: 12px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1.2; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.pill--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill--ink:hover { background: var(--terracotta); border-color: var(--terracotta); }
.pill--line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill--light { color: var(--cream); }
.pill--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.arr { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
a:hover .arr { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--hdr-fg, var(--hero-fg)); transition: background-color .35s, color .35s, box-shadow .35s; }
.site-header .bar { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut); display: flex; align-items: center; gap: 16px 32px; }
.site-header.is-solid { background: rgba(246, 239, 227, 0.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .chip { display: flex; background: var(--cream); border-radius: 10px; padding: 5px; }
.brand img { width: 30px; height: 30px; }
.brand .name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.menu-btn i { display: block; width: 22px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }

.menu { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--cream); padding: 20px var(--gut) 36px; display: flex; flex-direction: column; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.menu nav { margin-top: 40px; border-top: 1px solid var(--line-light); }
.menu nav a { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 9vw, 52px); line-height: 1.1; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.menu-foot { margin-top: auto; padding-top: 36px; color: var(--sand); display: grid; gap: 6px; }

/* ---------- Feuille crème au-dessus du pied de page ---------- */
.sheet { position: relative; z-index: 1; background: var(--cream); border-radius: 0 0 40px 40px; overflow: hidden; }

/* ---------- Orbites (motif du logo) ---------- */
.orbits { position: absolute; pointer-events: none; color: var(--hero-accent); opacity: 0.28; aspect-ratio: 1 / 1; }

/* ---------- Diaporama d'accueil ---------- */
.slider { --slide-bg: var(--ink); --slide-fg: var(--cream); --slide-track: rgba(246, 239, 227, 0.28);
  position: relative; min-height: max(660px, 100vh); min-height: max(660px, 100svh); overflow: hidden;
  background: var(--slide-bg); color: var(--slide-fg); transition: background-color .7s var(--ease), color .7s var(--ease); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide .orbits { right: -40px; top: 90px; width: min(640px, 70vw); height: auto; }
.slide-in { position: absolute; left: 0; right: 0; bottom: 150px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.slide-title { margin-top: 16px; font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 5.6vw, 84px); line-height: 0.95; letter-spacing: -0.035em; max-width: 15ch; }
.slide-title--xl { font-size: clamp(96px, 17vw, 250px); line-height: 0.88; }
.slide-title--l { font-size: clamp(80px, 13vw, 190px); line-height: 0.9; }
.slide .kicker { color: inherit; }
.slide-sub { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; max-width: 34em; }
.slide-link { display: inline-block; margin-top: 22px; font-size: 17px; font-weight: 500; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.slider-ctrl { position: absolute; left: 0; right: 0; bottom: 40px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 20px; z-index: 2; }
.round { flex: none; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: background .25s, color .25s; }
.round:hover { background: var(--slide-fg); color: var(--slide-bg); }
.round svg { width: 22px; height: 22px; }
.round--small { width: 40px; height: 40px; }
.round--small svg { width: 16px; height: 16px; }
.counter { flex: 1; display: flex; align-items: center; gap: 16px; max-width: 520px; margin: 0 auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.track { flex: 1; height: 2px; background: var(--slide-track); }
.track span { display: block; height: 2px; width: 25%; background: currentColor; transition: width .6s var(--ease); }
.no-js .slider-ctrl { display: none; }

/* ---------- Bandeau d'ouverture des pages ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-fg); min-height: clamp(460px, 64vh, 640px); display: flex; align-items: flex-end; }
.hero .orbits { right: -50px; top: 70px; width: min(560px, 62vw); height: auto; }
.hero-in { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 150px var(--gut) 72px; }
.hero .kicker { color: inherit; opacity: 0.85; }
.hero h1 { margin-top: 16px; font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 6.4vw, 98px); line-height: 0.95; letter-spacing: -0.035em; max-width: 16ch; }
.hero .lede { margin-top: 26px; max-width: 36em; }
.hero--center { align-items: center; min-height: auto; }
.hero--center .hero-in { text-align: center; padding: 170px var(--gut) 56px; }
.hero--center h1 { margin-left: auto; margin-right: auto; }

/* ---------- Introduction centrée ---------- */
.intro { text-align: center; }
.intro p { font-family: var(--serif); font-weight: 350; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -0.01em; max-width: 880px; margin: 0 auto; }
.intro p + p { margin-top: 0.8em; }

/* ---------- Colonnes sous filet ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 44px 32px; }
.cols--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.col { border-top: 1px solid var(--line-2); padding-top: 24px; }
.col .dot { display: block; width: 14px; height: 14px; margin-bottom: 20px; }
.dot--ochre { background: var(--ochre); } .dot--terracotta { background: var(--terracotta); } .dot--indigo { background: var(--indigo); } .dot--cyan { background: var(--cyan); }
.col h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.col p { color: var(--text); font-size: 16px; }
.col .kicker { display: block; margin-bottom: 16px; }

/* Listes de noms (clients) */
.names li { font-family: var(--serif); font-size: 22px; line-height: 1.3; padding: 7px 0; }

/* Liste « Ce que nous faisons » */
.inline-list { font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.35; letter-spacing: -0.01em; }
.inline-list a { border-bottom: 2px solid var(--line); transition: border-color .25s, color .25s; }
.inline-list a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.inline-list .sep { color: var(--faint); padding: 0 0.15em; }

/* Citation */
.quote { text-align: center; }
.quote p:not(.kicker) { font-family: var(--serif); font-style: italic; font-weight: 350; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.16; letter-spacing: -0.02em; max-width: 920px; margin: 0 auto; }
.quote .kicker { margin-top: 26px; }

/* ---------- Lignes (expertises, profils) ---------- */
.rows > li, .rows > article { display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr); gap: 16px 32px; padding: 40px 0; border-top: 1px solid var(--line-2); }
.rows .n { font-weight: 600; font-size: 14px; letter-spacing: 0.12em; color: var(--muted); padding-top: 10px; }
.rows h2, .rows h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.02em; }
.rows .acc { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--muted); }
.rows .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.rows .more:hover { color: var(--terracotta); }
.rows p.desc { color: var(--text); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 1.5px; background: var(--ink); }

/* ---------- Clients ---------- */
.client-group + .client-group { margin-top: 80px; }
.client-group .h2 { margin-bottom: 28px; }
.client { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.client:last-child { border-bottom: 1px solid var(--line-2); }
.client .name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.015em; }

/* ---------- Solutions ---------- */
.product + .product { margin-top: clamp(80px, 10vw, 128px); }
.product-head { --p-bg: var(--ink); --p-fg: var(--cream); --p-accent: var(--ochre);
  position: relative; overflow: hidden; background: var(--p-bg); color: var(--p-fg); border-radius: 6px; padding: clamp(32px, 5vw, 64px); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.product-head .orbits { color: var(--p-accent); right: -40px; top: 30px; width: min(480px, 60vw); height: auto; }
.product-head > :not(.orbits) { position: relative; }
.product-head .kicker { color: inherit; }
.product-head h2 { margin-top: 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 4.8vw, 72px); line-height: 0.98; letter-spacing: -0.03em; max-width: 17ch; }
.product-head p.acc { margin-top: 18px; font-size: clamp(18px, 1.5vw, 21px); max-width: 34em; }
.p-terracotta { --p-bg: var(--terracotta); --p-fg: var(--cream); --p-accent: var(--cream); }
.p-indigo { --p-bg: var(--indigo); --p-fg: var(--cream); --p-accent: var(--cyan); }
.p-ochre { --p-bg: var(--ochre); --p-fg: var(--ink); --p-accent: var(--ink); }
.product-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; margin-top: 48px; }
.product-body .for { font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.modules > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.modules > div:last-child { border-bottom: 1px solid var(--line-2); }
.modules dt { font-family: var(--serif); font-weight: 600; font-size: 21px; }
.modules dd { color: var(--text); }
.product-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; margin-top: 28px; }
.product-foot p { color: var(--text); max-width: 44em; }

/* Pastilles (technologies) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-size: 15px; }

/* ---------- Collage (le cabinet) ---------- */
.collage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: end; padding: 0 16px; }
.collage > * { position: relative; overflow: hidden; border-radius: 20px; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { height: 340px; } .collage .c2 { height: 260px; } .collage .c3 { height: 300px; } .collage .c4 { height: 420px; } .collage .c5 { height: 280px; }
.tile { display: flex; align-items: flex-end; padding: 22px; }
.tile .orbits { opacity: 0.35; right: -30px; top: 10px; width: 260px; height: auto; }
.tile span { position: relative; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.tile--ochre { background: var(--ochre); color: var(--ink); } .tile--ochre .orbits { color: var(--ink); }
.tile--indigo { background: var(--indigo); color: var(--cream); } .tile--indigo .orbits { color: var(--cyan); }
.tile--terracotta { background: var(--terracotta); color: var(--cream); } .tile--terracotta .orbits { color: var(--cream); }

/* Mission / vision centrées */
.statements { display: grid; gap: 44px; text-align: center; }
.statements .kicker { display: block; margin-bottom: 14px; }
.statements p.big { font-family: var(--serif); font-weight: 350; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; max-width: 880px; margin: 0 auto; }

/* ---------- Processus (carrières) ---------- */
.steps > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 6fr); gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.steps > li:last-child { border-bottom: 1px solid var(--line-2); }
.steps strong { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.steps .dur { font-weight: 600; color: var(--muted); }
.steps p { color: var(--text); }

/* ---------- Bandeau d'appel ---------- */
.cta { text-align: center; }
.cta .h2 { max-width: 20ch; margin: 0 auto; }
.cta p { margin: 18px auto 0; color: var(--text); max-width: 36em; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px 72px; align-items: start; }
.form { display: grid; gap: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field .req { color: var(--terracotta); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0; padding: 10px 0 12px; transition: border-color .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.field textarea { min-height: 150px; resize: vertical; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--terracotta); }
.err { margin-top: 6px; font-size: 14px; color: var(--terracotta); }
.captcha { display: grid; grid-template-columns: auto 180px; gap: 18px; align-items: end; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.captcha label { margin: 0; font-weight: 500; }
.captcha strong { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--terracotta); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.consent input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--ink); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-left: 3px solid var(--terracotta); background: rgba(181, 72, 42, 0.08); color: #7a2f1b; border-radius: 0 10px 10px 0; }
.done .h2 { margin: 14px 0 18px; }
.done p { color: var(--text); max-width: 34em; }
.info { display: grid; gap: 22px; }
.info div { border-top: 1px solid var(--line-2); padding-top: 14px; }
.info dt { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info dd { margin-top: 4px; font-family: var(--serif); font-size: 21px; overflow-wrap: anywhere; }
.info a:hover { color: var(--terracotta); }

/* ---------- Texte long (pages légales) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 2em 0 0.6em; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 1em; color: var(--text); }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1.5px; background: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .updated { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.2em; }
.todo { background: #f4d79a; color: var(--ink); padding: 1px 6px; border-radius: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; margin-top: -40px; background: var(--ink); color: var(--cream); }
.site-footer .in { max-width: var(--narrow); margin: 0 auto; padding: 136px var(--gut) 40px; }
.foot-title { font-family: var(--serif); font-weight: 700; font-size: clamp(64px, 9vw, 136px); line-height: 0.9; letter-spacing: -0.04em; color: var(--ochre); }
.foot-title a:hover { color: var(--cream); }
.foot-sub { margin-top: 20px; font-size: 19px; color: var(--sand); max-width: 34em; }
.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 32px; margin-top: 64px; }
.foot-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line-light); padding-top: 18px; }
.foot-link b { display: block; font-weight: 400; font-size: 18px; }
.foot-link small { display: block; margin-top: 3px; font-size: 14px; color: var(--sand); overflow-wrap: anywhere; }
.foot-link .ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-2); display: grid; place-items: center; transition: background .25s, color .25s; }
.foot-link .ic svg { width: 18px; height: 18px; }
a.foot-link:hover .ic { background: var(--ochre); color: var(--ink); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 56px; font-size: 16px; }
.foot-nav a:hover { color: var(--ochre); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(246, 239, 227, 0.14); font-size: 14px; color: var(--faint); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-bottom a:hover { color: var(--cream); }
.page-contact .foot-title, .page-contact .foot-sub { display: none; }
.page-contact .site-footer .in { padding-top: 80px; }
.page-contact .foot-links { margin-top: 0; }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide, .slider, .track span { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .product-body, .contact-grid { grid-template-columns: 1fr; }
  .collage { grid-template-columns: repeat(5, 240px); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .collage > * { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .rows > li, .rows > article { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .rows .n { padding-top: 0; }
  .steps > li { grid-template-columns: 1fr; gap: 4px; }
  .modules > div { grid-template-columns: 1fr; gap: 4px; }
  .form .row, .captcha { grid-template-columns: 1fr; }
  .slide-in { bottom: 130px; }
  .slider-ctrl { bottom: 28px; gap: 12px; }
  .round { width: 50px; height: 50px; }
  .site-header .bar { padding-top: 16px; padding-bottom: 16px; }
  .hero-in { padding-top: 130px; padding-bottom: 56px; }
}
