/* ==========================================================================
   Marché Floral — « l'horloge »
   Les fleuristes surnomment le marché « l'horloge » (encan à vente régressive).
   Le cadran est l'unique élément fort ; le reste est calme : vert de marque en haut,
   blanc et papier au milieu, rouge en pied de page.
   ========================================================================== */
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --green: #828C3F;     /* couleur principale (guide 2022) */
  --forest: #427B52;    /* vert lisible sur fond clair (contraste AA) */
  --red: #A2283A;       /* accent : pied de page et lumière du cadran */
  --paper: #F7F3ED;     /* fond des pages du guide */
  --mist: #E6E8D9;      /* teinte verte la plus pâle */
  --ink: #4D4D4D;       /* gris de marque */
  --ink-strong: #333333;
  --white: #FFFFFF;
  --rule: rgba(77, 77, 77, .18);
  /* Couleurs des familles (brochure) */
  --c-fleurs: #60861B; --c-potees: #BB3B6A; --c-tropicales: #89113F; --c-accessoires: #3C9039;
  --font: quasimoda, "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 120px);
  --overlap: clamp(110px, 10vw, 150px);     /* débordement de l'horloge d'accueil */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, table { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; border-radius: 24px; background: var(--white); color: var(--forest); font-weight: 700; }
.skip-link:focus { top: 16px; }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Typographie ---------- */
.title { font-size: clamp(36px, 4.2vw, 56px); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; color: var(--green); }
.title--sm { font-size: clamp(28px, 2.8vw, 36px); }
.lede, .lede p { font-size: 21px; line-height: 1.55; color: var(--ink-strong); }
.lede p + p { margin-top: .8em; }
.prose > * + * { margin-top: 1em; }
.columns .prose h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.025em; }
.columns .prose h2 + * { margin-top: 24px; }
.prose h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--green); }
.prose h3 { font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--ink-strong); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--forest); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose ul { padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li + li { margin-top: 6px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--green)); }
.prose ol { padding-left: 1.3em; }
.prose img { border-radius: 20px; }
.prose--page { max-width: 46em; }

