/* wp-img-auto-sizes-contain */
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/* global-styles */
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #141414;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--blue: #193699;--wp--preset--color--blue-20: rgba(25, 54, 153, 0.2);--wp--preset--color--red: #c61b15;--wp--preset--color--black-80: rgba(20, 20, 20, 0.8);--wp--preset--color--black-20: rgba(20, 20, 20, 0.2);--wp--preset--color--black-5: rgba(20, 20, 20, 0.05);--wp--preset--color--white-80: rgba(255, 255, 255, 0.8);--wp--preset--color--white-70: rgba(255, 255, 255, 0.7);--wp--preset--color--white-30: rgba(255, 255, 255, 0.3);--wp--preset--color--white-20: rgba(255, 255, 255, 0.2);--wp--preset--color--field: #f0f0f0;--wp--preset--color--field-text: #515151;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--gradient--overlay-hero: linear-gradient(180deg, rgba(20, 20, 20, 0.2) 0%, rgba(20, 20, 20, 0.8) 100%);--wp--preset--gradient--overlay-card: linear-gradient(180deg, rgba(20, 20, 20, 0) 40%, rgba(20, 20, 20, 0.8) 100%);--wp--preset--font-size--small: clamp(12px, calc(12px + 2 * (100vw - 600px) / 520), 14px);--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--font-size--tiny: clamp(10px, calc(10px + 2 * (100vw - 600px) / 520), 12px);--wp--preset--font-size--subheading: 12px;--wp--preset--font-size--btn: 14px;--wp--preset--font-size--h-4: clamp(14px, calc(14px + 2 * (100vw - 600px) / 520), 16px);--wp--preset--font-size--h-3: clamp(18px, calc(18px + 2 * (100vw - 600px) / 520), 20px);--wp--preset--font-size--h-2: clamp(24px, calc(24px + 8 * (100vw - 600px) / 520), 32px);--wp--preset--font-size--h-1: clamp(28px, calc(28px + 12 * (100vw - 600px) / 520), 40px);--wp--preset--font-size--ribbon: 10px;--wp--preset--font-family--headline: "Stack Sans Headline", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--wp--preset--font-family--text: "Stack Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--wp--preset--spacing--20: 8px;--wp--preset--spacing--30: 12px;--wp--preset--spacing--40: 16px;--wp--preset--spacing--50: clamp(16px, calc(16px + 8 * (100vw - 600px) / 520), 24px);--wp--preset--spacing--60: clamp(24px, calc(24px + 8 * (100vw - 600px) / 520), 32px);--wp--preset--spacing--70: clamp(24px, calc(24px + 32 * (100vw - 600px) / 520), 56px);--wp--preset--spacing--80: clamp(32px, calc(32px + 24 * (100vw - 600px) / 520), 56px);--wp--preset--spacing--10: 4px;--wp--preset--spacing--90: clamp(32px, calc(32px + 48 * (100vw - 600px) / 520), 80px);--wp--preset--spacing--100: clamp(56px, calc(56px + 24 * (100vw - 600px) / 520), 80px);--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}.wp-block-button{--wp--preset--dimension--25: 25%;--wp--preset--dimension--50: 50%;--wp--preset--dimension--75: 75%;--wp--preset--dimension--100: 100%;}:root { --wp--style--global--content-size: 1488px;--wp--style--global--wide-size: 1600px; }:where(body) { margin: 0; }.wp-site-blocks { padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom); }.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: var(--wp--preset--spacing--50); margin-block-end: 0; }:where(.wp-site-blocks) > :first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child { margin-block-end: 0; }:root { --wp--style--block-gap: var(--wp--preset--spacing--50); }:root :where(.is-layout-flow) > :first-child{margin-block-start: 0;}:root :where(.is-layout-flow) > :last-child{margin-block-end: 0;}:root :where(.is-layout-flow) > *{margin-block-start: var(--wp--preset--spacing--50);margin-block-end: 0;}:root :where(.is-layout-constrained) > :first-child{margin-block-start: 0;}:root :where(.is-layout-constrained) > :last-child{margin-block-end: 0;}:root :where(.is-layout-constrained) > *{margin-block-start: var(--wp--preset--spacing--50);margin-block-end: 0;}:root :where(.is-layout-flex){gap: var(--wp--preset--spacing--50);}:root :where(.is-layout-grid){gap: var(--wp--preset--spacing--50);}.is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{background-color: var(--wp--preset--color--white);color: var(--wp--preset--color--black);font-family: var(--wp--preset--font-family--text);font-size: var(--wp--preset--font-size--small);font-weight: 400;letter-spacing: -0.01em;line-height: 1.3;--wp--style--root--padding-top: 0px;--wp--style--root--padding-right: var(--wp--preset--spacing--70);--wp--style--root--padding-bottom: 0px;--wp--style--root--padding-left: var(--wp--preset--spacing--70);}a:where(:not(.wp-element-button)){color: currentColor;text-decoration: none;}:root :where(a:where(:not(.wp-element-button)):hover){text-decoration: underline;}h1, h2, h3, h4, h5, h6{font-family: var(--wp--preset--font-family--headline);font-weight: 500;line-height: 1.1;}h1{font-size: var(--wp--preset--font-size--h-1);letter-spacing: -0.05em;line-height: 1.1;}h2{font-size: var(--wp--preset--font-size--h-2);letter-spacing: -0.04em;line-height: 1.1;}h3{font-size: var(--wp--preset--font-size--h-3);letter-spacing: -0.04em;line-height: 1;}h4{font-size: var(--wp--preset--font-size--h-4);letter-spacing: -0.03em;line-height: 1;}h5{font-size: var(--wp--preset--font-size--small);letter-spacing: -0.01em;line-height: 1.3;}h6{font-size: var(--wp--preset--font-size--subheading);letter-spacing: 0;line-height: 1;}:root :where(.wp-element-button, .wp-block-button__link){background-color: var(--wp--preset--color--red);border-radius: 5px;border-width: 0;color: var(--wp--preset--color--white);font-family: inherit;font-size: var(--wp--preset--font-size--btn);font-style: inherit;font-weight: 700;letter-spacing: -0.03em;line-height: 1.2;padding-top: 12px;padding-right: 20px;padding-bottom: 16px;padding-left: 20px;text-decoration: none;text-transform: inherit;}:root :where(.wp-element-button:hover, .wp-block-button__link:hover){background-color: var(--wp--preset--color--black);}:root :where(.wp-element-button:focus, .wp-block-button__link:focus){background-color: var(--wp--preset--color--black);}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-blue-color{color: var(--wp--preset--color--blue) !important;}.has-blue-20-color{color: var(--wp--preset--color--blue-20) !important;}.has-red-color{color: var(--wp--preset--color--red) !important;}.has-black-80-color{color: var(--wp--preset--color--black-80) !important;}.has-black-20-color{color: var(--wp--preset--color--black-20) !important;}.has-black-5-color{color: var(--wp--preset--color--black-5) !important;}.has-white-80-color{color: var(--wp--preset--color--white-80) !important;}.has-white-70-color{color: var(--wp--preset--color--white-70) !important;}.has-white-30-color{color: var(--wp--preset--color--white-30) !important;}.has-white-20-color{color: var(--wp--preset--color--white-20) !important;}.has-field-color{color: var(--wp--preset--color--field) !important;}.has-field-text-color{color: var(--wp--preset--color--field-text) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-blue-background-color{background-color: var(--wp--preset--color--blue) !important;}.has-blue-20-background-color{background-color: var(--wp--preset--color--blue-20) !important;}.has-red-background-color{background-color: var(--wp--preset--color--red) !important;}.has-black-80-background-color{background-color: var(--wp--preset--color--black-80) !important;}.has-black-20-background-color{background-color: var(--wp--preset--color--black-20) !important;}.has-black-5-background-color{background-color: var(--wp--preset--color--black-5) !important;}.has-white-80-background-color{background-color: var(--wp--preset--color--white-80) !important;}.has-white-70-background-color{background-color: var(--wp--preset--color--white-70) !important;}.has-white-30-background-color{background-color: var(--wp--preset--color--white-30) !important;}.has-white-20-background-color{background-color: var(--wp--preset--color--white-20) !important;}.has-field-background-color{background-color: var(--wp--preset--color--field) !important;}.has-field-text-background-color{background-color: var(--wp--preset--color--field-text) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-blue-border-color{border-color: var(--wp--preset--color--blue) !important;}.has-blue-20-border-color{border-color: var(--wp--preset--color--blue-20) !important;}.has-red-border-color{border-color: var(--wp--preset--color--red) !important;}.has-black-80-border-color{border-color: var(--wp--preset--color--black-80) !important;}.has-black-20-border-color{border-color: var(--wp--preset--color--black-20) !important;}.has-black-5-border-color{border-color: var(--wp--preset--color--black-5) !important;}.has-white-80-border-color{border-color: var(--wp--preset--color--white-80) !important;}.has-white-70-border-color{border-color: var(--wp--preset--color--white-70) !important;}.has-white-30-border-color{border-color: var(--wp--preset--color--white-30) !important;}.has-white-20-border-color{border-color: var(--wp--preset--color--white-20) !important;}.has-field-border-color{border-color: var(--wp--preset--color--field) !important;}.has-field-text-border-color{border-color: var(--wp--preset--color--field-text) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-overlay-hero-gradient-background{background: var(--wp--preset--gradient--overlay-hero) !important;}.has-overlay-card-gradient-background{background: var(--wp--preset--gradient--overlay-card) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}.has-tiny-font-size{font-size: var(--wp--preset--font-size--tiny) !important;}.has-subheading-font-size{font-size: var(--wp--preset--font-size--subheading) !important;}.has-btn-font-size{font-size: var(--wp--preset--font-size--btn) !important;}.has-h-4-font-size{font-size: var(--wp--preset--font-size--h-4) !important;}.has-h-3-font-size{font-size: var(--wp--preset--font-size--h-3) !important;}.has-h-2-font-size{font-size: var(--wp--preset--font-size--h-2) !important;}.has-h-1-font-size{font-size: var(--wp--preset--font-size--h-1) !important;}.has-ribbon-font-size{font-size: var(--wp--preset--font-size--ribbon) !important;}.has-headline-font-family{font-family: var(--wp--preset--font-family--headline) !important;}.has-text-font-family{font-family: var(--wp--preset--font-family--text) !important;}
/* @fonts */
@font-face{font-family:"Stack Sans Headline";font-style:normal;font-weight:200 700;font-display:swap;src:url('https://www.didatec-technologie.com/wp-content/themes/didatec/assets/fonts/stack-sans-headline-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Stack Sans Headline";font-style:normal;font-weight:200 700;font-display:swap;src:url('https://www.didatec-technologie.com/wp-content/themes/didatec/assets/fonts/stack-sans-headline-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Stack Sans Text";font-style:normal;font-weight:200 700;font-display:swap;src:url('https://www.didatec-technologie.com/wp-content/themes/didatec/assets/fonts/stack-sans-text-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Stack Sans Text";font-style:normal;font-weight:200 700;font-display:swap;src:url('https://www.didatec-technologie.com/wp-content/themes/didatec/assets/fonts/stack-sans-text-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* assets/css/base.css */
/* Didatec — base layer: reset, layout primitives, buttons, utilities.
   Every value comes from theme.json presets. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  /* Placeholder colour of a focused field (see "Placeholders" below). */
  --axfrost-placeholder-focus: var(--wp--preset--color--black-20);
}

body {
  margin: 0;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

svg {
  display: block;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
blockquote,
figure {
  margin-block: 0;
}

ul,
ol {
  padding-inline-start: 0;
}

a {
  color: inherit;
  /* The underline is always laid out but transparent at rest: hovering fades
	   its colour in instead of snapping the line on, and it follows wrapped
	   text where a pseudo-element would not. */
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition:
    color 0.2s ease,
    text-decoration-color 0.25s ease;
}

button {
  font: inherit;
  color: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--wp--preset--color--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile image (inc/images.php) --------------------------------------------- */

/* The <picture> only carries the phone candidate: it must not become a box,
   so the <img> keeps the layout it had without it (hero, core cover). */
.mobile-picture {
  display: contents;
}

/* The cover's focal point is set on the main image and printed inline: the
   mobile image is framed for its slot, it stays centred. Same threshold as
   AXFROST_MOBILE_IMAGE_MEDIA (inc/images.php). */
@media (max-width: 980px) {
  .wp-block-cover .mobile-picture > .wp-block-cover__image-background {
    object-position: center !important;
  }
}

/* Layout ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding-inline: var(--wp--preset--spacing--70);
}

.container--wide {
  padding-inline: var(--wp--preset--spacing--90);
}

/* Le thème traite le wideSize comme la boîte extérieure, gouttières comprises
   (.container, en-tête, pied de page) ; Gutenberg en fait la largeur du bloc
   « large » lui-même. Au-delà de 1600px, les blocs alignwide débordaient donc
   de 56px de chaque côté du reste du contenu. Les largeurs propres à un bloc
   (core-block-supports, chargé après) gardent la main. */
.is-layout-constrained > .alignwide {
  max-width: calc(
    var(--wp--style--global--wide-size) - 2 * var(--wp--preset--spacing--70)
  );
}

.section {
  padding-block: var(--wp--preset--spacing--100);
}
.section--tight {
  padding-block: var(--wp--preset--spacing--80);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--40);
  margin-block-end: var(--wp--preset--spacing--60);
}

.section__title {
  margin: 0;
}

.grid {
  display: grid;
  gap: clamp(2.5rem, 1.9231rem + 1.5385vw, 3rem) var(--wp--preset--spacing--50);
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Typography helpers ------------------------------------------------------ */

.subheading {
  font-size: var(--wp--preset--font-size--subheading);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-h2 {
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* Block title printed as a paragraph (decorative title, field "Balise du
   titre") : same look as the H2 it replaces. */
.title-display {
  font-family: var(--wp--preset--font-family--headline);
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.title-h3 {
  font-size: var(--wp--preset--font-size--h-3);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.title-h4 {
  font-size: var(--wp--preset--font-size--h-4);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.text-muted {
  color: var(--wp--preset--color--black-80);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 20px 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: var(--wp--preset--font-size--btn);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn--primary {
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

.btn--secondary {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--red);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--wp--preset--color--red);
  border-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

.btn--light {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--blue);
}

.btn--light:hover,
.btn--light:focus-visible {
  background-color: var(--wp--preset--color--blue);
  border-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

.btn--blue {
  background-color: var(--wp--preset--color--blue);
  border-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
}

.btn--blue:hover,
.btn--blue:focus-visible {
  background-color: var(--wp--preset--color--black);
  border-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

/* Core button, « Bleu » style (inc/blocks.php): the .btn--blue look for a
   button placed in the editor. */
.wp-block-button.is-style-blue .wp-block-button__link {
  background-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-blue .wp-block-button__link:hover,
.wp-block-button.is-style-blue .wp-block-button__link:focus-visible {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
}

.btn--outline-blue {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--black-20);
  color: var(--wp--preset--color--blue);
}

.btn--outline-blue:hover,
.btn--outline-blue:focus-visible {
  border-color: var(--wp--preset--color--blue);
  text-decoration: none;
}

.btn--outline {
  background-color: transparent;
  border-color: var(--wp--preset--color--black-20);
  color: var(--wp--preset--color--black);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--wp--preset--color--black);
  text-decoration: none;
}

.btn--block {
  width: 100%;
}

/* Tags ------------------------------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-family: var(--wp--preset--font-family--headline);
  border-radius: 5px;
  /* Teinte translucide : la puce reste lisible sur le gris comme sur le blanc,
     ce que ne permettait pas un aplat field. */
  background-color: var(--wp--preset--color--black-5);
  font-size: var(--wp--preset--font-size--tiny);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wp--preset--color--black-80);
}

.tag:hover,
.tag:focus-visible {
  background-color: var(--wp--preset--color--blue-20);
  color: var(--wp--preset--color--blue);
  text-decoration: none;
}

/* Link-style CTA --------------------------------------------------------- */

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  /* .cta-link is used on buttons too, which the global `a` rule misses. */
  transition:
    color 0.2s ease,
    text-decoration-color 0.25s ease;
}

.cta-link:hover,
.cta-link:focus-visible {
  text-decoration-color: currentColor;
}

.cta-link__icon {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.2s ease;
}

.cta-link:hover .cta-link__icon {
  transform: translateX(3px);
}

.cta-link--back {
  color: var(--wp--preset--color--blue);
}
.cta-link--back:hover .cta-link__icon {
  transform: translateX(-3px);
}

/* Icons ------------------------------------------------------------------ */

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.icon--xs {
  width: 10px;
  height: 10px;
}
.icon--sm {
  width: 14px;
  height: 14px;
}
.icon--md {
  width: 20px;
  height: 20px;
}
.icon--lg {
  width: 24px;
  height: 24px;
}

/* Ribbon ----------------------------------------------------------------- */

.ribbon {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border-radius: 3px;
  font-family: var(--wp--preset--font-family--headline);
  width: fit-content;
  background-color: var(--wp--preset--color--blue-20);
  color: var(--wp--preset--color--blue);
  font-size: var(--wp--preset--font-size--ribbon);
  font-weight: 500;
  line-height: 1;
  /* letter-spacing inherits as a length: reset it or the 14px parent leaks in. */
  letter-spacing: 0;
  text-transform: uppercase;
}

/* On a coloured plate the ribbon turns white — Figma 12288:33838. */
.ribbon--light {
  background-color: var(--wp--preset--color--white);
}

.ribbon--red {
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
}

/* Forms ------------------------------------------------------------------ */

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  background-color: var(--wp--preset--color--field);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--wp--preset--color--field-text);
}

/* Placeholders: greyed out as soon as the field has the focus, on every
   field of the site, so the hint never reads as a typed value. Kept after the
   .field rule above, which has the same specificity. */
input::placeholder,
textarea::placeholder {
  transition: color 0.2s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: var(--axfrost-placeholder-focus);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
}

.field:focus-within {
  outline: 2px solid var(--wp--preset--color--blue);
  outline-offset: 2px;
}

/* Notices ---------------------------------------------------------------- */

/* One look for every confirmation and error message: WooCommerce's account
   notices and Brevo's success / error panels. Each plugin brings its own
   colours (WooCommerce's top border and icon font, Brevo's inline styles,
   hence the !important), replaced by a left accent and a masked Lucide icon. */
.account__wc .woocommerce-message,
.account__wc .woocommerce-error,
.account__wc .woocommerce-info,
.brevo-form--html .sib-form-message-panel {
  --notice-color: var(--wp--preset--color--blue);
  --notice-icon: url(/wp-content/themes/didatec/assets/icons/check.svg);
  position: relative;
  max-width: none !important;
  margin: 0 0 var(--wp--preset--spacing--40) !important;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40)
    var(--wp--preset--spacing--40) 48px !important;
  border: 0 !important;
  border-inline-start: 3px solid var(--notice-color) !important;
  border-radius: 5px !important;
  background-color: var(--wp--preset--color--field) !important;
  color: var(--wp--preset--color--black) !important;
  font-family: inherit !important;
  font-size: var(--wp--preset--font-size--small) !important;
  line-height: 1.4;
  text-align: start !important;
  list-style: none;
}

.account__wc .woocommerce-info {
  --notice-icon: url(/wp-content/themes/didatec/assets/icons/info.svg);
}

.account__wc .woocommerce-error,
.brevo-form--html #error-message {
  --notice-color: var(--wp--preset--color--red);
  --notice-icon: url(/wp-content/themes/didatec/assets/icons/circle-alert.svg);
}

/* WooCommerce already positions this pseudo-element absolutely from the top
   left; only the glyph is swapped. The left padding above leaves room for it. */
.account__wc .woocommerce-message::before,
.account__wc .woocommerce-error::before,
.account__wc .woocommerce-info::before,
.brevo-form--html .sib-form-message-panel::before {
  content: "";
  position: absolute;
  top: calc(var(--wp--preset--spacing--40) + 0.7em - 9px);
  left: 18px;
  width: 18px;
  height: 18px;
  background-color: var(--notice-color);
  -webkit-mask: var(--notice-icon) center / contain no-repeat;
  mask: var(--notice-icon) center / contain no-repeat;
}

/* Brevo forms sit on a grey panel with white fields: the notice follows the
   fields. */
.brevo-form--html .sib-form-message-panel {
  background-color: var(--wp--preset--color--white) !important;
}

/* Both panels are in the markup from the start: hidden until Brevo's main.js
   adds --active on submit. Brevo's own rules for this lived in its <style>
   block and in sib-styles.css, both stripped by axfrost_brevo_clean_embed(). */
.brevo-form--html .sib-form-message-panel {
  display: none;
}

.brevo-form--html .sib-form-message-panel--active {
  display: block;
}

/* Brevo's own icon is replaced by the one above. */
.brevo-form--html .sib-form-message-panel svg {
  display: none;
}

.account__wc .woocommerce-error li + li {
  margin-block-start: var(--wp--preset--spacing--20);
}

.account__wc .woocommerce-message a,
.account__wc .woocommerce-error a,
.account__wc .woocommerce-info a,
.brevo-form--html .sib-form-message-panel a {
  color: inherit;
  text-decoration: underline;
}

/* WooCommerce moves focus to the notice (tabindex="-1") so screen readers
   announce it; it is not interactive, so no focus ring. */
.account__wc [tabindex="-1"]:focus {
  outline: none;
}

/* Pagination ------------------------------------------------------------- */

.pagination {
  margin-block-start: var(--wp--preset--spacing--100);
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__list a,
.pagination__list .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 8px;
  border: 1px solid var(--wp--preset--color--black-20);
  border-radius: 5px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.pagination__list .current {
  background-color: var(--wp--preset--color--blue);
  border-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
}

.pagination__list a:hover {
  border-color: var(--wp--preset--color--black);
}

/* Language switch — used in the header bar and at the foot of the page. */
.lang-switch {
  position: relative;
}

.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}

/* Figma 12078:2899 : le chevron du sélecteur de langue est un V de 10x5 au trait
   de 1px, soit le double de l'icône xs. Le viewBox de l'icône générique est
   carré et seul son quart central est tracé : on la monte à 20px pour obtenir
   le bon tracé, puis on resserre la boîte pour garder la gouttière de 8px. */
.lang-switch__toggle .icon {
  width: 20px;
  height: 20px;
  margin-inline: -5px;
  stroke-width: 1.2;
}

.lang-switch__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  min-width: 64px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--black-20);
  border-radius: 5px;
}

.lang-switch__list a {
  display: block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.lang-switch__list a:hover {
  background-color: var(--wp--preset--color--field);
}

/* At the bottom of the page the panel opens upwards, right-aligned. */
.lang-switch--up .lang-switch__list {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
}

/* Quantity stepper — Figma 12376:34896: white box, 12px inline padding,
   24px between the controls, the same 5px radius as the buttons beside it. */
.qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--wp--preset--color--black-20);
  border-radius: 5px;
  background-color: var(--wp--preset--color--white);
}

.qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wp--preset--color--black);
  cursor: pointer;
  transition: color 0.2s ease;
}

