/*!
Theme Name: test_webecode
Theme URI: https://underscoretw.com/
Author: underscoretw.com
Author URI: https://underscoretw.com/
Description: A custom theme based on _tw
Version: 0.1.0
Tested up to: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: testwebecode
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

test_webecode is based on _tw https://underscoretw.com/, (C) 2021-2023 Greg Sullivan
_tw is distributed under the terms of the GNU GPL v2 or later.

_tw is based on Underscores https://underscores.me/ and Varia https://github.com/Automattic/themes/tree/master/varia, (C) 2012-2023 Automattic, Inc.
Underscores and Varia are distributed under the terms of the GNU GPL v2 or later.
*/

/**
 * The line above injects the WordPress file header. It needs to be first,
 * before this comment.
 */

/**
 * This injects custom `@font-face` rules.
 */

/**
 * Custom `@font-face` rules
 *
 * Ces @font-face seront ajoutés avant la couche `base` de Tailwind.
 *
 * IMPORTANT : Polices locales auto-hébergées (RGPD + Performance)
 * - font-display: swap pour éviter le FOIT (Flash of Invisible Text)
 */

/* ===================================
   BASTELEUR (TITRES)
   =================================== */

/* Basteleur Moonlight = Regular (400) */

@font-face {
  font-family: 'Basteleur';

  src: url('../fonts/Basteleur-Moonlight.woff2') format('woff2'),
		url('../fonts/Basteleur-Moonlight.woff') format('woff');

  font-weight: 400;

  font-style: normal;

  font-display: swap;
}

/* Basteleur Bold (700) */

@font-face {
  font-family: 'Basteleur';

  src: url('../fonts/Basteleur-Bold.woff2') format('woff2'),
		url('../fonts/Basteleur-Bold.woff') format('woff');

  font-weight: 700;

  font-style: normal;

  font-display: swap;
}

/* ===================================
   ALEGREYA (TEXTES)
   Chargée via Google Fonts
   =================================== */

/*
Pour Alegreya, vous pouvez soit :
1. Continuer à utiliser Google Fonts (déjà fait dans functions.php)
2. Télécharger et auto-héberger (meilleur pour RGPD)

Si vous voulez auto-héberger Alegreya :
1. Téléchargez depuis Google Fonts
2. Placez les fichiers dans /theme/fonts/
3. Décommentez et configurez les @font-face ci-dessous
*/

/*
@font-face {
	font-family: 'Alegreya';
	src: url('../fonts/Alegreya-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Alegreya';
	src: url('../fonts/Alegreya-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Alegreya';
	src: url('../fonts/Alegreya-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
*/

/**
 * This injects Tailwind's base styles and any base styles registered by
 * plugins, then adds custom base styles.
 */

/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: Fira Code, monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/**
 * Custom styles to immediately follow Tailwind's `base` layer
 *
 * "Add things like base typography styles [or] opinionated global resets."
 *
 * — from https://tailwindcss.com/docs/plugins#adding-base-styles
 */

/**
 * This uses the background and foreground colors declared in the
 * `theme.json` file and is applied both to the frontend and in the block
 * editor.
*/

/* Fix pour permettre l'utilisation de la couleur blanche malgré le !important de WordPress */

.has-white-color {
  color: var(--wp--preset--color--white) !important;
}

/* Bold normal - comportement par défaut restauré */

/* Forcer le soulignement des liens en normal et hover */

