/* =========================================================
   GECO SARL — General Company SARL
   Feuille de style principale
   Couleurs issues de la charte graphique GECO
   ========================================================= */

:root {
  --orange: #ff7700;
  --orange-600: #ee4411;
  --orange-300: #ffa53d;
  --amber: #fbc15e;
  --ink: #282828;
  --ink-2: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e7e4e1;
  --paper: #ffffff;
  --paper-2: #f7f5f3;
  --dark: #1c1413;

  --grad: linear-gradient(135deg, var(--amber) 0%, var(--orange) 45%, var(--orange-600) 100%);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(40, 20, 10, .06), 0 8px 24px rgba(40, 20, 10, .08);
  --shadow-lg: 0 2px 4px rgba(40, 20, 10, .06), 0 24px 48px rgba(40, 20, 10, .14);

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--orange-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  text-decoration: none !important; line-height: 1.2;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(238, 68, 17, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(238, 68, 17, .38); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #178a45; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none !important; color: var(--ink); }
.brand img { width: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: .02em; color: var(--ink); }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-top: .28rem; }
.brand-sub span { color: var(--orange-600); }

.nav { display: flex; align-items: center; gap: .4rem; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: .55rem .85rem; border-radius: 999px; text-decoration: none;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--orange-600); }
.nav .btn { margin-left: .6rem; padding: .7rem 1.2rem; color: #fff; }
.nav .btn:hover { background: var(--grad); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--paper-2); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s ease, background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(0,0,0,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav .btn { margin: .5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: var(--dark) url("../img/poly-dark.svg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,10,8,.82) 0%, rgba(20,10,8,.55) 50%, rgba(20,10,8,.15) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 38em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-emblem { justify-self: center; width: min(100%, 440px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--grad); }
.hero .eyebrow { color: var(--amber); }

.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.4rem 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--amber); }

/* Page hero (pages internes) */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  background: var(--dark) url("../img/poly-dark.svg") center / cover no-repeat;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,10,8,.85), rgba(20,10,8,.35)); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 18em; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 42em; font-size: 1.15rem; margin: 0; }
.page-hero .eyebrow { color: var(--amber); }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper-2) url("../img/poly-light.svg") center / cover no-repeat; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cartes pôles ---------- */
.pole {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.pole:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pole::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--grad); }
.pole-tag { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .14em; color: var(--orange-600); text-transform: uppercase; }
.pole h3 { font-size: 1.45rem; margin: .4rem 0 .6rem; }
.pole p { color: var(--muted); }
.pole ul { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; gap: .45rem; }
.pole li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; }
.pole li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 2px; transform: rotate(45deg); background: var(--orange); }
.pole .link-more { margin-top: auto; font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.pole .link-more svg { width: 18px; height: 18px; transition: transform .2s; }
.pole .link-more:hover svg { transform: translateX(3px); }

.icon-badge {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fff3e3, #ffe2cc); color: var(--orange-600); margin-bottom: 1.1rem;
}
.icon-badge svg { width: 30px; height: 30px; }

/* ---------- Atouts ---------- */
.feature { padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .icon-badge { width: 52px; height: 52px; border-radius: 14px; }
.feature .icon-badge svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Carte « demande type » */
.request-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line);
}
.request-card header { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.4rem; background: var(--ink); color: #fff; }
.request-card header .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,119,0,.25); }
.request-card header strong { font-family: var(--font-head); font-size: .95rem; }
.request-card header small { margin-left: auto; color: rgba(255,255,255,.6); font-size: .8rem; }
.request-list { list-style: none; margin: 0; padding: .6rem 1.4rem; }
.request-list li { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.request-list li:last-child { border-bottom: 0; }
.request-list .qty { font-family: var(--font-head); font-weight: 800; color: var(--orange-600); min-width: 3.5rem; }
.request-list .item { flex: 1; color: var(--ink); }
.request-list .ok { width: 22px; height: 22px; color: #1fa855; }
.request-card footer { padding: 1rem 1.4rem 1.3rem; background: var(--paper-2); font-size: .95rem; color: var(--ink); display: flex; gap: .7rem; align-items: center; }
.request-card footer svg { width: 22px; height: 22px; color: var(--orange-600); flex: none; }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--orange); margin-top: .1rem; }
.checklist strong { color: var(--ink); }

