/* SAM VOLAILLE — feuille de style commune (accueil + catalogue) */
:root {
  --forest: #123B2C;
  --forest-2: #1B5E3B;
  --leaf: #2F8F5B;
  --yolk: #F4B63F;
  --yolk-deep: #C9821A;
  --cream: #F7F3EA;
  --sand: #EFE8D8;
  --paper: #FFFDF8;
  --ink: #17211C;
  --muted: #5B675F;
  --line: #E4DCCB;
  --wa: #1FAF5A;
  --wa-dark: #178A47;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(23, 33, 28, .05), 0 10px 30px rgba(18, 59, 44, .08);
  --shadow-lift: 0 2px 6px rgba(23, 33, 28, .06), 0 22px 48px rgba(18, 59, 44, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Barre du haut ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, .86);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); background: rgba(247, 243, 234, .95); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 52px; width: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); transition: height .3s; }
.nav.scrolled .brand-logo { height: 44px; }
@media (max-width: 860px) { .brand-logo { height: 42px; } }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; line-height: 1; }
.brand-name span { color: var(--yolk-deep); }
.brand-name .brand-sub { color: var(--muted); }
.brand-sub { display: block; font-family: var(--body); font-size: 11.5px; font-weight: 600;
  color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.links a { display: block; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted);
  padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
.links a:hover { color: var(--ink); background: var(--sand); }
.links a[aria-current="page"] { color: var(--forest); background: #E2EDE4; }
@media (max-width: 860px) {
  .nav .wrap { flex-wrap: wrap; gap: 6px 12px; padding-block: 10px 8px; min-height: 0; }
  .brand { min-width: 0; }
  .nav .btn-wa { margin-left: auto; padding: 10px 14px; min-height: 42px; }
  .nav .btn-wa .label { display: none; }
  .links { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { padding: 8px 12px; font-size: 14px; }
}

/* ---------- Boutons ---------- */
.btn {
  max-width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31, 175, 90, .28); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-yolk { background: var(--yolk); color: var(--forest); }
.btn-yolk:hover { background: #F7C25E; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { background: var(--paper); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-light:hover { background: rgba(255, 255, 255, .18); }
.btn-block { width: 100%; }

/* ---------- Titres de section ---------- */
section { padding-block: clamp(56px, 8vw, 104px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  color: var(--leaf); margin-bottom: 12px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; font-weight: 800; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 620px; margin: 14px 0 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px); }

/* ---------- Accueil : bandeau ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero .wrap > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; color: var(--muted); }
.pill b { background: var(--forest); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: .98; font-weight: 800; margin: 22px 0 0; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero .lead { font-size: clamp(17px, 1.8vw, 20px); margin-top: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-weight: 600; font-size: 15px; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof .ico { color: var(--leaf); }

.media-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--forest);
  box-shadow: var(--shadow-lift); aspect-ratio: 4 / 5; }
.media-card video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(to top, rgba(10, 30, 22, .7), rgba(10, 30, 22, .05) 55%);
  color: #fff; transition: opacity .35s;
}
.play.hidden { opacity: 0; pointer-events: none; }
.play-btn { width: 78px; height: 78px; border-radius: 50%; background: var(--yolk); color: var(--forest);
  display: grid; place-items: center; transition: transform .25s var(--ease); }
.play:hover .play-btn { transform: scale(1.08); }
.play-btn svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.play-label { position: absolute; left: 22px; right: 22px; bottom: 20px; text-align: left; }
.play-label b { display: block; font-family: var(--display); font-size: 22px; }
.play-label span { opacity: .85; font-size: 14px; }
.badge-float { position: absolute; top: 18px; left: 18px; background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; line-height: 1.3; }
.badge-float b { display: block; font-family: var(--display); font-size: 20px; color: var(--forest); }

/* ---------- Chiffres ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.fact { background: var(--paper); padding: 22px 24px; }
.fact b { display: block; font-family: var(--display); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.1; color: var(--forest); }
.fact > span { color: var(--muted); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { padding: 18px 16px; } }

/* ---------- Les trois types ---------- */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .types { grid-template-columns: 1fr; } }
.type {
  position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.type:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.type-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: #E2EDE4; color: var(--forest); }
.type-ico .ico { width: 26px; height: 26px; }
.type h3 { font-size: 24px; margin-top: 6px; }
.type p { margin: 0; color: var(--muted); }
.type .from { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--muted); font-size: 14px; }
.type .from b { display: block; font-family: var(--display); font-size: 26px; color: var(--ink); }
.type .go { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, color .2s; }
.type:hover .go { background: var(--forest); color: #fff; }

/* ---------- Fiches couveuses ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) { .card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); } }
.photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--sand); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
/* Photo entière (jamais coupée) sur un fond flou de la même photo */
.photo .bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px);
  object-fit: cover; filter: blur(24px) saturate(1.1); opacity: .5; }
.photo .fg { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.card:hover .photo .fg { transform: scale(1.03); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--paper); color: var(--forest);
  font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow); }
.eggs { position: absolute; bottom: 14px; right: 14px; z-index: 1; background: var(--forest); color: #fff;
  font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 12px; display: flex; gap: 6px; align-items: center; }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.card h3 { font-size: 22px; line-height: 1.15; }
.feats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.feats li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: var(--cream); padding: 5px 10px; border-radius: 999px; }
.feats .ico { color: var(--leaf); width: 1em; height: 1em; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto;
  padding-top: 14px; border-top: 1px dashed var(--line); }
