/*
 * Chartreuse Parapente theme, transposed from docs/maquette-c/assets/style.css (docs/06 section 2.6).
 * Colors, fonts, font sizes and the root width come from theme.json; the topo block keeps its own stylesheet.
 */

:root {
  --font-title: var(--wp--preset--font-family--sentient);
  --font-text: var(--wp--preset--font-family--work-sans);

  --radius: 20px;
  --radius-large: 32px;
  --shadow-soft: 0 8px 32px rgb(22 35 27 / 8%);
  --shadow-lift: 0 14px 40px rgb(22 35 27 / 12%);
  --target: 2.75rem;
  --wave-height: clamp(2rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4, p, figure, ul, ol, dl, dd) { margin: 0; }
:where(ul, ol):not(.wp-block-list) { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { text-underline-offset: 0.22em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--wp--preset--color--epicea); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--wp--preset--color--chartreuse); color: var(--wp--preset--color--encre); }
:root :where(.wp-site-blocks) > * { margin-block-start: 0; }

h1, h2, h3 { text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.lead { font-size: 1.375rem; line-height: 1.5; max-width: 38ch; }
.small { font-size: 0.9375rem; line-height: 1.5; }
.soft { color: var(--wp--preset--color--encre-douce); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Icons: any block with .cp-icon and .cp-icon--<name> gets the icon before its content */
.cp-icon::before, .cp-icon--after::after, .rules details.cp-icon > summary::before { content: ""; display: block; flex: none; width: var(--cp-icon-size, 1.5rem); height: var(--cp-icon-size, 1.5rem); background: var(--cp-icon-color, currentColor); -webkit-mask: var(--cp-icon) center / contain no-repeat; mask: var(--cp-icon) center / contain no-repeat; }
.cp-icon--after::before, .rules details.cp-icon::before { content: none; }
.cp-icon--menu { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%206h16M4%2012h16M4%2018h16'/%3E%3C/svg%3E"); }
.cp-icon--wind { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M17.7%207.7a2.5%202.5%200%201%201%201.8%204.3H2'/%3E%3Cpath%20d='M9.6%204.6A2%202%200%201%201%2011%208H2'/%3E%3Cpath%20d='M12.6%2019.4A2%202%200%201%200%2014%2016H2'/%3E%3C/svg%3E"); }
.cp-icon--mountain { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m8%203%204%208%205-5%205%2015H2L8%203z'/%3E%3C/svg%3E"); }
.cp-icon--pin { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2010c0%206-8%2012-8%2012s-8-6-8-12a8%208%200%200%201%2016%200Z'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='3'/%3E%3C/svg%3E"); }
.cp-icon--users { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2'/%3E%3Ccircle%20cx='9'%20cy='7'%20r='4'/%3E%3Cpath%20d='M22%2021v-2a4%204%200%200%200-3-3.87'/%3E%3Cpath%20d='M16%203.13a4%204%200%200%201%200%207.75'/%3E%3C/svg%3E"); }
.cp-icon--calendar { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='4'%20width='18'%20height='18'%20rx='2'/%3E%3Cpath%20d='M16%202v4M8%202v4M3%2010h18'/%3E%3C/svg%3E"); }
.cp-icon--download { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4'/%3E%3Cpath%20d='m7%2010%205%205%205-5'/%3E%3Cpath%20d='M12%2015V3'/%3E%3C/svg%3E"); }
.cp-icon--alert { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m21.73%2018-8-14a2%202%200%200%200-3.48%200l-8%2014A2%202%200%200%200%204%2021h16a2%202%200%200%200%201.73-3'/%3E%3Cpath%20d='M12%209v4'/%3E%3Cpath%20d='M12%2017h.01'/%3E%3C/svg%3E"); }
.cp-icon--check { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E"); }
.cp-icon--arrow { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14'/%3E%3Cpath%20d='m12%205%207%207-7%207'/%3E%3C/svg%3E"); }
.cp-icon--bird { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2012c3.5-5%207-5%2010%200%203-5%206.5-5%2010%200'/%3E%3C/svg%3E"); }
.cp-icon--leaf { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M11%2020A7%207%200%200%201%209.8%206.1C15.5%205%2017%204.48%2019%202c1%202%202%204.18%202%208%200%205.5-4.78%2010-10%2010Z'/%3E%3Cpath%20d='M2%2021c0-3%201.85-5.36%205.08-6C9.5%2014.52%2012%2013%2013%2012'/%3E%3C/svg%3E"); }
.cp-icon--compass { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Cpath%20d='m16.24%207.76-2.12%206.36-6.36%202.12%202.12-6.36%206.36-2.12z'/%3E%3C/svg%3E"); }
.cp-icon--camera { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.5%204h-5L7%207H4a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2V9a2%202%200%200%200-2-2h-3l-2.5-3z'/%3E%3Ccircle%20cx='12'%20cy='13'%20r='3'/%3E%3C/svg%3E"); }
.cp-icon--clock { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Cpath%20d='M12%206v6l4%202'/%3E%3C/svg%3E"); }
.cp-icon--route { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='6'%20cy='19'%20r='3'/%3E%3Cpath%20d='M9%2019h8.5a3.5%203.5%200%200%200%200-7h-11a3.5%203.5%200%200%201%200-7H15'/%3E%3Ccircle%20cx='18'%20cy='5'%20r='3'/%3E%3C/svg%3E"); }
.cp-icon--shield { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z'/%3E%3Cpath%20d='m9%2012%202%202%204-4'/%3E%3C/svg%3E"); }
.cp-icon--layers { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m12.83%202.18a2%202%200%200%200-1.66%200L2.6%206.08a1%201%200%200%200%200%201.83l8.58%203.91a2%202%200%200%200%201.66%200l8.58-3.9a1%201%200%200%200%200-1.83Z'/%3E%3Cpath%20d='m22%2017.65-9.17%204.16a2%202%200%200%201-1.66%200L2%2017.65'/%3E%3Cpath%20d='m22%2012.65-9.17%204.16a2%202%200%200%201-1.66%200L2%2012.65'/%3E%3C/svg%3E"); }
.cp-icon--mail { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20width='20'%20height='16'%20x='2'%20y='4'%20rx='2'/%3E%3Cpath%20d='m22%207-8.97%205.7a1.94%201.94%200%200%201-2.06%200L2%207'/%3E%3C/svg%3E"); }
.cp-icon--ruler { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21.3%2015.3a2.4%202.4%200%200%201%200%203.4l-2.6%202.6a2.4%202.4%200%200%201-3.4%200L2.7%208.7a2.41%202.41%200%200%201%200-3.4l2.6-2.6a2.41%202.41%200%200%201%203.4%200Z'/%3E%3Cpath%20d='m14.5%2012.5%202-2M11.5%209.5l2-2M8.5%206.5l2-2M17.5%2015.5l2-2'/%3E%3C/svg%3E"); }

/* Buttons: the base style is elements.button in theme.json */
.wp-element-button.is-style-ghost, .is-style-ghost > .wp-element-button { background: transparent; color: var(--wp--preset--color--epicea); }
.wp-element-button.is-style-ghost:hover, .is-style-ghost > .wp-element-button:hover { background: var(--wp--preset--color--epicea); color: var(--wp--preset--color--calcaire); }
.wp-element-button.button--small, .button--small > .wp-element-button { min-height: var(--target); padding: 0 1.25rem; font-size: 1rem; }

/* Skip link: WordPress prints it first in the body */
body .skip-link.screen-reader-text:focus { left: 1rem; top: 0.75rem; padding: 0.8rem 1.2rem; background: var(--wp--preset--color--sapin); color: var(--wp--preset--color--calcaire); border-radius: 999px; }

/* Header. The template part wrapper is transparent so that only the bar is sticky. */
.wp-site-blocks > header { display: contents; }
.header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 20; background: var(--wp--preset--color--calcaire); box-shadow: 0 1px 0 rgb(22 35 27 / 7%); }
.header__bar { min-height: 4.25rem; gap: 1rem; }
.brand { margin: 0; font: 300 1.375rem/1 var(--font-title); letter-spacing: -0.01em; }
.brand a { color: var(--wp--preset--color--encre); text-decoration: none; }
/* Logo on the left, centred against the two text lines: name on top, tagline right under it */
.wp-site-blocks .brand-block { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.75rem; row-gap: 0.3rem; align-items: center; justify-content: start; }
.brand-block::before { content: ""; grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%238da678'/%3E%3Cpath d='M4 24 12 11l5 8 3-4 8 9z' fill='%231e3a2c'/%3E%3C/svg%3E") center / contain no-repeat; }
.brand-block > .brand { grid-column: 2; grid-row: 1; align-self: end; }
.brand-block > .brand-tagline { grid-column: 2; grid-row: 2; align-self: start; }
.brand-tagline { margin: 0; font-size: 0.75rem; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--encre-douce); }
.brand a:hover { color: var(--wp--preset--color--encre); }

/* Menu: inline from 62em, core overlay turned into the maquette dropdown below. Core switches at 600px only. */
.header .nav { position: relative; }
.header .nav .wp-block-navigation__container { gap: 0.25rem; align-items: center; }
.header .nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: var(--target); padding: 0 0.9rem; border-radius: 999px; color: var(--wp--preset--color--encre); text-decoration: none; transition: background-color 200ms ease; }
.header .nav .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--pierre); color: var(--wp--preset--color--encre); }
.header .nav .wp-block-navigation-item__content:is([aria-current="page"], [aria-current="true"]) { background: var(--wp--preset--color--pierre); color: var(--wp--preset--color--epicea); font-weight: 500; }
.wp-site-blocks .header .wp-block-navigation__responsive-container-open { min-width: var(--target); min-height: var(--target); align-items: center; justify-content: center; border-radius: 999px; }

@media (max-width: 61.99em) {
  .wp-site-blocks .header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .wp-site-blocks .header .wp-block-navigation__responsive-container-open { display: flex; }
  .wp-site-blocks .header .nav .wp-block-navigation__responsive-container.is-menu-open { position: absolute; inset: calc(100% + 0.5rem) 0 auto auto; width: min(18rem, 85vw); padding: 0.5rem; overflow: visible; border-radius: var(--radius); box-shadow: var(--shadow-lift); }
  .wp-site-blocks .header .nav .is-menu-open .wp-block-navigation__responsive-container-content { padding: 0; }
  .wp-site-blocks .header .nav .is-menu-open .wp-block-navigation__container { gap: 0; align-items: stretch; width: 100%; }
  .wp-site-blocks .header .nav .is-menu-open .wp-block-navigation-item { align-items: stretch; }
  .wp-site-blocks .header .nav .is-menu-open .wp-block-navigation-item__content { display: flex; padding: 0 1rem; border-radius: 12px; }
  .wp-site-blocks .header .nav .is-menu-open .wp-block-navigation__responsive-container-close { top: calc(-1 * (var(--target) + 0.5rem + 0.5rem)); right: -0.5rem; min-width: var(--target); min-height: var(--target); display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--wp--preset--color--pierre); }
}

/* Without JavaScript the core menu button does nothing: show the links in the header instead. */
@media (scripting: none) and (max-width: 61.99em) {
  .wp-site-blocks .header .wp-block-navigation__responsive-container-open { display: none; }
  .wp-site-blocks .header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: block; position: static; width: 100%; }
  .wp-site-blocks .header .nav .wp-block-navigation__responsive-container-close { display: none; }
  .wp-site-blocks .header .header__bar { flex-wrap: wrap; }
  .wp-site-blocks .header .nav { flex: 1 0 100%; }
  .wp-site-blocks .header .nav .wp-block-navigation__container { flex-wrap: wrap; justify-content: flex-start; }
}

@media (min-width: 62em) {
  .header .nav .is-cta > .wp-block-navigation-item__content { margin-left: 0.5rem; padding: 0 1.25rem; border: 2px solid var(--wp--preset--color--epicea); background: var(--wp--preset--color--epicea); color: var(--wp--preset--color--calcaire); font-size: 1rem; font-weight: 500; }
  .header .nav .is-cta > .wp-block-navigation-item__content:hover { border-color: var(--wp--preset--color--sapin); background: var(--wp--preset--color--sapin); color: var(--wp--preset--color--calcaire); box-shadow: var(--shadow-soft); }
  .header .nav .is-mobile-only { display: none; }
}

/* Hero without a photo (pattern chartreuse/heros) */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }

/* Hero: edge to edge photo under the header, text on a flat neutral scrim, beacon card straddling the bottom edge */
:root { --scrim: rgb(0 0 0 / 55%); --on-photo: #fff; --hero-overhang: 4.5rem; --hero-focus-x: 7%; }
.hero-wrap { position: relative; background: var(--wp--preset--color--pierre); }
.hero-photo { position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; min-height: clamp(32rem, 72vh, 54rem); min-height: clamp(32rem, 72svh, 54rem); background: var(--wp--preset--color--encre); color: var(--on-photo); }
.hero-photo__media { position: absolute; inset: 0; z-index: -2; }
.hero-photo__media :is(figure, picture, img) { display: block; width: 100%; height: 100%; margin: 0; }
.hero-photo__media img { object-fit: cover; object-position: var(--hero-focus-x) 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.hero-photo__inner { box-sizing: border-box; width: 100%; max-width: calc(75rem + 2.5rem); margin-inline: auto; padding: 2rem 1.25rem calc(var(--hero-overhang) + 2rem); }
.hero__text { display: grid; gap: 1.25rem; justify-items: start; max-width: 54rem; }
.hero-photo .lead { max-width: 38rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
.hero-photo :is(h1, .lead) { color: var(--on-photo); }
.hero-photo :focus-visible { outline-color: var(--on-photo); }
.hero-photo .wp-element-button { border-color: var(--wp--preset--color--calcaire); }
.hero-photo .is-style-ghost > .wp-element-button { color: var(--on-photo); border-color: var(--on-photo); }
.hero-photo .is-style-ghost > .wp-element-button:hover { background: var(--wp--preset--color--calcaire); color: var(--wp--preset--color--sapin); }
.wp-site-blocks .hero-wrap .hero__cards { position: relative; z-index: 3; box-sizing: border-box; display: grid; gap: 0.75rem; width: 100%; max-width: calc(75rem + 2.5rem); margin: calc(var(--hero-overhang) * -1) auto 0; padding-inline: 1.25rem; }
.hero__cards .hero__card { padding: 1.5rem; gap: 0.75rem; box-shadow: var(--shadow-lift); transition: box-shadow 200ms ease, transform 200ms ease; }
.hero__cards .hero__card:hover { box-shadow: var(--shadow-lift), 0 0 0 2px var(--wp--preset--color--mousse); }
.hero__card .embed__title { font-size: 1.25rem; }
.embed--auto .embed__frame { position: relative; border-radius: var(--radius, 20px); overflow: hidden; }
.embed__overlay { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.embed__overlay:focus-visible { outline: 3px solid var(--wp--preset--color--epicea); outline-offset: -3px; }
@media (min-width: 48em) {
  :root { --hero-focus-x: 50%; }
  .hero-photo__inner { padding-bottom: calc(var(--hero-overhang) + 3.5rem); }
  .wp-site-blocks .hero-wrap .hero__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  
}
@media (min-width: 48em) and (max-width: 63.99em) { .hero__card .embed__title { min-block-size: 2lh; } }

/* Airy sky over the photo hero (inc/sky.php): transform and opacity only, still with reduced motion */
:root { --sky-bird: #16231b; --sky-fog: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%272200%27%20height%3D%27400%27%3E%3Cfilter%20id%3D%27n%27%20x%3D%270%27%20y%3D%270%27%20width%3D%27100%25%27%20height%3D%27100%25%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.0018%200.006%27%20numOctaves%3D%275%27%20seed%3D%275%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200.95%20%200%200%200%200%200.95%20%200%200%200%200%200.93%20%200%200%200%202%20-0.7%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27/%3E%3C/svg%3E"); }
.hero-photo__inner { position: relative; z-index: 2; }
.sky { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.sky__clouds { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 45%); mask-image: linear-gradient(180deg, #000 20%, transparent 45%); }
.sky__fog { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.sky__fog-drift { --fog-tile: 2200px; position: absolute; inset: 0 auto 0 0; width: calc(100% + var(--fog-tile)); background: var(--sky-fog) repeat-x 0 0 / var(--fog-tile) 100%; opacity: 0.8; -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); animation: sky-fog-drift 140s linear infinite; will-change: transform; }
@keyframes sky-fog-drift { to { transform: translateX(calc(var(--fog-tile) * -1)); } }
/* A circle is two perpendicular back-and-forth moves a quarter period apart */
.sky__thermal { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; animation: sky-thermal-rise calc(var(--t) * 1.7) ease-in-out infinite alternate; }
.sky__orbit-x { animation: sky-orbit-x calc(var(--t) / 2) ease-in-out infinite alternate; }
.sky__orbit-y { animation: sky-orbit-y calc(var(--t) / 2) ease-in-out infinite alternate; animation-delay: calc(var(--t) / -4); }
.sky__bird { display: block; max-width: none; width: calc(78px * var(--s)); height: auto; margin: calc(-9px * var(--s)) 0 0 calc(-39px * var(--s)); fill: var(--sky-bird); opacity: 0.85; animation: sky-bank calc(var(--t) / 2) ease-in-out infinite alternate; animation-delay: calc(var(--t) / -4); }
@keyframes sky-orbit-x { from { translate: calc(var(--r) * -1) 0; } to { translate: var(--r) 0; } }
@keyframes sky-orbit-y { from { translate: 0 calc(var(--r) * -0.32); } to { translate: 0 calc(var(--r) * 0.32); } }
@keyframes sky-thermal-rise { from { transform: translateY(46px); } to { transform: translateY(-46px); } }
@keyframes sky-bank { from { rotate: -9deg; } to { rotate: 9deg; } }
@media (max-width: 47.99em) { .sky__clouds { opacity: 0.7; } }
@media (min-width: 48em) {
  .hero-photo::after { background: linear-gradient(90deg, rgb(0 0 0 / 64%) 0%, rgb(0 0 0 / 50%) 42%, rgb(0 0 0 / 8%) 100%); }
  .sky__clouds { -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 68%); mask-image: linear-gradient(90deg, transparent 42%, #000 68%); }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-photo__media img { height: 110%; animation: hero-photo-lift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    @keyframes hero-photo-lift { to { transform: translateY(8%); } }
  }
}
@media (prefers-reduced-motion: reduce) { .sky__fog-drift, .sky__thermal, .sky__orbit-x, .sky__orbit-y, .sky__bird { animation: none; } }

/* Organic section separators: .band--wave draws its waves above and below, with no SVG in the content */
.band { background: var(--wp--preset--color--pierre); }
.band--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.band--wave { position: relative; }
.band--wave::before, .band--wave::after { content: ""; position: absolute; left: 0; right: 0; height: var(--wave-height); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 44C220 6 420 82 720 46S1230 6 1440 42V80H0Z' fill='%23e5e6e0'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.band--wave::before { bottom: calc(100% - 1px); }
.band--wave::after { top: calc(100% - 1px); transform: scaleY(-1); }.cp-icon--beer { --cp-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.75'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M17%2011h1a3%203%200%200%201%200%206h-1'/%3E%3Cpath%20d='M9%2012v6M13%2012v6'/%3E%3Cpath%20d='M14%207.5c-1%200-1.44.5-3%20.5s-2-.5-3-.5-1.72.5-2.5.5a2.5%202.5%200%200%201%200-5c.78%200%201.57.5%202.5.5S9.44%202%2011%202s2%201.5%203%201.5%201.72-.5%202.5-.5a2.5%202.5%200%200%201%200%205c-.78%200-1.5-.5-2.5-.5Z'/%3E%3Cpath%20d='M5%208v12a2%202%200%200%200%202%202h8a2%202%200%200%200%202-2V8'/%3E%3C/svg%3E"); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section__head { display: grid; gap: 0.75rem; max-width: 40rem; margin-bottom: 2.5rem; }
.section__head p { color: var(--wp--preset--color--encre-douce); }

/* Features: three doors */
.doors { display: grid; gap: 1.5rem; }
.door { position: relative; --cp-icon-size: 2.25rem; --cp-icon-color: var(--wp--preset--color--epicea); display: grid; gap: 0.9rem; align-content: start; padding: 2rem; background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); text-decoration: none; color: var(--wp--preset--color--encre); transition: box-shadow 200ms ease, transform 200ms ease; cursor: pointer; }
.door:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); color: var(--wp--preset--color--encre); }
.door p { color: var(--wp--preset--color--encre-douce); }
.door .door__more { --cp-icon-size: 1.25rem; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--wp--preset--color--epicea); font-weight: 500; }
.door__more a { color: inherit; text-decoration: none; }
.door__more a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.door:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--epicea); outline-offset: 3px; }
.door a:focus-visible { outline: none; }
.doors-aside { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.75rem; max-width: var(--wp--style--global--content-size); margin-top: 1.5rem; color: var(--wp--preset--color--encre-douce); }
.doors-aside a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--wp--preset--color--epicea); font-weight: 500; }
@media (min-width: 48em) { .doors { grid-template-columns: repeat(3, 1fr); } .doors:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }

/* Sites */
.sites { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.site { position: relative; display: grid; gap: 0.75rem; padding: 1.75rem; background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); color: var(--wp--preset--color--encre); transition: box-shadow 200ms ease, transform 200ms ease; cursor: pointer; }
.site:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); color: var(--wp--preset--color--encre); }
.site__top { display: flex; align-items: center; gap: 1rem; }
.site__top h3 { flex: 1; font-size: 1.5rem; }
.site__alt { font-weight: 500; font-variant-numeric: tabular-nums; }
.site p { color: var(--wp--preset--color--encre-douce); font-size: 1rem; }
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.8rem; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; background: var(--wp--preset--color--pierre); color: var(--wp--preset--color--encre); }
.badge--ok { background: var(--wp--preset--color--chartreuse); color: var(--wp--preset--color--encre); }
.rose { width: 3.25rem; height: 3.25rem; flex: none; }
.rose circle { fill: none; stroke-width: 5; }
.rose__rest { stroke: var(--wp--preset--color--pierre); }
.rose__arc { stroke: var(--wp--preset--color--epicea); transform-box: fill-box; transform-origin: center; transform: rotate(calc(var(--from) * 1deg - 90deg)); stroke-dasharray: calc(var(--span) * 0.2269px) 100px; }
@media (min-width: 48em) { .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .sites { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Respect: storytelling panel */
.respect { background: var(--wp--preset--color--sapin); color: var(--wp--preset--color--calcaire); border-radius: var(--radius-large); padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; gap: 2.5rem; align-items: center; }
.respect h2 { color: var(--wp--preset--color--calcaire); }
.respect__rules { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.respect__rule { --cp-icon-size: 2rem; --cp-icon-color: var(--wp--preset--color--chartreuse); display: flex; gap: 1rem; align-items: flex-start; }
.respect__rule::before { margin-top: 0.15rem; }
.respect__rule p { max-width: none; color: #dbe3da; }
.respect__text { display: grid; gap: 0.5rem; }
.respect__rule strong { display: block; font-weight: 500; color: var(--wp--preset--color--calcaire); }
.respect__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 160px 32px 32px 32px; }
.respect a { color: #dbe9a0; }
.respect a:hover { color: var(--wp--preset--color--calcaire); }
.respect :focus-visible { outline-color: var(--wp--preset--color--chartreuse); }
@media (min-width: 62em) { .respect { grid-template-columns: 1.1fr 0.9fr; } .respect:not(:has(.respect__media)) { grid-template-columns: 1fr; } }

/* Captions typed by hand: one small line under the image, in the colour of the text around it */
.wp-block-image figcaption, .wp-block-post-featured-image figcaption { margin-top: 0.5rem; font-size: 0.8125rem; line-height: 1.45; color: var(--wp--preset--color--encre-douce); }
.respect figcaption { color: inherit; }

/* Footer */
.footer { padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; background: var(--wp--preset--color--pierre); }
.footer .footer__grid { display: grid; gap: 2rem; margin: 0; }
.footer .wp-block-column > * { margin-block-start: 0; }
.footer li { margin: 0; }
.footer h2 { margin-bottom: 0.75rem; font: 500 1rem/1.3 var(--font-text); letter-spacing: 0; }
.footer ul { display: grid; gap: 0.1rem; padding: 0; list-style: none; }
.footer a { display: inline-flex; align-items: center; min-height: var(--target); }
.footer__legal a { display: inline; min-height: 0; }
.footer .footer__legal { margin-top: 2rem; gap: 0.5rem 1.5rem; font-size: 0.9375rem; }
.wp-block-search.footer__search { --field-border: color-mix(in srgb, var(--wp--preset--color--encre-douce) 70%, var(--wp--preset--color--pierre)); max-width: 20rem; margin-top: 1.25rem; }
.footer__search .wp-block-search__inside-wrapper { position: relative; padding: 0; border: 0; background: none; }
.wp-block-search.footer__search .wp-block-search__input { display: block; width: 100%; min-height: calc(var(--target) + 0.5rem); padding: 0 calc(var(--target) + 0.75rem) 0 1.25rem; border: 2px solid var(--field-border); border-radius: 999px; background: var(--wp--preset--color--calcaire); color: var(--wp--preset--color--encre); font: inherit; }
.wp-block-search.footer__search .wp-block-search__inside-wrapper .wp-block-search__input:focus-visible { outline: 3px solid var(--wp--preset--color--epicea); outline-offset: 3px; }
.footer__search .wp-block-search__input::placeholder { color: var(--wp--preset--color--encre-douce); opacity: 1; }
.wp-block-search.footer__search .wp-block-search__button { position: absolute; top: 50%; right: 0.25rem; transform: translateY(-50%); display: grid; place-items: center; width: var(--target); height: var(--target); min-width: 0; min-height: 0; margin: 0; padding: 0; border-radius: 50%; background: var(--wp--preset--color--epicea); color: var(--wp--preset--color--calcaire); }
.wp-block-search.footer__search .wp-block-search__button:hover { background: var(--wp--preset--color--sapin); }
.footer__search .wp-block-search__button svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
@media (min-width: 48em) { .footer .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* Fiche */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); padding-top: 1.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; }
.fiche-hero { padding: 1.5rem 0 clamp(2.5rem, 5vw, 4rem); }
.fiche-hero__grid { display: grid; gap: 2rem; align-items: center; }
.fiche-hero__text { display: grid; gap: 1.25rem; justify-items: start; }
.fiche-hero img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 160px 32px 32px 32px; box-shadow: var(--shadow-lift); }
@media (min-width: 62em) { .fiche-hero__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fact { --cp-icon-color: var(--wp--preset--color--epicea); display: grid; gap: 0.35rem; padding: 1.25rem 1.5rem; background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.fact b { font: 300 1.75rem/1.1 var(--font-title); font-variant-numeric: tabular-nums; }
.fact span { font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); }
.fact p { font-size: 0.9375rem; line-height: 1.4; color: var(--wp--preset--color--encre-douce); }
.fact p strong { display: block; margin-bottom: 0.35rem; font: 300 1.75rem/1.1 var(--font-title); font-variant-numeric: tabular-nums; color: var(--wp--preset--color--encre); }
@media (min-width: 62em) { .facts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rules { display: grid; gap: 1rem; max-width: 52rem; }
.rules details { background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 0 1.5rem; }
.rules summary { --cp-icon-color: var(--wp--preset--color--epicea); min-height: 4rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none; font: 300 1.5rem/1.2 var(--font-title); }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: ""; margin-left: auto; width: 0.6rem; height: 0.6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 200ms ease; }
.rules details[open] summary::after { transform: rotate(-135deg); }
.rules details > :not(summary) { margin: 0 0 0.6rem; }
.rules details > :last-child { margin-bottom: 1.25rem; }
.rules details > div { display: grid; gap: 0.6rem; }
.rules details > div > * { margin: 0; }
.gallery { display: grid; gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.gallery figcaption { margin-top: 0.4rem; font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); }
@media (min-width: 48em) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Motion: short, purposeful, off with reduced motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0.01ms !important; } }

/* Pages: compact hero, advice notice, tables, calendar, steps, forms, agenda */
/* Narrow blocks keep the left edge of the 75rem container, like the maquette's .container > .prose */
.is-layout-constrained > :is(.prose, .section__head, .agenda, .steps, .faq, .rules, .form, .notice, .discreet) { margin-left: max(0px, (100% - var(--wp--style--global--content-size)) / 2) !important; margin-right: auto !important; }
.page-hero { padding: 2.5rem 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero > * + * { margin-top: 1rem; }
.page-hero .lead { max-width: 52ch; }
.prose { display: grid; gap: 1rem; max-width: 46rem; }
.prose h2 { margin-top: 1.5rem; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.prose--aside h2 { font-size: 1.375rem; }
.prose--aside li, .prose--aside p { font-size: 1rem; }
.prose ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.section__head--wide { max-width: 46rem; }
.notice { --cp-icon-color: var(--wp--preset--color--ecorce); display: flex; gap: 0.9rem; align-items: flex-start; max-width: 52rem; padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--wp--preset--color--pierre); }
.notice::before { margin-top: 0.15rem; }
.notice p { max-width: none; font-size: 1rem; }
.notice strong { font-weight: 500; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); background: var(--wp--preset--color--calcaire); }
table { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 1rem; }
caption { text-align: left; padding: 1rem 1.25rem 0.5rem; font: 300 1.5rem/1.2 var(--font-title); }
th, td { text-align: left; padding: 0.9rem 1.25rem; vertical-align: top; }
thead th { font-weight: 500; color: var(--wp--preset--color--encre-douce); font-size: 0.9375rem; }
tbody tr:nth-child(even) { background: var(--wp--preset--color--pierre); }
tbody th { font-weight: 500; white-space: nowrap; }

.site__conditions { display: grid; gap: 0.35rem; font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); }
.site__conditions div { display: flex; gap: 0.5rem; }
.site__conditions dt { font-weight: 500; color: var(--wp--preset--color--encre); flex: none; }
.site__conditions dd { margin: 0; }
.site__more { font-weight: 500; color: var(--wp--preset--color--epicea); display: inline-flex; gap: 0.4rem; align-items: center; }

.teaser { display: grid; gap: 2rem; align-items: center; }
.teaser img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lift); }
.teaser__text { display: grid; gap: 1rem; justify-items: start; }
@media (min-width: 62em) { .teaser { grid-template-columns: 1fr 1fr; gap: 4rem; } .teaser--reverse .teaser__media { order: 2; } }

.agenda { display: grid; gap: 0.75rem; max-width: 46rem; }
.agenda li { display: flex; gap: 1.25rem; align-items: center; padding: 1rem 1.25rem; background: var(--wp--preset--color--calcaire); border-radius: 16px; box-shadow: var(--shadow-soft); }
.agenda__date { flex: none; width: 3.75rem; text-align: center; padding: 0.4rem 0; border-radius: 14px; background: var(--wp--preset--color--pierre); font: 300 1.75rem/1 var(--font-title); }
.agenda__date small { display: block; font: 500 0.8125rem/1.4 var(--font-text); color: var(--wp--preset--color--encre-douce); }
.agenda strong { display: block; font-weight: 500; }
.agenda span { font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); }

.topos { display: grid; gap: 1.5rem; }
.topos > li { margin: 0; }
.topo-card { display: grid; align-content: start; gap: 0.75rem; padding: 1.75rem; background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.topo-card :is(h2, h3) { font-size: 1.5rem; }
.topo-card :is(h2, h3) a { color: inherit; text-decoration: none; }
.topo-card :is(h2, h3) a:hover { text-decoration: underline; }
.topo-card dl { display: grid; gap: 0.3rem; font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); }
.topo-card dl div { display: flex; gap: 0.5rem; }
.topo-card dt { font-weight: 500; color: var(--wp--preset--color--encre); }
.topo-card dd { margin: 0; }
@media (min-width: 48em) { .topos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .topos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62em) { .topos.topos--pair { grid-template-columns: repeat(2, 1fr); } }

.season { display: grid; grid-template-columns: 8rem repeat(12, minmax(1.6rem, 1fr)); gap: 3px; align-items: center; font-size: 0.875rem; min-width: 36rem; }
.season__scroll { overflow-x: auto; padding: 1.25rem; background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.season__month { text-align: center; color: var(--wp--preset--color--encre-douce); font-weight: 500; }
.season__label { font-weight: 500; font-size: 1rem; }
.season__cell { height: 1.75rem; border-radius: 6px; background: var(--wp--preset--color--pierre); }
.season__cell--on { background: var(--wp--preset--color--ecorce); }
.season__cell--soft { background: repeating-linear-gradient(135deg, var(--wp--preset--color--ecorce) 0 2px, var(--wp--preset--color--pierre) 2px 5px); }
.season__key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1rem; font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); }
.season__key span { display: inline-flex; align-items: center; gap: 0.45rem; }
.season__key i { width: 1rem; height: 1rem; border-radius: 4px; display: inline-block; }

.steps { counter-reset: step; display: grid; gap: 1.25rem; max-width: 46rem; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; min-height: 2.5rem; padding-left: 3.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wp--preset--color--epicea); color: var(--wp--preset--color--calcaire); display: grid; place-items: center; font: 300 1.375rem/1 var(--font-title); }
.steps strong { display: block; font-weight: 500; }
.faq { display: grid; gap: 0.75rem; max-width: 46rem; }
.faq details { background: var(--wp--preset--color--calcaire); border-radius: 16px; box-shadow: var(--shadow-soft); padding: 0 1.25rem; }
.faq summary { min-height: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 200ms ease; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > :not(summary) { margin: 0; padding-bottom: 1rem; color: var(--wp--preset--color--encre-douce); }
.discreet { font-size: 0.9375rem; color: var(--wp--preset--color--encre-douce); max-width: 46rem; }

.form { --field-border: color-mix(in srgb, var(--wp--preset--color--encre-douce) 65%, var(--wp--preset--color--calcaire)); display: grid; gap: 1.25rem; max-width: 36rem; }
.form label { display: grid; gap: 0.4rem; font-weight: 500; }
.form input, .form textarea { font: inherit; padding: 0.8rem 1rem; border: 2px solid var(--field-border); border-radius: 14px; background: var(--wp--preset--color--calcaire); color: var(--wp--preset--color--encre); min-height: var(--target); }
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--wp--preset--color--epicea); box-shadow: 0 0 0 4px rgb(47 90 67 / 18%); }
.form .check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: 0.9375rem; }
.form .check input { flex: none; min-height: 1.5rem; width: 1.5rem; margin-top: 0.1rem; accent-color: var(--wp--preset--color--epicea); }
.form small { font-weight: 400; color: var(--wp--preset--color--encre-douce); }
.cols { display: grid; gap: 2.5rem; }
@media (min-width: 62em) { .cols { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; } }

/* blocks: unverified marker, site cards, topo cards, season list, topo and outing facts, agenda links, takeoff photos, landings, topo variants */
.unverified { display: block; font: 400 0.8125rem/1.3 var(--font-text); color: var(--wp--preset--color--encre-douce); }
.site__alt { text-align: right; }
.site__main { display: grid; gap: 0.75rem; color: inherit; text-decoration: none; }
.site__main::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.site__landings { position: relative; }
.site__landings a, .landing h3 a, .fact span a { display: inline-flex; align-items: center; min-height: var(--target); }
.site__more { --cp-icon-size: 1.25rem; }
.topo-card dt { flex: none; }
.season__scroll + .prose { margin-top: 1rem; }
.wp-block-cp-topo-facts, .wp-block-cp-outing-facts { display: grid; gap: 1rem; }
.wp-block-cp-topo-facts .facts, .wp-block-cp-outing-facts .facts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.agenda strong a { color: inherit; text-decoration: none; }
.agenda strong a:hover { text-decoration: underline; }
.wp-block-cp-site .takeoff-photos { display: grid; gap: 1.5rem; align-items: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.takeoff-photos figure { display: grid; gap: 0.6rem; margin: 0; }
.takeoff-photos img { width: 100%; border-radius: var(--radius); }
.takeoff-photos figcaption { display: grid; gap: 0.15rem; }
.wp-block-cp-site .landings, .wp-block-cp-landings .landings { display: grid; gap: 1.5rem; align-items: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.landing { display: grid; gap: 0.75rem; align-content: start; padding: 1.75rem; background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.landing__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.landing__panel { display: grid; gap: 0.4rem; margin: 0; }
.landing__panel img { max-width: 12rem; border-radius: 8px; }
.wp-block-cp-topo-facts .variants { display: grid; gap: 1rem; margin-top: 1.5rem; }
.variants li .soft { display: block; }
.variants ul { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.variants li { padding: 1rem 1.4rem; background: var(--wp--preset--color--calcaire); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.topo-card dd ul { margin: 0; padding-left: 1.1rem; }

/* templates and patterns: groups laid out by a class are grids or flex rows, so the flow spacing of core is cancelled */
.wp-site-blocks :is(.hero__grid, .hero-wrap, .hero__cards, .hero-photo, .hero-photo__inner, .hero__text, .hero-photo__media, .doors, .door, .facts, .fact, .topos, .respect, .respect__rules, .respect__rule, .respect__text, .respect__media, .teaser, .teaser__text, .teaser__media, .cols, .fiche-hero__grid, .fiche-hero__text, .faq, .rules, .prose, .section__head, .notice, .topo-card, .steps) > * { margin-block: 0; }
.wp-site-blocks :is(.hero, .section, .band) { margin-block: 0; }
.wp-site-blocks :is(.respect__media, .teaser__media) figure { margin: 0; }
.wp-block-group:empty { display: none; }
.article-image img { border-radius: var(--radius-large); box-shadow: var(--shadow-lift); }
.wp-site-blocks .band--wave { margin-block: var(--wave-height); }
.wp-site-blocks .band--wave:last-child { margin-bottom: 0; }
.band--wave:last-child::after { display: none; }
.band--first { padding-top: clamp(2.5rem, 5vw, 4rem); }
.wp-site-blocks .band--first { margin-top: 0; }
.band--first::before { display: none; }
.doors .door h3 { font-size: 1.5rem; }
.wp-site-blocks .respect__rules { margin-top: 1.5rem; }
.wp-site-blocks .respect__rules + * { margin-top: 1.75rem; }
.wp-site-blocks :is(h2, h3) + :is(.steps, .faq) { margin-top: 1.5rem; }
.wp-site-blocks .prose li { margin: 0; }
.topos > li { display: flex; }
.topos > li > .topo-card { flex: 1; align-content: start; }
.wp-site-blocks .prose > h2:not(:first-child) { margin-top: 1.5rem; }
.wp-site-blocks .prose > h3:not(:first-child) { margin-top: 1.25rem; }

/* page hero with a photograph: flat neutral scrim, title on the calm part of the picture */
.page-hero--photo { position: relative; display: grid; align-items: end; min-height: clamp(15rem, 33vh, 28rem); padding: 0; margin: 0; overflow: hidden; color: var(--wp--preset--color--calcaire); }
.page-hero--photo > * + * { margin-top: 0; }
.page-hero--photo .page-hero__photo { position: absolute; inset: 0; margin: 0; }
.page-hero--photo .page-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; display: block; }
.page-hero--photo .page-hero__photo::after { content: ""; position: absolute; inset: 0; background: rgb(22 35 27 / 0.5); }
.page-hero--photo .page-hero__photo figcaption { position: absolute; z-index: 2; right: 1rem; bottom: 0.5rem; margin: 0; max-width: 60%; font-size: 0.8125rem; text-align: right; color: var(--wp--preset--color--calcaire); }
.page-hero--photo .page-hero__photo figcaption, .page-hero--photo .page-hero__photo figcaption a { color: var(--wp--preset--color--calcaire); }
.page-hero--photo .page-hero__photo figcaption a { display: inline; }
.page-hero--photo .page-hero__inner { position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: calc(75rem + 2.5rem); margin-inline: auto; padding: 2rem 1.25rem 2.5rem; }
.page-hero--photo h1, .page-hero--photo .lead { color: var(--wp--preset--color--calcaire); }
.page-hero--photo .lead { margin-top: 0.75rem; }
.page-hero--photo + nav, .page-hero--photo + .wp-block-cp-breadcrumbs { margin-top: 1.25rem; margin-bottom: 1rem; }

/* Wind widgets of the hero: the iframe is drawn at full size and scaled down; the frame is a little taller than the scaled iframe and has the same ground, which leaves room under the time */
.hero__card .embed__frame { --widget-scale: 0.5; --widget-height: 236px; box-sizing: border-box; padding-top: 0.25rem; height: calc(var(--widget-height) * var(--widget-scale) + 1rem); background: var(--wp--preset--color--pierre); border-radius: 16px; }
.hero__card .embed__frame iframe { width: calc(100% / var(--widget-scale)); height: var(--widget-height); transform: scale(var(--widget-scale)); transform-origin: 0 0; border-radius: 0; }

/* Topo cards: the whole card is the link (stretched link on the title), with a picture on top */
.topo-card { position: relative; overflow: hidden; transition: box-shadow 200ms ease, transform 200ms ease; }
.topo-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.topo-card:hover { box-shadow: var(--shadow-lift), 0 0 0 2px var(--wp--preset--color--mousse); }
.topo-card:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--epicea); outline-offset: 2px; }
.topo-card__media { margin: -1.75rem -1.75rem 0.25rem; aspect-ratio: 16 / 10; background: var(--wp--preset--color--pierre); }
.topo-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.topo-card__media--empty { display: grid; place-items: center; color: var(--wp--preset--color--mousse); }
.topo-card__media--empty .cp-icon::before { width: 2.5rem; height: 2.5rem; }
.topo-card > .topo-card__media { margin-block-start: -1.75rem; }