/* ---------- Processus ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange-300) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 .3rem; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(238,68,17,.3);
}
.section-alt .step::before { box-shadow: 0 0 0 6px var(--paper-2), 0 8px 20px rgba(238,68,17,.3); }
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange-300) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; text-align: left; padding: 0; }
  .step::before { margin: 0; grid-row: span 2; }
}

/* ---------- Clients cibles ---------- */
.client {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.client .icon-badge { margin: 0; flex: none; width: 50px; height: 50px; border-radius: 12px; }
.client .icon-badge svg { width: 24px; height: 24px; }
.client h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.client p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: var(--orange-600) url("../img/poly-orange.svg") center / cover no-repeat;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.92); font-size: 1.1rem; }
.cta-band .btn-light { background: #fff; color: var(--ink); }
.cta-band .btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Catalogue (page services) ---------- */
.service-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 4vw, 4rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.service-block aside p { color: var(--muted); }
@media (max-width: 900px) { .service-block { grid-template-columns: 1fr; } .service-block aside { position: static; } }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.cat h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.cat h3 svg { width: 22px; height: 22px; color: var(--orange-600); flex: none; }
.cat ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.cat li { font-size: .9rem; padding: .32rem .75rem; border-radius: 999px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.cat.wide { grid-column: 1 / -1; }

.note {
  display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.4rem;
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: #fff6ec; border: 1px solid #ffd9b0; color: var(--ink); font-size: .95rem;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--orange-600); margin-top: .1rem; }

.extra { padding: 1.5rem; border-radius: var(--radius); border: 1px dashed #d9cfc6; background: #fff; }
.extra h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.extra p { margin: 0; color: var(--muted); font-size: .95rem; }
.badge { display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 6px; background: var(--paper-2); color: var(--muted); margin-bottom: .6rem; }

/* ---------- À propos ---------- */
.model {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.model li { padding: 1.6rem 1.4rem; background: #fff; position: relative; }
.model li + li { border-left: 1px solid var(--line); }
.model li:last-child { background: var(--ink); color: #fff; }
.model li:last-child h3 { color: #fff; }
.model li:last-child p { color: rgba(255,255,255,.8); }
.model .k { font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.model li:last-child .k { color: var(--amber); }
.model h3 { font-size: 1.1rem; margin: .35rem 0 .35rem; }
.model p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .model { grid-template-columns: 1fr 1fr; } .model li + li { border-left: 0; } .model li { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .model { grid-template-columns: 1fr; } }

.docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.docs li { display: flex; gap: .7rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; color: var(--ink); font-weight: 500; }
.docs svg { width: 22px; height: 22px; color: var(--orange-600); flex: none; }
@media (max-width: 560px) { .docs { grid-template-columns: 1fr; } }

.id-card {
  background: var(--ink) url("../img/poly-dark.svg") center / cover; color: #fff; border-radius: 20px; padding: 2.2rem; box-shadow: var(--shadow-lg);
}
.id-card img { width: 230px; margin-bottom: 1.6rem; }
.id-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.4rem; font-size: .98rem; }
.id-card dt { color: rgba(255,255,255,.65); }
.id-card dd { margin: 0; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon-badge { width: 48px; height: 48px; border-radius: 12px; margin: 0; flex: none; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--ink-2); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .95rem; width: 100%;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255,119,0,.15); }
.field .error { color: #c62f0b; font-size: .85rem; min-height: 0; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c62f0b; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .5rem; }
.form-hint { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; background: #eefaf2; border: 1px solid #b8e6c8; color: #11663a; display: none; }
.form-status.show { display: block; }

/* ---------- Texte légal ---------- */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose dl { display: grid; grid-template-columns: 220px 1fr; gap: .6rem 1.5rem; margin: 0 0 1rem; }
.prose dt { font-weight: 600; color: var(--ink); }
.prose dd { margin: 0; }
@media (max-width: 600px) { .prose dl { grid-template-columns: 1fr; gap: .1rem; } .prose dd { margin-bottom: .7rem; } }
.todo { background: #fff6ec; border-bottom: 2px dashed var(--orange); padding: 0 .2rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: #171211; color: rgba(255,255,255,.72); padding: 4rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-logo { width: 190px; margin-bottom: 1.2rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-legal a { color: rgba(255,255,255,.7); }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1fa855; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 1.65rem; }
  h2 { font-size: 1.55rem; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-emblem { display: none; }
}

@media print {
  .site-header, .wa-float, .cta-band, .nav-toggle { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
}

.footer-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }

/* ---------- Page Documents ---------- */
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.doc-sections { display: grid; gap: 3rem; }
.doc-cat h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); padding-bottom: .8rem; margin-bottom: 1.4rem; border-bottom: 2px solid var(--line); position: relative; }
.doc-cat h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--grad); }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 760px) { .doc-grid { grid-template-columns: minmax(0, 1fr); } }
.doc-card { display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease; }
.doc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.doc-icon { position: relative; flex: none; width: 56px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #fff3e3, #ffe2cc); color: var(--orange-600); }
.doc-icon svg { width: 28px; height: 28px; }
.doc-icon span { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-size: .62rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--orange-600); border-radius: 5px; padding: .1rem .4rem; }
.doc-body { min-width: 0; flex: 1; }
.doc-body h3 { font-size: 1.08rem; margin-bottom: .35rem; overflow-wrap: anywhere; }
.doc-body p { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.doc-meta { display: block; font-size: .84rem; color: var(--muted); margin-bottom: .9rem; }
.doc-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.doc-empty, .doc-loading { text-align: center; color: var(--muted); padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--paper-2); }
.doc-empty p { margin: 0; font-size: 1.05rem; }
.doc-note { margin-top: 2.5rem; }
