/* =========================================================
   CHOCOLATHÉ MARRAKECH — Design System
   ========================================================= */

:root {
  /* Palette */
  --ivoire: #F5EFE3;
  --creme: #EFE6D3;
  --sauge: #8FA17B;
  --sauge-dark: #76876B;
  --bronze: #B08A3E;
  --bronze-dark: #8F6F2F;
  --terracotta: #C97B5E;
  --terracotta-dark: #A5634B;
  --noyer: #2B2019;
  --taupe: #6B5D4F;
  --sable: #D9CFBC;
  --ivoire-pur: #FAF6EC;
  --whatsapp: #25D366;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', monospace;

  /* Scale */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(43, 32, 25, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 32, 25, 0.1);
  --shadow-lg: 0 20px 48px rgba(43, 32, 25, 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 300ms;

  /* Layout */
  --container: 1200px;
  --header-h: 92px;
}
@media (min-width: 1024px) {
  :root { --header-h: 104px; }
}
.header.is-scrolled {
  --header-h: 72px;
}
@media (min-width: 1024px) {
  .header.is-scrolled { --header-h: 80px; }
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--noyer);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--noyer);
  color: var(--ivoire);
  padding: 12px 20px;
  z-index: 9999;
  font-weight: 500;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--sauge);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--noyer);
  margin: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem);
  font-weight: 600;
}
h2 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  font-weight: 600;
}
h3 {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 600;
}
h4 {
  font-size: clamp(1.125rem, 1.2vw + 0.5rem, 1.375rem);
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--taupe);
  max-width: 65ch;
}
p strong { color: var(--noyer); font-weight: 500; }

.display-mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

.section {
  padding: 64px 0;
}
@media (min-width: 768px) {
  .section { padding: 96px 0; }
}

.section-sm { padding: 48px 0; }
@media (min-width: 768px) { .section-sm { padding: 64px 0; } }

.section--creme { background: var(--creme); }
.section--sauge { background: var(--sauge); color: var(--ivoire); }
.section--sauge h2, .section--sauge h3 { color: var(--ivoire); }
.section--sauge p { color: rgba(245, 239, 227, 0.85); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bronze);
  margin-bottom: 16px;
  display: inline-block;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-intro p {
  margin: 16px auto 0;
  font-size: 1.0625rem;
}

.text-center { text-align: center; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 239, 227, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background var(--duration) var(--ease), backdrop-filter var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header.is-scrolled {
  background: rgba(245, 239, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}
.logo__mark { display: none; }
.logo__image {
  height: 68px;
  width: 68px;
  max-height: 68px;
  max-width: 68px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
  transition: height var(--duration) var(--ease), width var(--duration) var(--ease), max-height var(--duration) var(--ease), max-width var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
@media (min-width: 1024px) {
  .logo__image {
    height: 78px;
    width: 78px;
    max-height: 78px;
    max-width: 78px;
  }
}
.header.is-scrolled .logo__image {
  height: 54px;
  width: 54px;
  max-height: 54px;
  max-width: 54px;
  box-shadow: 0 1px 4px rgba(43, 32, 25, 0.15);
}
@media (min-width: 1024px) {
  .header.is-scrolled .logo__image {
    height: 60px;
    width: 60px;
    max-height: 60px;
    max-width: 60px;
  }
}

/* Nav + header CTA dual-state (transparent au top, coloré au scroll) */
.header:not(.is-scrolled) .nav a {
  color: var(--ivoire);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.header:not(.is-scrolled) .nav a.is-active {
  color: var(--ivoire);
}
.header:not(.is-scrolled) .header__cta {
  background: rgba(20, 14, 10, 0.35);
  color: var(--ivoire);
  border: 1.5px solid rgba(245, 239, 227, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  font-weight: 600;
}
.header:not(.is-scrolled) .header__cta:hover {
  background: var(--sauge);
  border-color: var(--sauge);
}
.header:not(.is-scrolled) .menu-toggle {
  color: var(--ivoire);
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--noyer);
  padding: 4px 0;
  transition: color 200ms;
}
.nav a:hover { color: var(--sauge); }
.nav a.is-active { color: var(--sauge); font-weight: 600; }

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}

/* Mobile menu */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  color: var(--noyer);
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ivoire);
  z-index: 99;
  padding: calc(var(--header-h) + 24px) 24px 32px;
  transform: translateY(-100%);
  transition: transform 400ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--noyer);
  padding: 12px 0;
  border-bottom: 1px solid var(--sable);
}
.mobile-nav a.is-active { color: var(--sauge); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: all 250ms var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--sauge);
  color: var(--ivoire-pur);
}
.btn--primary:hover {
  background: var(--sauge-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--noyer);
  border: 1.5px solid var(--noyer);
}
.btn--secondary:hover {
  background: var(--noyer);
  color: var(--ivoire-pur);
}

