/* Health Nutri Diet — site vitrine statique */

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 130);
  --foreground: oklch(0.28 0.037 150);
  --primary: oklch(0.39 0.09 148);
  --primary-foreground: oklch(0.99 0.005 120);
  --secondary: oklch(0.94 0.029 130);
  --secondary-foreground: oklch(0.35 0.065 147);
  --muted: oklch(0.96 0.009 130);
  --muted-foreground: oklch(0.51 0.016 140);
  --accent: oklch(0.94 0.035 125);
  --accent-foreground: oklch(0.34 0.065 148);
  --border: oklch(0.9 0.018 130);
  --input: var(--border);
  --ring: var(--primary);
  --hero-surface: oklch(0.86 0.035 125);
  --gold: oklch(0.71 0.13 75);
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'DM Sans', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

body { margin: 0; }

h1, h2, h3, p { margin: 0; }

img { display: block; max-width: 100%; }

a { color: inherit; }

body { background-color: var(--background); color: var(--foreground); font-family: var(--font-body); letter-spacing: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border: 1px solid transparent; border-radius: 6px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1; height: 36px; padding: 8px 16px; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-brand { background: var(--primary); color: var(--primary-foreground); border-radius: 3px; }
.btn-brand:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.btn-soft { background: color-mix(in oklab, var(--background) 30%, transparent); border-color: color-mix(in oklab, var(--primary) 30%, transparent); color: var(--primary); border-radius: 3px; }
.btn-soft:hover { background: color-mix(in oklab, var(--background) 60%, transparent); }
.btn-link { background: none; border: 0; padding: 0; height: auto; color: var(--primary); text-underline-offset: 4px; }
.btn-link:hover { text-decoration: underline; }
.btn-ghost { background: none; }
.btn-ghost:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-lg { height: 40px; padding: 8px 32px; }
.btn-sm { height: 32px; padding: 6px 12px; font-size: 12px; }
.btn-icon { width: 36px; height: 36px; padding: 0; }

/* Structure */
.site-container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.announcement { background: var(--primary); color: var(--primary-foreground); text-align: center; font-size: 11px; padding: 9px 16px; letter-spacing: 1.1px; }
.site-header { height: 100px; background: var(--background); display: flex; align-items: center; position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 68px; width: 70px; object-fit: cover; object-position: top; }
.brand-name { font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--primary); }
.brand-name small { display: block; font-weight: 400; font-size: 9px; margin-top: 6px; color: var(--muted-foreground); }
.desktop-nav { display: flex; gap: 30px; align-items: center; }
.desktop-nav a { font-size: 13px; color: var(--muted-foreground); text-decoration: none; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--primary); }
.desktop-nav a:first-child { color: var(--primary); font-weight: 600; }
.mobile-trigger { display: none; }
.mobile-trigger .icon-x { display: none; }
.mobile-trigger[aria-expanded="true"] .icon-menu { display: none; }
.mobile-trigger[aria-expanded="true"] .icon-x { display: block; }
.mobile-nav { display: none; }

/* Accueil */
.hero { position: relative; min-height: 550px; overflow: hidden; background: var(--hero-surface); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero-inner { position: relative; padding-block: 73px 66px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary); }
.eyebrow svg { width: 15px; height: 15px; flex: none; }
.hero h1 { font-family: var(--font-heading); font-size: 52px; font-weight: 600; line-height: 1.08; max-width: 700px; margin: 20px 0; }
.hero h1 span { display: block; font-weight: 400; font-size: 38px; margin-top: 14px; }
.hero-copy { color: var(--muted-foreground); font-size: 15px; line-height: 1.8; max-width: 415px; margin-bottom: 27px; }
.hero-actions { display: flex; align-items: center; gap: 14px; }
.hero-note { display: flex; gap: 7px; align-items: center; margin-top: 31px; font-size: 11px; color: var(--primary); }
.hero-note svg { width: 14px; height: 14px; flex: none; }

