/* Kimylicious Rhumerie – Site vitrine (Shadcn-style, charte graphique conservée) */

:root {
  /* Charte graphique Kimylicious */
  --green-dark: #1a3328;
  --green-mid: #2d5a47;
  --green-label: #1e4535;
  --gold: #c9a227;
  --gold-light: #e5c76b;
  --cream: #faf8f5;
  --cream-warm: #f5f0e8;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;

  /* Tokens style Shadcn (mappés sur la charte) */
  --background: var(--cream);
  --foreground: var(--text);
  --muted: var(--cream-warm);
  --muted-foreground: var(--text-muted);
  --border: hsl(150 25% 88%);
  --input: var(--border);
  --ring: var(--gold);
  --primary: var(--green-dark);
  --primary-foreground: var(--white);
  --card: var(--white);
  --card-foreground: var(--text);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-md: 0.375rem;
  --shadow-sm: 0 1px 2px 0 rgb(26 51 40 / 0.05);
  --shadow: 0 1px 3px 0 rgb(26 51 40 / 0.08), 0 1px 2px -1px rgb(26 51 40 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(26 51 40 / 0.07), 0 2px 4px -2px rgb(26 51 40 / 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Évite que le header fixe masque le titre des sections au scroll d’ancre */
[id="accueil"],
[id="notre-histoire"],
[id="a-propos"],
[id="origine-saveurs"],
[id="produits"],
[id="process"],
[id="services"],
[id="conseils"],
[id="contact"] {
  scroll-margin-top: 14rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

/* Contrôle d'âge */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-gate.is-hidden {
  display: none;
}

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 51, 40, 0.85);
  backdrop-filter: blur(8px);
}

.age-gate-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.age-gate-title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.age-gate-desc {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

.age-gate-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.age-gate-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.age-gate-label-text {
  font-size: 0.9375rem;
  color: var(--foreground);
}

.age-gate-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.age-gate-btn:hover:not(:disabled) {
  background: var(--gold-light);
}

.age-gate-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
  border-radius: var(--radius-md);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header – Shadcn-style navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: hsl(0 0% 100% / 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

/* Ligne du haut : nav gauche | logo | nav droite */
.header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.nav-left {
  flex: 1;
  justify-content: flex-end;
}

.nav-right {
  flex: 1;
  justify-content: flex-start;
}

/* Bannière header : logo centré + nom + sous-titre */
.header-banner {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}

.header-banner:hover {
  opacity: 0.9;
}

.header-banner:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

.header-banner-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  margin-bottom: 0.35rem;
  display: block;
}

.header-banner-name {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.header-banner-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.nav-left {
  margin-top: 0;
}

.nav-right {
  margin-top: 0;
}

/* Sélecteur de langue FR / EN (langues officielles du Cameroun) */
.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--primary);
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  color: var(--primary);
  font-weight: 600;
}

.lang-sep {
  color: var(--border);
  font-weight: 300;
  user-select: none;
}

.nav a {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--foreground);
}

.nav-toggle:hover {
  background: var(--muted);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 12rem 1.5rem 4rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cards {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  min-height: 480px;
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-card--text {
  padding: 2rem 2.25rem;
  justify-content: center;
}

.hero-card--carousel {
  padding: 0;
  min-height: 0;
}

.hero-card--carousel .hero-carousel {
  flex: 1;
  min-height: 0;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--muted) 50%, hsl(45 40% 96%) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%231a3328' fill-opacity='1'/%3E%3C/svg%3E");
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-bg-shape--1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -80px;
}

.hero-bg-shape--2 {
  width: 300px;
  height: 300px;
  background: var(--green-mid);
  bottom: -60px;
  right: 20%;
}

.hero-content {
  max-width: 100%;
}

/* Animations d'entrée hero */
.hero-content [data-animate] {
  opacity: 0;
  transform: translateY(1rem);
  animation: heroFadeInUp 0.6s ease forwards;
}

.hero-content [data-animate]:nth-child(1) { animation-delay: 0.1s; }
.hero-content [data-animate]:nth-child(2) { animation-delay: 0.2s; }
.hero-content [data-animate]:nth-child(3) { animation-delay: 0.3s; }
.hero-content [data-animate]:nth-child(4) { animation-delay: 0.4s; }
.hero-content [data-animate]:nth-child(5) { animation-delay: 0.5s; }
.hero-content [data-animate]:nth-child(6) { animation-delay: 0.6s; }
.hero-content [data-animate]:nth-child(7) { animation-delay: 0.7s; }
.hero-content [data-animate]:nth-child(8) { animation-delay: 0.8s; }
.hero-content [data-animate]:nth-child(9) { animation-delay: 0.9s; }

@keyframes heroFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content [data-animate] {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Bannière hero : logo centré, nom, sous-titre */
.hero-banner {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-banner-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 1rem;
  display: block;
}

.hero-banner-title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-banner-title-text {
  white-space: nowrap;
}

.hero-banner-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  position: relative;
  flex-shrink: 0;
}

.hero-banner-line::before,
.hero-banner-line::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  top: 50%;
  transform: translateY(-50%);
}

.hero-banner-line--left::before {
  left: 0;
}

.hero-banner-line--left::after {
  right: 0;
}

.hero-banner-line--right::before {
  left: 0;
}

.hero-banner-line--right::after {
  right: 0;
}

.hero-banner-subtitle {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0;
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0 0 1.75rem;
  max-width: 400px;
}

/* Buttons – Shadcn-style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--primary-foreground);
}

/* Carousel hero */
.hero-card--carousel .hero-carousel {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 0;
  overflow: hidden;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: var(--muted);
}

.hero-carousel-slide--active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: hsl(0 0% 100% / 0.7);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-carousel-dot:hover {
  background: hsl(0 0% 100% / 0.95);
}

.hero-carousel-dot--active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

/* Section titles */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0 0 2rem;
  max-width: 560px;
}