.btn--ghost {
  background: transparent;
  color: var(--noyer);
  padding: 0 8px;
}
.btn--ghost:hover { color: var(--sauge); }

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
}

.btn--lg {
  height: 56px;
  padding: 0 32px;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sauge);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: gap 250ms var(--ease), color 250ms var(--ease);
}
.link-arrow:hover { gap: 12px; color: var(--bronze); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 65vh;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--noyer);
  color: var(--ivoire);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  opacity: 1;
}
@media (min-width: 1024px) {
  .hero__bg img {
    object-position: center center;
  }
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 14, 10, 0.55) 0%, rgba(20, 14, 10, 0.45) 50%, rgba(20, 14, 10, 0.65) 100%);
}
@media (min-width: 1024px) {
  .hero__bg::after {
    background: linear-gradient(to bottom, rgba(20, 14, 10, 0.40) 0%, rgba(20, 14, 10, 0.30) 50%, rgba(20, 14, 10, 0.50) 100%);
  }
}
.hero h1,
.hero .hero__subtitle {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero__label {
  font-size: 0.875rem;
  color: var(--creme);
  margin-bottom: 16px;
  display: inline-block;
}
.hero h1 {
  color: var(--ivoire-pur);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}
.hero__subtitle {
  color: rgba(245, 239, 227, 0.88);
  font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero__microcopy {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(245, 239, 227, 0.65);
}

.hero--compact {
  min-height: auto;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 64px;
}
.hero--compact h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3rem); }

/* =========================================================
   GRIDS & CARDS
   ========================================================= */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 32px; }
}

.card {
  background: var(--ivoire-pur);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sable);
}

.card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--creme);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--noyer);
}
.card__desc {
  color: var(--taupe);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.card__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--bronze);
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.card__price-suffix {
  font-size: 0.75rem;
  color: var(--taupe);
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* =========================================================
   SPLIT SECTIONS (2 colonnes)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse .split__media { order: 2; }
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--creme);
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split__content { max-width: 560px; }
.split__content h2 { margin-bottom: 20px; }
.split__content p { margin-bottom: 16px; font-size: 1.0625rem; }

/* =========================================================
   FEATURES LIST
   ========================================================= */
.features-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.features-list li {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ivoire-pur);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--noyer);
  border: 1px solid var(--sable);
}
.features-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--sauge);
  border-radius: 50%;
  margin-top: 8px;
  flex: 0 0 6px;
}

/* =========================================================
   GLACES SECTION (ex-signature, simplifiee)
   ========================================================= */
.glaces-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .glaces-section { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.glaces-section__media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--creme);
}
.glaces-section__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.glaces-section__content { max-width: 540px; }
.glaces-section__prices {
  margin: 20px 0;
  font-size: 1rem;
  color: var(--noyer);
  font-weight: 500;
}

/* =========================================================
   QUOTE / CITATION
   ========================================================= */
.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}
.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.375rem, 2vw + 0.75rem, 2rem);
  color: var(--noyer);
  line-height: 1.45;
  margin: 0 0 20px;
  position: relative;
}
.quote blockquote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.6;
}
.quote__attrib {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--taupe);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}
.faq__item {
  background: var(--ivoire-pur);
  border: 1px solid var(--sable);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 250ms var(--ease);
}
.faq__item[open] { border-color: var(--sauge); }
.faq__summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--noyer);
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::after {
  content: '';
  width: 14px; height: 14px;
  border-right: 2px solid var(--noyer);
  border-bottom: 2px solid var(--noyer);
  transform: rotate(45deg);
  transition: transform 250ms var(--ease);
  flex: 0 0 14px;
}
.faq__item[open] .faq__summary::after { transform: rotate(-135deg); }
.faq__body {
  padding: 0 24px 20px;
  color: var(--taupe);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* =========================================================
   CONTACT INFO GRID
   ========================================================= */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.info-card {
  padding: 32px 24px;
  background: var(--ivoire-pur);
  border: 1px solid var(--sable);
  border-radius: var(--radius-lg);
}
.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.info-card p {
  font-size: 0.9375rem;
  margin: 0 0 4px;
  color: var(--noyer);
}
.info-card p.muted { color: var(--taupe); font-size: 0.875rem; }
.info-card a { color: var(--sauge); font-weight: 500; }
.info-card a:hover { color: var(--bronze); }

/* =========================================================
   MAP EMBED
   ========================================================= */
.map-wrapper {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sable);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}