/* ---------- Boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 0; border-radius: 27px; font: 700 18px/1.1 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.btn--white { background: var(--white); color: var(--forest); }
.btn--white:hover { background: var(--mist); }
.btn--green { background: var(--green); color: var(--white); font-size: 19px; } /* 19 px gras = texte « large » (WCAG) sur le vert */
.btn--green:hover { background: var(--forest); }
.link { font-weight: 700; color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { color: var(--green); }

/* ---------- En-tête (sur le vert) ---------- */
.top { position: relative; z-index: 20; background: var(--green); color: var(--white); }
.bar { display: flex; align-items: center; gap: 40px; height: 100px; }
.bar__logo { flex: none; }
.bar__logo img { width: 180px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 28px; padding: 0; list-style: none; font-size: 16px; font-weight: 500; }
.nav__list > li { position: relative; }
.nav__list a { display: inline-flex; align-items: center; gap: 6px; padding-block: 10px; text-decoration: none; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav__list .icon { width: 20px; height: 20px; }
/* Élément « Connectez-vous » : classe CSS « connexion » dans Apparence > Menus */
.nav__list .connexion > a, .mobile-panel__list .connexion > a { min-height: 46px; padding: 0 22px; border-radius: 23px; background: var(--white); color: var(--forest); font-weight: 700; text-decoration: none; }
.nav__list .connexion > a:hover { background: var(--mist); text-decoration: none; }
/* Sélecteur de langue WPML */
.nav__list .wpml-ls-item a { font-weight: 600; }
.nav__list .wpml-ls-item .wpml-ls-flag { display: none; }
/* Sous-menus */
.nav__list .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 220px; padding: 10px 0; list-style: none; background: var(--white); color: var(--ink-strong); border-radius: 16px; box-shadow: 0 18px 40px rgba(30, 34, 14, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { display: block; padding: 8px 16px; }

.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 600; font-size: 17px; cursor: pointer; }
.menu-btn__close, .menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }
.mobile-panel { border-top: 1px solid rgba(255, 255, 255, .3); padding-block: 12px 32px; }
.mobile-panel__list { padding: 0; list-style: none; }
.mobile-panel__list a { display: block; padding: 12px 0; font-size: 22px; font-weight: 500; text-decoration: none; }
.mobile-panel__list .sub-menu { padding-left: 18px; list-style: none; }
.mobile-panel__list .sub-menu a { font-size: 18px; }
.mobile-panel__list .connexion > a { display: inline-flex; align-items: center; margin-top: 12px; font-size: 18px; }
.mobile-panel .social { margin-top: 20px; }

.social { display: flex; gap: 8px; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.social a:hover { background: rgba(255, 255, 255, .15); }
.social .icon { width: 20px; height: 20px; }

/* ---------- Haut de page vert + horloge ---------- */
/* Le bas du vert est fixé par l'horloge (elle déborde toujours d'autant) ; le texte a sa propre marge en bas. */
.hero { background: var(--green); color: var(--white); padding-block: clamp(24px, 4vw, 56px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
/* Texte et horloge partent de la même ligne sur toutes les pages : l'horloge est toujours au même niveau */
.hero__text { padding-block: clamp(8px, 1.5vw, 24px) clamp(24px, 2.2vw, 32px); }
.hero__title { font-size: clamp(44px, 5.3vw, 76px); font-weight: 300; line-height: 1; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero__title span { font-weight: inherit; }
.hero__lede { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; max-width: 21em; }
.hero__lede a { color: inherit; }
.hero__lede + .btn, .hero__cta { margin-top: 36px; }
/* Diapositives superposées : la hauteur reste celle de la plus longue, rien ne bouge au changement */
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; transition: opacity .5s ease, visibility .5s; }
.hero__slide.is-hidden { opacity: 0; visibility: hidden; }
.hero__title--long { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.03em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.hero__actions:empty, .hero__buttons:empty { display: none; }
.hero__buttons { display: grid; }
.hero__buttons > .btn { grid-area: 1 / 1; justify-self: start; transition: opacity .5s ease, visibility .5s; }
.hero__buttons > .is-hidden { opacity: 0; visibility: hidden; }
.hero__pager { display: flex; gap: 2px; }
.hero__pager button, .dots button { width: 40px; height: 40px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.hero__pager span[aria-hidden], .dots span[aria-hidden] { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background-color .2s; }
.hero__pager [aria-current] span[aria-hidden] { background: var(--white); }

.hero--plain { padding-block: clamp(48px, 6vw, 88px); }
.hero--plain .hero__title { margin-bottom: 20px; }

.clock { position: relative; width: min(100%, 640px); aspect-ratio: 1; justify-self: end; align-self: start; margin-bottom: calc(-1 * var(--overlap)); z-index: 2; }
/* Même horloge, même taille, même position sur toutes les pages */
.clock__face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 40px rgba(40, 46, 20, .18)); }
.clock__photo { position: absolute; inset: 13%; width: 74%; height: 74%; border-radius: 50%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.clock__photo.is-active { opacity: 1; }
.clock__photo--logo { object-fit: contain; padding: 12%; background: var(--white); }
.clock__status { font: 600 3.3px var(--font); letter-spacing: .03em; fill: var(--forest); }
/* Cadran des produits : quatre quarts, chacun avec sa famille */
.clock__quad { position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--white); }
.clock__quad-cell { background: var(--c); }
.clock__quad img { width: 100%; height: 100%; object-fit: cover; }
/* Cadran des heures */
.clock__center { position: absolute; inset: 22%; border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--ink); }
.clock__center strong { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; letter-spacing: -0.02em; color: var(--green); line-height: 1.1; }
.clock__center span { font-size: 16px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.on-white + .section.on-white { padding-top: 0; }
.history--bare.on-white + .section { padding-top: clamp(56px, 6vw, 88px); }
/* La section qui suit l'horloge lui laisse la place */
.hero + .section { padding-top: calc(var(--overlap) + 48px); }
.hero + .tucks, .hero--page + .tucks { padding-top: clamp(64px, 7vw, 88px); }
.hero + .tucks .section__head { max-width: 46%; }
.hero--plain + .section { padding-top: var(--section); }

/* ---------- Cadrans (anneaux de lumières) ---------- */
.fam--fleurs { --c: var(--c-fleurs); } .fam--potees { --c: var(--c-potees); }
.fam--tropicales { --c: var(--c-tropicales); } .fam--accessoires { --c: var(--c-accessoires); }
.fam--brand { --c: var(--green); } .fam--red { --c: var(--red); }
.dial { position: relative; display: block; aspect-ratio: 1; }
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__ring circle { fill: var(--c, var(--green)); opacity: .5; transition: opacity .25s ease; transition-delay: calc(var(--i, 0) * 14ms); }
.product:hover .dial__ring circle, .product:focus-visible .dial__ring circle, .dial--on .dial__ring circle { opacity: 1; }
.dial__disc { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: var(--c, var(--mist)); }
.dial__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.dial__photo--cover { object-fit: cover; }
.dial__disc .dial__photo[data-slide-photo] { opacity: 0; transition: opacity .5s ease; }
.dial__disc .dial__photo.is-active { opacity: 1; }
.seal { position: absolute; inset: 9%; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 18px 40px rgba(40, 46, 20, .12); }
.seal img { width: 66%; }

/* ---------- Nos produits ---------- */
.products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; list-style: none; }
.product { display: block; text-align: center; text-decoration: none; color: var(--ink); }
.product__name { display: block; margin-top: 22px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
a.product:hover .product__name { color: var(--forest); }

/* ---------- Présentation / entreprise (sceau) ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__grid--text { grid-template-columns: minmax(0, 1fr); max-width: 52em; }
.about__text { margin: 24px 0 20px; max-width: 32em; }
.seal-dial { width: min(100%, 440px); justify-self: center; }

/* ---------- Mission ---------- */
.mission__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.mission__grid--photo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.mission__list { margin-top: 24px; }
.mission__grid:not(.mission__grid--photo) .mission__list { margin-top: 0; }
.mission__photo { width: min(100%, 420px); justify-self: center; }

/* ---------- L'histoire en photos ---------- */
.history__mosaic { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); background: var(--green); }
.history__tile { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .6s ease, filter .6s ease; }
.history__mosaic--single { grid-template-columns: 1fr; }
.history__mosaic--single .history__tile { aspect-ratio: 3 / 1; min-height: 360px; }
.history__mosaic.is-armed .history__tile { opacity: .2; filter: grayscale(.7); }
.history__mosaic.is-armed .history__tile.is-lit { opacity: 1; filter: none; }
/* Le cadran se mesure en pourcentage de la mosaïque (environ 1,4 photo de large) : il ne cache jamais plus
   que le centre, quelle que soit la taille de l'écran. Le texte suit la taille du cadran. */
.history__dial { position: absolute; left: 50%; top: 50%; width: calc(140% / var(--cols, 6)); transform: translate(-50%, -50%); --c: var(--white); container-type: inline-size; }
.history__mosaic--single .history__dial { width: min(40%, 320px); }
.history__face { position: absolute; inset: 8%; border-radius: 50%; background: var(--white); display: grid; place-content: center; padding: 14%; text-align: center; box-shadow: 0 20px 48px rgba(30, 34, 14, .28); }
.history__title { font-size: clamp(13px, 9.5cqi, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--green); }
.history__since { display: block; font-size: clamp(11px, 6.5cqi, 24px); font-weight: 600; letter-spacing: 0; color: var(--ink-strong); }
.history__year { display: block; margin-top: 4px; font-size: clamp(28px, 27cqi, 112px); font-weight: 300; line-height: .9; letter-spacing: -0.045em; }
.history__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); padding-block: clamp(56px, 6vw, 88px) var(--section); }
.history__aside p { font-style: italic; margin-bottom: 28px; }

/* ---------- Ligne du temps : les lumières du cadran déroulées en ligne ---------- */
.timeline__head { margin-bottom: 48px; }
.timeline__track { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin: 0; padding: 40px 0 0; list-style: none; }
.timeline__track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; background-image: radial-gradient(circle, var(--green) 1.6px, transparent 2px); background-size: 12px 4px; background-repeat: repeat-x; opacity: .55; }
.timeline__track li { position: relative; }
.timeline__track li::before { content: ""; position: absolute; top: -41px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--white); }
.timeline__track li:last-child::before { background: var(--red); box-shadow: 0 0 0 5px var(--white), 0 0 0 7px rgba(162, 40, 58, .3); }
.timeline__year { display: block; font-size: clamp(40px, 4.4vw, 60px); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--green); margin-bottom: 14px; }
.timeline__track h3 { font-size: 21px; font-weight: 600; color: var(--ink-strong); margin-bottom: 8px; }