.qty__btn:hover {
  color: var(--wp--preset--color--blue);
}

.qty__btn:disabled {
  color: var(--wp--preset--color--black-20);
  cursor: default;
}

.qty__input {
  /* Two digits wide: the field tops out at 99. */
  width: 2.5ch;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wp--preset--color--black);
  font: inherit;
  font-size: var(--wp--preset--font-size--btn);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  -moz-appearance: textfield;
}

/* The native spinners would duplicate the -/+ buttons. */
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Carousels --------------------------------------------------------------- */

/* Mouse and pen drag the track (slider.js); touch keeps native panning. */
.is-scrollable [data-carousel-track] {
  cursor: grab;
}

/* Slider pagination: short dashes under the track, only when it scrolls. */
.carousel-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-block-start: 16px;
}

.is-scrollable .carousel-dots {
  display: flex;
}

.carousel-dots__dot {
  position: relative;
  width: 14px;
  /* The dash is 3px tall; the button keeps a finger-sized target. */
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width 0.2s ease;
}

.carousel-dots__dot::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 50%;
  height: 3px;
  margin-block-start: -1.5px;
  border-radius: 2px;
  background-color: var(--wp--preset--color--black-20);
  transition: background-color 0.2s ease;
}

.carousel-dots__dot.is-active {
  width: 20px;
}

