/* ===== JAL Découpe — thème sombre (gris + accent orange) ===== */
:root {
  --bg:      #131519;   /* graphite profond */
  --bg-2:    #1A1E24;   /* panneau */
  --bg-3:    #21262E;   /* panneau relevé */
  --ink:     #EEF1F4;   /* blanc cassé */
  --ink-soft:#98A2AD;   /* gris texte secondaire */
  --line:    #2C333B;
  --accent:  #F58220;   /* orange de marque (le "A" du logo) */
  --accent-2:#FF9E4D;
  --glow:    rgba(245,130,32,.38);

  --maxw: 1160px;
  --r: 16px;
  --font: "Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --mono: "Cascadia Code","Consolas",ui-monospace,"SF Mono","Roboto Mono",monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
h1,h2,h3 { text-wrap: balance; line-height: 1.1; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content:""; width: 26px; height: 1px; background: var(--accent); box-shadow: 0 0 8px var(--glow); }

/* boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem;
  padding: .82em 1.5em; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #201004;
  box-shadow: 0 8px 26px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--glow); background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

/* nav */
header.nav { position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.nav-inner img.logo { height: 40px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: .92rem; color: var(--ink-soft); font-weight: 500; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--accent); transition: width .2s ease; box-shadow: 0 0 8px var(--glow); }
.nav-links a:hover::after { width: 100%; }
.nav-phone { font-family: var(--mono); font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: .45em; }
.nav-phone::before { content: ""; width: 15px; height: 15px; background: var(--accent); -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M164 32 32 88c-9 4-14 14-11 24 51 214 199 362 413 413 10 3 20-2 24-11l56-132c4-9 1-19-7-24l-96-56c-7-4-16-3-22 3l-42 42C288 320 192 224 172 175l42-42c6-6 7-15 3-22L164 40c-5-8-15-11-24-8z"/></svg>') center / contain no-repeat; mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M164 32 32 88c-9 4-14 14-11 24 51 214 199 362 413 413 10 3 20-2 24-11l56-132c4-9 1-19-7-24l-96-56c-7-4-16-3-22 3l-42 42C288 320 192 224 172 175l42-42c6-6 7-15 3-22L164 40c-5-8-15-11-24-8z"/></svg>') center / contain no-repeat; }
.nav-phone:hover { color: var(--accent-2); }
.nav-phone:hover::before { background: var(--accent-2); }
@media (max-width: 900px) { .nav-links { display: none; } .nav-phone { margin-left: auto; } }
@media (max-width: 560px) {
  .nav-inner { gap: 12px; }
  .nav-inner img.logo { height: 32px; }
  .nav-phone { font-size: .82rem; }
  header.nav .btn-primary { padding: .6em .9em; font-size: .85rem; }
}

/* hero */
.hero { position: relative; padding: clamp(46px,7vw,86px) 0 clamp(40px,6vw,64px); overflow: hidden; }
.hero::before { content:""; position:absolute; inset:0;
  background: radial-gradient(80% 90% at 88% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%);
  pointer-events:none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px,4vw,54px); align-items: center; position: relative; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.2rem,5.6vw,3.7rem); font-weight: 700; margin-top: 18px; }
.hero h1 .hl { color: var(--accent); }
.hero .lede { margin-top: 20px; font-size: clamp(1.02rem,1.5vw,1.16rem); color: var(--ink-soft); max-width: 48ch; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-meta { display:flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.hero-meta div { font-size: .85rem; color: var(--ink-soft); }
.hero-meta b { display:block; color: var(--ink); font-family: var(--mono); font-size: 1.05rem; }

/* visuel produit (photo du héro) */
.illus { margin: 0; background: linear-gradient(160deg, var(--bg-2), var(--bg)); border: 1px solid var(--line);
  border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.illus svg { width: 100%; height: auto; display: block; }
.illus img { width: 100%; height: auto; display: block; border-radius: 14px; }
.illus .cap { margin-top: 12px; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; text-align: center; }

/* sections */
section.block { padding: clamp(56px,8vw,92px) 0; }
.sec-head { max-width: 62ch; margin-bottom: 42px; }
.sec-head h2 { font-size: clamp(1.7rem,3.6vw,2.5rem); font-weight: 700; margin-top: 14px; }
.sec-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }

/* services */
.svc { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } }
.card { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-2), var(--bg)); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 26px 54px -30px var(--glow); }
.card .photo { aspect-ratio: 16/10; background: var(--bg-3);
  display: flex; align-items: center; justify-content: center; position: relative;
  border-bottom: 1px solid var(--line); overflow: hidden;
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--bg-3)), var(--bg-3)); }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }
.card.flag .photo { aspect-ratio: 16/12; }
.card .photo .ph { font-family: var(--mono); font-size: .7rem; color: var(--ink-soft); letter-spacing: .08em;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: 8px; padding: 7px 12px;
  background: color-mix(in srgb, var(--bg) 60%, transparent); text-align: center; }
.card .body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card .tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 1.28rem; margin-top: 10px; font-weight: 650; }
.card.flag h3 { font-size: 1.55rem; }
.card .body p { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.card li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.card li::before { content:""; flex:none; width:7px; height:7px; margin-top:.55em; background: var(--accent); rotate: 45deg; box-shadow: 0 0 8px var(--glow); }
.card .body .btn { margin-top: 20px; align-self: flex-start; }

/* étapes (séquence réelle -> numéros porteurs de sens) */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px 20px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.step .num { font-family: var(--mono); font-weight: 700; font-size: 1.1rem; color: var(--accent);
  width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 10px; box-shadow: inset 0 0 14px -6px var(--glow); }
.step h3 { font-size: 1.05rem; margin-top: 16px; font-weight: 600; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: .9rem; }

/* CTA */
.cta-band { border-radius: 24px; padding: clamp(36px,6vw,60px); text-align: center;
  background: radial-gradient(120% 140% at 82% -20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.cta-band h2 { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 700; }
.cta-band p { margin: 14px auto 26px; color: var(--ink-soft); max-width: 54ch; }

.note { font-family: var(--mono); font-size: .72rem; color: var(--ink-soft);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 10px; padding: 10px 14px; display: inline-block; margin-top: 16px; }

/* footer */
footer.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding-block: 52px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
.foot img.logo { height: 42px; margin-bottom: 14px; }
.foot h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; font-weight: 600; }
.foot p, .foot a { color: var(--ink-soft); font-size: .93rem; line-height: 1.9; display: block; }
.foot a:hover { color: var(--accent-2); }
.foot-bar { border-top: 1px solid var(--line); padding-block: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); }
.foot-bar a:hover { color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
