/* ===== Boulangerie-pâtisserie — palette gourmande chaude ===== */
:root {
  --ble: #d9a441;        /* blé doré */
  --ble-clair: #f0c878;
  --caramel: #b6772e;
  --caramel-fonce: #8a531c;
  --brun: #4a2f1b;       /* brun cacao */
  --brun-soft: #6b4a33;
  --creme: #fbf4e7;      /* crème */
  --creme-2: #f5e9d4;
  --blanc: #ffffff;
  --texte: #3a2a1d;
  --texte-soft: #715844;
  --ombre: 0 14px 40px rgba(74, 47, 27, .14);
  --ombre-sm: 0 6px 18px rgba(74, 47, 27, .10);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; color: var(--brun); margin: 0 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--caramel-fonce); text-decoration: none; }
img, svg { max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.18em; fill: none; }
.muted { color: var(--texte-soft); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .95rem;
  padding: .72em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .9em 1.6em; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--ble) 0%, var(--caramel) 100%); color: #fff; box-shadow: var(--ombre-sm); }
.btn-primary:hover { box-shadow: var(--ombre); }
.btn-ghost { background: rgba(255, 255, 255, .65); color: var(--brun); border-color: rgba(138, 83, 28, .3); }
.btn-ghost:hover { background: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 244, 231, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138, 83, 28, .14);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--ble-clair), var(--caramel)); color: #fff;
}
.brand-mark .icon { width: 22px; height: 22px; }
.brand-name { font-family: Georgia, serif; font-size: 1.15rem; color: var(--brun); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--brun-soft); font-weight: 600; padding: .5em .7em; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--caramel-fonce); background: rgba(217, 164, 65, .14); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: var(--brun); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(60px, 11vw, 120px) 0 90px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(240, 200, 120, .55), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(182, 119, 46, .25), transparent 70%),
    linear-gradient(180deg, var(--creme-2) 0%, var(--creme) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(138, 83, 28, .12) 1.3px, transparent 1.4px);
  background-size: 22px 22px;
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  font-size: .8rem; color: var(--caramel-fonce);
  background: rgba(255, 255, 255, .6); padding: .4em 1em; border-radius: 999px; margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.hero:has(.hero-title:empty) .hero-title::after,
.hero-title:empty::after { content: "Le goût du pain frais, chaque jour."; }
.hero-lead { font-size: 1.18rem; color: var(--texte-soft); max-width: 620px; margin: 0 auto 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-badge {
  margin-top: 28px; display: inline-flex; align-items: center; gap: .5em;
  color: var(--brun-soft); font-weight: 600; font-size: .95rem;
}
.hero-badge .icon { color: var(--caramel); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; }
.hero-wave path { fill: var(--creme); }

/* ===== Trust band ===== */
.trust { background: var(--brun); color: var(--creme-2); padding: 26px 0; }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 16px 26px; }
.trust-item { display: flex; align-items: center; gap: .6em; font-weight: 600; }
.trust-item .icon { color: var(--ble-clair); width: 1.4em; height: 1.4em; }

/* ===== Sections ===== */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-alt { background: var(--creme-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.kicker {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  font-size: .78rem; color: var(--caramel); margin-bottom: 8px;
}
.section h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-sub { font-size: 1.1rem; color: var(--texte-soft); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--blanc); border-radius: var(--radius); padding: 30px 24px;
  border: 1px solid rgba(138, 83, 28, .1); box-shadow: var(--ombre-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--ble-clair), var(--ble)); color: var(--brun);
}
.card-icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; }
.card p { margin: 0; color: var(--texte-soft); }

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media { display: grid; place-items: center; }
.craft-art { width: min(360px, 80%); }
.art-disc { fill: var(--creme); stroke: var(--ble); stroke-width: 3; stroke-dasharray: 6 10; }
.art-fg { color: var(--caramel); }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--texte-soft); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ble); color: #fff; font-size: .78rem; font-weight: 700;
}

/* ===== Hours ===== */
.hours { width: 100%; border-collapse: collapse; max-width: 360px; margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 4px; border-bottom: 1px dashed rgba(138, 83, 28, .25); }
.hours th { font-weight: 600; color: var(--brun); }
.hours td { text-align: right; color: var(--texte-soft); }

/* ===== CTA band ===== */
.cta-band {
  margin-top: 44px; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ble) 0%, var(--caramel) 100%); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  box-shadow: var(--ombre);
}
.cta-band p { margin: 0; font-family: Georgia, serif; font-size: 1.4rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--caramel-fonce); }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .55); }

/* ===== Contact ===== */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: .7em; color: var(--texte-soft); }
.contact-list .icon { color: var(--caramel); width: 1.35em; height: 1.35em; flex: none; }

.form {
  background: var(--blanc); padding: 28px; border-radius: var(--radius);
  border: 1px solid rgba(138, 83, 28, .12); box-shadow: var(--ombre-sm);
}
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; color: var(--brun); font-size: .92rem; }
.field input, .field textarea {
  width: 100%; padding: .75em .9em; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(138, 83, 28, .25); background: var(--creme); color: var(--texte);
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--caramel); box-shadow: 0 0 0 3px rgba(217, 164, 65, .25); background: #fff;
}
.form-success {
  margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(217, 164, 65, .16); color: var(--caramel-fonce); font-weight: 600;
}

/* ===== Footer ===== */
.site-footer { background: var(--brun); color: var(--creme-2); padding: 40px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .brand-name { color: #fff; }
.site-footer .muted { color: rgba(251, 244, 231, .68); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; text-align: right; }
.footer-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; }
.footer-credit .credit { margin: 0; font-size: .85rem; color: rgba(251, 244, 231, .55); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .nav, .header-actions .btn-tel { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--creme); padding: 14px 22px 22px; gap: 4px;
    box-shadow: var(--ombre); border-bottom: 1px solid rgba(138, 83, 28, .14);
  }
  .nav.open a { padding: .8em .6em; border-bottom: 1px solid rgba(138, 83, 28, .1); }
}
@media (max-width: 560px) {
  .cards, .cards-3 { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