a {
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE CONTENT WIDTH
   Applique des % uniquement sur mobile, desktop garde theme.json
   ======================================== */

/* Mobile uniquement : 90% de largeur */

@media (max-width: 1350px) {
  .wp-block-group.has-global-padding,
	.wp-block-group.is-layout-constrained
		> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 95% !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Au-dessus de 1020px : utilise les valeurs du theme.json (1250px et 1680px) */

/**
 * This injects Tailwind's component classes and any component classes
 * registered by plugins, then adds custom component classes.
 *
 * The `@import-glob` line imports all CSS files from the `components`
 * directory (except for `components.css`, which is imported on the following
 * line). This is meant to simplify the process of integrating styles from
 * JavaScript components or WordPress plugins.
 */

.container {
  width: 100%;
}

@media (min-width: 320px) {
  .container {
    max-width: 320px;
  }
}

@media (min-width: 460px) {
  .container {
    max-width: 460px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1125px) {
  .container {
    max-width: 1125px;
  }
}

@media (min-width: 1250px) {
  .container {
    max-width: 1250px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }
}

@media (min-width: 1680px) {
  .container {
    max-width: 1680px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
  }
}

@media (min-width: 2300px) {
  .container {
    max-width: 2300px;
  }
}

.prose {
  color: var(--tw-prose-body);
}

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where([class~="lead"], [class~="is-style-lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
  border-bottom: none;
}

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
  border-left-style: solid;
}

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  text-align: start;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: 17 24 39;
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: 255 255 255;
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}

.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.prose :where(blockquote > cite):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-body);
  font-style: normal;
  font-weight: 400;
}

.prose :where(blockquote > cite):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "\2014";
}

.prose :where(table.has-fixed-layout):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  table-layout: fixed;
  width: 100%;
}

.prose-neutral {
  --tw-prose-body: #404040;
  --tw-prose-headings: #171717;
  --tw-prose-lead: #525252;
  --tw-prose-links: #171717;
  --tw-prose-bold: #171717;
  --tw-prose-counters: #737373;
  --tw-prose-bullets: #d4d4d4;
  --tw-prose-hr: #e5e5e5;
  --tw-prose-quotes: #171717;
  --tw-prose-quote-borders: #e5e5e5;
  --tw-prose-captions: #737373;
  --tw-prose-kbd: #171717;
  --tw-prose-kbd-shadows: 23 23 23;
  --tw-prose-code: #171717;
  --tw-prose-pre-code: #e5e5e5;
  --tw-prose-pre-bg: #262626;
  --tw-prose-th-borders: #d4d4d4;
  --tw-prose-td-borders: #e5e5e5;
  --tw-prose-invert-body: #d4d4d4;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #a3a3a3;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #a3a3a3;
  --tw-prose-invert-bullets: #525252;
  --tw-prose-invert-hr: #404040;
  --tw-prose-invert-quotes: #f5f5f5;
  --tw-prose-invert-quote-borders: #404040;
  --tw-prose-invert-captions: #a3a3a3;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: 255 255 255;
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d4d4d4;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #525252;
  --tw-prose-invert-td-borders: #404040;
}

/* ========================================
	   BUTTONS - Styles de boutons personnalisés
	   ======================================== */

/* Style outline pour les boutons */

.wp-block-button.is-style-outline .wp-block-button__link {
  border-width: 2px;
  border-color: currentColor;
  background-color: transparent;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: currentColor;
}

/* Bouton arrondi */

.wp-block-button.is-style-rounded .wp-block-button__link {
  border-radius: 9999px;
}

/* ========================================
	   NAVIGATION - Menu de navigation
	   ======================================== */

/* ========================================
	   IMAGES - Styles d'images
	   ======================================== */

.wp-block-image img {
  height: auto;
  max-width: 100%;
}

.wp-block-image.is-style-rounded img {
  border-radius: 0.5rem;
}

/* ========================================
	   COVER - Blocs de couverture
	   ======================================== */

/* ========================================
	   GROUP - Groupes de blocs
	   ======================================== */

/* Style card pour les groupes */

.wp-block-group.is-style-card {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 2rem;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* ========================================
	   COLUMNS - Colonnes
	   ======================================== */

.wp-block-columns {
  gap: 2rem;
}

/* Colonnes responsive */

@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
  }
}

/* ========================================
	   QUOTE - Citations
	   ======================================== */

/* ========================================
	   SEPARATOR - Séparateurs
	   ======================================== */

/* ========================================
	   SOCIAL LINKS - Liens sociaux
	   ======================================== */

/* ========================================
	   POST TEMPLATE - Templates d'articles
	   ======================================== */

.wp-block-post-template {
  gap: 2rem;
}