.carousel-dots__dot.is-active::before {
  background-color: var(--wp--preset--color--blue);
}

[data-carousel-track].is-dragging {
  cursor: grabbing;
  user-select: none;
  /* Snapping fights a scrollLeft written on every pointer move. */
  scroll-snap-type: none;
}

/* Accessibility ---------------------------------------------------------- */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--wp--preset--spacing--40);
  z-index: 1000;
  padding: 12px 20px;
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--btn);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--wp--preset--spacing--40);
}

[hidden] {
  display: none !important;
}

.is-visually-hidden-until-open[aria-expanded="false"] + * {
  display: none;
}

/* Product card — Figma 12288:33838: square visual on a light plate, ribbon
   and selection toggle laid over it, reference and title underneath. */

.product-grid {
  align-items: start;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card__visual {
  position: relative;
}

.product-card__media {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--wp--preset--color--field);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  /* Room kept for the ribbon on top and the toggle at the bottom. */
  padding: 48px 16px;
  object-fit: contain;
  mix-blend-mode: darken;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

/* The ribbon spans the visual, like the mockup's full-width band. */
.product-card__tag {
  position: absolute;
  inset-inline: 16px;
  inset-block-start: 16px;
  background-color: var(--wp--preset--color--white);
}

.product-card__visual .selection-icon {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-end: 16px;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-card__ref {
  font-size: var(--wp--preset--font-size--subheading);
  font-weight: 500;
  line-height: 1;
}

/* The tag is an h2 or an h3 depending on the page outline: every heading
   property is set here so both render the same. */
.product-card__title {
  font-size: var(--wp--preset--font-size--h-4);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.product-card__title a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
}

.product-card:hover .product-card__title a,
.product-card:focus-within .product-card__title a {
  text-decoration-color: currentColor;
}

/* Gamme tile — Figma 12106:36175: 432 x 279, radius 5, double gradient veil */

/* The tile is the link itself: the picture, the veil and the chevron are
   stacked behind and around its two texts. */
.gamme-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: var(--wp--preset--spacing--60);
  aspect-ratio: 432 / 279;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--black);
  /* Own compositing layer: the rounded clip is applied on the GPU instead of
     being repainted on every frame of the zoom, which made the edges shimmer.
     `isolation` also keeps the z-index of the layers below inside the tile. */
  isolation: isolate;
  transform: translateZ(0);
}

/* Débord de 1px, rogné par l'overflow du lien. La photo est sur son propre
   calque GPU, calé sur le pixel entier, alors que la tuile a des bords
   fractionnaires (485,33 x 313,44 à 1600 de large) : sans ce débord, le
   dernier pixel laissait voir le fond noir du lien, un liseré visible sur les
   photos claires. */
.gamme-card__img {
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: -1px;
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  max-width: none;
  object-fit: cover;
  /* Permanent layer: no promote/demote jump (blurry then sharp) at the start
     and end of the transition. */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1);
  transition: transform 0.4s ease;
}

.gamme-card:hover .gamme-card__img {
  transform: translateZ(0) scale(1.04);
}

/* Veil, over the picture and under the texts: same box as the picture. */
.gamme-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  /* Voile de la maquette, renforcé pour que le titre blanc garde un contraste
	   AA quelle que soit la photo chargée. */
  background-image:
    linear-gradient(-10.27deg, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, 0.95) 93%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0) 100%);
}

/* 262px is the width of the text block of the mockup, padding included. */
.gamme-card__title,
.gamme-card__count {
  position: relative;
  z-index: 2;
  max-width: calc(262px - 2 * var(--wp--preset--spacing--60));
}

.gamme-card__title {
  /* A heading since the tile names carry the outline: keeps the text font it
     had as a span, not the headline family of theme.json. */
  font-family: inherit;
  font-size: clamp(1.125rem, 0.4038rem + 1.9231vw, 1.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.gamme-card__count {
  font-size: var(--wp--preset--font-size--btn);
  line-height: 1;
  color: var(--wp--preset--color--white);
}

/* Figma 12106:36179: a bare white chevron, no plate behind it and no arrow
   shaft. The 41x41 box is the 17px glyph plus the mockup's 12px padding, so
   the chevron lands 24px from the tile's edges. */
.gamme-card::after {
  content: "";
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 41px;
  height: 41px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" fill="none" stroke="%23ffffff" stroke-width="1.5"><path d="M6 3.54 10.96 8.5 6 13.46"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
  transition: transform 0.2s ease;
}

.gamme-card:hover::after {
  transform: translateX(3px);
}

/* Intro ------------------------------------------------------------------- */

/* What is on screen when the page opens plays the same reveal as the sections
   that scroll in later (assets/js/reveal.js): a fade and a 24px rise. Done in
   CSS so it starts with the first paint: no script to wait for, nothing to
   hide then show again, and the page is intact without JavaScript. Keep the
   duration and curve in step with SETTINGS in reveal.js.

   A hero keeps its picture still: only its card comes in. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes axfrost-intro {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
  }

  /* Same movement, started by reveal.js on what scrolls in. A name of its
     own: an element that already played the intro off screen would not
     replay an animation of the same name. */
  @keyframes axfrost-reveal {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
  }

  .hero__card,
  .page-content > :first-child:not(.hero),
  .page-content > :nth-child(2),
  .page-content > :nth-child(3),
  .collection__header,
  .collection-hero__inner,
  .collection__body .product-grid > :nth-child(-n + 8),
  .product__top,
  .site-main > .container.section {
    animation: axfrost-intro 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  }

  /* Second and third blocks of the page, then the first cards of a listing,
     column by column. The third block is often cut by the bottom of the
     screen, or just under it on a short one: when it is fully below the fold,
     reveal.js brings it in on scroll instead. */
  .page-content > :nth-child(2) {
    animation-delay: 0.15s;
  }

  .page-content > :nth-child(3) {
    animation-delay: 0.3s;
  }

  .collection__body .product-grid > :nth-child(-n + 8) {
    animation-delay: 0.15s;
  }
  .collection__body .product-grid > :nth-child(4n + 2):nth-child(-n + 8) {
    animation-delay: 0.23s;
  }
  .collection__body .product-grid > :nth-child(4n + 3):nth-child(-n + 8) {
    animation-delay: 0.31s;
  }
  .collection__body .product-grid > :nth-child(4n + 4):nth-child(-n + 8) {
    animation-delay: 0.39s;
  }
}

/* assets/css/header.css */
/* Didatec — site header (announcement bar, main bar, primary nav). */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--wp--preset--color--white);
}

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Announcement bar ------------------------------------------------------- */

.topbar {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.topbar__text {
  color: var(--wp--preset--color--white-80);
}
.topbar__phone a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
}
.topbar__phone a:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 599px) {
  .topbar__text-muted {
    display: none;
  }
}

/* Main bar --------------------------------------------------------------- */

.header-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Figma 12078:1749 : la navigation suit le logo sur la même ligne. */
  gap: 32px;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding: 12px 24px;
}

.site-logo {
  flex: none;
  line-height: 0;
  text-decoration: none;
}

.site-logo img {
  width: 192px;
  height: auto;
}

.site-logo--light img,
.site-logo--light svg {
  width: 85px;
}

.header-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 12px;
  border: 0;
  background: none;
  cursor: pointer;
}

.header-burger .icon {
  width: 16px;
  height: 16px;
}

/* Base 0 et non « auto » : avec une base sur le contenu, la largeur naturelle
   du champ poussait les actions à la ligne dès 1200px alors qu'elles tenaient
   encore. Le champ absorbe désormais la place restante sans forcer le retour. */
.header-search {
  flex: 1 1 0;
  min-width: 0;
}

/* Figma 12078:3023 : 43px de haut, le padding vertical du champ générique
   le poussait à 46. */
