/* Direction : éditorial miel au soleil — grandes sections jaunes pleines, encre #202020, rayons 16-24 px, vraies personnes. */
h1, h2 { font-weight: 600; letter-spacing: 0; line-height: .98; }
h3 { font-weight: 600; letter-spacing: .005em; font-size: 1.375rem; line-height: 1.2; }
.marque { font-weight: 700; font-size: 1.5rem; letter-spacing: .005em; }
.marque small { font-weight: 500; color: var(--encre-2); letter-spacing: .01em; }
.entete { background: color-mix(in srgb, #fff 96%, transparent); backdrop-filter: none; border-bottom: 0; box-shadow: var(--ombre-douce); }
.menu a { font-weight: 600; letter-spacing: .01em; }
.menu a:hover, .menu a[aria-current] { border-color: var(--jaune); }
.menu-bouton { border-radius: 16px; border: 1.5px solid var(--encre); }
.menu-mobile { background: #fff; }
.menu-mobile a:active { background: var(--jaune); }
.bouton { background: var(--encre); border-color: var(--encre); color: #fff; border-radius: 16px; font-weight: 600; letter-spacing: .01em; padding: 14px 26px; }
.bouton:hover { background: #3b3b3b; border-color: #3b3b3b; }
.bouton-second { background: transparent; color: var(--encre); }
.bouton-second:hover { background: var(--encre); color: #fff; }
.entete .bouton { padding: 10px 20px; }
::selection { background: var(--jaune); color: var(--encre); }
:focus-visible { outline-color: var(--encre); }

/* premier écran */
section.hero[data-slot] { background: var(--jaune); padding: var(--e-4) var(--gouttiere) var(--e-8); }
.hero .contenu { gap: var(--e-4); align-items: center; }
.hero h1 { font-size: var(--t-1); }
.hero-texte p.chapo { color: var(--encre); font-size: 1.25rem; max-width: 42ch; }
.hero-visuel img { border-radius: 24px; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: var(--cadrage, 50% 30%); background: #f0c93f; }
.fournee-carte { position: absolute; left: -12px; bottom: 28px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--ombre-douce); max-width: 80%; font-weight: 600; line-height: 1.3; }
.fournee-carte small { display: block; font-weight: 500; color: var(--encre-2); font-size: .875rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero .fournee-carte { animation: poser 700ms var(--ease-rebond) 900ms both; }
}

/* sections */
.titre-section { display: grid; gap: var(--e-2); margin-bottom: var(--e-6); }
.titre-section p { margin: 0; max-width: 50ch; color: var(--encre-2); }
.comparateur { background: #fff; }
.comparateur .contenu > h2 { margin-bottom: var(--e-2); }
.comp-note { margin: var(--e-2) 0 0; font-size: .9375rem; color: var(--encre-2); }
/* comparateur */
.comparateur-tete { display: grid; gap: var(--e-2); margin-bottom: var(--e-4); }
.comparateur-tete p { margin: 0; }
.comp { --p: 22%; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; border: 1.5px solid var(--encre); user-select: none; }
.vue { position: absolute; inset: 0; container-type: inline-size; overflow: hidden; }
.vue.apres { clip-path: inset(0 0 0 var(--p)); }
.etiq-vue { position: absolute; bottom: 3cqw; z-index: 3; padding: .8cqw 2.4cqw; border-radius: 999px; font: 600 max(11px, 1.9cqw)/1.2 var(--police-texte); }
.avant .etiq-vue { left: 3cqw; background: #222; color: #fff; }
.apres .etiq-vue { right: 3cqw; background: var(--jaune); color: var(--encre); }
.poignee { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: var(--jaune); z-index: 4; pointer-events: none; }
.poignee span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--jaune); border: 2px solid var(--encre); display: grid; place-items: center; transition: transform var(--duree-clic) var(--ease-rebond); }
.poignee svg { width: 26px; height: 26px; }
.comp:hover .poignee span, .comp:focus-within .poignee span { transform: scale(1.08); }
.comp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 5; }
.comp input[type=range]:focus-visible + .poignee span { outline: 3px solid var(--encre); outline-offset: 3px; }
.comp-note { margin: var(--e-2) 0 0; font-size: .9375rem; color: var(--encre-2); }

/* maquette « avant » : site de 2014 */
.avant { background: #f3f3f3; font-family: "Times New Roman", Times, serif; color: #111; }
.avant .barre-nav { background: #dcdcdc; border-bottom: 1px solid #999; padding: 1.2cqw 3cqw; font: 400 max(10px, 1.7cqw)/1.2 Arial, sans-serif; color: #444; padding-left: 14cqw; }
.avant .corps { padding: 4cqw 6cqw; }
.avant .titre-b { text-align: center; font-size: max(20px, 5.2cqw); font-weight: 700; color: #1b3a6b; margin: 2cqw 0 1cqw; line-height: 1.1; }
.avant .vague { text-align: center; color: #c00; font-weight: 700; font-size: max(13px, 2.6cqw); margin-bottom: 2cqw; }
.avant .liens-b { text-align: center; font-size: max(12px, 2.3cqw); margin-bottom: 2.4cqw; color: #1b3a6b; }
.avant .liens-b u { margin: 0 1.2cqw; }
.avant .cols-b { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2cqw; }
.avant .cols-b div { border: 1px solid #aaa; background: #fff; padding: 1.5cqw; font-size: max(10px, 1.8cqw); line-height: 1.3; }
.avant .cols-b .cassee { background: #ddd; color: #4a4a4a; display: grid; place-items: center; min-height: 12cqw; font-family: Arial, sans-serif; }
.avant .pied-b { margin-top: 2.4cqw; text-align: center; font-size: max(10px, 1.6cqw); color: #666; }

/* maquette « après » : la proposition */
.apres { background: var(--fond); font-family: var(--police-texte); color: var(--encre); }
.apres .haut-a { display: flex; justify-content: space-between; align-items: center; background: var(--fond); padding: 2.4cqw 4cqw; border-bottom: 1px solid var(--filet); }
.apres .logo-a { font-weight: 600; font-stretch: 90%; font-size: max(14px, 3cqw); color: var(--encre); letter-spacing: -.03em; }
.apres .nav-a { display: flex; gap: 3cqw; align-items: center; font-size: max(10px, 1.8cqw); font-weight: 500; }
.apres .heros-a { height: 40cqw; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--encre); color: var(--fond); }
.apres .heros-a div { padding: 3cqw 4cqw; align-self: center; }
.apres .heros-a .gros { margin: 0 0 2.2cqw; font: 400 max(24px, 7.4cqw)/.9 var(--police-titre); font-stretch: 88%; letter-spacing: -.035em; }
.apres .heros-a p { margin: 0 0 3cqw; font-size: max(11px, 2cqw); max-width: 32ch; }
.apres .heros-a img { width: 100%; height: 40cqw; object-fit: cover; border-radius: 0; background: #0b5a4d; }
.apres .prix-a { display: flex; gap: 4cqw; padding: 3cqw 4cqw; font-size: max(10px, 1.9cqw); background: var(--mist); }
.apres .prix-a span { flex: 1; border-top: 1.5px solid var(--encre); padding-top: 1cqw; font-weight: 600; }
.apres .prix-a span small { display: block; font-weight: 400; }

.comp { border: 0; border-radius: 24px; box-shadow: var(--ombre-douce); }
.poignee span { border-color: var(--encre); }

/* maquette « avant » : site de 2014 */
.avant { background: #f3f3f3; font-family: "Times New Roman", Times, serif; color: #111; }
.avant .barre-nav { background: #dcdcdc; border-bottom: 1px solid #999; padding: 1.2cqw 3cqw 1.2cqw 14cqw; font: 400 max(10px, 1.7cqw)/1.2 Arial, sans-serif; color: #444; }
.avant .corps { padding: 3.4cqw 6cqw; }
.avant .titre-b { text-align: center; font-size: max(18px, 4.4cqw); font-weight: 700; color: #1b3a6b; margin: 1cqw 0 1cqw; line-height: 1.1; }
.avant .vague { text-align: center; color: #333; font-size: max(13px, 2.5cqw); margin-bottom: 2cqw; }
.avant .liens-b { text-align: center; font-size: max(12px, 2.3cqw); margin-bottom: 2.4cqw; color: #1b3a6b; }
.avant .liens-b u { margin: 0 1.2cqw; }
.avant .cols-b { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2cqw; }
.avant .cols-b div { border: 1px solid #aaa; background: #fff; padding: 1.5cqw; font-size: max(10px, 1.8cqw); line-height: 1.3; }
.avant .cols-b .cassee { background: #ddd; color: #4a4a4a; display: grid; place-items: center; min-height: 12cqw; font-family: Arial, sans-serif; }
.avant .pied-b { margin-top: 2.4cqw; text-align: center; font-size: max(10px, 1.6cqw); color: #555; }

/* maquette « après » */
.apres { background: #fff; font-family: var(--police-texte); color: var(--encre); }
.apres .haut-a { display: flex; justify-content: space-between; align-items: center; padding: 2.4cqw 4cqw; box-shadow: var(--ombre-douce); position: relative; z-index: 1; }
.apres .logo-a { font-weight: 700; font-size: max(14px, 2.8cqw); }
.apres .nav-a { display: flex; gap: 3cqw; align-items: center; font-size: max(10px, 1.8cqw); font-weight: 600; }
.apres .nav-a b { background: var(--encre); color: #fff; padding: 1cqw 2.4cqw; border-radius: 1.4cqw; font-weight: 600; }
.apres .heros-a { height: 42cqw; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--jaune); color: var(--encre); gap: 3cqw; padding: 3cqw 4cqw; align-items: center; }
.apres .heros-a .gros { margin: 0 0 2cqw; font: 600 max(22px, 6.6cqw)/.98 var(--police-titre); }
.apres .heros-a p { margin: 0 0 2.6cqw; font-size: max(11px, 2cqw); max-width: 30ch; color: var(--encre); }
.apres .heros-a .cta-a { display: inline-block; background: var(--encre); color: #fff; border-radius: 1.4cqw; padding: 1.4cqw 3.2cqw; font-weight: 600; font-size: max(10px, 1.9cqw); }
.apres .heros-a img { width: 100%; height: 36cqw; object-fit: cover; border-radius: 2.4cqw; background: #f0c93f; }
.apres .prix-a { display: flex; gap: 3cqw; padding: 3cqw 4cqw; font-size: max(10px, 1.9cqw); }
.apres .prix-a span { flex: 1; background: var(--mist); border-radius: 1.6cqw; padding: 1.4cqw 2cqw; font-weight: 600; }
.apres .prix-a span small { display: block; font-weight: 500; color: var(--encre-2); }

/* ce qui change */
.bilan { list-style: none; margin: var(--e-6) 0 0; padding: 0; display: grid; gap: 12px; }
.bilan li { display: grid; gap: 4px var(--e-3); background: var(--mist); border-radius: 16px; padding: 20px 24px; align-items: baseline; }
.bilan b { font-size: 1.1875rem; font-weight: 600; }
.bilan .non { color: var(--encre-2); }
.bilan .oui { color: var(--encre); font-weight: 500; }

/* pains : ardoise sur bande jaune pleine */
.pains { background: var(--jaune); }
.pains .titre-section p { color: var(--encre); }
.liste-pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.liste-pains li { background: #fff; border-radius: 24px; padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 6px var(--e-3); align-items: baseline; box-shadow: var(--ombre-douce); }
.liste-pains h3 { font-size: 1.5rem; }
.liste-pains .prix { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.liste-pains p { grid-column: 1 / -1; margin: 0; color: var(--encre-2); max-width: 62ch; }

.galerie { background: #fff; }
.galerie h2 { margin-bottom: var(--e-4); }
.mosaique li { border-radius: 24px; }
.mosaique img { background: #ececec; }

.zone { background: var(--mist); color: var(--encre); }
.zone h2, .zone h3 { color: var(--encre); }
.zone .horaires li { border-bottom: 1px solid #cfcfcf; }
.zone .horaires li span:first-child { font-weight: 600; }
.zone .horaires li.ferme span:last-child { color: var(--encre-2); }
.zone a { text-decoration-color: var(--encre); }
.acces { list-style: none; margin: var(--e-2) 0 0; padding: 0; display: grid; gap: 10px; }
.acces li { background: #fff; border-radius: 16px; padding: 14px 18px; }
.annuel { margin-top: var(--e-3); background: var(--jaune); border-radius: 16px; padding: 14px 18px; font-weight: 600; max-width: 520px; }

.faq-liste { max-width: 820px; }
.faq-liste details { border-bottom: 1px solid #dcdcdc; }
.faq-liste summary { font-weight: 600; font-size: 1.1875rem; }
.faq-liste summary::after { color: var(--encre); }
.faq-liste { border-top: 1px solid #dcdcdc; }

section.contact { background: var(--jaune); }
.contact .formulaire { background: #fff; border: 0; border-radius: 24px; padding: var(--e-4); box-shadow: var(--ombre-douce); }
.formulaire input, .formulaire textarea, .formulaire select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--encre); border-radius: 12px; background: #fff; color: var(--encre); min-height: 48px; width: 100%; }
.formulaire input:focus, .formulaire textarea:focus, .formulaire select:focus { outline: 2px solid var(--encre); outline-offset: 2px; box-shadow: none; }
.formulaire .confirmation { background: var(--encre); color: #fff; border-radius: 12px; }
.coordonnees { margin-top: var(--e-3); font-size: 1.125rem; }
.contact .liste-retrait { list-style: none; margin: var(--e-3) 0 0; padding: 0; display: grid; gap: 8px; }
.contact .liste-retrait li { background: rgba(255, 255, 255, .55); border-radius: 12px; padding: 12px 16px; }
.pied { background: #fff; padding-bottom: var(--e-8); }

.barre-mobile { position: fixed; inset: auto 0 0 0; z-index: 30; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 8px rgba(32, 32, 32, .12); display: flex; gap: 10px; transition: transform 240ms var(--ease-sortie); }
.barre-mobile .bouton { flex: 1; white-space: nowrap; padding-inline: 12px; }
.barre-mobile .bouton:first-child { flex: 1.6; }
.barre-mobile[data-cachee] { transform: translateY(110%); }
body { padding-bottom: 72px; }

@media (min-width: 700px) {
  .barre-mobile { display: none; }
  body { padding-bottom: 0; }
  .hero .contenu { grid-template-columns: 1.15fr .85fr; }
  .hero-visuel img { max-height: 76vh; }
  .comp { aspect-ratio: 16 / 10; }
  .titre-section { grid-template-columns: 1fr 1fr; align-items: end; }
  .bilan li { grid-template-columns: .8fr 1fr 1fr; }
  .zone .contenu { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
  .liste-pains { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 699px) {
  .marque { font-size: 1.25rem; white-space: nowrap; }
  .marque small { font-size: .6875rem; }
  section.hero[data-slot] { padding-top: var(--e-2); }
  .hero-visuel { order: -1; }
  .hero-visuel img { aspect-ratio: 5 / 4; --cadrage: 50% 24%; }
  .hero h1 { font-size: 2.75rem; }
  .fournee-carte { bottom: 12px; left: -4px; padding: 10px 14px; font-size: .9375rem; }
  .comp { aspect-ratio: 1 / 1; }
  .apres .heros-a { grid-template-columns: 1fr; height: 62cqw; }
  .apres .heros-a img { display: none; }
  .apres .heros-a .gros { font-size: 9cqw; }
  .apres .nav-a span { display: none; }
  .avant .cols-b { grid-template-columns: 1fr; }
  .avant .cols-b .cassee { display: none; }
}

/* 390 px : la carte « prochaine fournée » (ou « Fermé aujourd'hui ») passe sous la photo au lieu de la recouvrir */
@media (max-width: 699px) {
  .fournee-carte { position: static; max-width: none; margin: 12px 0 0; }
}
