/*!
Theme Name: mediasac
Theme URI: http://underscores.me/
Author: Andrija Fićović
Author URI: http://andrijaficovic.com
Description: Thème sur-mesure Mediasac — sacs & textiles personnalisables. Design "Soft 3D Clay" (claymorphism opaque), orienté génération de devis.
Version: 3.0.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mediasac
Tags: custom-logo, custom-menu, featured-images, e-commerce, woocommerce, translation-ready

mediasac is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
*/

/* =========================================================================
   1. TOKENS — Soft 3D Clay (opaque, hard bottom shadows)
   ========================================================================= */
:root {
	/* Backgrounds */
	--bg: #EFF8F7;            /* soft lavender page */
	--bg-2: #E4F4F2;
	--surface: #FFFFFF;

	/* Ink */
	--ink: #16303D;          /* headings */
	--body: #334155;         /* body */
	--muted: #64748B;        /* muted */

	/* Clay colors + paired deep shadow */
	--blue: #60A5FA;   --blue-d: #1D4ED8;
	--green: #34D399;  --green-d: #059669;
	--yellow: #FCD34D; --yellow-d: #B45309;
	--coral: #FB7185;  --coral-d: #BE123C;
	--purple: #2BB0A6; --purple-d: #12766E;
	--teal: #2DD4BF;   --teal-d: #0F766E;
	--orange: #FB923C; --orange-d: #C2410C;
	--gray-d: #CBD5E1;

	/* Brand primary = purple clay */
	--primary: #2BB0A6; --primary-d: #12766E; --accent: #12766E;

	/* Radii */
	--r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 14px; --r-pill: 999px;

	--maxw: 1180px;
	--ease: cubic-bezier(0.2, 0.8, 0.3, 1);

	/* Reusable clay shadow stacks */
	--sh-card: inset 0 1px 0 rgba(255,255,255,1), 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.10);
	--sh-card-hover: inset 0 1px 0 rgba(255,255,255,1), 0 14px 0 0 var(--gray-d), 0 22px 40px rgba(22,48,61,.14);
	--sh-soft: 0 6px 0 0 var(--gray-d), 0 12px 22px rgba(22,48,61,.08);
	--top-light: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 60%);
}

/* =========================================================================
   2. BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--body);
	font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1.0625rem; line-height: 1.65; font-weight: 500;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-d); text-decoration: none; transition: color .12s ease-out; }
a:hover { color: var(--purple-d); }
h1,h2,h3,h4,h5,h6 { font-family: "Nunito", sans-serif; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1rem; }
strong, b { font-weight: 800; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.section { padding: clamp(56px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(36px, 6vw, 64px) 0; }
.text-center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 56px); }
.section-title { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 900; margin-bottom: .5rem; color: var(--ink); }
.section-lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 58ch; margin: 0 auto; font-weight: 600; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .4rem;
	font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
	color: var(--primary-d); background: #fff; padding: .5em 1.1em; border-radius: var(--r-pill);
	box-shadow: 0 4px 0 0 var(--gray-d), 0 8px 14px rgba(22,48,61,.08); margin-bottom: 1.2rem;
}

/* Accessibility */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; background: #fff; color: var(--primary-d); padding: 1rem 1.5rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 800; box-shadow: var(--sh-card); }
.skip-link:focus { left: 0; }
:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(43,176,166,.45); border-radius: 10px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   3. BLOBS (opaque page, soft tinted blobs behind)
   ========================================================================= */