.header-search .field {
  height: 43px;
  padding-block: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-sep {
  width: 1px;
  height: 14px;
  background-color: var(--wp--preset--color--black-20);
}

/* Quote CTA -------------------------------------------------------------- */

/* Figma 12078:2896 : 160x33, plus compact que le bouton standard. */
.header-quote {
  flex: none;
  padding: 8px 20px 9px;
  white-space: nowrap;
  background-color: var(--wp--preset--color--blue);
}
.header-quote__icon {
  display: none;
}
.header-quote .screen-reader-text {
  position: static !important;
}

/* Account / selection ---------------------------------------------------- */

.header-action {
  display: inline-flex;
  align-items: center;
  flex: none;
  border: 0;
  background: none;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Figma 12078:1749 : compte et sélection sont des pictos seuls, dans une boîte
   de 40x40 ; leur nom accessible vient du .screen-reader-text. */
.header-action {
  /* Sans cette remise à zéro, le <button> de la sélection est plus large que
	   le lien du compte, à cause du padding par défaut du navigateur. */
  padding: 0;
  transition: color 0.2s ease;
}

.header-action:hover,
.header-action:focus-visible {
  color: var(--wp--preset--color--blue);
}

.header-action__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.header-action:hover .header-action__icon,
.header-action:focus-visible .header-action__icon {
  background-color: var(--wp--preset--color--field);
}

.header-action__icon .icon {
  width: 16px;
  height: 16px;
}

.header-action .screen-reader-text {
  position: absolute !important;
}

/* Tooltip of the icon-only actions: the text of data-tooltip, under the icon,
   on hover and on keyboard focus. The accessible name comes from aria-label. */
.header-action[data-tooltip] {
  position: relative;
}

.header-action[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 5px;
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--subheading);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Last item of the bar: aligned on its right edge so it stays in the page. */
.header-selection[data-tooltip]::after {
  right: 0;
  left: auto;
  transform: translate(0, -4px);
}

.header-action[data-tooltip]:hover::after,
.header-action[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header-selection[data-tooltip]:hover::after,
.header-selection[data-tooltip]:focus-visible::after {
  transform: translate(0, 0);
}

/* No hover on a touch screen: the tooltip would stay up after a tap. */
@media (hover: none) {
  .header-action[data-tooltip]::after {
    display: none;
  }
}

.header-selection__count {
  position: absolute;
  top: 6px;
  left: 27px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--blue);
}

/* Primary navigation ----------------------------------------------------- */

.site-nav {
  flex: none;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Toutes les entrées en bleu et en gras, à la demande du client : la maquette
   (Figma 12371:5254) ne mettait en avant que « Nos gammes ». */
.site-nav__list > li > a {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--blue);
  text-decoration-line: underline;
  text-decoration-color: transparent;
}

.site-nav__list > li > a:hover {
  text-decoration-color: currentColor;
}

/* Le second menu, après la recherche, n'a pas cette mise en avant. */
.site-nav--secondary .site-nav__list > li > a {
  color: inherit;
  font-weight: inherit;
}

/* L'entrée courante ne se signale que par son soulignement. */
.site-nav__list > .current-menu-item > a,
.site-nav__list > .current-menu-parent > a,
.site-nav__list > .current-menu-ancestor > a,
.site-nav__list > .current_page_item > a {
  text-decoration-color: currentColor;
}

/* Mobile -----------------------------------------------------------------
   Bascule à 1300 et non 1024 : en dessous, le champ de recherche descendrait
   sous 200px de large (17px à 1000px) et la barre ne serait plus utilisable.
   C'est la mise en page mobile — burger, logo centré, recherche sur sa ligne —
   qui prend le relais. Le reste du thème garde sa bascule à 1024. */

@media (max-width: 1299px) {
  /* La barre d'annonce ne reste plus collée en mobile : l'en-tête glisse de la
	   hauteur de la topbar (32px) avant de s'épingler, si bien que seule la
	   barre principale reste visible. Un sticky posé sur .header-main seul ne
	   marcherait pas : il ne peut pas dépasser la boîte de son parent. */
  .site-header {
    top: -32px;
  }
  .admin-bar .site-header {
    top: 0;
  }

  .header-main {
    flex-wrap: wrap;
    gap: 0;
    padding: 12px 16px 8px;
  }

  /* Flatten the actions wrapper so its children join the header flex row. */
  .header-actions {
    display: contents;
  }

  .site-header .header-main .header-burger {
    display: block;
    order: 1;
  }
  .header-main .header-account {
    order: 2;
  }
  .header-main .site-logo {
    order: 3;
    margin-inline: auto;
  }
  .header-main .header-quote {
    order: 4;
  }
  .header-main .header-selection {
    order: 5;
  }

  .header-search {
    order: 6;
    flex: 0 0 100%;
    width: min(353px, calc(100% - 22px));
    margin-inline: auto;
    padding-block-start: 8px;
  }

  .header-actions .lang-switch,
  .header-main .site-nav,
  .header-sep {
    display: none;
  }

  .header-main .site-logo img {
    width: 143px;
  }

  .header-main .header-quote {
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 0;
  }

  .header-main .header-quote__label {
    display: none;
  }

  .header-quote__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .header-quote__icon .icon {
    width: 17px;
    height: 17px;
  }

  .header-quote .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .header-main .header-selection,
  .header-main .header-account {
    padding: 0;
  }

  .header-main .header-quote + .header-selection {
    margin-inline-start: 5px;
  }
}

/* Entre 1024 et 1300, la barre mobile s'étire sur toute la largeur et le champ
   de recherche atteindrait 1000px. On le borne à sa largeur de maquette en
   desktop (457px à 1440) au-delà de 600px, sans toucher au rendu téléphone. */
@media (min-width: 600px) and (max-width: 1299px) {
  /* Le cap va sur le formulaire et non sur .header-search : borner l'élément
	   flex lui-même le ferait remonter sur la ligne des pictos. */
  .header-search .search-form {
    max-width: 457px;
    margin-inline: auto;
  }
}

/* Après le bloc mobile, pour l'emporter sur son « top: 0 » : la barre d'admin
   fait 46px sous 782px, dont on retire les 32px de topbar glissés. */
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 14px;
  }
}

/* Search form ------------------------------------------------------------ */

.search-form {
  position: relative;
}

.search-form__input {
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: -0.01em;
}

/* iOS zooms the page when a focused field is set under 16px. The field
   inherits 12px on a phone: 16px wherever the header is in its mobile layout.
   Two classes, to win over ".field input { font: inherit }" (base.css). */
@media (max-width: 1299px) {
  .search-form .search-form__input {
    font-size: 16px;
  }
}

.search-form__input::-webkit-search-cancel-button {
  display: none;
}

.search-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* Off-canvas navigation ---------------------------------------------------
   ax-offcanvas-nav ships its own trigger and panel skin; we keep the library
   behaviour (ARIA, focus, swipe) and re-skin it with the design system. */

.site-header .header-main .header-burger.hc-nav-trigger {
  position: static;
  top: auto;
  display: none;
  width: 40px;
  min-height: 40px;
  height: 40px;
  padding: 12px;
  color: var(--wp--preset--color--black);
}

@media (max-width: 1299px) {
  .site-header .header-main .header-burger.hc-nav-trigger {
    display: block;
  }
}

.header-burger.hc-nav-trigger span,
.header-burger.hc-nav-trigger span::before,
.header-burger.hc-nav-trigger span::after {
  display: none;
}

.hc-offcanvas-nav .nav-container {
  background-color: var(--wp--preset--color--black);
  font-family: var(--wp--preset--font-family--headline);
}

.hc-offcanvas-nav .nav-wrapper,
.hc-offcanvas-nav .nav-content {
  background-color: var(--wp--preset--color--black);
}

/* La librairie réutilise le <ul> du thème, classe comprise : sa disposition en
   ligne doit être annulée, sinon les entrées se suivent horizontalement. */
.hc-offcanvas-nav .site-nav__list {
  display: block;
  gap: 0;
}

.hc-offcanvas-nav .nav-content {
  position: relative;
}

.hc-offcanvas-nav .nav-title {
  padding: 20px var(--wp--preset--spacing--50);
  font-size: var(--wp--preset--font-size--h-4);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--wp--preset--color--white);
}

.hc-offcanvas-nav li.nav-item > .nav-item-wrapper > a,
.hc-offcanvas-nav li.nav-item > a {
  padding: 16px var(--wp--preset--spacing--50);
  border-block-end: 1px solid var(--wp--preset--color--white-20);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--white);
  transition: background-color 0.2s ease;
}

.hc-offcanvas-nav li.nav-item > .nav-item-wrapper > a:hover,
.hc-offcanvas-nav li.nav-item > a:hover {
  background-color: var(--wp--preset--color--white-20);
}

.hc-offcanvas-nav .nav-close-button,
.hc-offcanvas-nav .nav-back a {
  color: var(--wp--preset--color--white);
}

/* La librairie ne pose qu'un lien vide, sans dimension : la croix est dessinée
   ici, dans une boîte de 40x40 comme le bouton burger qui l'ouvre. */
.hc-offcanvas-nav .nav-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.hc-offcanvas-nav .nav-close-button {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.hc-offcanvas-nav .nav-close-button:hover,
.hc-offcanvas-nav .nav-close-button:focus-visible {
  background-color: var(--wp--preset--color--white-20);
}

.hc-offcanvas-nav .nav-close-button::before,
.hc-offcanvas-nav .nav-close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background-color: var(--wp--preset--color--white);
}

.hc-offcanvas-nav .nav-close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hc-offcanvas-nav .nav-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Sélecteur de langue du panneau — voir axfrost_nav_lang_item(). L'entrée
   n'existe que pour le menu mobile : la barre de bureau a déjà son sélecteur. */
.site-nav__list > li.nav-lang {
  display: none;
}

.hc-offcanvas-nav .site-nav__list > li.nav-lang {
  display: block;
}

/* Copies de la navigation secondaire — voir axfrost_nav_secondary_items(). */
.site-nav__list > li.nav-mobile-only {
  display: none;
}

.hc-offcanvas-nav .site-nav__list > li.nav-mobile-only {
  display: block;
}

.hc-offcanvas-nav .nav-custom-content {
  display: flex;
  gap: 8px;
  padding: 16px var(--wp--preset--spacing--50);
}

.hc-offcanvas-nav .nav-lang__link {
  padding: 6px 12px;
  border: 1px solid var(--wp--preset--color--white-20);
  border-radius: 5px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  line-height: 1.3;
  color: var(--wp--preset--color--white);
}

.hc-offcanvas-nav .nav-lang__link[aria-current] {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
}

/* assets/css/footer.css */
/* Didatec — site footer (quote band, brand block, link columns). */

/* The hairline only shows when the page ends on a black section (Campus,
   company page): without it that section and the footer merge into one block. */
.site-footer {
  border-block-start: 1px solid var(--wp--preset--color--white-20);
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
}

/* Quote band ------------------------------------------------------------- */

.footer-quote {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--70) 0;
}

.footer-quote__card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--60);
  padding: var(--wp--preset--spacing--60);
  border-radius: 5px;
  background-color: var(--wp--preset--color--blue);
  overflow: hidden;
}

.footer-quote__card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* assets/images/footer-texture.webp (370 bytes), inlined: a request would
     cost more than the file. Regenerate with base64 if the texture changes. */
  background-image: url("data:image/webp;base64,UklGRmoBAABXRUJQVlA4IF4BAACQJwCdASqaAZoBPmEwlkikIyIhIAgAgAwJaW7hd2EbQAnsA99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfasAAP7/7nKAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
  background-position: top left;
  background-size: 410px 410px;
  opacity: 0.2;
  pointer-events: none;
}

.footer-quote__text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1 1 min(583px, 100%);
}

.footer-quote__title {
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--wp--preset--color--white);
}

.footer-quote__desc {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--white-80);
  max-width: 600px;
}

.footer-quote .btn {
  position: relative;
  flex: none;
}

/* Main footer ------------------------------------------------------------ */

/* Gouttière = celle du bandeau devis + son padding : le logo s'aligne sur le
   titre du bandeau, le sélecteur de langue sur le bord droit de son bouton. */
.footer-main {
  display: flex;
  gap: var(--wp--preset--spacing--70);
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding: var(--wp--preset--spacing--70)
    calc(var(--wp--preset--spacing--70) + var(--wp--preset--spacing--60))
    var(--wp--preset--spacing--100);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--60);
  flex: 0 1 525px;
}

.footer-brand .site-logo img,
.footer-brand .site-logo svg {
  width: 85px;
  height: auto;
}

.footer-brand__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand__title {
  font-size: var(--wp--preset--font-size--h-4);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.footer-brand__desc {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--white-70);
}

.footer-brand__address,
.footer-brand__phone {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.footer-brand__phone a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
}
.footer-brand__phone a:hover {
  text-decoration-color: currentColor;
}

/* Figma 12011:34552 : la mention légale ferme la colonne de gauche. Le nœud est
   à opacité 0 dans la maquette desktop, d'où son absence à l'intégration ; il
   est bien visible sur le gabarit mobile (12078:2403), sous le bouton Contact. */
.footer-copyright {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--white-80);
}

.footer-copyright a {
  color: inherit;
  text-decoration-line: underline;
}

.footer-copyright a:hover,
.footer-copyright a:focus-visible {
  color: var(--wp--preset--color--white);
}

