/* Impact Design — charte noir / orange. Préfixe id- pour toutes nos classes. */
:root {
	--id-ink: #141414;
	--id-ink-2: #1f1f1f;
	--id-ink-3: #2a2a2a;
	--id-orange: #E8650A;
	--id-orange-d: #C4540A;
	--id-orange-l: #FFF1E7;
	--id-grey: #F4F4F4;
	--id-line: #E3E3E3;
	--id-text: #2B2B2B;
	--id-mute: #6B6B6B;
	--id-r: 6px;
	--id-wrap: 1200px;
	--id-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body, button, input, select, textarea { font-family: var(--id-font); }
body { color: var(--id-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .entry-title, .woocommerce-products-header__title { font-family: var(--id-font); color: var(--id-ink); letter-spacing: -0.02em; }
a { color: var(--id-orange-d); }
.id-ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.id-wrap { max-width: var(--id-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; width: 100%; }

/* ── Boutons ─────────────────────────────────────────── */
.id-btn, a.id-btn, button.id-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
	border-radius: var(--id-r); font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.id-btn--primary { background: var(--id-orange); color: #fff; }
.id-btn--primary:hover, .id-btn--primary:focus-visible { background: var(--id-orange-d); color: #fff; }
.id-btn--ghost { border-color: #555; color: #eee; background: transparent; }
.id-btn--ghost:hover { border-color: #fff; color: #fff; }
.id-btn--sm { padding: 9px 14px; font-size: 14px; }
.id-btn:focus-visible, .id-tile:focus-visible, .id-nav a:focus-visible { outline: 2px solid var(--id-orange); outline-offset: 2px; }

/* ── En-tête ─────────────────────────────────────────── */
.id-header { background: var(--id-ink); color: #fff; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--id-ink-3); }
.admin-bar .id-header { top: 32px; }
.id-header__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.id-logo, a.id-logo { font-weight: 800; font-size: 19px; letter-spacing: .06em; color: #fff; text-decoration: none; white-space: nowrap; }
.id-logo span { color: var(--id-orange); }
.id-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.id-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.id-nav__item { position: relative; }
.id-nav__item > a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; color: #cfcfcf; text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--id-r); }
.id-nav__item > a:hover, .id-has-sub:hover > a { color: #fff; }
.id-nav__item .id-ico { width: 16px; height: 16px; }
.id-sub { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border-radius: var(--id-r); padding: 8px; margin: 0; list-style: none;
	box-shadow: 0 14px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.id-has-sub:hover .id-sub, .id-has-sub:focus-within .id-sub { opacity: 1; visibility: visible; transform: none; }
.id-sub a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; color: var(--id-ink); text-decoration: none; font-size: 14px; border-radius: 4px; }
.id-sub a:hover { background: var(--id-orange-l); color: var(--id-orange-d); }
.id-sub .id-ico { color: var(--id-orange); width: 18px; height: 18px; }
.id-nav__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.id-tool { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; color: #cfcfcf; text-decoration: none; font-size: 14px; position: relative; }
.id-tool:hover { color: #fff; }
.id-badge { position: absolute; top: 2px; left: 22px; background: var(--id-orange); color: #fff; font-size: 11px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.id-burger { display: none; margin-left: auto; background: transparent !important; border: 0; color: #fff !important; padding: 8px; }
.id-burger .id-ico { width: 28px; height: 28px; }

/* ── Accueil : en-tête ───────────────────────────────── */
.id-hero { background: var(--id-ink); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.id-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.id-kicker { color: var(--id-orange); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; margin: 0 0 14px; }
.id-hero__title { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 800; margin: 0 0 20px; }
.id-hero__lead { color: #bdbdbd; font-size: 18px; line-height: 1.6; margin: 0 0 32px; max-width: 34em; }
.id-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.id-hero__visual { aspect-ratio: 5 / 4; border-radius: 10px; position: relative; }
.id-hero__visual.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.id-press { position: absolute; inset: 0; }
.id-press__sheet { position: absolute; border-radius: 6px; }
.id-press__sheet--1 { inset: 12% 22% 18% 4%; background: var(--id-orange); transform: rotate(-6deg); }
.id-press__sheet--2 { inset: 4% 4% 30% 30%; background: #fff; transform: rotate(4deg); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.id-press__sheet--2::before { content: ""; position: absolute; left: 12%; right: 30%; top: 16%; height: 14%; background: var(--id-ink); border-radius: 3px; }
.id-press__sheet--2::after { content: ""; position: absolute; left: 12%; right: 12%; top: 40%; height: 36%; background: repeating-linear-gradient(#ddd 0 6px, transparent 6px 16px); }
.id-press__sheet--3 { inset: 58% 36% 2% 18%; background: var(--id-ink-3); border: 1px solid #3a3a3a; transform: rotate(-2deg); }
.id-press__cmyk { position: absolute; right: 6%; bottom: 8%; display: flex; gap: 6px; }
.id-press__cmyk i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.id-press__cmyk i:nth-child(1) { background: #00A3E0; } .id-press__cmyk i:nth-child(2) { background: #E6007E; }
.id-press__cmyk i:nth-child(3) { background: #FFE500; } .id-press__cmyk i:nth-child(4) { background: #fff; border: 2px solid #555; }

/* ── Bande d'arguments ───────────────────────────────── */
.id-args { background: var(--id-ink-2); border-top: 1px solid var(--id-ink-3); }
.id-args__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.id-arg { display: flex; gap: 14px; padding: 26px 20px; color: #fff; border-right: 1px solid var(--id-ink-3); }
.id-arg:last-child { border-right: 0; }
.id-arg .id-ico { color: var(--id-orange); width: 26px; height: 26px; }
.id-arg strong { display: block; font-size: 15px; margin-bottom: 2px; }
.id-arg span { color: #a8a8a8; font-size: 14px; line-height: 1.45; }

/* ── Sections ────────────────────────────────────────── */
.id-section { padding: 80px 0; }
.id-section--grey { background: var(--id-grey); }
.id-section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.id-section__head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.id-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--id-orange-d); white-space: nowrap; }

.id-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.id-tile { display: flex; flex-direction: column; gap: 8px; padding: 28px; background: #fff; border: 1px solid var(--id-line); border-radius: 10px; text-decoration: none; color: var(--id-text); position: relative; transition: border-color .15s, transform .15s, box-shadow .15s; }
.id-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--id-orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; border-radius: 0 0 10px 10px; }
.id-tile:hover { border-color: #cfcfcf; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.id-tile:hover::after { transform: scaleX(1); }
.id-tile__ico { width: 52px; height: 52px; border-radius: 10px; background: var(--id-orange-l); color: var(--id-orange); display: grid; place-items: center; margin-bottom: 8px; }
.id-tile__ico .id-ico { width: 28px; height: 28px; }
.id-tile__name { font-size: 20px; font-weight: 700; color: var(--id-ink); }
.id-tile__desc { color: var(--id-mute); font-size: 15px; line-height: 1.5; flex: 1; }
.id-tile__count { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--id-orange-d); margin-top: 6px; }
.id-tile.has-img { padding: 0 0 24px; overflow: hidden; }
.id-tile.has-img > :not(.id-tile__img) { margin-left: 24px; margin-right: 24px; }
.id-tile__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--id-grey); margin-bottom: 10px; }
.id-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.id-tile:hover .id-tile__img img { transform: scale(1.04); }
.id-hero.has-bg { position: relative; padding: 120px 0 128px;
	background: linear-gradient(90deg, rgba(20,20,20,.94) 0%, rgba(20,20,20,.82) 38%, rgba(20,20,20,.25) 70%, rgba(20,20,20,.05) 100%), var(--id-hero-img) center / cover no-repeat, var(--id-ink); }
.id-hero.has-bg .id-hero__grid { grid-template-columns: minmax(0, 620px); }
.id-more { margin: 24px 0 0; color: var(--id-mute); }
.id-more a { margin-left: 12px; font-weight: 600; }

.id-steps-sec { background: var(--id-grey); }
.id-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.id-steps li { background: #fff; border-radius: 10px; padding: 32px 28px; counter-increment: s; position: relative; border: 1px solid var(--id-line); }
.id-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 22px; right: 26px; font-size: 40px; font-weight: 800; color: #ececec; }
.id-steps .id-ico { color: var(--id-orange); width: 30px; height: 30px; margin-bottom: 14px; }
.id-steps strong { display: block; font-size: 19px; color: var(--id-ink); margin-bottom: 6px; }
.id-steps span { color: var(--id-mute); line-height: 1.55; }

.id-cta { background: var(--id-orange); color: #fff; padding: 56px 0; }
.id-cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.id-cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.id-cta p { margin: 0; max-width: 40em; color: #fff3ea; }
.id-cta .id-btn--primary { background: var(--id-ink); }
.id-cta .id-btn--primary:hover { background: #000; }

/* ── Pied de page ────────────────────────────────────── */
.id-footer { background: var(--id-ink); color: #9a9a9a; padding: 56px 0 0; font-size: 14px; }
.id-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.id-logo--foot { margin-bottom: 12px; }
.id-footer__lead { max-width: 26em; line-height: 1.6; margin: 0; }
.id-footer__h { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.id-footer__list { list-style: none; margin: 0; padding: 0; }
.id-footer__list li { margin-bottom: 8px; }
.id-footer a { color: #bdbdbd; text-decoration: none; }
.id-footer a:hover { color: var(--id-orange); }
.id-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--id-ink-3); padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.id-footer__legal a { margin-left: 18px; }

/* ── Astra : fonds et conteneurs ─────────────────────── */
.ast-separate-container, .ast-separate-container .site-content { background: #fff; }
.home .site-content > .ast-container { max-width: none; padding: 0; display: block; }
.home #primary, .home .site-main { margin: 0; padding: 0; }
.ast-separate-container .ast-article-single, .ast-separate-container .ast-woocommerce-container { padding: 0; background: transparent; }
.woocommerce .site-content > .ast-container, .woocommerce-page .site-content > .ast-container { padding-top: 40px; padding-bottom: 64px; }

/* ── WooCommerce ─────────────────────────────────────── */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	background: #fff; border: 1px solid var(--id-line); border-radius: 10px; padding: 20px !important; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s;
}
.woocommerce ul.products li.product:hover { border-color: #cfcfcf; box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title { font-size: 17px !important; font-weight: 700; color: var(--id-ink); }
.woocommerce ul.products li.product .price { color: var(--id-ink) !important; font-weight: 700; }
.id-price-cfg { font-weight: 500; font-size: 14px; color: var(--id-mute); }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit {
	background: var(--id-orange) !important; color: #fff !important; border-radius: var(--id-r) !important; font-weight: 600; padding: 10px 18px !important;
}
.woocommerce ul.products li.product .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--id-orange-d) !important; }
.woocommerce ul.products li.product .id-btn-cfg { margin-top: auto; align-self: flex-start; }
.woocommerce ul.products li.product-category a { text-decoration: none; display: flex; flex-direction: column; gap: 6px; height: 100%; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title { position: static !important; background: none !important; text-transform: none !important; padding: 0 !important; text-align: left !important; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title .count { display: block; margin-top: 4px; }
.woocommerce ul.products li.product-category .count { background: none; color: var(--id-orange-d); font-weight: 600; font-size: 14px; }
.id-cat-ico { width: 52px; height: 52px; border-radius: 10px; background: var(--id-orange-l); color: var(--id-orange); display: grid; place-items: center; margin-bottom: 10px; }
.id-cat-ico .id-ico { width: 28px; height: 28px; }
.woocommerce ul.products li.product-category img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin: 0 0 12px !important; }
.id-noimg { display: grid; place-items: center; aspect-ratio: 1; background: var(--id-grey); border-radius: 8px; color: var(--id-orange); margin-bottom: 14px; }
.id-noimg .id-ico { width: 34%; height: 34%; stroke-width: 1.2; }
.id-cat-desc { color: var(--id-mute); font-size: 14px; line-height: 1.5; margin: 0; }
.woocommerce-products-header__title, .woocommerce .page-title { font-size: clamp(28px, 4vw, 40px) !important; font-weight: 800; }
.term-description { color: var(--id-mute); font-size: 17px; max-width: 46em; }
.id-tva { font-size: 13px; color: var(--id-mute); margin: -6px 0 16px; }
.id-tva-row td { font-size: 12px; color: var(--id-mute); text-align: right; border-top: 0 !important; padding-top: 0 !important; }

/* ── Formulaire de devis ─────────────────────────────── */
.id-form { display: grid; gap: 16px; max-width: 760px; }
.id-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.id-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--id-ink); }
.id-form input[type=text], .id-form input[type=email], .id-form input[type=tel], .id-form textarea {
	border: 1px solid #cfcfcf; border-radius: var(--id-r); padding: 12px 14px; font-size: 15px; font-weight: 400; background: #fff; width: 100%; box-sizing: border-box;
}
.id-form input:focus, .id-form textarea:focus { border-color: var(--id-orange); outline: 2px solid var(--id-orange-l); }
.id-form__file input { font-weight: 400; }
.id-form__legal { font-size: 13px; color: var(--id-mute); margin: 0; }
.id-form button.id-btn { justify-self: start; }
.id-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.id-notice { padding: 14px 18px; border-radius: var(--id-r); margin-bottom: 20px; max-width: 760px; }
.id-notice--ok { background: #EAF6EC; color: #1E5B2A; }
.id-notice--err { background: #FCEBEB; color: #7A1F1F; }

/* ── Tablette / mobile ───────────────────────────────── */
@media (max-width: 1024px) {
	.id-burger { display: block; }
	.id-nav { position: fixed; inset: 68px 0 0 0; background: var(--id-ink); flex-direction: column; align-items: stretch; padding: 16px 24px 32px; gap: 16px; overflow-y: auto; transform: translateX(100%); transition: transform .2s; }
	.admin-bar .id-nav { top: 114px; }
	.id-nav.is-open { transform: none; }
	.id-nav__list { flex-direction: column; }
	.id-nav__item > a { font-size: 17px; padding: 12px 0; }
	.id-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 8px; min-width: 0; }
	.id-sub a { color: #cfcfcf; }
	.id-sub a:hover { background: transparent; color: #fff; }
	.id-nav__tools { margin-left: 0; flex-wrap: wrap; border-top: 1px solid var(--id-ink-3); padding-top: 16px; }
	.id-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.id-hero__visual { max-width: 520px; }
	.id-args__grid { grid-template-columns: repeat(2, 1fr); }
	.id-arg:nth-child(2) { border-right: 0; }
	.id-arg:nth-child(-n+2) { border-bottom: 1px solid var(--id-ink-3); }
	.id-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) { .admin-bar .id-header { top: 46px; } .admin-bar .id-nav { top: 114px; } }
@media (max-width: 640px) {
	.id-wrap { padding: 0 16px; }
	.id-hero { padding: 48px 0 56px; }
	.id-hero.has-bg { padding: 64px 0 72px; background: linear-gradient(180deg, rgba(20,20,20,.72), rgba(20,20,20,.9)), var(--id-hero-img) 70% center / cover no-repeat, var(--id-ink); }
	.id-hero__lead { font-size: 16px; }
	.id-actions .id-btn { flex: 1 1 100%; justify-content: center; }
	.id-args__grid, .id-tiles, .id-steps, .id-footer__grid, .id-form__row { grid-template-columns: 1fr; }
	.id-arg { border-right: 0; border-bottom: 1px solid var(--id-ink-3); padding: 18px 0; }
	.id-section { padding: 56px 0; }
	.id-section__head { flex-direction: column; align-items: start; }
	.id-cta__in { flex-direction: column; align-items: start; }
	.id-footer__legal a { margin: 0 14px 0 0; }
}
