/* Le Pétrin Bleu : blanc farine, bleu cobalt des carreaux, jaune beurre */
:root {
  --paper: #FAF8F3;
  --paper-2: #F1EEE6;
  --ink: #15213D;
  --muted: #56607A;
  --cobalt: #2447D5;
  --cobalt-deep: #172F94;
  --butter: #F5C443;
  --line: rgb(21 33 61 / .14);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
::selection { background: var(--cobalt); color: #fff; }
em { font-style: normal; color: var(--cobalt); }

/* Boutons */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--cobalt); color: #fff; font-weight: 600;
  box-shadow: 0 14px 30px -14px rgb(36 71 213 / .7);
  transition: transform .5s var(--ease), background-color .3s, box-shadow .5s var(--ease);
}
.pill:hover { background: var(--cobalt-deep); transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgb(36 71 213 / .8); }
.pill--sm { padding: 11px 20px; box-shadow: none; }
.pill--dark { background: var(--ink); box-shadow: none; }
.pill--dark:hover { background: var(--cobalt); }
.link { font-weight: 600; border-bottom: 2px solid var(--butter); padding-bottom: 2px; transition: border-color .3s; }
.link:hover { border-color: var(--cobalt); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.kicker--light { color: var(--butter); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -.02em; }

/* En-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, box-shadow .4s; }
.top.scrolled { background: rgb(250 248 243 / .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top__in { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.01em; }
.brand span { color: var(--cobalt); }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 15.5px; }
.nav a:not(.pill) { position: relative; }
.nav a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--butter); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:not(.pill):hover::after { transform: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 132px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { margin: 18px 0 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 1.4rem + 5.6vw, 6.6rem); line-height: .98; letter-spacing: -.035em; }
.hero__lead { max-width: 30em; font-size: 1.15rem; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.facts { display: flex; gap: clamp(22px, 4vw, 48px); margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.facts dd { margin-top: 6px; font-size: 14px; color: var(--muted); }
.hero__img { position: relative; }
.hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; border-radius: 220px 220px 28px 28px; }
.badge { position: absolute; left: -46px; bottom: 42px; width: 150px; height: 150px; animation: spin 22s linear infinite; }
.badge circle { fill: var(--butter); }
.badge text { font: 700 13.2px var(--sans); letter-spacing: .16em; fill: var(--ink); }
.badge__star { fill: var(--cobalt); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pains */
.breads { padding: clamp(80px, 10vw, 140px) 0; }
.head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.head p { color: var(--muted); max-width: 36ch; justify-self: end; }
.band { margin: 48px 0 56px; }
.band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 28px; }
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 64px; }
.menu li { display: flex; align-items: flex-end; gap: 14px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.menu h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.menu p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.menu .dots { flex: 1; }
.menu b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--cobalt); white-space: nowrap; }

/* Viennoiseries : bloc cobalt */
.vien { background: var(--cobalt); color: #fff; padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.vien::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .07) 2px, transparent 2px), linear-gradient(90deg, rgb(255 255 255 / .07) 2px, transparent 2px); background-size: 72px 72px; pointer-events: none; }
.vien__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.vien__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 28px 28px; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .5); }
.vien em { color: var(--butter); }
.vien .h2 { margin: 14px 0 22px; }
.vien__txt > p { color: rgb(255 255 255 / .85); max-width: 40ch; font-size: 1.1rem; }
.vien__list { margin-top: 34px; border-top: 1px solid rgb(255 255 255 / .25); }
.vien__list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .25); font-weight: 500; }
.vien__list b { font-family: var(--serif); font-weight: 400; color: var(--butter); }

/* La maison */
.house { padding: clamp(80px, 10vw, 140px) 0; }
.house__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.house__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.quote { font-family: var(--serif); font-size: clamp(1.7rem, 1rem + 2vw, 2.6rem); line-height: 1.2; letter-spacing: -.015em; }
.sign { margin: 20px 0 26px; font-weight: 700; color: var(--cobalt); }
.house__txt > p:not(.sign) { color: var(--muted); max-width: 46ch; }
.house__inset { margin-top: 36px; width: min(260px, 60%); }
.house__inset img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--paper-2); }

/* Commander */
.order { padding-bottom: clamp(80px, 10vw, 140px); }
.order__card { background: var(--butter); border-radius: 36px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; align-items: center; }
.order__card em { color: var(--cobalt-deep); }
.steps { display: grid; gap: 18px; grid-row: span 2; }
.steps li { display: flex; gap: 18px; align-items: center; font-size: 1.1rem; font-weight: 500; }
.steps b { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--butter); font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.order__card .pill { justify-self: start; }

/* Horaires */
.hours { padding: 0 0 clamp(80px, 10vw, 130px); }
.hours__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.table { margin-top: 26px; }
.table div { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.table dt { color: var(--muted); }
.table dd { font-weight: 600; }
.addr { margin-top: 26px; font-family: var(--serif); font-size: 1.8rem; line-height: 1.25; }
.note { margin-top: 14px; color: var(--muted); }

/* Pied */
.foot { background: var(--ink); color: #fff; padding: 64px 0 90px; overflow: hidden; }
.foot__brand { font-family: var(--serif); font-size: clamp(3.4rem, 12vw, 11rem); line-height: .9; letter-spacing: -.04em; }
.foot__brand span { color: var(--cobalt); }
.foot__meta { margin-top: 24px; color: rgb(255 255 255 / .6); font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; background: var(--paper); font-family: var(--serif); font-size: 2rem; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav .pill { font-family: var(--sans); font-size: 1rem; }
  .burger { display: block; }
  .hero { padding-top: 110px; }
  .hero__grid, .vien__grid, .house__grid, .hours__grid, .order__card, .head { grid-template-columns: 1fr; }
  .head p { justify-self: start; }
  .badge { left: auto; right: 12px; bottom: -30px; width: 116px; height: 116px; }
  .menu { grid-template-columns: 1fr; }
  .band img { aspect-ratio: 16 / 9; }
  .steps { grid-row: auto; }
}