/* Link columns ----------------------------------------------------------- */

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 77px;
  flex: 1 1 auto;
  max-width: 730px;
  min-width: 0;
}

.footer-col__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 24px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  list-style: none;
  cursor: default;
}

.footer-col__title::-webkit-details-marker {
  display: none;
}

.footer-col__chevron {
  display: none;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col__list a {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--white-80);
  text-decoration-line: underline;
  text-decoration-color: transparent;
}

.footer-col__list a:hover,
.footer-col__list a:focus-visible {
  color: var(--wp--preset--color--white);
  text-decoration-color: currentColor;
}

/* The switch itself lives in base.css: only the dark-background tweaks here. */
.footer-lang .lang-switch__toggle {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--white);
}

.footer-lang .lang-switch__list a {
  color: var(--wp--preset--color--black);
}

/* Desktop: the two link columns sit side by side above the language switch. */
@media (min-width: 1024px) {
  /* La colonne de gauche s'étire sur la hauteur du bloc : la marge auto pose la
     mention tout en bas, sur la ligne du sélecteur de langue de droite. */
  .footer-copyright { margin-block-start: auto; }

  /* Ferré à droite : au-delà de 1440, la ligne est plus large que la marque et
     les liens réunis (525 + 730), le surplus va entre les deux. */
  .footer-links {
    margin-inline-start: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(167px, 1fr));
    grid-template-rows: auto auto;
    align-content: start;
    align-items: start;
    justify-items: start;
    column-gap: 24px;
    row-gap: 77px;
  }

  .footer-links > .footer-lang {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

/* Mobile ----------------------------------------------------------------- */

@media (max-width: 1023px) {
  .footer-main {
    flex-direction: column;
    gap: var(--wp--preset--spacing--80);
    padding-inline: var(--wp--preset--spacing--70);
  }

  .footer-brand {
    flex: 0 0 auto;
  }

  .footer-links {
    align-items: stretch;
    gap: var(--wp--preset--spacing--40);
    max-width: none;
  }

  .footer-col {
    border-radius: 5px;
    background-color: var(--wp--preset--color--white);
    overflow: hidden;
  }

  .footer-col__title {
    margin-block-end: 0;
    padding: 16px;
    color: var(--wp--preset--color--blue);
    font-weight: 700;
    cursor: pointer;
  }

  .footer-col__chevron {
    display: block;
    transition: transform 0.2s ease;
  }

  .footer-col[open] .footer-col__chevron {
    transform: rotate(180deg);
  }

  .footer-col__body {
    padding: 0 16px 16px;
  }

  .footer-col__list a {
    color: var(--wp--preset--color--black);
  }

  .footer-col__list a:hover,
  .footer-col__list a:focus-visible {
    color: var(--wp--preset--color--blue);
  }

  .footer-lang {
    align-self: center;
  }

  .footer-quote__card {
    justify-content: flex-start;
  }
  .footer-quote__text {
    flex: 1 1 100%;
  }
}

/* assets/vendor/hc-offcanvas-nav.css */
html.hc-nav-yscroll{overflow-y:scroll}body.hc-nav-open{overflow:visible;position:fixed;width:100%;min-height:100%}.hc-offcanvas-nav{visibility:hidden;display:none;position:fixed;top:0;height:100%;z-index:9999;text-align:left}.hc-offcanvas-nav.is-ios *{cursor:pointer !important}.hc-offcanvas-nav .nav-container{position:fixed;z-index:9998;top:0;height:100%;max-width:100%;max-height:100%;box-sizing:border-box;transition:transform .4s ease}.hc-offcanvas-nav .nav-wrapper{width:100%;height:100%;box-sizing:border-box;overscroll-behavior:none}.hc-offcanvas-nav .nav-content{height:100%}.hc-offcanvas-nav .nav-wrapper-0>.nav-content{overflow:scroll;overflow-x:visible;overflow-y:auto;box-sizing:border-box}.hc-offcanvas-nav ul{list-style:none;margin:0;padding:0}.hc-offcanvas-nav li{position:relative;display:block}.hc-offcanvas-nav li.level-open>.nav-wrapper{visibility:visible}.hc-offcanvas-nav li:not(.custom-content) a{position:relative;display:block;box-sizing:border-box;cursor:pointer}.hc-offcanvas-nav li:not(.custom-content) a[disabled]{cursor:not-allowed}.hc-offcanvas-nav li:not(.custom-content) a,.hc-offcanvas-nav li:not(.custom-content) a:hover{text-decoration:none}.hc-offcanvas-nav input[type=checkbox]{display:none}.hc-offcanvas-nav label{position:absolute;top:0;left:0;right:0;bottom:0;z-index:10;cursor:pointer}.hc-offcanvas-nav .nav-item-wrapper{position:relative}.hc-offcanvas-nav .nav-item-link{position:relative;display:block;box-sizing:border-box}.hc-offcanvas-nav:not(.user-is-tabbing) .nav-close-button:focus,.hc-offcanvas-nav:not(.user-is-tabbing) .nav-item-wrapper a:focus{outline:none}.hc-offcanvas-nav .nav-close:focus,.hc-offcanvas-nav .nav-next:focus,.hc-offcanvas-nav .nav-back:focus{z-index:10}.hc-offcanvas-nav.disable-body::after,.hc-offcanvas-nav .nav-wrapper::after{content:"";z-index:9990;top:0;left:0;right:0;bottom:0;width:100%;height:100%;overscroll-behavior:none;visibility:hidden;opacity:0;transition:visibility 0s ease .4s,opacity .4s ease}.hc-offcanvas-nav.disable-body::after{position:fixed}.hc-offcanvas-nav .nav-wrapper::after{position:absolute}.hc-offcanvas-nav.disable-body.nav-open::after,.hc-offcanvas-nav .sub-level-open::after{visibility:visible;opacity:1;transition-delay:.05s}.hc-offcanvas-nav:not(.nav-open)::after{pointer-events:none}.hc-offcanvas-nav.nav-levels-expand .nav-wrapper::after{display:none}.hc-offcanvas-nav.nav-levels-expand .nav-wrapper.nav-wrapper-0{max-height:100vh}.hc-offcanvas-nav.nav-levels-expand .nav-wrapper.nav-wrapper-0>.nav-content{overflow:scroll;overflow-x:visible;overflow-y:auto;box-sizing:border-box;max-height:100vh}.hc-offcanvas-nav.nav-levels-expand ul .nav-wrapper{min-width:0;max-height:0;visibility:hidden;overflow:hidden;transition:height 0s ease .4s}.hc-offcanvas-nav.nav-levels-expand .level-open>.nav-wrapper{max-height:none;overflow:visible;visibility:visible}.hc-offcanvas-nav.nav-levels-overlap .nav-content{overflow:scroll;overflow-x:visible;overflow-y:auto;box-sizing:border-box;max-height:100vh}.hc-offcanvas-nav.nav-levels-overlap .nav-wrapper{max-height:100vh}.hc-offcanvas-nav.nav-levels-overlap ul .nav-wrapper{position:absolute;z-index:9999;top:0;height:100%;visibility:hidden;transition:visibility 0s ease .4s,transform .4s ease}.hc-offcanvas-nav.nav-levels-overlap ul li.nav-parent{position:static}.hc-offcanvas-nav.nav-levels-overlap ul li.level-open>.nav-wrapper{visibility:visible;transform:translate3d(0, 0, 0);transition:transform .4s ease}.hc-offcanvas-nav.nav-position-left{left:0}.hc-offcanvas-nav.nav-position-left .nav-container{left:0}.hc-offcanvas-nav.nav-position-left.nav-levels-overlap li .nav-wrapper{left:0;transform:translate3d(-100%, 0, 0)}.hc-offcanvas-nav.nav-position-right{right:0}.hc-offcanvas-nav.nav-position-right .nav-container{right:0}.hc-offcanvas-nav.nav-position-right.nav-levels-overlap li .nav-wrapper{right:0;transform:translate3d(100%, 0, 0)}.hc-offcanvas-nav.nav-position-top{top:0}.hc-offcanvas-nav.nav-position-top .nav-container{top:0;width:100%}.hc-offcanvas-nav.nav-position-top.nav-levels-overlap li .nav-wrapper{left:0;transform:translate3d(0, -100%, 0)}.hc-offcanvas-nav.nav-position-bottom{top:auto;bottom:0}.hc-offcanvas-nav.nav-position-bottom .nav-container{top:auto;bottom:0;width:100%}.hc-offcanvas-nav.nav-position-bottom.nav-levels-overlap li .nav-wrapper{left:0;transform:translate3d(0, 100%, 0)}.hc-offcanvas-nav.nav-open[class*=hc-nav-] div.nav-container{transform:translate3d(0, 0, 0)}.hc-offcanvas-nav.rtl{text-align:right;direction:rtl}.hc-nav-trigger{position:absolute;cursor:pointer;user-select:none;display:none;top:20px;z-index:9980;width:30px;min-height:24px}.hc-nav-trigger span{width:30px;top:50%;transform:translateY(-50%);transform-origin:50% 50%}.hc-nav-trigger span,.hc-nav-trigger span::before,.hc-nav-trigger span::after{display:block;position:absolute;left:0;height:4px;background:#34495e;transition:all .2s ease}.hc-nav-trigger span::before,.hc-nav-trigger span::after{content:"";width:100%}.hc-nav-trigger span::before{top:-10px}.hc-nav-trigger span::after{bottom:-10px}.hc-nav-trigger.toggle-open span{background:rgba(0,0,0,0);transform:rotate(45deg)}.hc-nav-trigger.toggle-open span::before{transform:translate3d(0, 10px, 0)}.hc-nav-trigger.toggle-open span::after{transform:rotate(-90deg) translate3d(10px, 0, 0)}
/* assets/css/selection.css */
/* Didatec — "Ma sélection" side panel and its triggers. */

.selection-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.selection-panel__backdrop {
  position: absolute;
  inset: 0;
  background-color: var(--wp--preset--color--black-80);
}

.selection-panel__inner {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  width: min(683px, 100%);
  background-color: var(--wp--preset--color--white);
  box-shadow: -8px 0 32px rgba(20, 20, 20, 0.18);
  animation: selection-slide 0.24s ease;
}

@keyframes selection-slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .selection-panel__inner {
    animation: none;
  }
}

.selection-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--wp--preset--spacing--60);
}

.selection-panel__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  /* A paragraph styled as the H2 it used to be (theme.json heading styles). */
  font-family: var(--wp--preset--font-family--headline);
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.selection-panel__count {
  color: var(--wp--preset--color--black-80);
}

.selection-panel__close {
  position: relative;
  flex: none;
  padding: 0 0 4px;
  border: 0;
  border-block-end: 1px solid var(--wp--preset--color--blue);
  background: none;
  color: var(--wp--preset--color--blue);
  font-size: var(--wp--preset--font-size--btn);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

/* Le libellé ne fait que 22px de haut : la cible tactile est élargie sans
   déplacer le filet ni le texte. */
.selection-panel__close::after {
  content: "";
  position: absolute;
  inset: -10px -8px;
}

.selection-panel__close:hover,
.selection-panel__close:focus-visible {
  color: var(--wp--preset--color--red);
  border-block-end-color: var(--wp--preset--color--red);
}

.selection-panel__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--wp--preset--spacing--60);
}

.selection-panel__empty {
  color: var(--wp--preset--color--black-80);
}

