/* === Bazil et Saveur — Styles === */
:root {
  --basil-700: #047857; /* emerald-700 */
  --basil-600: #059669; /* emerald-600 */
  --basil-100: #d1fae5;
  --cream: #faf7f2;
  --sand-100: #fef3c7; /* amber-100 */
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 1px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --container: 1160px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--stone-900);
  background: var(--stone-50);
  line-height: 1.5;
}
h1,h2{
    font-family: Charmonman;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.small { font-size: .875rem; }
.muted { color: var(--stone-900); }
.lead { font-size: 1.125rem; color: var(--stone-700); }
.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; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.1) blur(8px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid var(--stone-200);
}
.topbar__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 36px; height: 36px; border-radius: 0.9rem; background: var(--basil-600); color: #fff; display:grid; place-items:center; font-weight: 700; box-shadow: var(--shadow-sm);
}
.brand__title { font-weight: 800; letter-spacing: .2px; margin: 0; }
.brand__subtitle { margin: 0; margin-top: -2px; font-size: .75rem; color: var(--stone-600); }
.nav { display: none; gap: 24px; align-items: center; }
.nav a { font-size: .95rem; }
.nav a:hover { color: var(--basil-700); }
.cta { display: flex; gap: 10px; }

@media (min-width: 768px) { .nav { display: flex; } }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding: 10px 16px; border-radius: 999px; font-weight:600; border:1px solid transparent; box-shadow: var(--shadow-sm); transition: .2s ease; }
.btn--primary { background: var(--basil-600); color: #fff; }
.btn--primary:hover { background: var(--basil-700); }
.btn--dark { background: var(--stone-900); color:#fff; }
.btn--dark:hover { background: #111; }
.btn--outline { color: var(--basil-700); border-color: var(--basil-700); background: transparent; }
.btn--outline:hover { background: #ecfdf5; }
.btn--soft { background:#fff; border-color: var(--stone-300); }
.btn--soft:hover { background: var(--stone-100); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(135deg, var(--basil-100), var(--sand-100) 60%, var(--stone-50));
}
/*hero img*/
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recadre proprement */
  display: block;
}

.hero__inner { display:grid; grid-template-columns: 1fr; gap: 24px; padding: 56px 16px 40px; }
.hero__text h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin:0; font-weight: 900; letter-spacing: .2px; }
.hero__actions { display:flex; flex-wrap: wrap; gap:12px; margin-top: 18px; }
.hero__meta { margin-top: 16px; color: var(--stone-600); display:flex; gap: 24px; flex-wrap: wrap; }
.hero__visual { aspect-ratio: 4/3; border-radius: var(--radius-2xl); overflow:hidden; box-shadow: var(--shadow-md); border:1px solid var(--stone-200); }
.placeholder { height:100%; display:grid; place-items:center; background: linear-gradient(45deg, #ecfdf5, #fff, #fffbe6); }
.placeholder__hint { background: rgba(255,255,255,.8); padding: 6px 12px; border-radius: 999px; font-size:.8rem; color: var(--stone-700); }
.placeholder__sub { margin: 6px 0 0; font-size:.85rem; color: var(--stone-600); text-align:center; }

.features { display:grid; grid-template-columns: 1fr; gap:12px; margin: 24px auto 0; }
.feature { background:#fff; border:1px solid var(--stone-200); border-radius: var(--radius-2xl); padding: 16px; display:flex; gap:12px; align-items:flex-start; box-shadow: var(--shadow-sm); }
.feature__icon { width:36px; height:36px; border-radius: .9rem; background: var(--basil-600); color:#fff; display:grid; place-items:center; font-size:18px; box-shadow: var(--shadow-sm); }
.feature__title { margin:0; font-weight:700; }
.feature__text { margin:.25rem 0 0; color: var(--stone-600); font-size:.95rem; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; align-items:center; padding-top: 80px; }
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* Sections */
.section { padding: 64px 0; }
.section--alt { background: #fff; border-block: 1px solid var(--stone-200); }
.section__header { display:flex; align-items:flex-end; justify-content:space-between; gap: 16px; flex-wrap: wrap; }

/* Cards */
.cards { display:grid; grid-template-columns: 1fr; gap: 16px; }
.cards--bundles { margin-top: 18px; }
.card { background:#fff; border:1px solid var(--stone-200); border-radius: var(--radius-2xl); box-shadow: var(--shadow-sm); padding: 20px; transition: box-shadow .2s ease, transform .06s ease; }
.card:hover { box-shadow: var(--shadow-md); }
.card--bundle .card__head { display:flex; align-items:baseline; justify-content:space-between; }
.card--highlight { border-color: var(--basil-600); background: #ecfdf5; }
.price { font-weight: 700; color: var(--stone-900); }
.list { margin: 10px 0 16px; padding-left: 18px; }
.list li { margin: 6px 0; }

.card--menu .card__row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.card__title { margin:0; font-size: 1.05rem; font-weight: 700; font-family: 'Charmonman';}
.tag { margin-top: 8px; font-size: .8rem; color: var(--stone-900); }

/* === Arrière-plan photo sur les cards === */
.card--menu {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #000;
  overflow: hidden;
}

/* Superposition semi-transparente pour lisibilité du texte 
.card--menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.2; /* 60% *
  z-index: 0;
}*/

/* Pour que le texte reste au-dessus */
.card--menu * {
  position: relative;
  z-index: 1;
}
/* === Photo d'arrière-plan dans les cards (opacité 60%) === */
.card--menu {
  position: relative;
  overflow: hidden;           /* masque ce qui dépasse */
  /* variable CSS qui recevra l'URL de l'image */
  --card-bg: none;
}

/* Calque image en arrière-plan (n'affecte pas le texte) */
.card--menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;              /* 20% */
  z-index: 0;
}

/* Le contenu reste au-dessus de l'image */
.card--menu > * {
  position: relative;
  z-index: 1;
}
/* === Arrière-plan des cards avec effet zoom & opacité === */
.card--menu {
  position: relative;
  overflow: hidden;
  --card-bg: none;
  background: none !important;
}

/* Image de fond */
.card--menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  transform: scale(1);
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 0;
}

/* Texte et contenu au-dessus */
.card--menu > * {
  position: relative;
  z-index: 1;
}

/* === Card avec image de fond + zoom et ombre au survol === */
.card--menu {
  position: relative;
  overflow: hidden;
  --card-bg: none;
  background: none !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image de fond semi-transparente */
.card--menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2; /* au repos */
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Contenu au-dessus de l'image */
.card--menu > * {
  position: relative;
  z-index: 1;
}

/* Effet au survol et clic */
.card--menu:hover,
.card--menu:active {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.70);
}

/* L’image de fond devient opaque au survol/clic */
.card--menu:hover::before,
.card--menu:active::before {
  opacity: 1;
}

@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Filters */
.filters { display:flex; gap:8px; flex-wrap:wrap; }
.filter { padding: 8px 12px; border-radius: 999px; background:#fff; border:1px solid var(--stone-300); cursor:pointer; font-weight:600; }
.filter:hover { background: var(--stone-100); }
.filter.is-active { background: var(--basil-600); color:#fff; border-color: var(--basil-600); }

/* Grid utility */
.grid { display:grid; gap: 24px; align-items:start; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 980px) { .grid--2 { grid-template-columns: 1fr 1fr; } }

/* Thés & Cafés photos */
.photos { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo { aspect-ratio: 4/3; border-radius: var(--radius-xl); overflow:hidden; border:1px solid var(--stone-200); box-shadow: var(--shadow-sm); display:grid; place-items:center; background: linear-gradient(135deg, var(--stone-100), var(--basil-100), var(--sand-100)); }
.photo span { background: rgba(255,255,255,.8); padding:6px 10px; border-radius: 999px; color: var(--stone-700); font-size: .9rem; }

/* About */
.about { background: linear-gradient(180deg, var(--stone-50), rgba(16,185,129,.08)); }
.about__grid { align-items:center; }
.about__visual { border-radius: var(--radius-2xl); overflow:hidden; border:1px solid var(--stone-200); box-shadow: var(--shadow-md); }
.about__text p { margin: .75rem 0 0; color: var(--stone-700); }

/* Panel & Map */
.card--panel { padding: 24px; }
.panel__title { margin: 0 0 8px; font-size: 1.2rem; font-weight: 700; }
.panel__grid { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map__placeholder { height: 100%; min-height: 280px; display:grid; place-items:center; background: linear-gradient(135deg, var(--stone-100), var(--basil-100), var(--sand-100)); color: var(--stone-700); border-radius: var(--radius-2xl); }

@media (max-width: 700px) { .panel__grid { grid-template-columns: 1fr; } }

/* Utilities */
.actions { display:flex; gap: 10px; flex-wrap: wrap; }
.gap { gap: 24px; }