/* ---------- Citation ---------- */
.quote { background: var(--green); color: var(--white); }
.quote blockquote p { max-width: 22em; font-size: clamp(30px, 3.6vw, 48px); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 24px; font-size: 18px; font-weight: 600; }

/* ---------- Liste à cadrans ---------- */
.ways-section--papier { background: var(--paper); }
.ways-section--vert-pale { background: var(--mist); }
.ways__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ways__grid .lede { max-width: 30em; margin-top: 24px; }
.ways__cta { margin-top: 32px; }
.ways { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.ways li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.ways strong { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-strong); line-height: 1.25; }
.ways span { display: block; margin-top: 6px; font-size: 17px; }
.ways svg { width: 56px; height: 56px; }

/* ---------- Colonnes libres + vidéo ---------- */
.columns__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.columns__grid--2 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.columns__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.columns__grid--1 > .prose { max-width: 46em; }
.columns iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 28px; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: #2b2b2b; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s ease; }
.video::after { content: ""; position: absolute; inset: 0; background: rgba(32, 38, 16, .28); }
.video:hover img { transform: scale(1.03); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
.video.is-playing::after { display: none; }
.play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 144px; aspect-ratio: 1; transform: translate(-50%, -50%); }
.play > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.play__btn { position: absolute; inset: 22%; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.play__btn svg { width: 34%; height: auto; margin-left: 7%; fill: var(--forest); }

/* ---------- Familles de produits ---------- */
.family { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.family:last-child { border-bottom: 0; padding-bottom: 0; }
.family:nth-of-type(even) .family__media { order: 2; }
.family__media { width: min(100%, 420px); justify-self: center; }
.family__title { font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: var(--c); margin-bottom: 16px; }
.family .prose { max-width: 32em; }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
.dots span[aria-hidden] { background: var(--c); opacity: .35; }
.dots [aria-current] span[aria-hidden] { opacity: 1; }

/* ---------- Livraison ---------- */
.shipping__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.shipping__grid--text { grid-template-columns: minmax(0, 1fr); max-width: 46em; }
.shipping__photo { width: min(100%, 380px); justify-self: center; }
.shipping__subtitle { margin-top: 20px; }
.shipping__text { margin-top: 16px; max-width: 34em; }

/* ---------- Devenir client / fournisseur ---------- */
.join__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Colonnes en flex : le bouton se cale en bas, à la même hauteur des deux côtés */
.join__col { display: flex; flex-direction: column; align-items: flex-start; padding-block: 8px; }
.join__col + .join__col { border-left: 1px solid var(--rule); padding-left: clamp(32px, 6vw, 96px); }
.join__col:first-child { padding-right: clamp(32px, 6vw, 96px); }
.join__col .title { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 18px; }
.join__col p { max-width: 28em; margin-bottom: 20px; }
.join__col .checks { margin-bottom: 32px; }
.join__col > .btn, .join__col > .link { margin-top: auto; }
.join--compact { padding-block: clamp(48px, 6vw, 80px); }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 24px; margin-bottom: 8px; font-weight: 600; color: var(--ink-strong); }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
/* Points à compléter : visibles seulement par les éditeurs connectés */
.todo { margin-bottom: 12px; padding: 6px 12px; border: 1.5px dashed var(--red); border-radius: 12px; background: var(--white); color: var(--red); font-size: 14px !important; font-weight: 700; }
.checks--todo li { opacity: .65; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.coords { margin: 0 0 40px; padding: 0; list-style: none; font-size: 19px; line-height: 1.5; color: var(--ink-strong); }
.coords li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.coords .icon { margin-top: 3px; color: var(--green); }
.coords a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.coords .link { display: inline-block; margin-top: 6px; font-size: 17px; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--green); padding-bottom: 12px; }
.hours th, .hours td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--rule); font-size: 17px; }
.hours th { font-weight: 600; color: var(--ink-strong); padding-left: 0; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--green); color: var(--white); }
.hours tr.is-today th { color: var(--white); padding-left: 12px; }
.hours tr.is-today th, .hours tr.is-today td { border-bottom-color: var(--green); font-size: 19px; font-weight: 700; } /* 19 px gras sur le vert */
.hours__note { margin-top: 12px; font-size: 16px; }
.map-wrap { padding-bottom: var(--section); }
.map { position: relative; height: clamp(380px, 40vw, 540px); border-radius: 32px; overflow: hidden; background: var(--mist); }
.map__frame { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.6); }
/* Cadran des heures posé sur la carte, centré sur le marché ; ne bloque pas la carte */
.map__ring { position: absolute; left: 50%; top: 50%; height: 84%; width: auto; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .45)); }
.map__cta { position: absolute; left: 20px; bottom: 20px; box-shadow: 0 8px 20px rgba(30, 34, 14, .25); }