.selection-panel__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: var(--wp--preset--spacing--60);
  padding-top: 24px !important;
}

.selection-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selection-list__item {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: start;
  gap: 16px;
}

.selection-list__thumb {
  display: block;
  align-self: start;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--wp--preset--color--field);
}

/* Le fond blanc des visuels migrés se fond dans le cadre plutôt que de le
   recouvrir — même traitement que .product-card__media. */
.selection-list__thumb img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  mix-blend-mode: darken;
}

.selection-list__ref {
  font-size: var(--wp--preset--font-size--subheading);
  font-weight: 500;
  color: var(--wp--preset--color--black);
}

/* Figma 12298:37284 : l'intitulé est en 16px, pas en petit texte. */
.selection-list__title {
  font-size: var(--wp--preset--font-size--h-4);
  line-height: 1.3;
}

/* 5px entre la référence et l'intitulé, 16px avant les contrôles. */
.selection-list__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Stepper et suppression sur la même ligne, sous le titre — Figma 12298:36798. */
.selection-list__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-block-start: 8px;
}

.selection-list__title a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
}
.selection-list__title a:hover {
  text-decoration-color: currentColor;
}

/* « Supprimer » et « Fermer » partagent le même bouton texte souligné d'un
   filet — Figma 12298:37287 et 12298:37419. */
.selection-list__remove {
  position: relative;
  padding: 0 0 4px;
  border: 0;
  border-block-end: 1px solid var(--wp--preset--color--blue);
  background: none;
  cursor: pointer;
  color: var(--wp--preset--color--blue);
  font-size: var(--wp--preset--font-size--btn);
  font-weight: 700;
  line-height: 1.2;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.selection-list__remove::after {
  content: "";
  position: absolute;
  inset: -10px -8px;
}

.selection-list__remove:hover,
.selection-list__remove:focus-visible {
  color: var(--wp--preset--color--red);
  border-block-end-color: var(--wp--preset--color--red);
}

body.has-selection-open {
  overflow: hidden;
}

/* Add / remove toggle ---------------------------------------------------- */

.js-selection-add.is-selected {
  color: var(--wp--preset--color--blue);
}

/* Selected: the outlined bookmark fills in. The icon carries fill="none" on
   its root, which CSS overrides; the path has no fill of its own and inherits. */
.js-selection-add .icon {
  transition: fill 0.2s ease;
}
.js-selection-add.is-selected .icon {
  fill: currentColor;
}

/* Icon variant — Figma 12288:33838: 40px blue square, white bookmark. */
.selection-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.selection-icon:hover,
.selection-icon:focus-visible,
.selection-icon.is-selected {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
}

.js-selection-add.btn.is-selected {
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--red);
}

.js-selection-add.btn.is-selected:hover {
  background-color: var(--wp--preset--color--black);
  border-color: var(--wp--preset--color--black);
}

.js-selection-quote.is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* Cotes desktop du panneau — Figma 12298:37248 / 12298:37249 : panneau de 683px,
   48px de marge intérieure, vignette carrée de 157px, 24px jusqu'au texte. */
@media (min-width: 1024px) {
  /* 48px n'est pas dans l'échelle de theme.json : c'est une cote de composant,
     comme le padding de la carte du hero. */
  .selection-panel__header,
  .selection-panel__body,
  .selection-panel__footer {
    padding: 48px;
  }

  .selection-panel__header {
    padding-block: 48px 24px;
  }

  .selection-panel__body {
    padding-block-start: 0;
  }

  .selection-list__item {
    grid-template-columns: 157px 1fr;
    gap: 24px;
  }

  /* Le bloc texte est centré dans la hauteur de la vignette — Figma 12298:37280. */
  .selection-list__body {
    align-self: center;
  }
}

/* assets/css/page.css */
/* Didatec — editorial pages, 404 and generic content. */

.page-header {
  padding-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--60);
}

.page-header__title {
  font-size: var(--wp--preset--font-size--h-1);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.page-content > .wp-block-group,
.page-content > .wp-block-columns {
  margin-block: var(--wp--preset--spacing--100);
}

/* Blocs de texte posés à la racine de la page, hors groupe (une page pas encore
   mise en forme, comme la présentation anglaise) : .page-content n'étant pas un
   conteneur, ils collaient au bord de l'écran. Ils prennent la largeur du
   contenu, gouttières comprises. */
.page-content
  > :where(p, h2, h3, h4, h5, h6, ul, ol, .wp-block-image, .wp-block-buttons, .wp-block-table, .wp-block-quote) {
  max-width: min(
    var(--wp--style--global--content-size),
    100% - 2 * var(--wp--preset--spacing--70)
  );
  margin-inline: auto;
}

/* 404 -------------------------------------------------------------------- */

.page-404 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--50);
  max-width: var(--wp--style--global--wide-size);
}

.page-404__title {
  font-size: var(--wp--preset--font-size--h-1);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.page-404__text {
  color: var(--wp--preset--color--black-80);
}

.page-404__search {
  width: 100%;
  max-width: 480px;
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Search results --------------------------------------------------------- */

.search-count {
  color: var(--wp--preset--color--black-80);
}

.search-form-wrap {
  max-width: 480px;
  margin-block-end: var(--wp--preset--spacing--60);
}

.search-empty {
  color: var(--wp--preset--color--black-80);
}

.result-card {
  position: relative;
  /* .product-grid top-aligns its items for the product cards; result cards
     fill their row so a row of mixed cards ends at the same height. */
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--wp--preset--spacing--50);
  border: 1px solid var(--wp--preset--color--black-20);
  border-radius: 5px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.result-card:hover,
.result-card:focus-within {
  border-color: var(--wp--preset--color--blue);
  background-color: var(--wp--preset--color--field);
}

.result-card__kind {
  font-size: var(--wp--preset--font-size--tiny);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wp--preset--color--blue);
}

.result-card__title {
  font-size: var(--wp--preset--font-size--h-4);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.result-card__title a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
}

/* The title link covers the whole card: one link, one accessible name, and
   the card is clickable edge to edge. */
.result-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
}

.result-card:hover .result-card__title a,
.result-card:focus-within .result-card__title a {
  text-decoration-color: currentColor;
}

/* With the link stretched, the focus ring belongs to the card, not to the
   title text. Scoped to :has() so browsers without it keep the link's own ring. */
@supports selector(:has(*)) {
  .result-card:has(:focus-visible) {
    outline: 2px solid var(--wp--preset--color--blue);
    outline-offset: 2px;
  }

  .result-card__title a:focus-visible {
    outline: none;
  }
}

.result-card__excerpt {
  color: var(--wp--preset--color--black-80);
}

/* Les groupes de contenu portent déjà leur rythme vertical via .section : la
   marge de bloc que WordPress ajoute entre frères doublerait l'écart. */
.page-content > .wp-block-group.section {
  margin-block: 0;
}

/* Section « trois axes » — Figma 12106:35451 : fond gris, tuiles espacées de
   16px (et non du blockGap global de 24) et 48px sous le chapô. */
.axes .wp-block-columns:not(:first-child) {
  gap: 16px;
  margin-block-start: 48px;
}

/* Tuiles « trois axes » — Figma 12106:35587 : 416x468 en desktop, 311x206 en
   mobile. Un ratio plutôt qu'une hauteur fixe, que la maquette ferait déborder
   sur petit écran. */
.axis-card.wp-block-cover {
  min-height: 0;
  aspect-ratio: 416 / 468;
  padding: var(--wp--preset--spacing--60);
  border-radius: 8px;
}

/* La maquette n'assombrit que le bas de la tuile : un voile uniforme éteindrait
   la photo. Le dégradé y est à 0.6, calibré sur des photos sombres ; il est
   porté à 0.75 pour tenir le 4,5:1 du titre quelle que soit la photo déposée
   (même parti pris que le hero et les vignettes de gammes). */
/* Le voile natif du bloc « cover » pose sa couleur en style inline et son
   opacité via .has-background-dim-40 : il faut les neutraliser explicitement
   pour lui substituer le dégradé. */
.axis-card.wp-block-cover .wp-block-cover__background {
  opacity: 1 !important;
  background-color: transparent !important;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.75) 85%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.axis-card.wp-block-cover .wp-block-cover__image-background {
  border-radius: 8px;
}

@media (min-width: 1024px) {
  .axis-card.wp-block-cover {
    aspect-ratio: auto;
    min-height: 468px;
  }
}

@media (max-width: 1023px) {
  .axis-card.wp-block-cover {
    aspect-ratio: 311 / 206;
  }
}

/* Three tiles side by side only fit from 1200px: below, the longest title
   ("APPROFONDIR", 273px at h-1) is wider than its tile and breaks in two, and
   under 1024px the mobile ratio clipped the text. Core stacks columns under
   782px only: this section stacks up to 1199px. */
@media (max-width: 1199px) {
  .axes .wp-block-columns:not(:first-child) {
    flex-wrap: wrap !important;
  }

  .axes .wp-block-columns:not(:first-child) > .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* Stacked on a tablet, a tile at the mobile ratio would be taller than the
   desktop one (up to 620px): fixed height instead. The photos are set as
   repeated backgrounds at their natural size, too narrow for a full-width
   tile: they cover it. */
@media (min-width: 600px) and (max-width: 1199px) {
  .axes .axis-card.wp-block-cover {
    aspect-ratio: auto;
    min-height: 280px;
  }

  .axes .axis-card .wp-block-cover__image-background {
    background-repeat: no-repeat;
    background-size: cover;
  }
}

/* Bandeau photo « 1 600 m² » — Figma 12106:35467.
   La carte se cale sur le bord droit du conteneur (wide-size) et non sur une
   marge fixe au viewport : au-delà de 1600px elle reste alignée sur le reste
   du contenu de la page. */
.split-photo.wp-block-cover {
  justify-content: center;
  padding-inline: 0;
}

/* Le sélecteur reprend celui du cœur (…is-position-bottom-right
   .wp-block-cover__inner-container{width:auto}) pour passer devant lui. */
.split-photo.wp-block-cover.has-custom-content-position.is-position-bottom-right
  > .wp-block-cover__inner-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  padding-inline: var(--wp--preset--spacing--70);
}

/* 548px bord à bord : 468 de contenu (contentSize du groupe) + 2x40.
   Le layout « constrained » du cover pose margin-inline:auto sur ses enfants,
   qui l'emporterait sur justify-content : on le neutralise à droite. */
.split-photo .wp-block-group {
  width: 548px;
  max-width: 100%;
  margin-inline: auto 0;
}

/* Voile diagonal du haut gauche vers le bas droit, là où se pose la carte,
   plutôt qu'un voile uniforme. Porté à 0.85 (0.8 sur la maquette) pour tenir
   le 4,5:1 du texte courant sur une photo claire. */
.split-photo.wp-block-cover .wp-block-cover__background {
  opacity: 1 !important;
  background-color: transparent !important;
  background-image: linear-gradient(
    124deg,
    rgba(0, 0, 0, 0) 26%,
    rgba(0, 0, 0, 0.85) 91%
  );
}

@media (max-width: 1023px) {
  /* En mobile la carte occupe toute la largeur : le dégradé redevient vertical. */
  .split-photo.wp-block-cover .wp-block-cover__background {
    background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.85) 60%
    );
  }
}

/* Page contact — Figma 12298:35601 ---------------------------------------- */

/* La maquette resserrait cette page à 1184px (marge de 128) ; à la demande du
   client, elle suit désormais la largeur du reste du site : le groupe de la
   page n'a plus de contentSize propre. */