/* ========================================
	   SEARCH - Formulaire de recherche
	   ======================================== */

/* ========================================
	   CUSTOM BLOCK STYLES - Styles de blocs personnalisés
	   ======================================== */

/* Card style - applicable aux groupes */

/* Shadow styles */

/* Bordered style */

/* ========================================
   BUTTONS - Styles de boutons personnalisés
   ======================================== */

/* Enlever le soulignement sur tous les boutons */

.wp-block-button__link {
  text-decoration: none !important;
}

.wp-block-button__link:hover {
  text-decoration: none !important;
}

/* Primary Button - Fond accent (footer bleu), texte blanc */

.wp-block-button.is-style-primary .wp-block-button__link {
  background: #0a2178;
  color: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-size: 20px;
  padding: 0.8rem 1.8rem;
  letter-spacing: 0.08em;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.wp-block-button.is-style-primary .wp-block-button__link:hover {
  background: #99b0d6;
  color: #0a2178;
  text-decoration: none !important;
}

/* Secondary Button - Border blanc, sans fond, texte blanc */

.wp-block-button.is-style-secondary .wp-block-button__link {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-size: 20px;
  padding: 0.8rem 1.8rem;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #ff8f38;
  text-decoration: none !important;
}

/* ========================================
   LISTS - Styles de listes personnalisés
   ======================================== */

/* Listes non ordonnées (ul) avec puce SVG personnalisée */

.wp-block-list:not(.is-style-checkmark-list) ul,
ul.wp-block-list:not(.is-style-checkmark-list) {
  list-style: none;
  padding-left: 0;
}

.wp-block-list:not(.is-style-checkmark-list) ul li,
ul.wp-block-list:not(.is-style-checkmark-list) li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.wp-block-list:not(.is-style-checkmark-list) ul li::before,
ul.wp-block-list:not(.is-style-checkmark-list) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("../theme/img/C042_ILLUS_15 2.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Listes ordonnées (ol) - garde les numéros par défaut avec style */

.wp-block-list ol,
ol.wp-block-list {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
}

.wp-block-list ol li,
ol.wp-block-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
  counter-increment: item;
}

.wp-block-list ol li::before,
ol.wp-block-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-family: "Basteleur", system-ui, sans-serif;
  color: #1a33ad;
  /* Accent text color */
  font-size: 1.1em;
}

/* Style alternatif : liste avec checkmarks (optionnel) */

.wp-block-list.is-style-checkmark-list ul,
ul.wp-block-list.is-style-checkmark-list {
  list-style: none;
  padding-left: 0;
}

.wp-block-list.is-style-checkmark-list ul li,
ul.wp-block-list.is-style-checkmark-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.wp-block-list.is-style-checkmark-list ul li::before,
ul.wp-block-list.is-style-checkmark-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2rem;
  height: 1.2rem;
  color: #008736;
  /* Vert accent */
  font-weight: 700;
  font-size: 1.2em;
}

/* Support des listes imbriquées */

.wp-block-list ul ul,
ul.wp-block-list ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.wp-block-list ul ul li::before,
ul.wp-block-list ul li::before {
  width: 0.8rem;
  height: 0.8rem;
  opacity: 0.7;
}

/**
 * Custom styles to immediately follow Tailwind's `components` layer
 *
 * "Add more opinionated, complex classes like buttons, form controls, alerts,
 * etc; the sort of pre-built components you often see in other frameworks that
 * you might need to override with utility classes."
 *
 * — from https://tailwindcss.com/docs/plugins#adding-components
 */

/**
 * Ajoutez ici vos composants CSS personnalisés spécifiques au projet.
 *
 * Privilégiez les classes utilitaires Tailwind dans vos templates PHP.
 * N'utilisez ce fichier que pour des composants complexes réutilisables.
 *
 * Exemples d'utilisation :
 * - Styles de formulaires Contact Form 7
 * - Animations complexes
 * - Composants tiers nécessitant du CSS custom
 */

/* ========================================
   CARD HOVER ANIMATION
   ======================================== */