/* About – Card-style block */
.about {
  padding: 4rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text .about-lead {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.about-text p {
  margin: 0 0 0.875rem;
  color: var(--card-foreground);
}

.about-signature {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary);
  margin-top: 1.25rem !important;
}

.about-founder {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-top: 0.5rem !important;
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 300px;
}

.about-photo.hide {
  display: none;
}

.about-accroche {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--gold);
  text-align: center;
  max-width: 42ch;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.about-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.about-a-propos-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 0;
}

.about-a-propos-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.about-a-propos-title {
  margin-top: 0;
}

.about-a-propos-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 260px;
  display: flex;
}

.about-a-propos-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.about-a-propos-lead {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 1rem;
}

.about-a-propos p {
  margin: 0 0 0.875rem;
  color: var(--card-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.section-title--small {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.about-a-propos-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 1.25rem;
}

/* L'origine de nos saveurs */
.origine-saveurs {
  padding: 4rem 0;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.origine-saveurs .section-intro {
  max-width: 560px;
  margin-bottom: 2rem;
}

.origine-saveurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.origine-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.origine-card:hover {
  box-shadow: var(--shadow-md);
  border-color: hsl(150 25% 82%);
}

.origine-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.origine-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.origine-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.55;
}

/* Products – Shadcn card grid */
.products {
  padding: 4rem 0;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: hsl(150 25% 82%);
}

.product-image {
  aspect-ratio: 1;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.75rem 1rem 0.25rem;
}

.product-card p {
  margin: 0 1rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Process (aperçu landing + lien vers page dédiée) */
.process-preview {
  padding: 4rem 0;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.process-preview .section-intro {
  max-width: 720px;
}

.process-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.process-preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.process-preview-card h3 {
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 1.125rem;
}

.process-preview-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.process-preview-cta {
  margin: 1.5rem 0 0;
}

/* Services */
.services {
  padding: 4rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.services .section-intro {
  max-width: 640px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.service-card-link {
  display: flex;
}

.service-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 280px;
  background: var(--background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: hsl(150 25% 82%);
}

.service-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.service-card p {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.service-card-action {
  display: inline-block;
  margin-top: auto;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.service-card-link:hover .service-card-action {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.services-cta {
  font-size: 1rem;
  color: var(--foreground);
  margin: 0;
  text-align: center;
}

.services-link {
  font-weight: 600;
  color: var(--primary);
}

.services-link:hover {
  color: var(--gold);
}

/* Carte service cliquable (lien vers page dédiée) */
.service-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.service-card-link:hover {
  transform: translateY(-2px);
}

.service-card-link:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}

/* Page services – intro et navigation interne */
/* Haut aligné sous le header fixe : padding suffisant pour que le titre ne soit pas masqué */
.services-page-intro {
  padding: 16rem 0 2rem;
  background: var(--background);
}

.services-page-intro .section-title {
  margin-bottom: 0.75rem;
}

.services-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.services-page-nav-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.services-page-nav-link:hover {
  background: var(--muted);
  border-color: hsl(150 25% 82%);
  color: var(--primary);
}

/* Page services – détail d'une prestation (scroll-margin pour ne pas masquer sous le header fixe) */
.service-detail {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 14rem;
}

.service-detail:nth-child(even) {
  background: var(--muted);
}

.service-detail-inner {
  max-width: 56ch;
}

.service-detail-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-detail-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.service-detail-lead {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.service-detail-content h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

.service-detail-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.service-detail-content li {
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.service-detail-content p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.service-detail .btn {
  margin-top: 0.5rem;
}

.services-cta-block {
  padding: 2rem 0 3rem;
  background: var(--background);
}

.services-cta-block .services-cta {
  margin: 0;
}

/* Conseils – articles et conseils de consommation */
.conseils {
  padding: 4rem 0;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.conseils .section-intro {
  max-width: 640px;
}

.conseils-block {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1rem;
}

.conseils-content {
  min-width: 0;
}

.conseils-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.conseils-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.conseils-cta-wrap {
  margin: 1.5rem 0 0;
}

.conseils-cta-wrap .btn {
  display: inline-block;
}

/* Page Conseils (accords) – intro (haut aligné sous le header fixe, comme la landing) */
.conseils-page-intro {
  padding: 12rem 0 2rem;
  background: var(--background);
}

.conseils-page-intro .section-title {
  margin-bottom: 0.75rem;
}

.conseils-page-grid-section {
  padding: 0 0 4rem;
}

/* Page Process */
.process-page-intro {
  padding: 16rem 0 2rem;
  background: var(--background);
}

.process-page-steps {
  padding: 0 0 2rem;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.process-step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.process-step-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.process-step-card p {
  margin: 0;
  color: var(--muted-foreground);
}

.process-page-guidelines {
  padding: 1rem 0 4rem;
}

.process-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.process-ref-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
}

.process-ref-card h3 {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-size: 1rem;
}

.process-ref-card p {
  margin: 0;
  color: var(--muted-foreground);
}

.process-note {
  margin: 1rem 0 0;
  color: var(--muted-foreground);
}

/* Badge accord cliquable (bouton) */
.accord-badge {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.accord-badge:hover {
  box-shadow: var(--shadow-md);
  border-color: hsl(150 25% 82%);
}

.accord-badge:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}

/* Popup fiche accord */
.accord-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}

.accord-popup.is-open {
  visibility: visible;
  opacity: 1;
}

.accord-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 51, 40, 0.6);
  backdrop-filter: blur(4px);
}

.accord-popup-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.5rem 2rem;
}

.accord-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.accord-popup-close:hover {
  color: var(--foreground);
  background: var(--muted);
}

.accord-popup-close:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.accord-popup-body {
  padding-right: 1.5rem;
}

/* Contenu de la fiche dans le popup */
.accord-fiche-content {
  margin: 0;
}

.accord-fiche-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
  padding-right: 2rem;
}

.accord-fiche-region {
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.accord-fiche-content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.accord-fiche-content p:last-child {
  margin-bottom: 0;
}

.accord-fiche-tip {
  padding: 0.75rem 1rem;
  background: var(--muted);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-size: 0.875rem;
  margin-top: 1rem !important;
}

.conseils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.conseil-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.conseil-card:hover {
  box-shadow: var(--shadow-md);
  border-color: hsl(150 25% 82%);
}

.conseil-card-image {
  aspect-ratio: 16 / 10;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.conseil-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conseil-card-placeholder {
  font-size: 3rem;
  opacity: 0.6;
}

.conseil-card-content {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.conseil-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.conseil-card-excerpt {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.55;
}

/* Tasting – Card on dark background */
.tasting {
  padding: 4rem 0;
  background: var(--primary);
  color: var(--primary-foreground);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tasting .section-title {
  color: hsl(0 0% 100%);
}

.tasting .section-intro {
  color: hsl(0 0% 100% / 0.85);
}

.tasting-card {
  background: hsl(0 0% 100% / 0.06);
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  max-width: 560px;
  box-shadow: var(--shadow-sm);
}

.tasting-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--gold-light);
}

.tasting-content p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  opacity: 0.92;
}

.tasting-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.tasting-details li {
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  opacity: 0.92;
}

.tasting-note {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem !important;
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact .section-title,
.contact .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.contact .section-intro {
  max-width: 40ch;
  white-space: nowrap;
}

.contact-block {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
  border-radius: var(--radius-md);
}

.contact-link:hover {
  color: var(--gold);
}

.contact-link:focus-visible {
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

.contact-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Footer – inspiration visuelle premium (3 colonnes + réseaux sociaux) */
.footer {
  padding: 2.25rem 0 1rem;
  background: var(--primary);
  color: hsl(0 0% 100% / 0.92);
  border-top: 1px solid hsl(0 0% 100% / 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-col--brand {
  text-align: left;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--white);
}

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: hsl(0 0% 100% / 0.86);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid hsl(0 0% 100% / 0.38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: hsl(0 0% 100% / 0.14);
  border-color: hsl(0 0% 100% / 0.7);
  transform: translateY(-1px);
}

.social-link--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.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;
}

.footer-col--nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-col--nav a {
  color: hsl(0 0% 100% / 0.92);
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.footer-col--nav a:hover {
  opacity: 0.75;
}

.footer-col--contact {
  text-align: right;
}

.footer-contact-title {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: var(--white);
}

.footer-contact-line {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  color: hsl(0 0% 100% / 0.88);
}

.footer-contact-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-contact-link:hover {
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid hsl(0 0% 100% / 0.16);
  text-align: center;
}

.footer-legal {
  font-size: 0.78rem;
  opacity: 0.8;
  margin: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .header-top {
    flex-direction: column;
    gap: 0;
  }

  .nav-left,
  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .header-inner.menu-open .nav-left,
  .header-inner.menu-open .nav-right {
    display: flex;
  }

  .header-banner {
    order: 1;
  }

  .nav-left {
    order: 2;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .nav-right {
    order: 3;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .nav a {
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-md);
  }

  .nav a:hover {
    background: var(--muted);
  }

  .nav-toggle {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }

  [id="accueil"],
  [id="notre-histoire"],
  [id="a-propos"],
  [id="origine-saveurs"],
  [id="produits"],
  [id="process"],
  [id="services"],
  [id="conseils"],
  [id="contact"] {
    scroll-margin-top: 8rem;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
    align-items: stretch;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.25rem;
  }

  .hero-card--text {
    order: 1;
    padding: 1.75rem 1.5rem;
    text-align: center;
  }

  .hero-card--carousel {
    order: 0;
    min-height: 55vh;
  }

  .hero-content {
    max-width: none;
  }

  .hero-banner-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 0.75rem;
  }

  .hero-banner-title {
    font-size: 1.125rem;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-card--carousel .hero-carousel {
    min-height: 55vh;
  }

  .header-banner-name {
    font-size: 1.125rem;
  }

  .header-banner-tagline {
    font-size: 0.875rem;
  }

  .header-banner-logo {
    width: 56px;
    height: 56px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1;
  }

  .about-photo {
    order: 0;
  }

  .about-accroche {
    margin-bottom: 1.5rem;
  }

  .about-block {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .about-a-propos-grid {
    grid-template-columns: 1fr;
  }

  .about-a-propos-image {
    order: 0;
    min-height: 240px;
    max-height: 320px;
  }

  .about-a-propos-image img {
    min-height: 240px;
  }

  .about-a-propos-content {
    order: 1;
  }

  .services-page-intro {
    padding-top: 8rem;
  }

  .process-page-intro {
    padding-top: 8rem;
  }

  .service-detail {
    scroll-margin-top: 8rem;
  }

  .conseils-page-intro {
    padding-top: 8rem;
  }

  .conseils-block {
    grid-template-columns: 1fr;
  }

  .conseils-image {
    order: 0;
  }

  .conseils-content {
    order: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col--brand,
  .footer-col--contact {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .product-card h3 {
    font-size: 1rem;
  }

  .contact .section-intro {
    white-space: normal;
  }

  .contact-block {
    padding: 1.25rem;
  }

  .contact-link {
    font-size: 1.25rem;
  }
}