.contact-choice.section {
  padding-block: clamp(48px, calc(48px + 50 * (100vw - 600px) / 520), 98px);
}

.contact-choice .wp-block-columns {
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(32px, calc(32px + 32 * (100vw - 600px) / 520), 64px);
}

.contact-choice .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* L'espacement est porté par les gap flex : les marges de flux de Gutenberg
   viendraient s'y ajouter et doubleraient chaque écart. */
.contact-choice .wp-block-column > *,
.contact-tiles > * {
  margin-block: 0;
}

/* 16 de gap + 24 = les 40px de la maquette entre le titre et la liste. */
.contact-choice h1 {
  margin-block-end: 24px;
}

/* Liste à coches — le picto reprend assets/icons/check.svg en masque, ce qui
   lui fait suivre la couleur du texte. */
.check-list {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, calc(16px + 8 * (100vw - 600px) / 520), 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--black);
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: url(/wp-content/themes/didatec/assets/icons/check.svg) center / contain no-repeat;
  mask: url(/wp-content/themes/didatec/assets/icons/check.svg) center / contain no-repeat;
}

/* Carte blanche : elle épouse la hauteur de la colonne de gauche et répartit
   ses deux tuiles — Figma 12298:35662. */
.contact-tiles {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 5px;
  background-color: var(--wp--preset--color--white);
}

.contact-tile.wp-block-cover {
  flex: 1 1 auto;
  min-height: 105px;
  border-radius: 5px;
  /* Own compositing layer for the rounded clip, see .gamme-card. */
  isolation: isolate;
  transform: translateZ(0);
}

/* Core makes the inner container `position: relative`, so the link's ::after
   below only covered the text box. Leaving it static lets the ::after resolve
   against the tile itself; the photo and the veil drop to z-index -1 to stay
   under the text, inside the stacking context opened by `isolation` above. */
.contact-tile.wp-block-cover .wp-block-cover__inner-container {
  position: static;
  width: 100%;
}

.contact-tile .wp-block-cover__image-background,
.contact-tile .wp-block-cover__background {
  z-index: -1;
}

.contact-tile .has-h-3-font-size {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-tile a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

/* Un seul lien, cliquable sur toute la tuile. */
.contact-tile a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
}

/* Zoom au survol, comme les vignettes de gammes (.gamme-card). On ne touche pas
   au voile : l'éclaircir ferait repasser le libellé sous le 4,5:1 le temps du
   survol. La réduction de mouvement est gérée globalement dans base.css. */
.contact-tile .wp-block-cover__image-background {
  /* Permanent layer, see .gamme-card__img. */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1);
  transition: transform 0.4s ease;
}

.contact-tile:hover .wp-block-cover__image-background,
.contact-tile:focus-within .wp-block-cover__image-background {
  transform: translateZ(0) scale(1.04);
}

@supports selector(:has(*)) {
  .contact-tile:has(:focus-visible) {
    outline: 2px solid var(--wp--preset--color--blue);
    outline-offset: 2px;
  }

  .contact-tile a:focus-visible {
    outline: none;
  }
}

@media (min-width: 1024px) {
  .contact-tile.wp-block-cover {
    min-height: 170px;
  }
}

/* Pages formulaire contact / SAV — Figma 12105:34144 (desktop) et 12105:34076
   (mobile). Même ossature que la page d'aiguillage : seule la colonne de droite
   change. */
.contact-form-page .wp-block-column {
  /* 24px entre retour, libellé et formulaire — Figma 12105:34166. */
  gap: 24px;
}

@media (min-width: 1024px) {
  /* La colonne de gauche respire davantage sous le titre — Figma 12105:34153. */
  .contact-form-page .wp-block-column:first-child {
    gap: 40px;
  }
}

/* Lien de retour : le picto reprend assets/icons/arrow-left.svg en masque, la
   page étant composée en blocs (pas d'appel à axfrost_icon()). */
.contact-back {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: var(--wp--preset--font-size--btn);
  font-weight: 700;
  line-height: 1.2;
  color: var(--wp--preset--color--blue);
}

.contact-back::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url(/wp-content/themes/didatec/assets/icons/arrow-left.svg) center / contain no-repeat;
  mask: url(/wp-content/themes/didatec/assets/icons/arrow-left.svg) center / contain no-repeat;
  transition: transform 0.2s ease;
}

.contact-back a {
  color: inherit;
  text-decoration: none;
}

.contact-back:hover::before {
  transform: translateX(-3px);
}

.contact-back a:hover {
  text-decoration: underline;
}

/* Colonnes empilées (seuil natif de Gutenberg) : le lien de retour passe tout
   en haut, avant le titre — retour client. La colonne de droite s'efface
   (display: contents) pour que ses enfants se rangent avec la colonne de gauche ;
   l'ordre du DOM, donc celui de la tabulation, ne change pas. */
@media (max-width: 781px) {
  .contact-form-page .wp-block-columns {
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 24px;
  }

  .contact-form-page .wp-block-column:last-child {
    display: contents;
  }

  .contact-form-page .contact-back {
    order: -1;
  }

  /* 24 de gap + 8 = les 32px qui séparaient les deux colonnes. */
  .contact-form-page .wp-block-column:first-child {
    margin-block-end: 8px;
  }
}

/* Le formulaire Brevo occupe toute la colonne. */
.contact-form-page .brevo-form,
.contact-form-page .brevo-form__frame {
  width: 100%;
}

/* assets/css/blocks/hero.css */
/* Didatec — bloc « hero ».
   Chargé uniquement quand le bloc est présent (enqueue_style ACF). */

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 503px;
  overflow: hidden;
  color: var(--wp--preset--color--white);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--wp--preset--color--black);
}

/* Voile relevé sur la maquette (Figma 12011:33467) : un seul dégradé linéaire
   noir, de 0.69 dans l'angle haut gauche vers la transparence, incliné de 27°
   vers le bas. Mesuré en comparant l'export du noeud à la photo source. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    117deg,
    rgba(20, 20, 20, 0.69) 0%,
    rgba(20, 20, 20, 0) 80%
  );
}

.hero__video,
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  display: flex;
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding: var(--wp--preset--spacing--80);
  padding-block-end: calc(var(--wp--preset--spacing--80) + 32px);
}

.hero__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--60);
  width: 100%;
  max-width: 548px;
  border: 1px solid var(--wp--preset--color--white-30);
  border-radius: 5px;
  backdrop-filter: blur(5px);
  background-color: rgb(255 255 255 / 10%);
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Figma 12011:33470 / 12106:35370 : 40px en desktop, 24px en mobile. */
  padding: clamp(24px, calc(24px + 16 * (100vw - 600px) / 520), 40px);
}

/* .subheading is set at line-height 1, meant for one line: a long surtitre
   wraps on mobile and its lines would touch. */
.hero__subheading {
  line-height: 1.3;
}

/* H1 printed small above the slogan (field "Sous-titre") : the look of the
   surtitre, not of a heading. */
.hero__kicker {
  font-family: var(--wp--preset--font-family--text);
  line-height: 1.3;
}

/* Either the H1 or, when a slogan is set, the paragraph that carries it. */
.hero__title {
  font-family: var(--wp--preset--font-family--headline);
  font-size: var(--wp--preset--font-size--h-1);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--wp--preset--color--white);
}

.hero__desc {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 646px;
  }

  /* Hero de page intérieure — Figma 12106:35367 : bandeau plus court, carte
     plus large et ancrée en haut, sans étirement vertical. */
  .hero.is-style-page {
    min-height: 548px;
    align-items: flex-start;
  }

  .hero.is-style-page .hero__card {
    max-width: 764px;
    min-height: 321px;
    height: 321px;
  }
}

@media (max-width: 1023px) {
  /* Figma 12012:36443 : le cadre est plus haut que large, le dégradé y pique
     davantage vers le bas (53° au lieu de 27°) pour la même opacité de départ. */
  .hero__media::after {
    background-image: linear-gradient(
      143deg,
      rgba(20, 20, 20, 0.69) 0%,
      rgba(20, 20, 20, 0) 92%
    );
  }

  .hero__card {
    max-width: none;
  }

  /* Figma 12106:35378 : le bandeau de page intérieure est plus court que celui
     de l'accueil en mobile aussi. */
  .hero.is-style-page {
    min-height: 415px;
  }
}

/* assets/css/blocks/key-figures.css */
/* Didatec — bloc « key-figures ».
   Chargé uniquement quand le bloc est présent (enqueue_style ACF). */

/* Key figures ------------------------------------------------------------ */

.key-figures {
	position: relative;
	z-index: 1;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	margin-block-start: -24px;
	padding-inline: var(--wp--preset--spacing--80);
}

.key-figures__list {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The picto on the left, the value above its label on the right, the pair
   centred on the picto: a two-row grid, with no wrapper around the texts. */
.key-figure {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 3px 16px;
	align-items: center;
	flex: 1 1 0;
	min-width: 0;
	padding: 16px 24px;
	border-radius: 5px;
	background-color: var(--wp--preset--color--field);
}

/* No picto: no empty first column, and no gap left where it was. */
.key-figure--plain {
	column-gap: 0;
}

.key-figure__icon {
	display: inline-flex;
	grid-area: 1 / 1 / span 2;
	color: var(--wp--preset--color--blue);
}

.key-figure__value,
.key-figure__label {
	grid-column: 2;
}

.key-figure__value {
	align-self: end;
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--wp--preset--color--blue);
}

.key-figure__label {
	align-self: start;
	font-size: var(--wp--preset--font-size--tiny);
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--black-80);
}