.card-hover-lift {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.card-hover-lift:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   COLUMN HOVER WITH SVG ICON
   ======================================== */

.column-hover-icon {
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
  overflow: visible;
  /* Permet à l'icône de dépasser */
}

.column-hover-icon::after {
  content: "";
  position: absolute;
  right: 20px;
  /* Position à droite */
  top: 50%;
  /* Centré verticalement */
  transform: translateY(-50%) scale(0);
  /* Caché par défaut */
  width: 40px;
  height: 40px;
  background-image: url("http://cafe-modele.test/wp-content/uploads/2025/12/right-arrow-4.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.column-hover-icon:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  padding-right: 70px !important;
  /* Fait de la place pour l'icône */
}

.column-hover-icon:hover::after {
  transform: translateY(-50%) scale(1);
  /* Apparaît */
  opacity: 1;
}

/* ========================================
   IMAGE FLIP DAY/NIGHT EFFECT
   ======================================== */

.image-flip-container {
  position: relative;
  perspective: 1000px;
  width: 90% !important;
  min-height: 500px;
  /* Hauteur augmentée pour image portrait */
  height: auto;
  max-width: none !important;
  /* Annule les contraintes WordPress */
  padding: 0 !important;
  /* Retire le padding WordPress */
  border-radius: 20px;
  /* Coins arrondis */
  overflow: hidden;
  /* Assure que les images respectent le border-radius */
}

.image-flip-inner {
  position: relative;
  width: 100% !important;
  height: 100%;
  min-height: inherit;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  max-width: none !important;
  /* Annule les contraintes WordPress */
  padding: 0 !important;
  /* Retire le padding WordPress */
}

.image-flip-container:hover .image-flip-inner {
  transform: rotateY(180deg);
  /* Flip horizontal au lieu de vertical */
}

.image-flip-front,
.image-flip-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
  backface-visibility: hidden;
  max-width: none !important;
  /* Annule les contraintes WordPress */
  padding: 0 !important;
  /* Retire le padding WordPress */
  margin: 0 !important;
  /* Supprime toutes les marges */
}

.image-flip-front {
  z-index: 2;
}

.image-flip-back {
  transform: rotateY(180deg);
  /* Correspond au flip horizontal */
}

/* Assure que les images WordPress s'affichent correctement */

.image-flip-front img,
.image-flip-back img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  -o-object-fit: contain;
     object-fit: contain;
  /* Garde les proportions de l'image sans la déformer */
  display: block;
  border-radius: 20px;
  /* Coins arrondis des images */
}

/* Responsive : ajuste la hauteur sur mobile */

@media (max-width: 768px) {
  .image-flip-container,
	.image-flip-front,
	.image-flip-back,
	.image-flip-front img,
	.image-flip-back img {
    min-height: 400px;
  }
}

/* Carte de pièce */

.pieces-card {
  position: relative;
  padding: 0;
  /* tu peux garder le padding sur li si tu veux de l’air */
  overflow: hidden;
}

/* Image */

.pieces-card .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Overlay nom + prix */

.pieces-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.8rem;
  background: linear-gradient(
		0deg,
		rgba(10, 33, 120, 0.95) 0%,
		rgba(10, 33, 120, 0.6) 60%,
		rgba(10, 33, 120, 0) 100%
	);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition:
		opacity 0.25s ease,
		transform 0.25s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Titre et prix à l’intérieur de l’overlay */

