/* =====================================================================
   CMC – Interface (Carrefour du Multimédia & de la Communication)
   ===================================================================== */
:root {
	--cmc-blue: #1E4E9C;
	--cmc-blue-2: #2A63C2;
	--cmc-navy: #0B1D3F;
	--cmc-navy-2: #10295A;
	--cmc-red: #D6150F;
	--cmc-red-2: #B3100B;
	--cmc-bordeaux: #7A1C1E;
	--cmc-green: #25D366;
	--cmc-green-2: #1EBE5A;
	--cmc-ink: #14213D;
	--cmc-muted: #5B6478;
	--cmc-line: #E4E9F2;
	--cmc-bg: #F4F7FC;
	--cmc-radius: 18px;
	--cmc-shadow: 0 10px 30px -12px rgba(16, 41, 90, .22);
	--cmc-shadow-lg: 0 24px 60px -20px rgba(16, 41, 90, .35);
	--cmc-ease: cubic-bezier(.22, 1, .36, 1);
}

body { overflow-x: clip; }
.cmc-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.cmc-wrap { max-width: 1222px; margin: 0 auto; padding: 0 15px; }
.cmc-full { width: 100vw; margin-left: calc(50% - 50vw); }

/* Accueil : pas de marge entre l'en-tête et le hero */
.home .main-page-wrapper { padding-top: 0; }
.home .entry-content > *:first-child { margin-top: 0; }

/* ---------- Boutons ---------- */
.cmc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1;
	text-decoration: none; transition: transform .35s var(--cmc-ease), box-shadow .35s var(--cmc-ease), background-color .25s;
	white-space: nowrap;
}
.cmc-btn:hover { transform: translateY(-2px); }
.cmc-btn .cmc-icon { transition: transform .35s var(--cmc-ease); }
.cmc-btn:hover .cmc-icon:last-child { transform: translateX(3px); }
.cmc-btn--red { background: var(--cmc-red); color: #fff; box-shadow: 0 12px 28px -10px rgba(214, 21, 15, .7); }
.cmc-btn--red:hover { background: var(--cmc-red-2); color: #fff; }
.cmc-btn--glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.cmc-btn--glass:hover { background: rgba(255,255,255,.18); color: #fff; }
.cmc-btn--glass .cmc-icon { color: var(--cmc-green); }
.cmc-btn--green { background: var(--cmc-green); color: #fff; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .7); }
.cmc-btn--green:hover { background: var(--cmc-green-2); color: #fff; }
.cmc-btn--white { background: #fff; color: var(--cmc-ink); }
.cmc-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.cmc-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.cmc-btn--sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Pastilles / titres ---------- */
.cmc-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 14px; font-weight: 500;
}
.cmc-pill .cmc-icon { color: #FF6B66; }
.cmc-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cmc-red); margin-bottom: 8px; }
.cmc-kicker--light { color: rgba(255,255,255,.75); }
.cmc-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 70px 0 28px; }
.cmc-title h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); color: var(--cmc-ink); letter-spacing: -.01em; }
.cmc-title p { margin: 8px 0 0; color: var(--cmc-muted); font-size: 16px; max-width: 620px; }
.cmc-title--center { justify-content: center; text-align: center; }
.cmc-title--center p { margin-left: auto; margin-right: auto; }
.cmc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cmc-blue); white-space: nowrap; }
.cmc-link:hover { color: var(--cmc-red); }
.cmc-link .cmc-icon { transition: transform .3s var(--cmc-ease); }
.cmc-link:hover .cmc-icon, a:hover > .cmc-link .cmc-icon { transform: translateX(4px); }

/* =====================================================================
   HERO
   ===================================================================== */
.cmc-hero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(1200px 600px at 85% 30%, #2A63C2 0%, transparent 60%), linear-gradient(135deg, var(--cmc-navy) 0%, var(--cmc-navy-2) 45%, var(--cmc-blue) 100%);
	padding: 70px 0 120px;
}
.cmc-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.cmc-hero__grid {
	position: absolute; inset: 0; opacity: .14;
	background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.cmc-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: cmc-drift 14s ease-in-out infinite alternate; }