/* =========================================================
   FORM
   ========================================================= */
.form {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
.form__row {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}
.form__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--noyer);
  margin-bottom: 6px;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--ivoire-pur);
  border: 1px solid var(--sable);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--noyer);
  transition: border-color 200ms, box-shadow 200ms;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--sauge);
  box-shadow: 0 0 0 3px rgba(143,161,123,0.15);
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__field .helper { font-size: 0.8125rem; color: var(--taupe); margin-top: 4px; }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--taupe);
}
.form__check input { margin-top: 3px; width: 18px; height: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--noyer);
  color: rgba(245, 239, 227, 0.75);
  padding: 72px 0 32px;
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
}
.footer__col h4 {
  color: var(--ivoire-pur);
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__baseline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ivoire-pur);
  margin: 12px 0;
  line-height: 1.5;
  max-width: 300px;
}
.footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.footer__col a {
  color: rgba(245, 239, 227, 0.75);
  transition: color 200ms;
}
.footer__col a:hover { color: var(--creme); }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(245, 239, 227, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, color 200ms;
}
.footer__social a:hover { background: var(--sauge); color: var(--ivoire-pur); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(245, 239, 227, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(245, 239, 227, 0.55);
}
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--creme); }

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 18px;
  background: var(--sauge) !important;
  color: var(--ivoire-pur) !important;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9375rem;
  box-shadow: 0 6px 20px rgba(43, 32, 25, 0.22);
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.wa-float:hover { background: var(--bronze) !important; transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; color: var(--ivoire-pur); }
.wa-float__label { display: none; }
@media (min-width: 480px) {
  .wa-float__label { display: inline; }
}
/* Desktop : CTA dans le header suffit → on cache le FAB au-dessus de 1024 */
@media (min-width: 1024px) {
  .wa-float { display: none !important; }
}
@media print { .wa-float { display: none !important; } }

/* =========================================================
   IFRAME MENU
   ========================================================= */
.menu-embed {
  margin-top: 32px;
  width: 100%;
  height: calc(100vh - var(--header-h) - 32px);
  min-height: 640px;
  border: 1px solid var(--sable);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivoire-pur);
  box-shadow: var(--shadow-md);
}
.menu-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.menu-fallback {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--taupe);
}

/* =========================================================
   NEARBY PILL LIST
   ========================================================= */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.pill-list li {
  padding: 8px 16px;
  background: var(--ivoire-pur);
  border: 1px solid var(--sable);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--noyer);
  font-weight: 500;
}

/* =========================================================
   STEPS (services)
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  padding: 28px 24px;
  background: var(--ivoire-pur);
  border: 1px solid var(--sable);
  border-radius: var(--radius-lg);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--bronze);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.step p { font-size: 0.9375rem; margin: 0; }

/* =========================================================
   BLOG INDEX
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.blog-card {
  background: var(--ivoire-pur);
  border: 1px solid var(--sable);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 250ms, transform 250ms var(--ease);
  position: relative;
}
.blog-card:hover { border-color: var(--sauge); transform: translateY(-3px); }
.blog-card__cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bronze);
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--noyer);
  line-height: 1.25;
  margin: 0;
  flex: 1;
}
.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--taupe);
  margin-top: auto;
  padding-top: 8px;
}
.blog-card--soon {
  opacity: 0.75;
  pointer-events: none;
}
.blog-card--soon::after {
  content: 'Bientôt';
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--taupe);
  background: var(--creme);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }

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

/* =========================================================
   UTILS
   ========================================================= */
.divider {
  height: 1px;
  background: var(--sable);
  margin: 48px 0;
}
.text-muted { color: var(--taupe); }
.mt-lg { margin-top: 48px; }
.mt-xl { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }

/* 404 */
.not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found h1 { font-size: clamp(3rem, 12vw, 7rem); margin-bottom: 8px; }
.not-found p { max-width: 480px; font-size: 1.0625rem; }