.pieces-overlay .wp-block-post-title,
.pieces-overlay .wp-block-post-title a,
.pieces-overlay .wp-block-post-content {
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.pieces-overlay .wp-block-post-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.pieces-overlay .wp-block-post-content p {
  font-size: 1.2rem;
  /* plus lisible */
  margin: 0;
}

/* Hover desktop : on révèle l’overlay */

.pieces-card:hover .pieces-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile/Tablette : overlay toujours visible avec le même design que le hover desktop */

@media (max-width: 1250px) {
  .pieces-overlay {
    position: absolute !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 1.4rem 1.8rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: linear-gradient(
			0deg,
			rgba(10, 33, 120, 0.95) 0%,
			rgba(10, 33, 120, 0.6) 60%,
			rgba(10, 33, 120, 0) 100%
		) !important;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    max-width: none !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  /* Annuler les contraintes des classes WordPress */

  .pieces-overlay.has-global-padding,
	.pieces-overlay.is-layout-constrained {
    padding-left: 1.8rem !important;
    padding-right: 1.8rem !important;
    max-width: none !important;
  }

  .pieces-overlay .wp-block-post-title,
	.pieces-overlay .wp-block-post-title a,
	.pieces-overlay .wp-block-post-content,
	.pieces-overlay .wp-block-post-content p {
    color: #fff !important;
    max-width: none !important;
  }

  .pieces-card {
    overflow: hidden !important;
  }
}

/* ========================================
   NAVIGATION CATÉGORIES HORIZONTALE
   ======================================== */

/* Liste de catégories en navigation horizontale */

.wp-block-categories-list.wp-block-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.wp-block-categories-list.wp-block-categories li {
  margin: 0;
  padding: 0;
  position: relative;
}

.wp-block-categories-list.wp-block-categories li a {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  font-family: "Basteleur", system-ui, sans-serif;
  font-size: 1.1rem;
  color: var(--wp--preset--color--footer);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* Barres au-dessus et en-dessous (cachées par défaut) */

.wp-block-categories-list.wp-block-categories li a::before,
.wp-block-categories-list.wp-block-categories li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
		90deg,
		rgba(255, 143, 56, 1) 0%,
		rgba(255, 87, 60, 1) 66%,
		rgba(247, 195, 220, 1) 100%
	);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.wp-block-categories-list.wp-block-categories li a::before {
  top: 0;
  transform-origin: left;
}

.wp-block-categories-list.wp-block-categories li a::after {
  bottom: 0;
  transform-origin: right;
}

/* Effet hover : les barres apparaissent */

.wp-block-categories-list.wp-block-categories li a:hover::before,
.wp-block-categories-list.wp-block-categories li a:hover::after {
  transform: scaleX(1);
}

.wp-block-categories-list.wp-block-categories li a:hover {
  color: var(--wp--preset--color--orange-strong);
}

/* Classe active pour la catégorie sélectionnée */

.wp-block-categories-list.wp-block-categories li.current-cat a::before,
.wp-block-categories-list.wp-block-categories li.current-cat a::after,
.wp-block-categories-list.wp-block-categories li a.active::before,
.wp-block-categories-list.wp-block-categories li a.active::after {
  transform: scaleX(1);
}

.wp-block-categories-list.wp-block-categories li.current-cat a,
.wp-block-categories-list.wp-block-categories li a.active {
  color: var(--wp--preset--color--orange-strong);
}

/* Mobile : afficher le select, cacher la navigation */

.categories-select-mobile {
  display: none;
}

@media (max-width: 1250px) {
  /* Cacher la navigation horizontale */

  .categories-nav-desktop {
    display: none !important;
  }

  /* Afficher le select */

  .categories-select-mobile {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .categories-select-mobile select {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: "Basteleur", system-ui, sans-serif;
    font-size: 1.1rem;
    color: var(--wp--preset--color--footer);
    background-color: var(--wp--preset--color--white);
    border: 2px solid var(--wp--preset--color--beige);
    border-radius: 12px;
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230A2178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
    transition: all 0.3s ease;
  }

  .categories-select-mobile select:focus {
    outline: none;
    border-color: var(--wp--preset--color--orange-strong);
    box-shadow: 0 0 0 3px rgba(255, 87, 60, 0.1);
  }

  .categories-select-mobile select option {
    padding: 1rem;
  }
}

/* ========================================
   RESPONSIVE GRID - COLONNES DE CONTENU
   ======================================== */

/* Desktop : 3 colonnes par défaut (géré par WordPress) */

/* Tablette (≤1250px) : 2 colonnes */

@media (max-width: 1250px) {
  .wp-block-post-template.columns-3,
	.wp-block-post-template[class*="columns-"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile (≤770px) : 1 colonne */

@media (max-width: 770px) {
  .wp-block-post-template.columns-3,
	.wp-block-post-template[class*="columns-"] {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* ========================================
   ZENCHEF WIDGET - POPUP FLOTTANT
   ======================================== */

.zenchef-floating-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Bouton flottant (toujours visible) */

.zenchef-trigger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0a2178;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 33, 120, 0.3);
  transition: all 0.3s ease;
}

.zenchef-trigger-btn:hover {
  background: #1a33ad;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 33, 120, 0.4);
}

.zenchef-trigger-btn svg {
  width: 20px;
  height: 20px;
}

/* Popup expandue (cachée par défaut) */

.zenchef-popup-content {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 400px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* État ouvert */

.zenchef-floating-popup.zenchef-popup-expanded .zenchef-popup-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Cacher le bouton trigger quand le popup est ouvert */

.zenchef-floating-popup.zenchef-popup-expanded .zenchef-trigger-btn {
  opacity: 0;
  pointer-events: none;
}

/* Bouton de fermeture */

.zenchef-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.zenchef-close-btn:hover {
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.zenchef-close-btn svg {
  color: #333;
}

/* Header du popup en bleu */

.zenchef-popup-header {
  background: #0a2178;
  padding: 20px;
  text-align: center;
}

.zenchef-popup-header h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

#zenchef-iframe-container {
  background: #fff;
}

/* Responsive mobile */

@media (max-width: 768px) {
  .zenchef-floating-popup {
    bottom: 10px;
    right: 10px;
  }

  .zenchef-trigger-btn {
    font-size: 16px;
    padding: 10px 16px;
  }

  .zenchef-trigger-btn span {
    display: none;
  }

  .zenchef-popup-content {
    width: calc(100vw - 20px);
    right: 0;
    bottom: 60px;
  }

  .zenchef-popup-header h3 {
    font-size: 18px;
  }

  #zenchef-iframe-container iframe {
    height: 450px !important;
  }
}

/* ========================================
   CAROUSEL GALERIE PERSONNALISÉ
   ======================================== */

.gallery-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  cursor: grab;
}

.gallery-carousel.dragging {
  cursor: grabbing;
}

.gallery-carousel .wp-block-gallery {
  display: flex;
  transition: transform 0.3s ease;
  gap: 0;
  flex-wrap: nowrap !important;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.gallery-carousel .wp-block-image {
  flex: 0 0 300px;
  min-width: 300px;
  height: 300px;
}

.gallery-carousel .wp-block-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
  pointer-events: none;
}

/* Flèches de navigation - sur les images */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 33, 120, 0.9);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 28px;
  font-weight: bold;
}

.carousel-arrow:hover {
  background: #0a2178;
  transform: translateY(-50%) scale(1.15);
}

.carousel-arrow-left {
  left: 0;
}

.carousel-arrow-right {
  right: 0;
}

/* Responsive */

@media (max-width: 768px) {
  .gallery-carousel .wp-block-image {
    flex: 0 0 250px;
    min-width: 250px;
    height: 250px;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .carousel-arrow-left {
    left: 0;
  }

  .carousel-arrow-right {
    right: 0;
  }
}

/* ========================================
   ACCORDION PERSONNALISÉ
   ======================================== */

/* Ligne horizontale entre chaque item d'accordéon */

.wp-block-accordion-item {
  border-bottom: 1px solid #0a2178;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.wp-block-accordion-item:first-child {
  padding-top: 0;
}

.wp-block-accordion-item:last-child {
  border-bottom: none;
}

/* Enlever le soulignement des titres sur le bouton et le titre */

.wp-block-accordion-heading__toggle,
.wp-block-accordion-heading__toggle *,
.wp-block-accordion-heading__toggle-title {
  text-decoration: none !important;
}

.wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-heading__toggle:hover *,
.wp-block-accordion-heading__toggle-title:hover {
  text-decoration: none !important;
}

/* Couleur footer pour les titres */

.wp-block-accordion-heading__toggle-title {
  color: #0a2178 !important;
}

/* Couleur footer pour les paragraphes */

.wp-block-accordion-panel p {
  color: #0a2178 !important;
}

/* Gros icône + / - avec affichage complet */

.wp-block-accordion-heading__toggle-icon {
  font-size: 0;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #0a2178;
  display: inline-block;
  min-width: 40px;
  text-align: center;
}

.wp-block-accordion-heading__toggle-icon::before {
  font-size: 32px;
  display: inline-block;
  width: 100%;
}

/* Transformer le + en - quand ouvert */

.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon::before {
  content: "−";
}

.wp-block-accordion-item:not(.is-open) .wp-block-accordion-heading__toggle-icon::before {
  content: "+";
}

/* ========================================
   WAPF IMAGE SWATCHES - LAYOUT VERTICAL
   ======================================== */

/* Classe à ajouter sur le conteneur parent dans WordPress */

.wapf-vertical-layout .wapf-image-swatch-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}

.wapf-vertical-layout .wapf-swatch {
  width: 100% !important;
  max-width: none !important;
}

/* Chaque swatch en ligne (image à gauche, texte à droite) */

.wapf-vertical-layout .wapf-swatch label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
}

/* Limiter la taille de l'image à 68px */

.wapf-vertical-layout .wapf-swatch .apf-pick-box {
  width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
  flex-shrink: 0 !important;
}

.wapf-vertical-layout .wapf-swatch .apf-pick-box img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
}

