@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #141414;
  --ink-soft: #333333;
  --paper: #f7f7f5;
  --white: #ffffff;
  --mango: #ffd600;
  --orange: #926500;
  --aqua: #ffe96b;
  --blue: #252525;
  --purple: #141414;
  --line: rgba(7, 26, 43, 0.16);
  --shadow: 0 16px 40px rgba(7, 26, 43, 0.13);
  --radius: 22px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.promo-ribbon { min-height: 42px; padding: 8px clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: center; gap: 24px; background: var(--mango); color: var(--ink); font-size: 0.88rem; }
.promo-ribbon p { margin: 0; }
.promo-ribbon a { font-weight: 800; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 30; min-height: 136px; padding: 6px clamp(18px, 4vw, 64px); display: flex; align-items: center; gap: 32px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo-frame { display: block; width: 176px; height: 122px; overflow: hidden; flex: 0 0 auto; }
.brand-logo { width: 176px; height: 176px; max-width: none; transform: translateY(-15px); }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { position: relative; color: var(--ink-soft); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: right 180ms ease; }
.site-header nav a:hover::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.86rem; font-weight: 800; text-decoration: none; }
.header-cta span { font-size: 1.1rem; }

.hero { min-height: 600px; padding: clamp(38px, 5vw, 72px) clamp(18px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, 0.88fr); gap: clamp(30px, 5vw, 80px); background: var(--ink); color: var(--white); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; align-self: center; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--orange); font: 800 0.78rem/1.2 "Manrope", sans-serif; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; padding: 6px 10px; margin-right: 6px; border-radius: 999px; background: var(--mango); color: var(--ink); }
h1, h2 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -0.055em; line-height: 0.94; }
h1 { max-width: 760px; font-size: clamp(3.8rem, 7.4vw, 7.6rem); font-weight: 800; text-transform: uppercase; }
h1 em, h2 em { color: var(--mango); font-style: normal; }
.hero-lede { max-width: 640px; margin: 28px 0 0; color: rgba(255,255,255,0.76); font-size: clamp(1.02rem, 1.6vw, 1.25rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--mango); color: var(--ink); box-shadow: 0 10px 28px rgba(255,176,0,0.22); }
.button-quiet { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.weather-line { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: rgba(255,255,255,0.64); font-size: 0.84rem; }
.weather-line span { display: inline-flex; align-items: center; gap: 7px; }
.weather-line b { color: var(--mango); font-family: "Manrope", sans-serif; }

.hero-products { position: relative; min-height: 480px; align-self: center; display: grid; grid-template-columns: 1.22fr 0.78fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-products::before { content: ""; position: absolute; width: 460px; height: 460px; right: -210px; top: -160px; border: 86px solid var(--mango); border-radius: 50%; opacity: 0.95; }
.hero-product { position: relative; z-index: 1; min-height: 0; overflow: hidden; border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.hero-product-large { grid-row: 1 / 3; }
.hero-product img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms cubic-bezier(.2,.8,.2,1); }
.hero-product:hover img { transform: scale(1.045); }
.hero-product-copy { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 13px; display: flex; flex-direction: column; gap: 2px; border-radius: 13px; background: rgba(255,255,255,0.93); box-shadow: 0 8px 25px rgba(7,26,43,0.16); backdrop-filter: blur(10px); }
.hero-product-copy b { font: 800 0.9rem/1.25 "Manrope", sans-serif; }
.hero-product-copy small { color: var(--orange); font-weight: 800; }
.editor-pick { position: absolute; z-index: 2; left: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: var(--mango); color: var(--ink); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }

.agenda-strip { min-height: 82px; padding: 18px clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px); background: var(--blue); color: var(--white); }
.agenda-strip a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 0.92rem; white-space: nowrap; }
.agenda-strip a:hover { text-decoration: underline; text-underline-offset: 4px; }
.agenda-strip a b { color: var(--mango); font: 800 0.78rem/1 "Manrope", sans-serif; letter-spacing: 0.05em; }
.agenda-label { padding: 7px 10px; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.catalogue-shell { padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 64px); }
.catalogue-heading { display: grid; grid-template-columns: 1fr minmax(280px, 520px); gap: 40px; align-items: end; }
.catalogue-heading h2, .october-guide h2, .referral h2 { font-size: clamp(2.7rem, 5vw, 5.4rem); font-weight: 800; text-transform: uppercase; }
.catalogue-intro { margin: 0; color: #4b6172; font-size: 1.02rem; line-height: 1.65; }
.catalogue-tools { position: sticky; top: 148px; z-index: 20; margin-top: 42px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(247,247,245,0.94); box-shadow: 0 12px 32px rgba(7,26,43,0.08); backdrop-filter: blur(18px); }
.search-box { min-height: 54px; padding: 0 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.search-box > span[aria-hidden] { color: var(--orange); font-size: 1.7rem; line-height: 0; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25,101,232,0.13); }
.sort-box { min-height: 54px; padding: 0 10px 0 16px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: 0.86rem; font-weight: 700; }
.sort-box span { color: #70808d; }
.sort-box select { max-width: 210px; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.category-tabs { padding: 18px 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.category-button { min-height: 42px; padding: 0 15px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 0.84rem; font-weight: 800; cursor: pointer; }
.category-button span { margin-left: 5px; color: #71818d; font-size: 0.74rem; }
.category-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.category-button[aria-pressed="true"] span { color: var(--mango); }
.results-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.results-bar p { margin: 0; color: #667985; font-size: 0.88rem; }
.results-bar strong { color: var(--ink); }
.results-bar button { border: 0; background: transparent; color: var(--blue); font-size: 0.84rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 24px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 5px 0 rgba(7,26,43,0.04); transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image-link { position: relative; display: block; aspect-ratio: 1 / 0.84; overflow: hidden; background: #eaeae5; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 360ms ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-image.is-error { object-fit: contain; padding: 28%; opacity: 0.35; }
.product-number { position: absolute; left: 12px; top: 12px; min-width: 35px; padding: 5px 7px; border-radius: 7px; background: rgba(7,26,43,0.88); color: var(--white); font: 800 0.67rem/1 "Manrope", sans-serif; letter-spacing: 0.05em; backdrop-filter: blur(6px); }
.product-badge { position: absolute; right: 12px; top: 12px; padding: 6px 9px; border-radius: 999px; background: var(--mango); color: var(--ink); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.product-body { min-height: 205px; padding: 18px; display: flex; flex-direction: column; }
.product-category { margin: 0 0 8px; color: var(--orange); font: 800 0.69rem/1.2 "Manrope", sans-serif; letter-spacing: 0.09em; text-transform: uppercase; }
.product-card h3 { margin: 0; font: 700 0.98rem/1.42 "Manrope", sans-serif; letter-spacing: -0.02em; }
.product-title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; text-decoration: none; }
.product-title:hover { text-decoration: underline; text-decoration-color: var(--mango); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.product-bottom { margin-top: auto; padding-top: 18px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.product-price { margin: 0; display: flex; flex-direction: column; }
.product-price strong { font: 800 1.52rem/1 "Manrope", sans-serif; letter-spacing: -0.04em; }
.product-price span { margin-top: 5px; color: #6d7e89; font-size: 0.73rem; }
.product-link { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 34px; }

.october-guide { padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 64px); background: var(--mango); }
.guide-heading { max-width: 900px; }
.october-guide .section-kicker { color: var(--ink); }
.october-guide h2 em { color: var(--blue); }
.guide-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-card { min-height: 260px; padding: 24px; display: flex; flex-direction: column; align-items: stretch; text-align: left; border: 0; border-radius: var(--radius); cursor: pointer; box-shadow: 0 10px 28px rgba(7,26,43,0.12); transition: transform 180ms ease; }
.guide-card:hover { transform: translateY(-5px) rotate(-0.4deg); }
.guide-carbet { background: var(--aqua); }
.guide-fete { background: var(--purple); color: var(--white); }
.guide-maison { background: var(--white); }
.guide-index { font: 800 0.8rem/1 "Manrope", sans-serif; }
.guide-card > span:nth-child(2) { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.guide-card b { font: 800 clamp(1.45rem, 2.6vw, 2.4rem)/1.06 "Manrope", sans-serif; letter-spacing: -0.045em; }
.guide-card small { max-width: 340px; font-size: 0.9rem; line-height: 1.45; opacity: 0.75; }
.guide-arrow { margin: 16px 0 0 auto; font-size: 1.5rem; }
.climate-note { max-width: 920px; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid rgba(7,26,43,0.25); font-size: 0.92rem; line-height: 1.65; }
.climate-note a { display: inline-block; margin-left: 8px; font-weight: 800; }

.referral { position: relative; min-height: 620px; padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 80px); display: grid; grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr) minmax(280px, 0.75fr); align-items: center; gap: clamp(32px, 5vw, 72px); overflow: hidden; background: var(--ink); color: var(--white); }
.referral::after { content: "PARRAINAGE"; position: absolute; left: 2%; bottom: -5%; color: rgba(255,255,255,0.08); font: 800 clamp(6rem, 16vw, 17rem)/0.7 "Manrope", sans-serif; letter-spacing: -0.08em; }
.referral-stamp { position: relative; z-index: 1; width: min(100%, 270px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 6px solid var(--ink); border-radius: 50%; background: var(--mango); color: var(--ink); box-shadow: 16px 16px 0 var(--ink); transform: rotate(-7deg); }
.referral-stamp span { font: 800 clamp(5rem, 9vw, 9rem)/1 "Manrope", sans-serif; letter-spacing: -0.09em; }
.referral-stamp small { align-self: flex-start; margin-top: 27%; font: 800 2.2rem/1 "Manrope", sans-serif; }
.referral-copy { position: relative; z-index: 1; }
.referral-logo { width: 168px; height: 168px; object-fit: contain; margin-bottom: 24px; border-radius: 20px; background: #fff; }
.referral .section-kicker { color: var(--mango); }
.referral h2 em { color: var(--mango); }
.referral-copy > p:not(.section-kicker) { max-width: 690px; margin: 26px 0 28px; color: rgba(255,255,255,0.83); font-size: 1.05rem; line-height: 1.65; }
.referral-copy > p strong { color: var(--white); }
.referral-steps { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.referral-steps li { padding: 18px 0; display: grid; grid-template-columns: 42px 1fr; gap: 14px; border-bottom: 1px solid rgba(255,255,255,0.28); }
.referral-steps li:first-child { border-top: 1px solid rgba(255,255,255,0.28); }
.referral-steps li > span { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.6); border-radius: 50%; font-weight: 800; }
.referral-steps div { display: flex; flex-direction: column; gap: 3px; }
.referral-steps b { font-family: "Manrope", sans-serif; }
.referral-steps small { color: rgba(255,255,255,0.72); line-height: 1.45; }

.trust-strip { padding: 36px clamp(18px, 4vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip p { margin: 0; padding: 8px clamp(10px, 3vw, 38px); display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; border-right: 1px solid var(--line); }
.trust-strip p:last-child { border: 0; }
.trust-strip span { grid-row: 1 / 3; color: var(--orange); font: 800 0.72rem/1.4 "Manrope", sans-serif; }
.trust-strip b { font-family: "Manrope", sans-serif; }
.trust-strip small { color: #6c7b85; }

footer { padding: 52px clamp(18px, 4vw, 64px) 28px; display: grid; grid-template-columns: 1fr auto; gap: 36px 60px; background: var(--ink); color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-logo-link { display: block; flex: 0 0 auto; width: 150px; height: 150px; overflow: hidden; border-radius: 16px; background: #fff; }
.footer-logo { width: 100%; height: 100%; object-fit: contain; }
.footer-brand div { display: flex; flex-direction: column; gap: 4px; }
.footer-brand b { font: 800 1.1rem/1 "Manrope", sans-serif; }
.footer-brand small { color: rgba(255,255,255,0.6); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; color: rgba(255,255,255,0.76); font-size: 0.86rem; }
.footer-links a { text-underline-offset: 3px; }
.footer-note { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.5); font-size: 0.76rem; }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .referral { grid-template-columns: 220px 1fr; }
  .referral-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .referral-steps li { border-top: 1px solid rgba(255,255,255,0.28); border-bottom: 0; }
}

@media (max-width: 860px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-products { min-height: 410px; }
  .catalogue-heading { grid-template-columns: 1fr; gap: 22px; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-card { min-height: 210px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip p { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .promo-ribbon { justify-content: space-between; gap: 12px; }
  .promo-ribbon p { max-width: 250px; line-height: 1.35; }
  .promo-ribbon a { white-space: nowrap; font-size: 0; }
  .promo-ribbon a::after { content: "Voir →"; font-size: 0.82rem; }
  .site-header { min-height: 102px; gap: 18px; }
  .brand-logo-frame { width: 130px; height: 90px; }
  .brand-logo { width: 130px; height: 130px; transform: translateY(-11px); }
  .header-cta { width: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 0; }
  .header-cta span { font-size: 1.15rem; }
  .hero { min-height: auto; padding-top: 46px; }
  h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
  .hero-products { min-height: 340px; grid-template-columns: 1.25fr 0.75fr; gap: 9px; }
  .hero-product, .hero-product-copy { border-radius: 13px; }
  .hero-product-copy { left: 7px; right: 7px; bottom: 7px; padding: 9px; }
  .hero-product-copy b { font-size: 0.72rem; }
  .hero-product-copy small { font-size: 0.65rem; }
  .editor-pick { left: 8px; top: 8px; font-size: 0.58rem; }
  .weather-line { gap: 10px 16px; }
  .agenda-strip { justify-content: flex-start; overflow-x: auto; }
  .catalogue-tools { top: 114px; grid-template-columns: 1fr; }
  .sort-box { min-height: 46px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 16px; }
  .product-body { min-height: 190px; padding: 13px; }
  .product-card h3 { font-size: 0.87rem; }
  .product-price strong { font-size: 1.25rem; }
  .product-link { width: 34px; }
  .product-number { left: 8px; top: 8px; }
  .product-badge { display: none !important; }
  .referral { grid-template-columns: 1fr; }
  .referral-stamp { width: 190px; }
  .referral-steps { grid-column: auto; grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .footer-logo-link { width: 120px; height: 120px; }
  .hero-actions .button { width: 100%; }
  .catalogue-shell, .october-guide, .referral { padding-left: 14px; padding-right: 14px; }
  .catalogue-heading h2, .october-guide h2, .referral h2 { font-size: 2.55rem; }
  .product-body { min-height: 184px; }
  .product-image-link { aspect-ratio: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