.clay-blobs { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.clay-blob { position: absolute; border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; filter: blur(48px); opacity: .22; }
.clay-blob--1 { width: 460px; height: 460px; background: var(--purple); top: -8%; left: -6%; }
.clay-blob--2 { width: 380px; height: 380px; background: var(--blue); top: 30%; right: -8%; }
.clay-blob--3 { width: 420px; height: 420px; background: var(--teal); bottom: -6%; left: 20%; }
.clay-blob--4 { width: 300px; height: 300px; background: var(--coral); bottom: 12%; right: 16%; opacity: .16; }
#page, .site-header, .site-footer { position: relative; z-index: 1; }

/* =========================================================================
   4. BUTTONS — pressable clay
   ========================================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: "Nunito", sans-serif; font-weight: 800; font-size: 1.02rem; line-height: 1;
	color: #fff; border: 0; cursor: pointer; padding: 1rem 1.75rem; border-radius: var(--r-sm);
	text-align: center; white-space: nowrap;
	transition: transform .1s ease-out, box-shadow .1s ease-out;
}
.btn svg { width: 1.2em; height: 1.2em; }

.btn--primary {
	background: var(--top-light), var(--primary);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 0 0 var(--primary-d), 0 12px 22px rgba(18,118,110,.28);
}
.btn--primary:hover { color: #fff; transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 0 var(--primary-d), 0 8px 16px rgba(18,118,110,.24); }
.btn--primary:active { transform: translateY(6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 0 var(--primary-d), 0 4px 8px rgba(18,118,110,.18); }

.btn--white, .btn--outline {
	background: var(--top-light), #fff; color: var(--ink);
	box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 6px 0 0 var(--gray-d), 0 12px 20px rgba(22,48,61,.1);
}
.btn--white:hover, .btn--outline:hover { color: var(--primary-d); transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 4px 0 0 var(--gray-d), 0 8px 16px rgba(22,48,61,.1); }
.btn--white:active, .btn--outline:active { transform: translateY(6px); box-shadow: 0 0 0 0 var(--gray-d), 0 4px 8px rgba(22,48,61,.08); }

.btn--green { background: var(--top-light), var(--green); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 0 0 var(--green-d), 0 12px 22px rgba(5,150,105,.28); }
.btn--green:hover { color: #fff; transform: translateY(2px); }
.btn--green:active { transform: translateY(6px); }

.btn--lg { font-size: 1.12rem; padding: 1.15rem 2.1rem; border-radius: var(--r-md); }
.btn--sm { font-size: .92rem; padding: .7rem 1.2rem; }
.btn--block { width: 100%; }

/* =========================================================================
   5. CARDS
   ========================================================================= */
.clay-card {
	position: relative; overflow: hidden; background: #fff; border-radius: var(--r-lg);
	padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--sh-card);
	transition: transform .12s ease-out, box-shadow .12s ease-out;
}
.clay-card--solid { background: #fff; }
.clay-card--lift:hover { transform: translateY(-6px); box-shadow: var(--sh-card-hover); }

/* Icon orbs (clay) */
.clay-orb { display: inline-flex; align-items: center; justify-content: center; width: 3.75rem; height: 3.75rem; border-radius: var(--r-md); color: #fff; }
.clay-orb svg { width: 1.8rem; height: 1.8rem; }
.clay-orb--round { border-radius: 50%; }
.clay-orb--violet { background: var(--top-light), var(--purple); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 0 var(--purple-d), 0 8px 16px rgba(18,118,110,.24); }
.clay-orb--pink   { background: var(--top-light), var(--coral); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 0 var(--coral-d), 0 8px 16px rgba(190,18,60,.24); }
.clay-orb--sky    { background: var(--top-light), var(--blue); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 0 var(--blue-d), 0 8px 16px rgba(29,78,216,.24); }
.clay-orb--green  { background: var(--top-light), var(--green); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 0 var(--green-d), 0 8px 16px rgba(5,150,105,.24); }
.clay-orb--amber  { background: var(--top-light), var(--yellow); color: var(--yellow-d); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 0 var(--yellow-d), 0 8px 16px rgba(180,83,9,.22); }
.clay-orb--teal   { background: var(--top-light), var(--teal); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 0 var(--teal-d), 0 8px 16px rgba(15,118,110,.24); }

/* =========================================================================
   6. FORMS
   ========================================================================= */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="url"], textarea, select {
	width: 100%; border: 0; background: #fff; color: var(--ink); font-family: inherit; font-size: 1.02rem;
	font-weight: 600; padding: .95rem 1.1rem; border-radius: var(--r-sm);
	box-shadow: inset 0 2px 5px rgba(22,48,61,.10), inset 0 0 0 2px #ECE9FB;
	transition: box-shadow .12s ease-out;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.8rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2312766E' stroke-width='3' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
input:focus, textarea:focus, select:focus { outline: none; box-shadow: inset 0 2px 5px rgba(22,48,61,.06), 0 0 0 4px rgba(43,176,166,.35); }
::placeholder { color: var(--muted); opacity: .85; font-weight: 500; }
label { display: block; font-weight: 800; color: var(--ink); margin-bottom: .4rem; font-size: .95rem; }
.field { margin-bottom: 1.1rem; }
.field--req label::after { content: " *"; color: var(--coral-d); }

/* =========================================================================
   7. HEADER / NAV
   ========================================================================= */
.topbar { background: var(--top-light), var(--primary-d); color: #fff; font-size: .86rem; font-weight: 700; text-align: center; padding: .55rem 1rem; }
.topbar .ms-icon { vertical-align: -3px; }

.site-header { position: sticky; top: 12px; z-index: 900; margin: 12px auto 0; max-width: calc(var(--maxw) + 32px); padding: 0 clamp(10px, 3vw, 20px); }
.header-inner { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: var(--r-lg); padding: .7rem 1.1rem; box-shadow: 0 6px 0 0 var(--gray-d), 0 14px 26px rgba(22,48,61,.12); }
.site-header.is-scrolled .header-inner { box-shadow: 0 5px 0 0 var(--gray-d), 0 10px 20px rgba(22,48,61,.14); }

.site-branding { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
/* Force an explicit height so SVG logos (no intrinsic size) render; width auto keeps aspect.
   Height is generous because the logo is a stacked (near-square) lockup — icon + wordmark. */
.site-branding .custom-logo, .site-branding img.custom-logo { height: 82px; width: auto; max-height: 82px; max-width: 320px; display: block; }
.site-branding img { width: auto; max-height: 82px; }
/* When a custom logo is set, hide the redundant text lockup (tagline lives in the topbar). */
body.wp-custom-logo .site-branding-text { display: none; }
.site-title { font-size: 1.35rem; font-weight: 900; margin: 0; line-height: 1; color: var(--ink); }
.site-title a { color: var(--ink); } .site-title a:hover { color: var(--primary-d); }
.site-tagline { display: block; font-size: .72rem; font-weight: 800; color: var(--primary-d); }

.main-navigation ul { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; color: var(--ink); font-weight: 800; font-size: .96rem; padding: .55rem .8rem; border-radius: var(--r-sm); transition: background .12s, color .12s; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { background: #E3F5F3; color: var(--primary-d); }
.main-navigation ul ul { position: absolute; top: calc(100% + 12px); left: 0; flex-direction: column; align-items: stretch; min-width: 250px; background: #fff; border-radius: var(--r-md); padding: .5rem; box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .15s ease-out; z-index: 50; }
.main-navigation ul ul li { width: 100%; }
.main-navigation ul ul a { border-radius: 12px; padding: .6rem .8rem; }
.main-navigation li:hover > ul, .main-navigation li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation .menu-item-has-children > a::after { content: "⌄"; margin-left: .3em; font-size: .9em; position: relative; top: -2px; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--top-light), #fff; color: var(--primary-d); box-shadow: 0 4px 0 0 var(--gray-d), 0 8px 14px rgba(22,48,61,.1); transition: transform .1s ease-out, box-shadow .1s ease-out; }
.header-phone svg { width: 1.35rem; height: 1.35rem; color: var(--primary-d); }
.header-phone:hover { color: var(--primary-d); transform: translateY(2px); box-shadow: 0 2px 0 0 var(--gray-d), 0 4px 8px rgba(22,48,61,.1); }
.header-phone:active { transform: translateY(4px); box-shadow: 0 0 0 0 var(--gray-d); }
.header-phone-num { display: none; }
.menu-phone { display: none; }

.menu-toggle { display: none; border: 0; background: #fff; box-shadow: 0 4px 0 0 var(--gray-d), 0 8px 14px rgba(22,48,61,.1); width: 3rem; height: 3rem; border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; transition: transform .1s; }
.menu-toggle:active { transform: translateY(4px); box-shadow: 0 0 0 0 var(--gray-d); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; display: block; width: 20px; height: 2.6px; background: var(--ink); border-radius: 3px; position: relative; transition: transform .2s; }
.menu-toggle span::before { position: absolute; top: -6px; } .menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================================
   8. HERO
   ========================================================================= */
.hero { padding: clamp(16px, 2.6vw, 40px) 0 clamp(48px, 8vw, 88px); }
/* Trim the empty space between the sticky header and the first hero/section. */
.site-main > .section:first-child, .site-main > .section--tight:first-child,
.site-main.front-page > .section:first-child { padding-top: clamp(14px, 2.2vw, 30px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 4.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 1.1rem; color: var(--ink); }
.clay-text-gradient { color: var(--primary-d); }
.hero-lead { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--body); font-weight: 600; max-width: 46ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; padding: 0; margin: 0; }
.hero-trust li { display: flex; align-items: center; gap: .5rem; list-style: none; font-weight: 800; font-size: .92rem; color: var(--ink); }
.hero-trust svg { width: 1.3rem; height: 1.3rem; color: var(--green-d); flex: none; }

.hero-visual { position: relative; }
.hero-card { position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden; background: var(--top-light), #fff; box-shadow: 0 12px 0 0 var(--gray-d), 0 26px 44px rgba(22,48,61,.16); padding: clamp(16px, 2.6vw, 30px); }
.hero-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; border-radius: var(--r-lg); display: block; }
.hero-badge { position: absolute; z-index: 3; background: #fff; border-radius: var(--r-md); box-shadow: 0 6px 0 0 var(--gray-d), 0 12px 20px rgba(22,48,61,.14); padding: .85rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.hero-badge b { display: block; font-size: 1.05rem; font-weight: 900; line-height: 1; color: var(--ink); }
.hero-badge small { color: var(--muted); font-weight: 700; font-size: .76rem; }
.hero-badge--tl { top: 6%; left: -5%; }
.hero-badge--br { bottom: 8%; right: -4%; }

/* =========================================================================
   9. STATS
   ========================================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.stat { text-align: center; }
.stat-orb { width: clamp(5rem, 11vw, 7rem); height: clamp(5rem, 11vw, 7rem); border-radius: 50%; margin: 0 auto .9rem; display: flex; align-items: center; justify-content: center; color: #fff; }
.stat-orb b { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; line-height: 1; }
.stat:nth-child(1) .stat-orb { background: var(--top-light), var(--purple); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 7px 0 0 var(--purple-d), 0 14px 24px rgba(18,118,110,.26); }
.stat:nth-child(2) .stat-orb { background: var(--top-light), var(--coral); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 7px 0 0 var(--coral-d), 0 14px 24px rgba(190,18,60,.26); }
.stat:nth-child(3) .stat-orb { background: var(--top-light), var(--blue); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 7px 0 0 var(--blue-d), 0 14px 24px rgba(29,78,216,.26); }
.stat:nth-child(4) .stat-orb { background: var(--top-light), var(--green); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 7px 0 0 var(--green-d), 0 14px 24px rgba(5,150,105,.26); }
.stat-label { font-weight: 800; color: var(--muted); font-size: .95rem; }

/* =========================================================================
   10. CATEGORY BENTO
   ========================================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.cat-card { position: relative; overflow: hidden; border-radius: var(--r-lg); display: flex; flex-direction: column; background: #fff; box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.12); transition: transform .12s ease-out, box-shadow .12s ease-out; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 0 0 var(--gray-d), 0 24px 42px rgba(22,48,61,.16); }
.cat-media { position: relative; display: block; aspect-ratio: 1/1; background-color: #E3F5F3; background-size: cover; background-position: center; background-repeat: no-repeat; }
.cat-count-pill { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.92); color: var(--primary-d); font-weight: 800; font-size: .74rem; padding: .28rem .7rem; border-radius: var(--r-pill); box-shadow: 0 3px 0 0 var(--gray-d); }
.cat-body { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 1.15rem; }
.cat-info { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.cat-card .cat-kicker { font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.cat-card h3 { color: var(--ink); font-size: 1.12rem; font-weight: 900; margin: 0; line-height: 1.2; }
.cat-card .cat-go { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--top-light), var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 0 var(--primary-d); transition: transform .15s ease-out; }
.cat-card:hover .cat-go { transform: rotate(-45deg); }
.cat-card .cat-go svg { width: 1.1rem; height: 1.1rem; }
/* Featured (large) card */
.cat-card.is-featured { grid-column: span 2; grid-row: span 2; }
.cat-card.is-featured .cat-media { aspect-ratio: auto; flex: 1; min-height: 300px; }
.cat-card.is-featured h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.cat-card.is-featured .cat-body { padding: 1.2rem 1.4rem; }
/* Per-category soft media tint (shows behind transparent visuals) */
.cat-card.grad-1 .cat-media { background-color: #E3F5F3; }
.cat-card.grad-2 .cat-media { background-color: #FFE4E6; }
.cat-card.grad-3 .cat-media { background-color: #DBEAFE; }
.cat-card.grad-4 .cat-media { background-color: #D1FAE5; }
.cat-card.grad-5 .cat-media { background-color: #FEF3C7; }
.cat-card.grad-6 .cat-media { background-color: #CCFBF1; }

/* =========================================================================
   11. PROCESS
   ========================================================================= */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.process-step { text-align: center; }
.process-circle { width: 5.5rem; height: 5.5rem; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--top-light), #fff; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 7px 0 0 var(--gray-d), 0 14px 24px rgba(22,48,61,.1); position: relative; }
.process-circle svg { width: 2.2rem; height: 2.2rem; color: var(--primary-d); }
.process-num { position: absolute; top: -.4rem; right: -.4rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--top-light), var(--coral); color: #fff; font-weight: 900; font-size: .95rem; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 0 var(--coral-d); }
.process-step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .35rem; }
.process-step p { color: var(--muted); font-size: .95rem; font-weight: 600; max-width: 26ch; margin: 0 auto; }

/* =========================================================================
   12. FEATURES / SPLIT / FOUNDER / CTA
   ========================================================================= */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 28px); }
.feature h3 { font-size: 1.25rem; font-weight: 800; margin: 1rem 0 .4rem; }
.feature p { color: var(--muted); font-size: .98rem; font-weight: 600; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split img, .split-visual img { border-radius: var(--r-lg); box-shadow: 0 10px 0 0 var(--gray-d), 0 20px 36px rgba(22,48,61,.14); width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1/1; background: var(--top-light), #fff; padding: clamp(14px, 2.4vw, 28px); }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; font-weight: 600; color: var(--body); }
.checklist .tick { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--top-light), var(--green); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 0 var(--green-d); }
.checklist .tick svg { width: 1rem; height: 1rem; color: #fff; }

.founder-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 44px); align-items: center; }
.founder-photo { width: clamp(110px, 18vw, 180px); height: clamp(110px, 18vw, 180px); border-radius: 50%; object-fit: cover; box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.14); }
.founder-quote { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 800; line-height: 1.4; color: var(--ink); }
.founder-name { margin-top: 1rem; font-weight: 900; color: var(--primary-d); }
.founder-name small { display: block; color: var(--muted); font-weight: 700; }

.cta-band { border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px); text-align: center; color: #fff; position: relative; overflow: hidden;
	background: var(--top-light), var(--primary); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 12px 0 0 var(--primary-d), 0 26px 44px rgba(18,118,110,.3); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; }
.cta-band p { color: rgba(255,255,255,.94); max-width: 52ch; margin: 0 auto 2rem; font-size: 1.1rem; font-weight: 600; }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; margin-top: 1.6rem; }
.reassure span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .92rem; color: #fff; }
.reassure svg { width: 1.15rem; height: 1.15rem; }
.cta-band .eyebrow { background: rgba(255,255,255,.2); color: #fff; box-shadow: none; }

/* =========================================================================
   13. FOOTER
   ========================================================================= */
.site-footer { margin-top: clamp(56px, 8vw, 100px); }
.footer-main { background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: clamp(44px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); box-shadow: 0 -10px 0 0 var(--gray-d), 0 -18px 40px rgba(22,48,61,.06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(24px, 4vw, 48px); }
.footer-col h4 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.1rem; color: var(--ink); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: var(--muted); font-weight: 600; }
.footer-col a:hover { color: var(--primary-d); }
.footer-about p { color: var(--muted); font-size: .95rem; font-weight: 600; }
.footer-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.footer-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--bg); padding: .45rem .8rem; border-radius: var(--r-pill); font-size: .8rem; font-weight: 800; color: var(--ink); box-shadow: 0 3px 0 0 var(--gray-d); }
.footer-badge svg { width: 1rem; height: 1rem; color: var(--green-d); }
.footer-bottom { border-top: 2px solid #EEF0F6; margin-top: clamp(28px,4vw,44px); padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.footer-legal, .footer-legal-fallback { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0; }
.footer-legal a, .footer-legal-fallback a { color: var(--muted); }
.footer-legal a:hover, .footer-legal-fallback a:hover { color: var(--primary-d); }

/* =========================================================================
   14. GENERIC CONTENT
   ========================================================================= */
.page-hero { padding: clamp(32px, 5vw, 60px) 0 clamp(14px, 2vw, 24px); text-align: center; }
.page-hero .breadcrumbs, .woocommerce-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 900; }
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content > * { margin-bottom: 1.1rem; }
.entry-content h2 { font-size: 1.7rem; margin-top: 2rem; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.5rem; }
.entry-content img { border-radius: var(--r-md); box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 28px rgba(22,48,61,.12); }
.entry-content blockquote { border-left: 5px solid var(--primary); background: #fff; padding: 1.2rem 1.5rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; box-shadow: var(--sh-soft); font-weight: 600; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--sh-soft); background: #fff; }
.entry-content th, .entry-content td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid #EEF0F6; }
.entry-content th { background: var(--bg); font-weight: 800; color: var(--ink); }

/* Bloc Mediasac « prose » : même traitement typographique que .entry-content */
.ms-prose > *:first-child { margin-top: 0; }
.ms-prose > * { margin-bottom: 1.1rem; }
.ms-prose h1 { font-size: clamp(1.9rem,4vw,2.6rem); font-weight: 900; margin: .2rem 0 1rem; }
.ms-prose h2 { font-size: 1.7rem; font-weight: 800; margin-top: 2rem; }
.ms-prose h3 { font-size: 1.35rem; font-weight: 800; margin-top: 1.5rem; }
.ms-prose p, .ms-prose li { color: var(--body); line-height: 1.7; }
.ms-prose ul, .ms-prose ol { padding-left: 1.3rem; }
.ms-prose li { margin-bottom: .5rem; }
.ms-prose img { border-radius: var(--r-md); box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 28px rgba(22,48,61,.12); }
.ms-prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.ms-prose blockquote { border-left: 5px solid var(--primary); background: var(--bg); padding: 1.2rem 1.5rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 600; margin: 1.4rem 0; }
.ms-prose table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--sh-soft); background: #fff; }
.ms-prose th, .ms-prose td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid #EEF0F6; }
.ms-prose th { background: var(--bg); font-weight: 800; color: var(--ink); }
.ms-prose .lp-cta { margin-top: 2.2rem; background: var(--top-light), #fff; border-radius: var(--r-lg); padding: clamp(1.4rem,3vw,2.2rem); box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.1); text-align: center; }
.ms-prose .lp-cta h2 { margin-top: 0; }
.ms-prose .lp-cta .btn { margin-top: .6rem; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 28px); }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .post-thumb { aspect-ratio: 16/10; object-fit: contain; object-position: center; width: 100%; background: #E3F5F3; }
.post-card .post-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card h2, .post-card h3 { font-size: 1.2rem; }
.post-meta { font-size: .82rem; color: var(--muted); font-weight: 700; }

.pagination, .woocommerce-pagination { margin-top: 2.5rem; text-align: center; }
.pagination .nav-links, .woocommerce-pagination ul { display: inline-flex; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pagination a, .pagination span, .woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.8rem; height: 2.8rem; padding: 0 .6rem; border-radius: var(--r-sm); background: #fff; font-weight: 800; color: var(--ink); box-shadow: 0 4px 0 0 var(--gray-d), 0 8px 14px rgba(22,48,61,.08); border: 0; }
.pagination .current, .woocommerce-pagination .current { background: var(--top-light), var(--primary); color: #fff; box-shadow: 0 4px 0 0 var(--primary-d); }

.comments-area { max-width: 780px; margin: 3rem auto 0; }
.search-field { flex: 1; }
.ms-icon { display: inline-block; vertical-align: middle; width: 1.15em; height: 1.15em; flex: none; }

/* Sticky mobile devis CTA */
.mobile-cta { display: none; }

/* =========================================================================
   15. RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 460px; margin: 0 auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.cat-card.is-featured { grid-column: span 2; grid-row: span 1; min-height: 270px; }
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.header-phone { display: none; }
	.header-actions .btn--primary { display: none; }
	.header-inner { position: relative; }
	.menu-toggle { display: inline-flex; }
	.main-navigation { position: absolute; top: calc(100% + 14px); left: 0; right: 0; background: #fff; border-radius: var(--r-lg); box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.16); padding: .8rem; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height .25s ease-out, opacity .2s ease-out, visibility .2s; z-index: 80; }
	.main-navigation.is-open { max-height: calc(100vh - 140px); overflow-y: auto; opacity: 1; visibility: visible; }
	.main-navigation ul { flex-direction: column; align-items: stretch; gap: .1rem; width: 100%; }
	.main-navigation > ul > li { border-bottom: 1px solid #E3F5F3; }
	.main-navigation > ul > li:last-child { border-bottom: 0; }
	.main-navigation a { padding: .85rem 1rem; font-size: 1.02rem; }
	.main-navigation ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #F6F4FF; margin: .2rem 0 .4rem 1rem; padding: .3rem; }
	.menu-phone { display: block; }
	.menu-phone a { display: inline-flex !important; align-items: center; gap: .5rem; color: var(--primary-d); font-weight: 900; }
	.menu-phone svg { width: 1.2rem; height: 1.2rem; }
	.split, .founder-card { grid-template-columns: 1fr; }
	.founder-card { text-align: center; } .founder-photo { margin: 0 auto; }
	/* sticky mobile CTA */
	.mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950; gap: .6rem; }
	.mobile-cta .btn { flex: 1; box-shadow: 0 5px 0 0 var(--primary-d), 0 10px 20px rgba(18,118,110,.3); }
	.mobile-cta .btn--call { flex: 0 0 auto; }
	body { padding-bottom: 84px; }
	/* keep the Cookie Notice bar above the sticky call/devis bar */
	#cookie-notice, .cookie-notice-container, #cookie-law-info-bar, .cky-consent-container {
		bottom: 92px !important; z-index: 960 !important;
	}
}
@media (max-width: 680px) {
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.features-grid, .bento, .posts-grid { grid-template-columns: 1fr; }
	.cat-card.is-featured { grid-column: span 1; }
	.hero-cta .btn { width: 100%; }
}

/* =========================================================================
   16. MEGA MENU ("Nos sacs")
   ========================================================================= */
.main-navigation .has-mega { position: relative; }
.main-navigation .mega {
	position: absolute; top: calc(100% + 12px); left: 0; width: min(560px, 92vw);
	background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.2rem;
	box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.16);
	display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.4rem;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .15s ease-out; z-index: 60;
}
.main-navigation .has-mega:hover .mega, .main-navigation .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-h { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 800; margin: .2rem 0 .5rem; }
.mega-col a { display: block; padding: .45rem .55rem; border-radius: 10px; font-size: .95rem; font-weight: 700; color: var(--ink); }
.mega-col a:hover { background: #E3F5F3; color: var(--accent); }
.mega-cta { grid-column: 1 / -1; margin-top: .6rem; }

@media (max-width: 860px) {
	.main-navigation .has-mega { position: static; }
	.main-navigation .mega {
		position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		background: #F6F4FF; display: none; grid-template-columns: 1fr; gap: 0;
		padding: .6rem .9rem; margin: 0 0 .5rem; border-radius: 12px;
	}
	.main-navigation .has-mega.is-expanded .mega { display: block; }
	.mega-col { margin-bottom: .5rem; }
	.mega-cta { margin-top: .2rem; }
	/* rotating caret on the "Nos sacs" toggle */
	.main-navigation .has-mega > a::after { float: right; transition: transform .2s ease-out; }
	.main-navigation .has-mega.is-expanded > a::after { transform: rotate(180deg); }
}

/* =========================================================================
   17. LANDING PAGES (money pages)
   ========================================================================= */
.lp-lead { font-size: 1.15rem; color: var(--body); font-weight: 600; margin-bottom: 1.4rem; }
.entry-content .lp-cta { margin-top: 2.2rem; background: var(--top-light), #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 8px 0 0 var(--gray-d), 0 16px 30px rgba(22,48,61,.1); text-align: center; }
.entry-content .lp-cta h2 { margin-top: 0; }
.entry-content .lp-cta .btn { margin-top: .6rem; }

/* ---- Custom logo responsive sizing (stacked lockup) ---- */
@media (max-width: 860px) {
	.site-branding .custom-logo, .site-branding img.custom-logo { height: 66px; max-height: 66px; }
}
@media (max-width: 480px) {
	.site-branding .custom-logo, .site-branding img.custom-logo { height: 58px; max-height: 58px; max-width: 68vw; }
}

/* =========================================================================
   17. Fixes — footer logo, mobile blob smear, cookie bar clearance
   ========================================================================= */
.footer-logo { margin-bottom: 1rem; }
.footer-logo .custom-logo, .footer-logo img { height: 66px !important; width: auto !important; max-height: 66px; max-width: 240px; display: block; }

@media (max-width: 860px) {
	/* Fixed blurred blobs repaint as a purple smear over content while scrolling on mobile. */
	.clay-blobs { display: none !important; }
	/* Cookie Notice: the first-time consent prompt sits ABOVE the sticky call/devis bar. */
	#cookie-notice.cookie-notice-visible { bottom: 84px !important; z-index: 962 !important; }
	/* Hide the floating "revoke consent" icon on mobile — it overlapped the call button. */
	#cookie-notice.cookie-revoke-visible { display: none !important; }
	/* Cookie Compliance (cloud) privacy badge — lift it above the sticky call/devis bar. */
	[aria-label="Revoke Icon"], .hu-cookies-container, .hu, #hu, .cc-revoke {
		bottom: 100px !important; z-index: 940 !important;
	}
}

/* Cookie consent widget (hu-wrapper) — raise it above the sticky bottom bar. */
.hu-wrapper.hu-position-bottom-left { position: fixed !important; bottom: 70px !important; }

/* ---- Footer CTA fixes ---- */
/* Keep the footer devis button text white (footer link color was overriding it). */
.footer-col a.btn, .footer-col a.btn:hover, .site-footer a.btn--primary, .site-footer a.btn--primary:hover { color: #fff; }
/* Never let the button force horizontal overflow in a narrow column. */
.footer-col .btn { white-space: normal; max-width: 100%; }
@media (max-width: 560px) {
	.footer-grid { grid-template-columns: 1fr; }
	.footer-col .btn { width: 100%; }
}

/* =========================================================================
   18. Button text colors — correct in EVERY context (prose, entry-content,
   footer, woocommerce) and for EVERY link state (:link/:visited/:hover/…).
   Appended last so it wins specificity ties by source order.
   ========================================================================= */
a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:active, a.btn:focus { text-decoration: none; }
/* Filled buttons → white text */
a.btn--primary, a.btn--primary:link, a.btn--primary:visited, a.btn--primary:hover, a.btn--primary:active, a.btn--primary:focus,
a.btn--green, a.btn--green:link, a.btn--green:visited, a.btn--green:hover, a.btn--green:active, a.btn--green:focus,
.btn--primary, .btn--green { color: #fff; }
/* Light buttons → ink text, purple on hover */
a.btn--white, a.btn--white:link, a.btn--white:visited, a.btn--white:active,
a.btn--outline, a.btn--outline:link, a.btn--outline:visited, a.btn--outline:active,
.btn--white, .btn--outline { color: var(--ink); }
a.btn--white:hover, a.btn--white:focus, a.btn--outline:hover, a.btn--outline:focus { color: var(--primary-d); }

/* CTA band — keep the long button inside the viewport on small phones */
@media (max-width: 560px) {
	.cta-band { padding: clamp(26px,7vw,44px) clamp(18px,5vw,28px); }
	.cta-band .btn, .btn--lg { white-space: normal; max-width: 100%; }
	.cta-band .btn { padding-left: 1.3rem; padding-right: 1.3rem; line-height: 1.25; }
}

/* =========================================================================
   18. Shop category filter chips + featured "offre d'appel"
   ========================================================================= */
.shop-filters { margin: .5rem 0 1.5rem; }
.shop-filters-track { display: flex; flex-wrap: wrap; gap: .55rem; }
.shop-filter-chip {
	display: inline-flex; align-items: center; white-space: nowrap;
	font-size: .9rem; font-weight: 800; color: var(--ink); background: #fff;
	padding: .5rem 1rem; border-radius: var(--r-pill);
	box-shadow: 0 3px 0 0 var(--gray-d); transition: transform .1s, box-shadow .1s, color .1s, background .1s;
}
.shop-filter-chip:hover { color: var(--primary-d); transform: translateY(-2px); box-shadow: 0 5px 0 0 var(--gray-d); }
.shop-filter-chip.is-active { background: var(--top-light), var(--primary); color: #fff; box-shadow: 0 4px 0 0 var(--primary-d); }
@media (max-width: 680px) {
	/* horizontal scroll strip on mobile — no wrapping, thumb-friendly */
	.shop-filters-track { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .4rem; scrollbar-width: none; }
	.shop-filters-track::-webkit-scrollbar { display: none; }
	.shop-filter-chip { scroll-snap-align: start; }
}

.featured-deal-section { padding-top: 0; }
.featured-deal {
	display: grid; grid-template-columns: minmax(0,.9fr) 1.1fr; align-items: center; gap: clamp(20px,4vw,48px);
	background: var(--top-light), #fff; border-radius: var(--r-xl, 28px);
	padding: clamp(20px,3vw,40px); box-shadow: 0 10px 0 0 var(--gray-d), 0 24px 44px rgba(22,48,61,.12);
}
.featured-deal-media { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 2px #EEF3F2; padding: 6%; }
.featured-deal-media .deal-img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; display: block; }
.deal-flag {
	position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .35rem;
	background: var(--top-light), var(--coral); color: #fff; font-weight: 800; font-size: .8rem;
	padding: .4rem .85rem; border-radius: var(--r-pill); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 0 var(--coral-d);
}
.featured-deal-title { font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 900; color: var(--ink); margin: .3rem 0 .5rem; line-height: 1.1; }
.featured-deal-text { color: var(--muted); font-weight: 600; max-width: 52ch; margin-bottom: 1rem; }
.featured-deal-price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.1rem; }
.featured-deal-price .fd-from { font-weight: 700; color: var(--muted); }
.featured-deal-price strong { font-size: 2.4rem; font-weight: 900; color: var(--primary-d); line-height: 1; }
.featured-deal-price .fd-ht { font-weight: 700; color: var(--muted); font-size: .95rem; }
.featured-deal-reassure { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem; }
.featured-deal-reassure span { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 800; color: var(--ink); }
.featured-deal-reassure svg { width: 1rem; height: 1rem; color: var(--green-d); }
@media (max-width: 780px) {
	.featured-deal { grid-template-columns: 1fr; text-align: center; }
	.featured-deal-media { max-width: 320px; margin: 0 auto; }
	.featured-deal-text { margin-left: auto; margin-right: auto; }
	.featured-deal-price, .featured-deal-reassure { justify-content: center; }
}

/* ---- La Fabrication : three route badges above the text ---- */
.fab-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 2rem; }
.fab-badge {
	display: flex; flex-direction: column; gap: .35rem; text-decoration: none;
	background: #fff; border-radius: var(--r-lg); padding: 1.2rem 1.3rem;
	box-shadow: 0 6px 0 0 var(--gray-d), 0 14px 26px rgba(22,48,61,.1);
	border-top: 5px solid var(--primary);
	transition: transform .12s, box-shadow .12s;
}
.fab-badge:hover { transform: translateY(-4px); box-shadow: 0 10px 0 0 var(--gray-d), 0 20px 34px rgba(22,48,61,.14); }
.fab-badge--fr { border-top-color: #2BB0A6; }
.fab-badge--eu { border-top-color: #12766E; }
.fab-badge--asia { border-top-color: #E08A3C; }
.fab-badge-k { font-weight: 900; color: var(--ink); font-size: 1.05rem; line-height: 1.2; }
.fab-badge-s { font-weight: 700; color: var(--primary-d); font-size: .85rem; }
@media (max-width: 720px) { .fab-badges { grid-template-columns: 1fr; } }

/* footer badges as links */
a.footer-badge { text-decoration: none; cursor: pointer; transition: transform .1s, color .1s; }
a.footer-badge:hover { transform: translateY(-2px); }

/* Footer — éditeur / mentions (Customizer « Mediasac — Contact & Devis ») */
.footer-editor { margin-top: clamp(36px,5vw,56px); padding: 1rem 1.2rem; border-radius: var(--r-md, 18px); background: #F6F8FB; color: var(--muted); font-size: .84rem; line-height: 1.6; font-weight: 600; }
.footer-editor p { margin: 0; }
.footer-editor strong { color: var(--ink); }
.footer-editor a { color: var(--primary-d); }

/* Frais techniques page */
.ms-prose .ft-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0 .6rem; }
.ms-prose .ft-price { background: var(--bg); border-radius: var(--r-sm); padding: 1rem; text-align: center; box-shadow: var(--sh-soft); display: flex; flex-direction: column; gap: .2rem; }
.ms-prose .ft-price span { font-size: .85rem; font-weight: 700; color: var(--muted); }
.ms-prose .ft-price strong { font-size: 1.45rem; font-weight: 900; color: var(--primary-d); }
.ms-prose .ft-x2 { color: var(--primary-d); }
.ms-prose img.ft-pantone { width: 100%; height: auto; box-shadow: var(--sh-soft); }
@media (max-width: 560px) { .ms-prose .ft-prices { grid-template-columns: 1fr; } }
.fab-more { margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: var(--r-md); background: var(--bg); }
.fab-more h2 { margin-top: 0; }

/* Devis : aide sous le champ quantité */
.field-help { display: block; margin-top: .35rem; font-size: .8rem; line-height: 1.4; opacity: .75; }

/* Menu : une seule ligne (ajout « Made in France ») */
@media (min-width: 1025px) {
	#primary-menu > li > a { white-space: nowrap; }
}
@media (min-width: 1025px) and (max-width: 1320px) {
	#primary-menu > li > a { padding-left: .55rem; padding-right: .55rem; font-size: .9rem; }
	.header-phone-num { display: none; }
}

/* Tableaux d’articles : défilement horizontal sur mobile */
@media (max-width: 700px) { .entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .entry-content th, .entry-content td { min-width: 9rem; } }

/* Footer : nos autres sites */
.footer-sites { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: clamp(28px, 4vw, 40px); padding-top: 1.2rem; border-top: 1px solid #E6EAF0; }
.footer-sites-h { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); margin-right: .4rem; }
.footer-site { display: inline-flex; flex-direction: column; padding: .55rem .9rem; border-radius: var(--r-sm, 12px); background: #fff; box-shadow: 0 3px 0 0 var(--gray-d); text-decoration: none; line-height: 1.25; transition: transform .1s; }
.footer-site:hover { transform: translateY(-2px); }
.footer-site strong { color: var(--ink); font-size: .9rem; }
.footer-site span { color: var(--muted); font-size: .78rem; font-weight: 600; }

/* Espacements : hero de page + contenu (pages légales, pages texte) plus compacts */
.section--tight:has(.page-hero) { padding-bottom: clamp(8px, 1.5vw, 16px); }
.section--tight:has(.page-hero) .page-hero { padding-bottom: 8px; }
.section--tight:has(.page-hero) + .section { padding-top: clamp(16px, 2vw, 28px); }
.section:has(> .container > .ms-prose) { padding-bottom: clamp(40px, 5vw, 64px); }

/* Mega menu : le bouton « Tous nos sacs » garde son style au survol (sinon écrasé par .main-navigation a:hover) */
.main-navigation .mega-cta a.btn--primary,
.main-navigation .mega-cta a.btn--primary:hover,
.main-navigation .mega-cta a.btn--primary:focus-visible { background: var(--top-light), var(--primary); color: #fff; }
.main-navigation .mega-cta a.btn--primary:hover { background: var(--top-light), var(--primary-d); }
.main-navigation .mega-cta a.btn--primary svg { color: #fff; }