.price-row > span:first-child { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.price { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--forest); white-space: nowrap; }
.price-range { font-size: 20px; white-space: normal; text-align: right; }
.price small { font-family: var(--body); font-size: 14px; font-weight: 700; margin-left: 3px; }

/* Filtres du catalogue */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); transition: background .2s, color .2s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest); color: #fff; box-shadow: none; }
.card.is-hidden { display: none; }

/* ---------- Comment commander ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--display);
  font-weight: 800; font-size: 40px; color: var(--yolk-deep); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Bande verte (atouts) ---------- */
.dark { background: var(--forest); color: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 72px);
  position: relative; overflow: hidden; }
.dark::after { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 182, 63, .35), transparent 65%); pointer-events: none; }
.dark > * { position: relative; z-index: 1; }
.dark .kicker { color: var(--yolk); }
.dark .lead { color: rgba(255, 255, 255, .75); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; }
@media (max-width: 960px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }
.perk .ico { width: 30px; height: 30px; color: var(--yolk); }
.perk h3 { font-size: 20px; margin: 14px 0 6px; }
.perk p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }

/* ---------- TikTok ---------- */
.social { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 52px); }
.social h2 { font-size: clamp(26px, 3.4vw, 38px); }
.social p { margin: 10px 0 0; color: rgba(255, 255, 255, .72); }
.social .btn { background: #fff; color: var(--ink); }
.social .btn svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 700px) { .social { grid-template-columns: 1fr; } }

/* ---------- Vidéo du catalogue ---------- */
.video-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.video-band .media-card { aspect-ratio: 9 / 12; max-width: 460px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .video-band { grid-template-columns: 1fr; } }

/* ---------- Tableau des prix ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 700; background: none; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--forest); color: #fff; }
.prices { background: var(--paper); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.prices table { width: 100%; border-collapse: collapse; }
.prices th, .prices td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.prices th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--cream); }
.prices td:last-child, .prices th:last-child { text-align: right; }
.prices td:last-child { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--forest); }
.prices tr:last-child td { border-bottom: 0; }
.prices td .ask { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--wa-dark); text-decoration: none; }
.prices tbody tr:hover td { background: #FBF8F1; }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }

.custom { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin-top: 24px; padding: 26px 28px; border-radius: var(--radius); background: #FDF2DC; box-shadow: inset 0 0 0 1px #F1DDB0; }
.custom h3 { font-size: 22px; }
.custom p { margin: 6px 0 0; color: #6B5A35; max-width: 620px; }

/* ---------- Pied de page ---------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 760px; margin-inline: auto; }
.cta-final .lead { margin-inline: auto; }
.cta-final .hero-actions { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 48px 0 110px; color: var(--muted); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.foot h3 { font-family: var(--body); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot li { display: flex; gap: 8px; align-items: flex-start; }
.foot li .ico { margin-top: 4px; color: var(--leaf); }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* Barre WhatsApp fixe (téléphone) */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; }
.mobile-bar .btn { width: 100%; box-shadow: 0 12px 30px rgba(18, 59, 44, .3); }
@media (max-width: 760px) { .mobile-bar { display: block; } }

/* ---------- Grande photo ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 18, 14, .92); display: grid; place-items: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 900px); max-height: 82vh; object-fit: contain; border-radius: 14px;
  transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox p { color: #fff; font-weight: 600; text-align: center; margin: 14px 0 0; }
.lightbox .close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------- Réalisations (vidéos YouTube) ---------- */
.yt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; min-height: 120px; }
@media (max-width: 960px) { .yt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.yt { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 0; padding: 0; width: 100%;
  border-radius: 20px; background: var(--forest); cursor: pointer; color: #fff; text-align: left;
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.yt .bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px);
  object-fit: cover; filter: blur(18px) brightness(.7); }
.yt .fg { position: relative; width: 100%; height: 100%; object-fit: contain; }
.yt[data-short="true"] .fg { object-fit: cover; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(8, 24, 17, .85)); }
.yt-play { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 50px; height: 50px;
  border-radius: 50%; background: var(--yolk); color: var(--forest); display: grid; place-items: center;
  transition: transform .3s var(--ease); }
.yt-play .ico { width: 26px; height: 26px; }
.yt-title { position: absolute; left: 14px; right: 70px; bottom: 26px; z-index: 1; font-weight: 700; font-size: 15px; line-height: 1.3; }
@media (hover: hover) { .yt:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); } .yt:hover .yt-play { transform: scale(1.1); } }
.yt-grid.yt-all { display: block; }
.yt-player { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--forest); box-shadow: var(--shadow); }
.yt-player iframe, .vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vframe { position: relative; width: min(92vw, 1000px); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.vframe.short { width: auto; height: min(86vh, 860px); aspect-ratio: 9 / 16; max-width: 92vw; }

/* ---------- Animations (douces, une seule fois) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