/* Texte à droite de l'image */

.wapf-vertical-layout .wapf-swatch .wapf-swatch-label {
  flex: 1 !important;
  text-align: left !important;
}

/* Style pour le titre "Compléter mon kit" */

.wapf-vertical-layout .wapf-field-label {
  font-size: 24px !important;
  color: #0a2178 !important;
  margin-top: 1rem !important;
}

.wapf-vertical-layout .wapf-field-label label span {
  font-size: 20px !important;
  color: #0a2178 !important;
}

/* ===== FAQ ACCORDION ===== */

.faq-accordion {
  width: 100%;
}

.faq-accordion details {
  border-top: 1px solid currentColor;
  width: 100%;
}

.faq-accordion details:last-of-type {
  border-bottom: 1px solid currentColor;
}

/* Ligne cliquable */

.faq-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  position: relative;
  font-weight: 500;
}

/* Supprimer flèche native */

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

/* Icône + / − */

.faq-accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
}

/* État ouvert */

.faq-accordion details[open] summary::after {
  content: "−";
}

/* Animation douce */

.faq-accordion details > p,
.faq-accordion details > ul {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/**
 * This injects Tailwind's utility classes and any utility classes registered
 * by plugins, then adds custom utility classes.
 */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.bottom-4 {
  bottom: 1rem;
}

.bottom-5 {
  bottom: 1.25rem;
}

.left-0 {
  left: 0px;
}

.top-0 {
  top: 0px;
}

.top-20 {
  top: 5rem;
}

.z-20 {
  z-index: 20;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.col-span-1 {
  grid-column: span 1 / span 1;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-20 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-\[221px\] {
  height: 221px;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-\[84px\] {
  width: 84px;
}

.w-full {
  width: 100%;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-none {
  max-width: none;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

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

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

.flex-col {
  flex-direction: column;
}

.flex-col-reverse {
  flex-direction: column-reverse;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-black {
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.bg-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(169 124 59 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.object-center {
  -o-object-position: center;
     object-position: center;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.font-text {
  font-family: Open Sans, sans-serif;
}

.font-title {
  font-family: Montserrat, sans-serif;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-\[14px\] {
  font-size: 14px;
}

.text-\[16px\] {
  font-size: 16px;
}

.text-\[18px\] {
  font-size: 18px;
}

.text-\[20px\] {
  font-size: 20px;
}

.text-\[24px\] {
  font-size: 24px;
}

.text-\[32px\] {
  font-size: 32px;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-\[25px\] {
  line-height: 25px;
}

.leading-snug {
  line-height: 1.375;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-primary {
  --tw-text-opacity: 1;
  color: rgb(169 124 59 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.underline {
  text-decoration-line: underline;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-large {
  --tw-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
  --tw-shadow-colored: 0 10px 15px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-medium {
  --tw-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --tw-shadow-colored: 0 4px 6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.sides-page-margin {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

@media (min-width: 460px) {
  .sides-page-margin {
    width: 90%;
  }
}

/* Titles */

.h1 {
  margin-bottom: 1.25rem;
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  line-height: 48px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .h1 {
    font-size: 56px;
    line-height: 67px;
    font-weight: 400;
  }
}

.h2 {
  font-family: Montserrat, sans-serif;
  font-size: 36px;
  line-height: 67px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .h2 {
    font-size: 48px;
    line-height: 67px;
    font-weight: 400;
  }
}

.h3 {
  font-family: Montserrat, sans-serif;
  font-size: 32px;
  line-height: 67px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .h3 {
    font-size: 40px;
    line-height: 67px;
    font-weight: 400;
  }
}

/* Text */

.paragraph-large {
  font-family: Open Sans, sans-serif;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

.paragraph-small {
  margin-bottom: 1.5rem;
  font-family: Open Sans, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* Buttons */

.button_primary {
  display: flex;
  align-items: center;
  justify-content: center;
  --tw-bg-opacity: 1;
  background-color: rgb(169 124 59 / var(--tw-bg-opacity));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family: Open Sans, sans-serif;
  font-size: 16px;
  line-height: 27px;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  transition-duration: 300ms;
}

.button_primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(169 124 59 / var(--tw-text-opacity));
}

@media (min-width: 768px) {
  .button_primary {
    font-size: 18px;
    line-height: 27px;
    font-weight: 500;
  }
}

/* Cards */

/**
 * Custom styles to immediately follow Tailwind’s `utilities` layer
 *
 * Add your own utility classes to this theme. Complex utility classes should
 * be added using Tailwind’s plugin system:
 *
 * https://tailwindcss.com/docs/plugins#adding-utilities
 */

/**
 * Custom styles for FSE blocks
 */

/**
 * Styles personnalisés pour les blocs FSE (Full Site Editing)
 *
 * Ce fichier contient des styles spécifiques pour améliorer l'apparence
 * des blocs WordPress natifs dans l'éditeur FSE
 */

.hover\:bg-gray-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}

.hover\:bg-primary\/90:hover {
  background-color: rgb(169 124 59 / 0.9);
}

.hover\:text-primary\/90:hover {
  color: rgb(169 124 59 / 0.9);
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.prose-h2\:mb-6 :is(:where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  margin-bottom: 1.5rem;
}

.prose-h2\:mt-10 :is(:where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  margin-top: 2.5rem;
}

.prose-p\:mt-4 :is(:where(p):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  margin-top: 1rem;
}

.prose-p\:leading-7 :is(:where(p):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  line-height: 1.75rem;
}

.prose-a\:text-primary :is(:where(a):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  --tw-text-opacity: 1;
  color: rgb(169 124 59 / var(--tw-text-opacity));
}

@media (min-width: 460px) {
  .sm\:w-\[75\%\] {
    width: 75%;
  }
}

@media (min-width: 768px) {
  .md\:mt-0 {
    margin-top: 0px;
  }

  .md\:mt-24 {
    margin-top: 6rem;
  }

  .md\:mt-40 {
    margin-top: 10rem;
  }

  .md\:h-\[300px\] {
    height: 300px;
  }

  .md\:w-\[30\%\] {
    width: 30%;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:gap-5 {
    gap: 1.25rem;
  }

  .md\:space-y-12 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(3rem * var(--tw-space-y-reverse));
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-\[24px\] {
    font-size: 24px;
  }
}

@media (min-width: 1125px) {
  .medium\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .medium\:flex-row {
    flex-direction: row;
  }

  .medium\:gap-16 {
    gap: 4rem;
  }
}

@media (min-width: 1440px) {
  .lg\:flex {
    display: flex;
  }

  .lg\:text-\[48px\] {
    font-size: 48px;
  }
}