.cmc-blob--1 { width: 420px; height: 420px; background: #D6150F; top: -160px; right: 8%; opacity: .35; }
.cmc-blob--2 { width: 380px; height: 380px; background: #3E7BE6; bottom: -180px; left: 30%; animation-duration: 18s; }
.cmc-blob--3 { width: 260px; height: 260px; background: #7A1C1E; top: 40%; left: -80px; opacity: .45; animation-duration: 22s; }
@keyframes cmc-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.15); } }

.cmc-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: 520px; }
.cmc-hero__title { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.02em; margin: 22px 0 18px; font-weight: 700; }
.cmc-hl { position: relative; white-space: nowrap; background: linear-gradient(90deg, #FF6B66, #FFB199); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cmc-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #D6150F, rgba(214,21,15,0)); transform-origin: left; animation: cmc-underline 1s .9s var(--cmc-ease) both; }
@keyframes cmc-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cmc-hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 30px; }
.cmc-hero__lead strong { color: #fff; }
.cmc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.cmc-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.cmc-hero__trust li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.cmc-hero__trust .cmc-icon { color: #7FB0FF; }

/* Entrée en cascade */
.cmc-anim { opacity: 0; transform: translateY(24px); animation: cmc-in .9s var(--cmc-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes cmc-in { to { opacity: 1; transform: none; } }

/* Visuel : téléphones flottants */
.cmc-hero__visual { position: relative; height: 520px; }
.cmc-hero__halo { position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; margin: -220px 0 0 -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 65%); animation: cmc-pulse 6s ease-in-out infinite; }
.cmc-hero__halo::before, .cmc-hero__halo::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: cmc-spin 40s linear infinite; }
.cmc-hero__halo::after { inset: 30px; border-style: solid; border-color: rgba(255,255,255,.1); animation-duration: 60s; animation-direction: reverse; }
@keyframes cmc-pulse { 50% { transform: scale(1.08); } }
@keyframes cmc-spin { to { transform: rotate(360deg); } }
.cmc-phone { position: absolute; will-change: transform; transition: transform .6s var(--cmc-ease); }
.cmc-phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: cmc-float 7s ease-in-out infinite; }
.cmc-phone--main { width: 64%; left: 18%; top: 12%; z-index: 3; opacity: 0; animation: cmc-pop 1.1s .35s var(--cmc-ease) forwards; }
.cmc-phone--back { width: 40%; left: -2%; top: 20%; z-index: 1; opacity: 0; animation: cmc-pop 1.1s .55s var(--cmc-ease) forwards; }
.cmc-phone--back img { animation-delay: -2s; animation-duration: 8s; transform: rotate(-8deg); }
.cmc-phone--side { width: 38%; right: -4%; top: 34%; z-index: 2; opacity: 0; animation: cmc-pop 1.1s .7s var(--cmc-ease) forwards; }
.cmc-phone--side img { animation-delay: -4s; animation-duration: 9s; }
@keyframes cmc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes cmc-pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

.cmc-chip {
	position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
	background: rgba(255,255,255,.95); color: var(--cmc-ink); border-radius: 16px; box-shadow: var(--cmc-shadow-lg);
	opacity: 0; animation: cmc-chip-in .8s var(--cmc-ease) forwards, cmc-float-chip 6s ease-in-out infinite; text-decoration: none;
}
a.cmc-chip:hover { color: var(--cmc-ink); box-shadow: 0 26px 60px -18px rgba(0,0,0,.5); }
.cmc-chip small { display: block; font-size: 12px; color: var(--cmc-muted); line-height: 1.2; }
.cmc-chip strong { display: block; font-size: 15px; line-height: 1.3; }
.cmc-chip__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #E8F0FD; color: var(--cmc-blue); }
.cmc-chip__ico--red { background: #FDE8E7; color: var(--cmc-red); }
.cmc-chip__ico--green { background: #E3F9EC; color: #129A4A; }
.cmc-chip--1 { top: 6%; right: 2%; animation-delay: 1.1s, 1.9s; }
.cmc-chip--2 { bottom: 10%; left: 0; animation-delay: 1.3s, 2.6s; }
.cmc-chip--3 { bottom: 2%; right: 10%; animation-delay: 1.5s, 3.2s; }
@keyframes cmc-chip-in { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes cmc-float-chip { 50% { translate: 0 -8px; } }

.cmc-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; fill: #fff; }

/* =====================================================================
   ARGUMENTS (trust)
   ===================================================================== */
.cmc-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cmc-trust--float { position: relative; z-index: 5; margin-top: -70px; }
.cmc-trust__item {
	display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: #fff; border-radius: var(--cmc-radius);
	box-shadow: var(--cmc-shadow); border: 1px solid var(--cmc-line); transition: transform .4s var(--cmc-ease), box-shadow .4s var(--cmc-ease);
}
.cmc-trust__item:hover { transform: translateY(-4px); box-shadow: var(--cmc-shadow-lg); }
.cmc-trust__item h3 { font-size: 16px; margin: 2px 0 4px; color: var(--cmc-ink); }
.cmc-trust__item p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--cmc-muted); }
.cmc-ico-badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; background: linear-gradient(135deg, #E8F0FD, #D5E3FB); color: var(--cmc-blue); transition: transform .4s var(--cmc-ease); }
.cmc-trust__item:hover .cmc-ico-badge, .cmc-card:hover .cmc-ico-badge { transform: rotate(-8deg) scale(1.06); }
.cmc-ico-badge--lg { width: 64px; height: 64px; border-radius: 18px; }
.cmc-ico-badge--green { background: linear-gradient(135deg, #E3F9EC, #C9F2DA); color: #129A4A; }

/* =====================================================================
   TUILES RAYONS
   ===================================================================== */
.cmc-tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 18px; }
.cmc-tile {
	position: relative; display: flex; overflow: hidden; border-radius: 22px; padding: 26px; text-decoration: none; isolation: isolate;
	transition: transform .5s var(--cmc-ease), box-shadow .5s var(--cmc-ease);
}
.cmc-tile:hover { transform: translateY(-6px); box-shadow: var(--cmc-shadow-lg); }
.cmc-tile--big { grid-row: span 2; }
.cmc-tile__body { position: relative; z-index: 2; max-width: 62%; display: flex; flex-direction: column; }
.cmc-tile--big .cmc-tile__body { max-width: 70%; }
.cmc-tile h3 { margin: 14px 0 6px; font-size: 22px; color: inherit; }
.cmc-tile--big h3 { font-size: 30px; }
.cmc-tile p { margin: 0; font-size: 14px; line-height: 1.5; opacity: .85; }
.cmc-tile__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.18); }
.cmc-tile__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.cmc-tile__go .cmc-icon { transition: transform .3s var(--cmc-ease); }
.cmc-tile:hover .cmc-tile__go .cmc-icon { transform: translateX(5px); }
.cmc-tile__img { position: absolute; z-index: 1; right: -6%; bottom: -10%; width: 52%; transition: transform .7s var(--cmc-ease); }
.cmc-tile--big .cmc-tile__img { width: 72%; right: -12%; bottom: -6%; }
.cmc-tile__img img { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.cmc-tile:hover .cmc-tile__img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.cmc-tile__img--icon { right: -10px; bottom: -20px; width: auto; opacity: .14; }
.cmc-tile--blue { color: #fff; background: radial-gradient(500px 300px at 90% 90%, #3E7BE6, transparent 70%), linear-gradient(140deg, var(--cmc-navy-2), var(--cmc-blue)); }
.cmc-tile--red { color: #fff; background: radial-gradient(400px 260px at 100% 100%, #FF5A4F, transparent 70%), linear-gradient(140deg, var(--cmc-bordeaux), var(--cmc-red)); }
.cmc-tile--dark { color: #fff; background: radial-gradient(400px 260px at 100% 100%, #34405E, transparent 70%), linear-gradient(140deg, #0A0F1E, #1B2440); }
.cmc-tile--light { color: var(--cmc-ink); background: linear-gradient(140deg, #EEF3FC, #DCE7FA); }
.cmc-tile--light .cmc-tile__ico { background: #fff; color: var(--cmc-blue); }
.cmc-tile--light .cmc-tile__go { color: var(--cmc-blue); }
.cmc-tile--light .cmc-tile__img--icon { color: var(--cmc-blue); opacity: .18; }

/* =====================================================================
   ONGLETS PRODUITS + CARTES PRODUITS WOODMART
   ===================================================================== */
.cmc-tabs__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cmc-tabs__btn {
	padding: 11px 20px; border-radius: 999px; border: 1px solid var(--cmc-line); background: #fff; color: var(--cmc-ink);
	font-weight: 600; font-size: 14px; text-transform: none; cursor: pointer; transition: all .3s var(--cmc-ease); min-height: 0; line-height: 1.2;
}
.cmc-tabs__btn:hover { border-color: var(--cmc-blue); color: var(--cmc-blue); background: #fff; }
.cmc-tabs__btn.is-active { background: var(--cmc-blue); border-color: var(--cmc-blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(30,78,156,.7); }
.cmc-tabs__panel.is-active { animation: cmc-in .6s var(--cmc-ease); }

.cmc-ui .wd-product .product-wrapper {
	border-radius: var(--cmc-radius); background: #fff; border: 1px solid var(--cmc-line); padding: 12px 12px 18px;
	transition: transform .45s var(--cmc-ease), box-shadow .45s var(--cmc-ease), border-color .3s;
}
.cmc-ui .wd-product:hover .product-wrapper { transform: translateY(-6px); box-shadow: var(--cmc-shadow-lg); border-color: transparent; }
.cmc-ui .wd-product .product-element-top { border-radius: 12px; overflow: hidden; background: #F7F9FD; }
.cmc-ui .wd-product .product-image-link img { transition: transform .8s var(--cmc-ease); }
.cmc-ui .wd-product:hover .product-image-link img { transform: scale(1.06); }
.cmc-ui .wd-product .wd-entities-title { font-weight: 600; }
.cmc-ui .wd-product .price { font-weight: 700; color: var(--cmc-blue); }

/* =====================================================================
   BANNIÈRES PROMO
   ===================================================================== */
.cmc-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 70px; }
.cmc-promo { position: relative; display: flex; align-items: center; min-height: 260px; overflow: hidden; border-radius: 24px; padding: 34px; color: #fff; text-decoration: none; isolation: isolate; transition: transform .5s var(--cmc-ease), box-shadow .5s var(--cmc-ease); }
.cmc-promo:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--cmc-shadow-lg); }
.cmc-promo__text { position: relative; z-index: 2; max-width: 56%; }
.cmc-promo h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 8px; }
.cmc-promo p { color: rgba(255,255,255,.82); margin: 0 0 20px; font-size: 15px; line-height: 1.5; }
.cmc-promo__img { position: absolute; z-index: 1; right: -4%; bottom: -12%; width: 50%; transition: transform .8s var(--cmc-ease); }
.cmc-promo__img img { width: 100%; height: auto; filter: drop-shadow(0 25px 35px rgba(0,0,0,.4)); }
.cmc-promo:hover .cmc-promo__img { transform: translateY(-10px) rotate(-4deg); }
.cmc-promo--dark { background: radial-gradient(500px 300px at 85% 80%, #2E4C8C, transparent 65%), linear-gradient(135deg, #070D1C, #13224A); }
.cmc-promo--green { background: radial-gradient(500px 300px at 85% 80%, #5FE39A, transparent 65%), linear-gradient(135deg, #0B5E3A, #129A4A); }

/* =====================================================================
   MARQUES (défilement)
   ===================================================================== */
.cmc-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cmc-marquee__track { display: flex; gap: 16px; width: max-content; animation: cmc-marquee 30s linear infinite; }
.cmc-marquee:hover .cmc-marquee__track { animation-play-state: paused; }
.cmc-marquee__dup { display: contents; }
@keyframes cmc-marquee { to { transform: translateX(calc(-50% - 8px)); } }
.cmc-brand {
	display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 190px; padding: 22px 28px;
	border-radius: var(--cmc-radius); background: #fff; border: 1px solid var(--cmc-line); text-decoration: none; transition: all .35s var(--cmc-ease);
}
.cmc-brand:hover { border-color: var(--cmc-blue); box-shadow: var(--cmc-shadow); transform: translateY(-3px); }
.cmc-brand__name { font-family: var(--wd-title-font, inherit); font-size: 24px; font-weight: 700; color: var(--cmc-ink); letter-spacing: -.01em; }
.cmc-brand__count { font-size: 13px; color: var(--cmc-muted); }

/* =====================================================================
   ÉTAPES
   ===================================================================== */
.cmc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.cmc-step { position: relative; margin: 0; padding: 30px 26px; border-radius: 22px; background: var(--cmc-bg); text-align: left; transition: transform .45s var(--cmc-ease), background .3s; }
.cmc-step:hover { transform: translateY(-5px); background: #EAF0FB; }
.cmc-step h3 { margin: 18px 0 8px; font-size: 20px; color: var(--cmc-ink); }
.cmc-step p { margin: 0; color: var(--cmc-muted); line-height: 1.6; font-size: 15px; }
.cmc-step__num { position: absolute; top: 18px; right: 24px; font-size: 56px; font-weight: 800; line-height: 1; color: rgba(30,78,156,.08); }
.cmc-step:not(:last-child)::after { content: ""; position: absolute; top: 62px; right: -22px; width: 22px; border-top: 2px dashed #C7D5EE; }

/* =====================================================================
   BANDEAU WHATSAPP
   ===================================================================== */
.cmc-cta {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; margin: 70px 0 20px; padding: 38px 42px; border-radius: 26px; color: #fff;
	background: radial-gradient(600px 300px at 100% 0%, rgba(37,211,102,.35), transparent 60%), linear-gradient(120deg, var(--cmc-navy), var(--cmc-blue));
}
.cmc-cta__ring { position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.cmc-cta__ico { display: grid; place-items: center; width: 72px; height: 72px; flex-shrink: 0; border-radius: 22px; background: var(--cmc-green); color: #fff; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: cmc-ring 2.4s infinite; }
@keyframes cmc-ring { 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.cmc-cta__text { flex: 1; }
.cmc-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 30px); }
.cmc-cta p { margin: 0; color: rgba(255,255,255,.8); }
.cmc-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* =====================================================================
   CARTES (Contact / À propos)
   ===================================================================== */
.cmc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 40px; }
.cmc-card { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--cmc-line); text-decoration: none; color: var(--cmc-ink); transition: transform .45s var(--cmc-ease), box-shadow .45s var(--cmc-ease); }
a.cmc-card:hover { color: var(--cmc-ink); transform: translateY(-5px); box-shadow: var(--cmc-shadow-lg); }
.cmc-card h3 { margin: 18px 0 6px; font-size: 19px; }
.cmc-card p { margin: 0 0 14px; color: var(--cmc-muted); line-height: 1.6; }
.cmc-card .cmc-link { margin-top: auto; }
.cmc-map { border-radius: 22px; overflow: hidden; box-shadow: var(--cmc-shadow); line-height: 0; }
.cmc-map iframe { width: 100%; height: 400px; border: 0; }

/* Texte SEO de l'accueil */
.cmc-seo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-top: 70px; padding: 44px; border-radius: 26px; background: var(--cmc-bg); }
.cmc-seo h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--cmc-ink); margin-bottom: 14px; }
.cmc-seo h3 { font-size: 19px; color: var(--cmc-ink); margin: 22px 0 8px; }
.cmc-seo p { color: var(--cmc-muted); line-height: 1.75; }
.cmc-store { padding: 28px; border-radius: 22px; background: #fff; box-shadow: var(--cmc-shadow); }
.cmc-store h3 { margin-top: 0; }
.cmc-store ul { list-style: none; margin: 0 0 20px; padding: 0; }
.cmc-store li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--cmc-line); color: var(--cmc-ink); margin: 0; }
.cmc-store li:last-child { border-bottom: 0; }
.cmc-store li .cmc-icon { color: var(--cmc-blue); }
.cmc-store a { color: var(--cmc-ink); }

/* =====================================================================
   EN-TÊTE / TITRES DE PAGE / PIED DE PAGE
   ===================================================================== */
.whb-top-bar .cmc-icon { color: #9DC1FF; margin-right: 4px; vertical-align: -3px; }
.whb-top-bar .wd-header-text { font-size: 13px; }

.page-title.page-title-default {
	position: relative; overflow: hidden;
	background: radial-gradient(700px 300px at 90% 0%, rgba(214,21,15,.35), transparent 60%), linear-gradient(120deg, var(--cmc-navy) 0%, var(--cmc-blue) 100%) !important;
}
.page-title.page-title-default::before {
	content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
	background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}

.footer-container { background: linear-gradient(180deg, var(--cmc-navy) 0%, #071430 100%) !important; }
.footer-container .widget-title, .footer-container .wp-block-heading, .footer-container h4 { color: #fff !important; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.footer-container, .footer-container p, .footer-container li, .footer-container a { color: rgba(255,255,255,.72); }
.footer-container a:hover { color: #fff; }
.footer-container .current-menu-item > a { color: #fff !important; }
.footer-container .cmc-icon { color: #7FB0FF; margin-right: 6px; }
.footer-container .widget_nav_menu a { position: relative; transition: padding .3s var(--cmc-ease), color .2s; }
.footer-container .widget_nav_menu a:hover { padding-left: 6px; }
.copyrights-wrapper { border-top: 1px solid rgba(255,255,255,.08); }

/* =====================================================================
   RÉVÉLATION AU DÉFILEMENT (activée par cmc-ui.js)
   ===================================================================== */
.cmc-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--cmc-ease), transform .8s var(--cmc-ease); transition-delay: var(--d, 0s); }
.cmc-js [data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
	.cmc-hero { padding: 40px 0 110px; }
	.cmc-hero__inner { grid-template-columns: 1fr; text-align: center; min-height: 0; }
	.cmc-hero__lead { margin-left: auto; margin-right: auto; }
	.cmc-hero__cta, .cmc-hero__trust { justify-content: center; }
	.cmc-hero__visual { height: 420px; max-width: 520px; width: 100%; margin: 10px auto 0; }
	.cmc-trust { grid-template-columns: repeat(2, 1fr); }
	.cmc-tiles { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.cmc-tile { min-height: 200px; }
	.cmc-tile--big { grid-column: span 2; grid-row: auto; min-height: 260px; }
	.cmc-seo { grid-template-columns: 1fr; padding: 28px; }
	.cmc-cta { flex-direction: column; text-align: center; }
}
@media (max-width: 767px) {
	.cmc-hero__title { font-size: 34px; }
	.cmc-hl { white-space: normal; }
	.cmc-hero__lead { font-size: 16px; }
	.cmc-hero__cta .cmc-btn { width: 100%; }
	.cmc-hero__visual { height: 330px; }
	.cmc-chip { padding: 7px 12px 7px 7px; border-radius: 12px; }
	.cmc-chip__ico { width: 30px; height: 30px; border-radius: 9px; }
	.cmc-chip strong { font-size: 13px; }
	.cmc-chip--3 { display: none; }
	.cmc-trust, .cmc-tiles, .cmc-promos, .cmc-steps, .cmc-cards { grid-template-columns: 1fr; }
	.cmc-tile--big { grid-column: auto; }
	.cmc-trust--float { margin-top: -60px; }
	.cmc-title { flex-direction: column; align-items: flex-start; margin-top: 50px; }
	.cmc-promo { padding: 26px; min-height: 230px; }
	.cmc-step:not(:last-child)::after { display: none; }
	.cmc-cta { padding: 30px 22px; }
	.cmc-cta__actions .cmc-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.cmc-anim, .cmc-phone, .cmc-chip { opacity: 1 !important; transform: none !important; }
	.cmc-js [data-reveal] { opacity: 1; transform: none; }
}

/* Paragraphe d'introduction des pages */
.cmc-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--cmc-ink); max-width: 860px; margin-bottom: 30px; }

/* Tuiles : la tuile « 5G » occupe toute la 2e ligne à droite */
.cmc-tile--dark { grid-column: span 2; }
.cmc-tile--dark .cmc-tile__img { width: 34%; right: 4%; bottom: -30%; }
.cmc-tile--big .cmc-tile__body { max-width: 52%; }
.cmc-tile--big .cmc-tile__img { width: 64%; right: -10%; bottom: -4%; }
@media (max-width: 1024px) { .cmc-tile--dark { grid-column: span 2; } .cmc-tile--dark .cmc-tile__img { width: 40%; } }
@media (max-width: 767px) { .cmc-tile--dark { grid-column: auto; } .cmc-tile--big .cmc-tile__body { max-width: 60%; } }

.cmc-tabs__btn { text-transform: none !important; letter-spacing: 0 !important; }
.cmc-promo__img { width: 40%; right: 2%; bottom: -26%; }
.cmc-promo--green .cmc-promo__img { width: 36%; bottom: -22%; }
@media (max-width: 767px) { .cmc-promo__img { width: 44%; } }
.footer-container .wp-block-list { margin-bottom: 14px; }
.footer-container .wp-block-list li { margin-bottom: 8px; }

.home .wd-content-layout { padding-top: 0; }
@media (max-width: 767px) {
	.cmc-trust { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cmc-trust__item { flex-direction: column; gap: 10px; padding: 16px; }
	.cmc-trust__item h3 { font-size: 15px; }
	.cmc-trust__item p { font-size: 13px; }
	.cmc-ico-badge { width: 42px; height: 42px; border-radius: 12px; }
}
@media (max-width: 767px) {
	.cmc-tile--big .cmc-tile__img { width: 56%; right: -16%; bottom: -8%; }
	.cmc-tile--big h3 { font-size: 26px; }
	.cmc-tile--big::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16,41,90,.85) 35%, rgba(16,41,90,0) 75%); pointer-events: none; }
}

/* Tuile Tablettes avec image */
.cmc-tile--tablet .cmc-tile__img { width: 58%; right: -6%; bottom: -14%; }
.cmc-tile--tablet .cmc-tile__img img { filter: drop-shadow(0 18px 24px rgba(16,41,90,.25)); }

/* Grande image avec légende (À propos) */
.cmc-banner { position: relative; margin: 10px 0 40px; border-radius: 26px; overflow: hidden; box-shadow: var(--cmc-shadow-lg); }
.cmc-banner img { display: block; width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover; transition: transform 1.2s var(--cmc-ease); }
.cmc-banner:hover img { transform: scale(1.03); }
.cmc-banner figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 36px 32px; color: #fff; background: linear-gradient(0deg, rgba(8,18,40,.9) 0%, rgba(8,18,40,.55) 55%, rgba(8,18,40,0) 100%); }
.cmc-banner h2 { color: #fff; margin: 12px 0 6px; font-size: clamp(22px, 2.6vw, 32px); }
.cmc-banner p { margin: 0; color: rgba(255,255,255,.85); max-width: 640px; }
@media (max-width: 767px) { .cmc-banner figcaption { padding: 24px 20px; } }
.cmc-tile--tablet .cmc-tile__body { max-width: 52%; }
.cmc-tile--tablet .cmc-tile__img { width: 50%; right: -7%; bottom: -16%; }

/* ---------- Correctif contraste au survol des tuiles (le thème recolore les liens au survol) ---------- */
.cmc-tile--blue, .cmc-tile--blue:hover, .cmc-tile--blue:focus,
.cmc-tile--red, .cmc-tile--red:hover, .cmc-tile--red:focus,
.cmc-tile--dark, .cmc-tile--dark:hover, .cmc-tile--dark:focus { color: #fff !important; }
.cmc-tile--light, .cmc-tile--light:hover, .cmc-tile--light:focus { color: var(--cmc-ink) !important; }
.cmc-tile h3, .cmc-tile p { color: inherit !important; }
.cmc-tile--light .cmc-tile__go, .cmc-tile--light:hover .cmc-tile__go { color: var(--cmc-blue) !important; }
.cmc-promo, .cmc-promo:hover, .cmc-promo:focus { color: #fff !important; }
a.cmc-card, a.cmc-card:hover { color: var(--cmc-ink) !important; }
.cmc-brand:hover .cmc-brand__name { color: var(--cmc-blue); }

/* ---------- Cartes produits (style « bouton standard ») ---------- */
.cmc-ui .wd-product .wd-entities-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.cmc-ui .wd-product .wd-add-btn .button, .cmc-ui .wd-product .add_to_cart_button, .cmc-ui .wd-product .product_type_variable {
	border-radius: 999px !important; width: 100%; justify-content: center; font-size: 13px; padding: 10px 14px; margin-top: 10px;
	transition: background-color .25s, transform .3s var(--cmc-ease);
}
.cmc-ui .wd-product .add_to_cart_button:hover, .cmc-ui .wd-product .product_type_variable:hover { transform: translateY(-1px); }

/* ---------- Page commande ---------- */
.woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout #order_review_heading { font-size: 20px; letter-spacing: .02em; }
.woocommerce-checkout .form-row label { font-weight: 600; color: var(--cmc-ink); }
.woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row textarea {
	border-radius: 12px; border: 1px solid #D5DCE8; min-height: 52px; padding: 12px 16px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.woocommerce-checkout .form-row textarea { min-height: 110px; }
.woocommerce-checkout .form-row input.input-text:focus, .woocommerce-checkout .form-row textarea:focus { border-color: var(--cmc-blue); box-shadow: 0 0 0 4px rgba(30,78,156,.12); outline: 0; }
.woocommerce-checkout .checkout-order-review { border-radius: 22px; }
.woocommerce-checkout #payment .payment_methods li { border-radius: 14px; }
.woocommerce-checkout #place_order { border-radius: 999px; min-height: 56px; font-size: 16px; box-shadow: 0 14px 30px -12px rgba(214,21,15,.6); }

/* Signature agence (pied de page) */
.copyrights-wrapper a.cmc-signature { color: #fff; font-weight: 700; letter-spacing: .04em; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .25s, color .25s; }
.copyrights-wrapper a.cmc-signature:hover { color: #FF6B66; border-color: #FF6B66; }

/* Bande de visuels (À propos) */
.cmc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 10px 0 40px; }
.cmc-strip__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 16px 18px; border-radius: 20px; background: linear-gradient(160deg, #EEF3FC, #DCE7FA); text-decoration: none; color: var(--cmc-ink) !important; transition: transform .45s var(--cmc-ease), box-shadow .45s var(--cmc-ease); }
.cmc-strip__item:hover { transform: translateY(-6px); box-shadow: var(--cmc-shadow-lg); }
.cmc-strip__item img { width: 78%; height: auto; filter: drop-shadow(0 16px 22px rgba(16,41,90,.25)); transition: transform .6s var(--cmc-ease); }
.cmc-strip__item:hover img { transform: rotate(-4deg) scale(1.04); }
.cmc-strip__item span { font-weight: 700; }
@media (max-width: 767px) { .cmc-strip { grid-template-columns: 1fr 1fr; } }

/* Guide d'achat de la page Boutique (affiché sous les produits) */
.cmc-shop-guide { margin: 60px 0 20px; padding: 44px; border-radius: 26px; background: var(--cmc-bg); }
.cmc-shop-guide h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--cmc-ink); }
.cmc-shop-guide h3 { font-size: 19px; color: var(--cmc-ink); margin-top: 26px; }
.cmc-shop-guide p, .cmc-shop-guide li { color: var(--cmc-muted); line-height: 1.75; }
.cmc-shop-guide .wp-block-image img { border-radius: 16px; }
.cmc-shop-guide .wp-block-columns { gap: 18px; }
@media (max-width: 767px) { .cmc-shop-guide { padding: 26px 20px; } }

/* Table des matières Rank Math */
.wp-block-rank-math-toc-block { padding: 22px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--cmc-line); margin: 10px 0 30px; }
.wp-block-rank-math-toc-block h2 { font-size: 17px !important; margin: 0 0 10px; }
.wp-block-rank-math-toc-block ul { margin: 0; padding-left: 18px; }
.wp-block-rank-math-toc-block a { color: var(--cmc-blue); }

/* Fiches produits : galerie « en images » dans la description */
.cmc-prod-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin: 14px 0 26px; }
.cmc-prod-gallery img { width: 100%; height: auto; border-radius: 14px; background: #fff; border: 1px solid var(--cmc-line); padding: 8px; }