/* Intro, desktop: right under the hero, the strip is on screen when the page
   opens. Its cards come in one after the other instead of the strip as a
   whole (base.css, "Intro", which animates the second block of a page).
   Mobile shows one card at a time: the strip keeps its single reveal there.

   The cards rise without fading: they overlap the bottom of the hero picture,
   which showed through them while they were translucent. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
	@keyframes axfrost-intro-rise {
		from {
			transform: translateY(24px);
		}
	}

	.page-content > .key-figures:nth-child(2) {
		animation: none;
	}

	.page-content > .key-figures:nth-child(2) .key-figure {
		animation: axfrost-intro-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
		animation-delay: 0.15s;
	}

	.page-content > .key-figures:nth-child(2) .key-figure:nth-child(2) { animation-delay: 0.27s; }
	.page-content > .key-figures:nth-child(2) .key-figure:nth-child(3) { animation-delay: 0.39s; }
	.page-content > .key-figures:nth-child(2) .key-figure:nth-child(4) { animation-delay: 0.51s; }
	.page-content > .key-figures:nth-child(2) .key-figure:nth-child(5) { animation-delay: 0.63s; }
	.page-content > .key-figures:nth-child(2) .key-figure:nth-child(6) { animation-delay: 0.75s; }
}

/* Mobile: one card at a time, auto-scrolling. */
@media (max-width: 1023px) {
	/* The gutter belongs to the section, so the scrollport is exactly one card
	   wide and clips its neighbours instead of letting them peek. */
	.key-figures {
		margin-block-start: -40px;
		padding-inline: var(--wp--preset--spacing--70);
	}

	.key-figures__list {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.key-figures__list::-webkit-scrollbar { display: none; }

	.key-figure {
		flex: 0 0 100%;
		scroll-snap-align: start;
		/* Room kept on the right for the dots that sit inside the card. */
		padding-inline-end: 80px;
	}

	/* The dots ride inside the card, right-aligned and vertically centred:
	   one set for the whole slider, whichever card is showing. */
	.key-figures .carousel-dots {
		position: absolute;
		inset-block: 0;
		inset-inline-end: calc(var(--wp--preset--spacing--70) + 24px);
		margin-block-start: 0;
	}

	.key-figures .carousel-dots__dot { width: 10px; }
	.key-figures .carousel-dots__dot.is-active { width: 14px; }
}

/* assets/css/blocks/gammes.css */
/* Didatec — bloc « gammes ».
   Chargé uniquement quand le bloc est présent (enqueue_style ACF). */

/* Gammes section --------------------------------------------------------- */

.gammes.archive .gammes__title {
  display: none;
}

.gammes.archive {
  padding-top: 0;
}

.page-header:has(~ .gammes.archive) {
  text-align: center;
  padding-block: var(--wp--preset--spacing--100)
    clamp(1.5rem, 0.3462rem + 3.0769vw, 2.5rem);
}

.gammes__title {
  margin-block-end: clamp(1.5rem, 0.3462rem + 3.0769vw, 2.5rem);
  text-align: center;
}

.gammes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gammes__actions {
  display: flex;
  justify-content: center;
  margin-block-start: var(--wp--preset--spacing--50);
}

/* Collapsed state: the extra tiles are hidden behind a fade + the CTA. */
.gammes[data-gammes-collapsible] .gammes__grid {
  position: relative;
}

.gammes[data-gammes-collapsible]:not(.is-expanded) .gamme-card.is-extra {
  display: none;
}

/* The next row shows a 40px sliver of each tile. The tile keeps its full
   box, so its picture and veil are those of the open state: it is clipped to
   its top 40px, and a negative margin takes the rest out of the row height
   (a percentage margin resolves on the width of the grid cell, which is what
   the 432/279 ratio needs). The clip stops 1px short: the tile sits on a
   fractional pixel, and its last row showed as a dark line under the fade. */
.gammes[data-gammes-collapsible]:not(.is-expanded) .gamme-card.is-peek {
  display: flex;
  margin-block-end: calc(40px - 100% * 279 / 432);
  clip-path: inset(0 0 calc(100% - 39px) 0);
}

/* Figma 12106:36224: 70% white over the sliver, opaque 57px lower. */
.gammes[data-gammes-collapsible]:not(.is-expanded) .gammes__grid::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 46px;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7),
    var(--wp--preset--color--white) 57px
  );
  pointer-events: none;
}

.gammes__toggle-less {
  display: none;
}

.gammes.is-expanded .gammes__toggle-more {
  display: none;
}
.gammes.is-expanded .gammes__toggle-less {
  display: inline;
}

/* Without JS the CTA falls back to the catalogue page. */
.gammes__link {
  display: none;
}
.no-js .gammes__toggle {
  display: none;
}
.no-js .gammes__link {
  display: inline-flex;
}

@media (max-width: 1023px) {
  .gammes__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Out of the container so the tiles reach the screen edges while
		   scrolling; the padding gives the first and last one their gutter. */
    margin-inline: calc(var(--wp--preset--spacing--70) * -1);
    padding-inline: var(--wp--preset--spacing--70);
    scroll-padding-inline: var(--wp--preset--spacing--70);
  }

  .gammes__grid::-webkit-scrollbar {
    display: none;
  }

  .gammes__grid > .gamme-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  /* Page « Nos gammes » : la maquette mobile (12298:39706) empile les onze
	   vignettes au lieu de les faire défiler — c'est la page de destination,
	   tout doit y être visible sans geste. */
  .gammes--stacked .gammes__grid {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  .gammes--stacked .gammes__grid > .gamme-card {
    flex: 0 0 auto;
    width: 100%;
  }

  /* On mobile every tile is reachable by swiping: the CTA goes to the catalogue. */
  .gammes[data-gammes-collapsible]:not(.is-expanded) .gamme-card.is-extra {
    display: flex;
  }

  .gammes[data-gammes-collapsible]:not(.is-expanded) .gamme-card.is-peek {
    margin-block-end: 0;
    clip-path: none;
  }

  .gammes[data-gammes-collapsible]:not(.is-expanded) .gammes__grid::after {
    content: none;
  }
  .gammes__toggle {
    display: none;
  }
  .gammes__link {
    display: inline-flex;
  }
}

/* assets/css/blocks/split.css */
/* Didatec — bloc « split ».
   Chargé uniquement quand le bloc est présent (enqueue_style ACF). */

/* Split section ---------------------------------------------------------- */

/* Figma 12061:725 : texte et visuel se partagent la section dans le rapport
   655/785, ferrés à ses bords. La grille est bornée au wide-size ; au-delà,
   c'est la section qui reste pleine largeur, avec le gris en fond et un
   retrait vertical (voir la requête média en bas de fichier). */
.split {
  background-color: var(--wp--preset--color--field);
}

.split__grid {
  display: grid;
  grid-template-columns: 655fr 785fr;
  align-items: stretch;
  margin-inline: auto;
}

/* :where() ramène le modificateur à la spécificité de `.split__grid`, pour que
   la bascule en une colonne de la requête média continue de l'emporter. */
:where(.split--reverse) .split__grid {
  grid-template-columns: 785fr 655fr;
}
.split--reverse .split__content {
  order: 2;
}

.split__content {
  display: flex;
  min-width: 0;
  align-items: center;
  padding-block: var(--wp--preset--spacing--100);
  padding-inline: var(--wp--preset--spacing--90) var(--wp--preset--spacing--80);
}

.split__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--60);
  max-width: 495px;
}

.split__title {
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.split__items {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--50);
}

.split__item-title {
  /* A heading (H3, or H2 under a decorative block title): keeps the text
     font it had as a paragraph, not the headline family of theme.json. */
  font-family: inherit;
  font-size: var(--wp--preset--font-size--h-3);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--wp--preset--color--blue);
}

.split__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split__item-text {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--black-80);
}

.split__media {
  position: relative;
  /* min-width:auto sur un item de grille contenant une image la laisse
	   dépasser sa piste : on le neutralise. */
  min-width: 0;
  overflow: hidden;
}

.split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .split__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split__media {
    order: 1;
    aspect-ratio: 375 / 293;
  }
  .split__content {
    order: 2;
    padding-inline: var(--wp--preset--spacing--70);
  }
  .split--reverse .split__content {
    order: 2;
  }
  .split__inner {
    max-width: none;
  }
}

/* Au-delà du wide-size, la grille se centre et laisse apparaître le fond gris
   de la section de part et d'autre : on l'accompagne d'un retrait vertical
   pour que le visuel ne reste pas ferré en haut et en bas. Le seuil est à
   1661px et non 1601 (wide-size 1600) : tant que le gris de part et d'autre
   ferait moins de 30px, la section reste ferrée sur ses quatre bords. */
@media (min-width: 1661px) {
  .split {
    padding-block: var(--wp--preset--spacing--100);
  }
  .split__media {
    border-radius: 5px;
  }

  .split__grid {
    max-width: var(--wp--style--global--wide-size);
  }
}

/* assets/css/blocks/news.css */
/* Didatec — bloc « news ».
   Chargé uniquement quand le bloc est présent (enqueue_style ACF). */

/* News section ----------------------------------------------------------- */

.news__title {
  margin-block-end: var(--wp--preset--spacing--50);
}

.news__viewport {
  position: relative;
}

.news__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The visual, then the texts 12px apart, each as wide as its content. */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.news-card__media {
  align-self: stretch;
  /* 24px between the visual and the first text: the gap plus this margin. */
  margin-block-end: 12px;
  aspect-ratio: 640 / 390;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--wp--preset--color--field);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.03);
}

.news-card__ribbon {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--blue-20);
  color: var(--wp--preset--color--blue);
}

.news-card__title {
  font-size: var(--wp--preset--font-size--h-3);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.news-card__title a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
}

/* The title link covers the card: one link, one accessible name, and the whole
   tile is clickable. Only cards that carry a link get one. */
.news-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
}

.news-card:hover .news-card__title a,
.news-card:focus-within .news-card__title a {
  text-decoration-color: currentColor;
}

@supports selector(:has(*)) {
  .news-card:has(:focus-visible) {
    outline: 2px solid var(--wp--preset--color--blue);
    outline-offset: 4px;
  }

  .news-card__title a:focus-visible {
    outline: none;
  }
}

.news-card__text {
  /* Trois lignes maximum : les accroches saisies en back-office varient, et
     au-delà les cartes de la rangée ne s'alignent plus. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Figma 12078:2138: 33x33 blue square, white 17px arrow, radius 5.
   Le bouton se cale au milieu du visuel de la carte. Un pourcentage dans
   `inset-block-start` se résoudrait sur la hauteur de la piste ; dans une
   marge de bloc il se résout sur sa largeur, ce dont le ratio 640/390 a
   besoin. La valeur est donc posée par contexte, plus bas. */
.news__nav {
  position: absolute;
  inset-block-start: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--wp--preset--color--blue);
  border-radius: 5px;
  background-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.news__nav .icon {
  width: 17px;
  height: 17px;
}

.news__nav:hover,
.news__nav:focus-visible {
  background-color: var(--wp--preset--color--black);
  border-color: var(--wp--preset--color--black);
}

.news__prev {
  inset-inline-start: -16px;
}
.news__next {
  inset-inline-end: -16px;
}

/* The class lands on the section: the track knows whether it overflows. */
.news.is-scrollable .news__nav {
  display: inline-flex;
}

/* Beyond three cards the desktop row cannot hold them all: the list becomes a
   scroll track showing three at a time, like the mobile one. */
@media (min-width: 1024px) {
  .news--scroll .news__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .news--scroll .news__list::-webkit-scrollbar {
    display: none;
  }

  .news--scroll .news__list > .news-card {
    /* Three tracks and the two 32px gaps between them. */
    flex: 0 0 calc((100% - 64px) / 3);
    scroll-snap-align: start;
  }

  .news--scroll .news__nav {
    margin-block-start: calc((100% - 64px) / 3 * 390 / 640 / 2 - 16.5px);
  }
}

@media (max-width: 1023px) {
  .news__list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .news__list::-webkit-scrollbar {
    display: none;
  }

  .news__list > .news-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .news__nav {
    margin-block-start: calc(100% * 390 / 640 / 2 - 16.5px);
  }
  .news__prev {
    inset-inline-start: 8px;
  }
  .news__next {
    inset-inline-end: 8px;
  }
}

/* assets/css/blocks/seo-text.css */
/* Didatec — bloc « seo-text ».
   Chargé uniquement quand le bloc est présent (enqueue_style ACF). */

/* SEO copy --------------------------------------------------------------- */

.seo-text { background-color: var(--wp--preset--color--field); }

.seo-text__title {
	max-width: 900px;
	margin-block-end: var(--wp--preset--spacing--60);
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.seo-text__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.seo-text__column p { margin-block-end: 1em; }
.seo-text__column p:last-child { margin-block-end: 0; }

.seo-text__cta {
	display: inline-flex;
	margin-block-start: var(--wp--preset--spacing--60);
	padding-block-end: 4px;
	border-block-end: 1px solid var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--btn);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--blue);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.seo-text__cta:hover,
.seo-text__cta:focus-visible { color: var(--wp--preset--color--black); border-color: var(--wp--preset--color--black); text-decoration: none; }

@media (max-width: 1023px) {
	.seo-text__columns { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