/* Formulaire (Contact Form 7 ou HTML standard) */
.form { background: var(--paper); border-radius: 32px; padding: clamp(28px, 4vw, 48px); }
.form .title { margin-bottom: 24px; }
.form p { margin-bottom: 18px; }
.form label { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--ink-strong); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form input[type="number"], .form select, .form textarea {
  width: 100%; min-height: 52px; margin-top: 6px; padding: 12px 18px; border: 1.5px solid rgba(77, 77, 77, .35); border-radius: 26px; background: var(--white); font-size: 17px; color: var(--ink); }
.form textarea { min-height: 150px; border-radius: 22px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form input[type="submit"], .form button[type="submit"] { min-height: 54px; padding: 0 30px; border: 0; border-radius: 27px; background: var(--green); color: var(--white); font-weight: 700; font-size: 19px; cursor: pointer; }
.form input[type="submit"]:hover, .form button[type="submit"]:hover { background: var(--forest); }
.form .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--red); font-size: 15px; font-weight: 600; }
.form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 16px !important; border-radius: 16px; border-width: 1.5px !important; }
.form .wpcf7-spinner { vertical-align: middle; }

/* ---------- Annonce (dialog) ---------- */
.notice { width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 28px; overflow: hidden; color: var(--ink); box-shadow: 0 30px 80px rgba(20, 24, 10, .35); }
.notice::backdrop { background: rgba(40, 46, 20, .55); }
.notice__close-form { position: absolute; top: 14px; right: 14px; z-index: 1; }
.notice__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink-strong); cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.notice__image { width: 100%; max-height: 300px; object-fit: cover; }
.notice__body { padding: 32px clamp(24px, 5vw, 40px) 36px; }
.notice__body .title { margin-bottom: 14px; padding-right: 40px; }
.notice__image + .notice__body .title { padding-right: 0; }

