/* Altivance Technologie. Colours, type and spacing come from theme.json; this file only holds what blocks cannot express. */
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--wp--preset--color--or); outline-offset: 3px; }

/* Header */
.wp-site-blocks > .wp-block-template-part:has(.av-header) { position: sticky; top: 0; z-index: 50; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.av-header { padding-block: 0.85rem; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--marine) 10%, transparent); }
.av-brand .wp-block-site-logo img { border-radius: 0; display: block; }
.av-brand .wp-block-site-title { white-space: nowrap; margin: 0; }
.av-nav a { text-decoration: none; }
.av-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--indigo); }

/* Phones and tablets: the header slides away going down and comes back going up (main.js). "top" and not
   a transform, which would trap the full-screen menu inside the header. */
@media (max-width: 781px) {
	.wp-site-blocks > .wp-block-template-part:has(.av-header) { transition: top 0.25s ease; }
	.av-cache-entete .wp-site-blocks > .wp-block-template-part:has(.av-header) { top: -6rem; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks > .wp-block-template-part:has(.av-header) { transition: none; }
	.av-nav .is-menu-open.wp-block-navigation__responsive-container { animation: none; }
}

/* Sections */
.wp-block-post-content > * + * { margin-block-start: 0; }
main > .wp-block-post-content:not(:has(.av-section)) > * + * { margin-block-start: 1.25rem; }
main > .wp-block-post-content:not(:has(.av-section)) > h2 { margin-block-start: 3.5rem; }
main > .wp-block-post-content:not(:has(.av-section)) > h3 { margin-block-start: 2rem; }
main > .wp-block-post-content:not(:has(.av-section)) :is(h2) { font-size: clamp(1.6rem, 3vw, 2rem); }
main > .wp-block-post-content:not(:has(.av-section)) :is(h3) { font-size: 1.2rem; }
.av-titre { max-width: 820px; }
.is-style-surtitre { font-size: 1rem; font-weight: 700; color: var(--wp--preset--color--or); }
.is-style-section-marine p, .is-style-section-nuit p { color: color-mix(in srgb, #fff 86%, transparent); }
.is-style-section-marine .is-style-surtitre { color: var(--wp--preset--color--or); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border: 2px solid currentColor; padding: calc(0.95rem - 2px) calc(1.6rem - 2px); }
.is-style-section-brume .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--indigo); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.is-style-section-marine .is-style-outline .wp-block-button__link, .is-style-section-nuit .is-style-outline .wp-block-button__link { color: #fff; }

/* Hero: centred on the emblem over a fine technology grid that fades out (unlike the two-column
   Gesti-Groupe hero, on purpose: the two sites must not look alike). */
.av-hero { position: relative; overflow: hidden; text-align: center;
	background-color: #070f22;
	background-image:
		radial-gradient(30rem 22rem at 50% 24%, color-mix(in srgb, var(--wp--preset--color--indigo) 55%, transparent), transparent 70%),
		radial-gradient(40rem 18rem at 50% 100%, color-mix(in srgb, var(--wp--preset--color--or) 16%, transparent), transparent 70%); }
.av-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(color-mix(in srgb, #fff 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, #fff 7%, transparent) 1px, transparent 1px);
	background-size: 56px 56px; background-position: center top;
	-webkit-mask-image: radial-gradient(60% 70% at 50% 35%, #000, transparent 85%); mask-image: radial-gradient(60% 70% at 50% 35%, #000, transparent 85%); }
.av-hero > * { position: relative; }
.av-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.av-hero p { max-width: 720px; margin-inline: auto !important; }
.av-embleme { margin: 0 auto 0.25rem !important; width: clamp(150px, 30vh, 300px); }
/* The two buttons stay in view on a laptop screen: spacing follows the screen height. */
.av-hero { padding-top: clamp(1.25rem, 4vh, 3rem) !important; }
.av-hero h1 { margin-block: 0.5rem 0 !important; }
.av-hero .wp-block-buttons { margin-top: clamp(1rem, 3vh, 2rem) !important; }
.av-embleme img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); }

/* Dark header that continues the hero */
.av-header { border-bottom-color: color-mix(in srgb, #fff 10%, transparent) !important; }
.av-header .wp-block-site-title a { color: #fff; }
.av-header .av-nav .wp-block-navigation-item__content { color: color-mix(in srgb, #fff 86%, transparent); }
.av-header .av-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--or); }
.av-header .av-nav .wp-block-navigation__responsive-container-open { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; }
.av-menu__logo { background: none; box-shadow: none; }
.av-photo img { width: 100%; object-fit: cover; box-shadow: var(--wp--preset--shadow--douce); }
.av-photo--haute img { aspect-ratio: 5 / 5.4; }
.av-photo--large img { aspect-ratio: 4 / 3; }

/* Lists with checkmarks */
.is-style-crochets { list-style: none; padding-left: 0; display: grid; gap: 0.7rem; }
.is-style-crochets li { position: relative; padding-left: 2rem; }
.is-style-crochets li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; background: var(--wp--preset--color--indigo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.2 5.2L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.2 5.2L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Mission: short intro on the left, the five areas as a list with icons (Lucide, ISC licence) on the right. */
.av-mission__intro { position: sticky; top: 7rem; align-self: flex-start; }
.av-mission__intro p { max-width: 26rem; color: var(--wp--preset--color--gris); }
.av-piliers { display: grid; gap: 0 !important; border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--marine) 12%, transparent); }
.av-pilier { position: relative; display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1.25rem; align-items: center; padding: 1.35rem 0; margin: 0 !important; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--marine) 12%, transparent); }
.av-pilier::before { content: ""; grid-row: 1 / span 2; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--indigo) 18%, transparent); transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.av-pilier::after { content: ""; position: absolute; left: 0.8rem; top: 50%; width: 1.65rem; height: 1.65rem; translate: 0 -50%; background: var(--wp--preset--color--indigo); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.av-pilier > * { grid-column: 2; margin: 0 !important; }
.av-pilier h3 { font-size: 1.15rem !important; }
.av-pilier p { margin-top: 0.2rem !important; color: var(--wp--preset--color--gris); }
/* Hover stays discreet: nothing here is clickable, only the icon square takes a light blue tint. */
.av-pilier:hover::before { background: color-mix(in srgb, var(--wp--preset--color--indigo) 10%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--indigo) 35%, transparent); }
@media (prefers-reduced-motion: reduce) { .av-pilier::before { transition: none; } }
@media (max-width: 781px) { .av-mission__intro { position: static; } }
.av-pilier--croissance { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E"); }
.av-pilier--reseau { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='16' y='16' width='6' height='6' rx='1'/%3E%3Crect x='2' y='16' width='6' height='6' rx='1'/%3E%3Crect x='9' y='2' width='6' height='6' rx='1'/%3E%3Cpath d='M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3'/%3E%3Cpath d='M12 12V8'/%3E%3C/svg%3E"); }
.av-pilier--visibilite { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E"); }
.av-pilier--fidelite { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
.av-pilier--promotions { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='M9 9h.01'/%3E%3Cpath d='M15 15h.01'/%3E%3C/svg%3E"); }

/* Ambition */
.av-ambition { background-image: radial-gradient(40rem 22rem at 50% 0%, color-mix(in srgb, var(--wp--preset--color--or) 16%, transparent), transparent 70%); }
.av-ambition .has-x-large-font-size { font-weight: 700; color: var(--wp--preset--color--marine); line-height: 1.4; }

/* Stand-in mark, only used by the mobile menu when no site logo is set. */
.av-marque { flex: none; display: inline-block; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--wp--preset--color--indigo), var(--wp--preset--color--or)); position: relative; }
.av-marque::before, .av-marque::after { content: ""; position: absolute; bottom: 9px; width: 6px; border-radius: 3px; background: #fff; }
.av-marque::before { left: 12px; height: 12px; }
.av-marque::after { left: 22px; height: 21px; }
.av-brand .av-marque { margin: 0; }
.av-menu__marque .av-marque { width: var(--av-logo-w); height: var(--av-logo-w); }


/* Entrepreneurs */
.av-entrepreneurs { box-shadow: var(--wp--preset--shadow--douce); }
.av-solutions { margin-block: var(--wp--preset--spacing--40) !important; gap: 1.75rem 2.25rem; }
.av-solution { border-top: 2px solid var(--wp--preset--color--brume); padding-top: 1rem; }
.av-solution p { color: var(--wp--preset--color--gris); }

/* Three steps */
.av-etapes { gap: 1.5rem; }
.av-etape__titre > * { margin-block: 0; }
.av-numero { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--wp--preset--color--indigo); color: #fff; font-size: 1.35rem; font-weight: 800; line-height: 1; }
.av-etape p:not(.av-numero) { color: var(--wp--preset--color--gris); }

/* FideliClean */
.av-fideliclean { background-image: radial-gradient(50rem 30rem at 85% 50%, color-mix(in srgb, var(--wp--preset--color--dore) 14%, transparent), transparent 70%); }
.av-fideliclean .is-style-crochets li::before { background: var(--wp--preset--color--dore); }
.av-fc-logo img { width: 76px; height: auto; border-radius: 0; }
.av-ecran img { width: 100%; border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }

/* Contact */
.av-coordonnees { margin-top: var(--wp--preset--spacing--40); }

/* Forms */
.av-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.4rem); background: #fff; border-radius: 22px; box-shadow: var(--wp--preset--shadow--douce); scroll-margin-top: 7rem; }
.av-form__champ { display: grid; gap: 0.4rem; align-content: end; } /* fields stay lined up when one label takes two lines */
.av-form__champ--plein, .av-form__case, .av-form__note, .av-form__message, .av-form__envoi { grid-column: 1 / -1; }
.av-form label { font-weight: 700; color: var(--wp--preset--color--marine); font-size: 1rem; }
.av-form :is(input:not([type=checkbox]), select, textarea) { width: 100%; box-sizing: border-box; min-height: 52px; padding: 0.75rem 1rem; border: 1px solid #cfd1e2; border-radius: 12px; background: #fff; color: var(--wp--preset--color--encre); font: inherit; }
.av-form :is(input:not([type=checkbox], [type=radio]), select) { height: 54px; }
.av-form select.av-form__liste.av-form__liste { appearance: none; padding-right: 2.75rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1630' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1.1rem; }
.av-form textarea { min-height: 140px; resize: vertical; }
.av-form [aria-invalid=true] { border-color: #b3261e; }
.av-form__erreur { color: #b3261e; font-size: 1rem; font-weight: 600; }
.av-form__case { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.75rem; align-items: start; }
.av-form__case label { font-weight: 500; color: inherit; }
.av-form__case input { width: 20px; height: 20px; margin-top: 0.25rem; accent-color: var(--wp--preset--color--indigo); }
.av-form__case .av-form__erreur { grid-column: 2; }
.av-form__note { margin: 0; color: var(--wp--preset--color--gris); font-size: 1rem; }
.av-form__message { margin: 0; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; background: #e8f5ec; color: #14532d; }
.av-form__message--erreur { background: #fdecea; color: #8c1d18; }
.av-form__piege { position: absolute; left: -9999px; }
.av-form__envoi { border: 0; cursor: pointer; justify-self: start; }
.av-form--fini { display: block; }

/* Forms: sections, yes / no, follow-up after sending */
.av-form__section { grid-column: 1 / -1; margin: 1.25rem 0 0; padding-top: 1.5rem; border-top: 2px solid var(--wp--preset--color--brume); font-size: 1.2rem !important; }
.av-form [hidden] { display: none !important; }
.av-form__titre { font-weight: 700; color: var(--wp--preset--color--marine); }
.av-form__ouinon > div { display: grid; grid-template-columns: 1fr 1fr; box-sizing: border-box; height: 54px; border: 1px solid #cfd1e2; border-radius: 12px; overflow: hidden; }
.av-form__ouinon label { position: relative; display: block; height: 100%; font-weight: 600; cursor: pointer; }
.av-form__ouinon input { position: absolute; opacity: 0; inset: 0; min-height: 0 !important; margin: 0; padding: 0 !important; cursor: pointer; }
.av-form__ouinon label span { display: grid; place-items: center; height: 100%; }
.av-form__ouinon label + label span { border-left: 1px solid #cfd1e2; }
.av-form__ouinon input:checked + span { background: var(--wp--preset--color--indigo); color: #fff; }
.av-form__ouinon input:focus-visible + span { outline: 3px solid var(--wp--preset--color--or); outline-offset: -3px; }
.av-form__suite { display: inline-block; text-decoration: none; }

.av-hero__titre { font-weight: 700; line-height: 1.35; color: #fff !important; }

/* Contact lines with an icon (footer, mobile menu) */
.av-ico { position: relative; min-height: 2.5rem; padding-left: 3.4rem; display: flex; align-items: center; margin-block: 0.75rem !important; }
.av-ico::before { content: ""; position: absolute; left: 0; top: 50%; width: 2.5rem; height: 2.5rem; translate: 0 -50%; border-radius: 12px; background: color-mix(in srgb, #fff 11%, transparent); }
.av-ico::after { content: ""; position: absolute; left: 0.68rem; top: 50%; width: 1.15rem; height: 1.15rem; translate: 0 -50%; background: var(--wp--preset--color--or); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.av-ico--tel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.9 2.1z'/%3E%3C/svg%3E"); }
.av-ico--courriel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.av-ico--lieu { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.800 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.600'/%3E%3C/svg%3E"); }
.av-ico--heures { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.500'/%3E%3Cpath d='M12 6.500V12l3.500 2'/%3E%3C/svg%3E"); }
.av-ico a { color: #fff; text-decoration: none; font-weight: 600; }
.av-ico a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* White chip behind the dark logo on navy */
.av-pastille { flex: none; padding: 9px; border-radius: 16px; background: #fff; line-height: 0; }
.av-pastille img { border-radius: 0; }

/* Footer */
/* Top row: the motto and the two buttons, on the same width as the columns below. */
.av-footer__haut { gap: 1.5rem 2.5rem; padding-bottom: var(--wp--preset--spacing--40); margin-bottom: var(--wp--preset--spacing--40); border-bottom: 1px solid color-mix(in srgb, #fff 16%, transparent); }
.av-devise { margin: 0 !important; max-width: 16em; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #fff !important; }
/* Columns: the brand takes more room, the link columns share the rest of the width. */
.av-footer__grille { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 2.25rem 3rem; }
.av-footer__grille:has(.av-footer__joindre .av-ico) { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.av-footer__grille > * { margin: 0 !important; }
.av-footer__intro p:not(.has-large-font-size) { max-width: 24rem; margin-top: 1rem; }
.av-footer__joindre:not(:has(.av-ico)) { display: none; } /* no contact details entered yet */
@media (max-width: 781px) { .av-footer__grille { grid-template-columns: 1fr 1fr; } .av-footer__intro { grid-column: 1 / -1; } }
.av-footer { position: relative; background-image: radial-gradient(48rem 30rem at 6% 0%, color-mix(in srgb, var(--wp--preset--color--indigo) 75%, transparent), transparent 70%); }
.av-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--wp--preset--color--indigo), var(--wp--preset--color--or) 55%, var(--wp--preset--color--indigo)); }
.av-footer__marque > * { margin-block: 0; }
.av-footer__titre { font-size: 1.15rem !important; margin: 0 0 1.1rem; }
.av-links { list-style: none; padding-left: 0; display: grid; gap: 0.85rem; margin: 0; }
.av-links a { color: color-mix(in srgb, #fff 88%, transparent); text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.6rem; }
.av-links a::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--wp--preset--color--or); border-top: 2px solid var(--wp--preset--color--or); rotate: 45deg; translate: 0 -0.1rem; transition: translate 0.15s ease; }
.av-links a:hover { color: #fff; }
.av-links a:hover::before { translate: 0.2rem -0.1rem; }
.av-footer__legal { margin-top: var(--wp--preset--spacing--40) !important; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, #fff 18%, transparent); gap: 0.25rem 2rem; }
.av-footer__legal p { margin: 0; }
.av-footer__legal a { color: #fff; }

/* Mobile menu. Logo, name and button sit exactly where the header shows them: nothing jumps on opening. */
:root { --av-logo-w: 46px; --av-marque-h: 48.2px; }
@media (max-width: 420px) { :root { --av-logo-w: 38px; --av-marque-h: 42px; } }
.av-brand .wp-block-site-logo img.custom-logo { width: var(--av-logo-w); height: auto; }
.av-header .wp-block-group.alignwide { min-height: var(--av-marque-h); }
.av-nav .is-menu-open.wp-block-navigation__responsive-container { animation: av-menu 0.18s ease-out; }
@keyframes av-menu { from { opacity: 0; } }
.av-menu__marque, .av-menu__bas { display: none; }
.av-nav .wp-block-navigation__responsive-container-open { padding: 9px; border-radius: 12px; background: var(--wp--preset--color--brume); color: var(--wp--preset--color--marine); }
.av-nav .is-menu-open.wp-block-navigation__responsive-container { padding: 0; background-image: radial-gradient(34rem 26rem at 100% 0%, color-mix(in srgb, var(--wp--preset--color--indigo) 90%, transparent), transparent 72%), linear-gradient(0deg, var(--wp--preset--color--or) 0 4px, transparent 4px); }
.av-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: none; min-height: 100dvh; display: flex; }
.av-nav .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; flex: 1; display: flex; flex-direction: column; margin: 0; padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem) 2rem; }
.av-nav .is-menu-open .av-menu__marque { display: flex; align-items: center; gap: 0.75rem; align-self: flex-start; height: var(--av-marque-h); color: #fff; text-decoration: none; font-size: var(--wp--preset--font-size--large); font-weight: 800; letter-spacing: -0.02em; line-height: inherit; }
.av-menu__logo { width: var(--av-logo-w); height: auto; border-radius: 3px; background: #fff; box-shadow: 0 0 0 7px #fff; }
.av-nav .is-menu-open .wp-block-navigation__responsive-container-close { top: calc(0.85rem + var(--av-marque-h) / 2); right: clamp(1.25rem, 4vw, 2.5rem); translate: 0 -50%; padding: 9px; border-radius: 12px; background: color-mix(in srgb, #fff 14%, transparent); color: #fff; }
.av-nav .is-menu-open .wp-block-navigation__responsive-container-content { flex: 1; width: 100%; padding-top: 1.25rem !important; align-items: stretch !important; gap: 0; }
.av-nav .is-menu-open .wp-block-navigation__container { width: 100%; gap: 0 !important; align-items: stretch !important; font-size: 1.4rem; }
.av-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid color-mix(in srgb, #fff 16%, transparent); align-items: stretch; }
.av-nav .is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content { display: flex; flex: 1; width: 100%; align-items: center; justify-content: space-between; text-align: left; padding: 1.1rem 0; font-weight: 700; color: #fff; }
.av-nav .is-menu-open .wp-block-navigation-item__content::after { content: ""; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem; border-right: 2.5px solid var(--wp--preset--color--or); border-top: 2.5px solid var(--wp--preset--color--or); rotate: 45deg; }
.av-nav .is-menu-open .av-menu__bas { display: block; width: 100%; margin-top: auto; padding-top: 2rem; }
.av-menu__bouton { display: block; text-align: center; margin-bottom: 1.4rem; }
.av-nav .av-menu__bouton.av-menu__bouton { background: var(--wp--preset--color--or); color: var(--wp--preset--color--marine); text-decoration: none; padding: 1.05rem 1.5rem; }

@media (max-width: 781px) {
	.av-photo--haute img { aspect-ratio: 4 / 3; }
	.av-hero { --wp--preset--spacing--60: 2.75rem; }
	.av-form { grid-template-columns: 1fr; }
	.wp-block-buttons .wp-block-button, .wp-block-buttons .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; }
	.av-form__envoi { width: 100%; }
	.av-section .wp-block-columns { gap: 2rem !important; }
	.av-entrepreneurs { padding: 1.5rem !important; }
}
@media (max-width: 420px) { .av-brand .wp-block-site-title, .av-nav .is-menu-open .av-menu__marque { font-size: 1.05rem; } }

/* Burger menu up to 781px. */
.av-brand .wp-block-site-logo { flex: none; }
@media (min-width: 600px) and (max-width: 781px) {
	.av-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.av-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: block; }
	.av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; }
}

/* Contest page: banner, key facts, rules in drawers (Yoan, 2026-12-05) */
.av-banniere h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-top: 0.25rem !important; }
.av-banniere .wp-block-buttons { margin-top: 1.75rem !important; }
.av-faits { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; list-style: none; padding: 0; margin: 2.25rem auto 0 !important; max-width: none !important; }
.av-faits li { padding: 0.45rem 0.95rem; border: 1px solid color-mix(in srgb, #fff 18%, transparent); border-radius: 6px; background: color-mix(in srgb, #fff 6%, transparent); color: color-mix(in srgb, #fff 88%, transparent); font-size: 0.95rem; }
.av-reglement .wp-block-columns { margin-top: 1.5rem; }
.av-reglement .wp-block-column { display: flex; flex-direction: column; gap: 0; }
.av-tiroir { border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--marine) 12%, transparent); margin: 0 !important; }
.av-tiroir summary { position: relative; padding: 1rem 2.5rem 1rem 0; font-weight: 700; cursor: pointer; list-style: none; color: var(--wp--preset--color--marine); }
.av-tiroir summary::-webkit-details-marker { display: none; }
.av-tiroir summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; opacity: 0.6; }
.av-tiroir[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.av-tiroir summary:hover { color: var(--wp--preset--color--indigo); }
.av-tiroir > :not(summary) { margin-block: 0 0.9rem; }
.av-tiroir > :last-child { padding-bottom: 0.4rem; }