/* Bandeau engagements */
.trust-strip { border-bottom: 1px solid var(--border); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.trust-item { display: flex; gap: 13px; justify-content: center; align-items: center; border-right: 1px solid var(--border); }
.trust-item:last-child { border: 0; }
.trust-item svg { width: 24px; height: 24px; color: var(--primary); stroke-width: 1.4; }
.trust-item strong { display: block; font-weight: 600; font-size: 12px; }
.trust-item small { display: block; font-size: 10px; color: var(--muted-foreground); margin-top: 4px; }

/* Sections */
.section { padding-block: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 33px; }
.section h2 { font-size: 34px; line-height: 1.2; font-weight: 500; margin-top: 12px; }
.section-intro { font-size: 13px; color: var(--muted-foreground); margin-top: 13px; line-height: 1.8; }

/* Produits */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-image { position: relative; aspect-ratio: 1.12; background: var(--muted); overflow: hidden; border-radius: 5px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product-image img { transform: scale(1.035); }
.product-tag { position: absolute; top: 12px; left: 12px; background: var(--background); color: var(--primary); padding: 5px 8px; font-size: 9px; border-radius: 3px; }
.product h3 { font-size: 16px; font-weight: 600; margin-top: 17px; }
.product p { font-size: 12px; line-height: 1.7; color: var(--muted-foreground); margin-top: 7px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 10px; color: var(--muted-foreground); }

/* Engagement */
.story { background: var(--secondary); }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.story-photo { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 5px; }
.story p { font-size: 14px; color: var(--muted-foreground); line-height: 1.9; margin-block: 20px; }
.story-check { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-top: 13px; }
.story-check svg { width: 17px; height: 17px; flex: none; color: var(--primary); }
.story-social { margin-top: 20px; }

/* Idées gourmandes */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.recipe img { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 5px; }
.recipe h3 { margin-top: 18px; font-size: 18px; font-weight: 500; }
.recipe p { font-size: 12px; color: var(--muted-foreground); margin-top: 9px; line-height: 1.8; }

/* Contact */
.contact { background: var(--primary); color: var(--primary-foreground); }
.contact .eyebrow, .contact .section-intro { color: var(--primary-foreground); opacity: .75; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; margin-top: 35px; }
.contact-place { border-top: 1px solid var(--primary-foreground); padding-top: 22px; }
.contact-place h3 { display: flex; align-items: center; gap: 9px; font-size: 18px; }
.contact-place h3 svg { width: 20px; height: 20px; flex: none; }
.contact-place p { font-size: 12px; margin-block: 12px 19px; opacity: .75; }
.contact-place a { font-size: 17px; display: inline-flex; gap: 9px; align-items: center; text-decoration: none; }
.contact-place a svg { width: 16px; height: 16px; flex: none; }
.delivery-note { margin-top: 32px; font-size: 11px; opacity: .75; display: flex; gap: 8px; align-items: center; }
.delivery-note svg { width: 17px; height: 17px; flex: none; }
.contact-social { margin-top: 24px; background: var(--primary-foreground); color: var(--primary); border-color: var(--primary-foreground); }
.contact-social:hover { background: color-mix(in oklab, var(--primary-foreground) 85%, var(--primary)); }

/* Pied de page */
.site-footer { padding-block: 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; align-items: center; font-size: 11px; color: var(--muted-foreground); }
.footer-social { display: flex; align-items: center; gap: 9px; color: var(--primary); text-decoration: none; }
.footer-social svg { width: 17px; height: 17px; flex: none; }
.footer-social svg:last-child { width: 14px; height: 14px; }

@media (max-width: 1000px) {
  .desktop-nav { gap: 17px; }
  .hero h1 { font-size: 44px; }
  .hero h1 span { font-size: 32px; }
  .hero-photo { object-position: 58% center; }
  .product-grid { gap: 15px; }
  .story-inner { gap: 40px; }
}

@media (max-width: 760px) {
  .site-container { width: calc(100% - 40px); }
  .announcement { font-size: 9px; letter-spacing: .5px; }
  .site-header { height: 84px; }
  .brand img { height: 55px; width: 56px; }
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 8px; }
  .desktop-nav, .header-contact { display: none; }
  .mobile-trigger { display: inline-flex; }
  .mobile-nav:not([hidden]) { position: absolute; top: 84px; left: 0; right: 0; min-height: calc(100vh - 84px); padding: 20px; display: flex; flex-direction: column; gap: 22px; background: var(--background); border-bottom: 1px solid var(--border); font-size: 14px; }
  .mobile-nav a { text-decoration: none; }
  .hero { min-height: 660px; }
  .hero-photo { height: 40%; top: auto; object-position: right bottom; }
  .hero-inner { padding-block: 35px; }
  .hero h1 { font-size: 32px; margin-block: 20px 17px; max-width: 340px; }
  .hero h1 span { font-size: 24px; margin-top: 10px; }
  .hero-copy { font-size: 13px; max-width: 340px; }
  .hero-note { margin-top: 20px; }
  .hero-actions { gap: 8px; flex-wrap: wrap; }
  .hero-actions .btn { padding-inline: 12px; font-size: 12px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 23px 12px; padding-block: 23px; }
  .trust-item { justify-content: start; border: 0; }
  .trust-item strong { font-size: 10px; }
  .trust-item small { font-size: 9px; }
  .trust-item svg { width: 21px; }
  .section { padding-block: 45px; }
  .section h2 { font-size: 28px; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 28px 15px; }
  .product h3 { font-size: 14px; }
  .product-tag { font-size: 8px; top: 8px; left: 8px; }
  .product-footer { align-items: start; flex-direction: column; gap: 6px; }
  .story-inner { grid-template-columns: 1fr; gap: 30px; }
  .recipe-grid { grid-template-columns: 1fr; gap: 30px; }
  .recipe img { aspect-ratio: 1.5; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 15px; }
  .delivery-note { align-items: start; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