/* ---------- Pied de page ---------- */
.foot { background: var(--red); color: var(--white); padding-top: clamp(64px, 7vw, 88px); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 0.9fr; gap: 40px; padding-bottom: 64px; }
.foot__logo img { width: 210px; }
.foot__brand .social { margin-top: 24px; }
.foot h2 { font-size: 15px; font-weight: 700; margin-bottom: 12px; opacity: .85; }
.foot p, .foot li { font-size: 17px; line-height: 1.6; }
.foot p + p { margin-top: 8px; }
.foot__list { margin: 0; padding: 0; list-style: none; }
.foot__list + .foot__list { margin-top: 12px; }
.foot a { text-decoration: none; }
.foot a:hover, .foot__more { text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { border-top: 1px solid rgba(255, 255, 255, .3); padding-block: 22px 30px; font-size: 14px; opacity: .9; }

/* ---------- Réactif ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .bar { height: 80px; }
  .bar__logo img { width: 150px; }
}
@media (max-width: 900px) {
  .hero__grid, .hero--page .hero__grid { grid-template-columns: 1fr; }
  .clock, .clock--sm { order: -1; justify-self: center; width: min(100%, 420px); margin-bottom: 0; }
  .hero + .section, .hero--page + .section { padding-top: var(--section); }
  .hero + .tucks, .hero--page + .tucks { padding-top: clamp(56px, 12vw, 72px); }
  .hero + .tucks .section__head { max-width: none; }
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; margin-top: 40px; }
  .about__grid, .mission__grid, .mission__grid--photo, .ways__grid, .columns__grid--2, .columns__grid--3, .history__body, .contact__grid, .shipping__grid, .family { grid-template-columns: 1fr; }
  .family:nth-of-type(even) .family__media { order: 0; }
  .family__media, .shipping__photo, .mission__photo { width: min(100%, 320px); }
  .history__mosaic { grid-template-columns: repeat(var(--cols-sm, 4), minmax(0, 1fr)); }
  .history__dial { width: calc(170% / var(--cols-sm, 4)); }
  .timeline__track { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; }
  .timeline__track::before { left: 7px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; background-size: 4px 12px; background-repeat: repeat-y; }
  .timeline__track li::before { top: 4px; left: -41px; }
  .join__grid { grid-template-columns: 1fr; }
  .join__col + .join__col { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 48px; margin-top: 48px; }
  .join__col:first-child { padding-right: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .clock__status { font-size: 4.4px; }
  .hero__lede { font-size: 21px; }
  .product__name { font-size: 19px; }
  .ways li { grid-template-columns: 44px 1fr; gap: 18px; }
  .ways svg { width: 44px; height: 44px; }
  .ways strong { font-size: 21px; }
  .play { width: 104px; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.history__body--plain { padding: 32px 0 0; }
/* Page sans autre section : l'horloge ne déborde pas sur le pied de page */
main > .hero:last-child .clock { margin-bottom: 0; }
@media (max-width: 900px) { .hero__text { padding-top: 0; } }
/* Section juste sous l'horloge : sa photo part du haut pour ne pas coller au cadran */
.hero + .about .about__grid { align-items: start; }
/* Deux sections de même fond qui se suivent : pas de double espace */
.section--paper + .section--paper, .section--mist + .section--mist { padding-top: 0; }
