:root {
  --color-brand: #2c1a0e;
  --color-cta: #e8a020;
  --font-main: Verdana, Geneva, Tahoma, sans-serif;
  --text-muted: #777;
  --border: #ddd;
  --bg-light: #faf7f4;
  --bg-card: #fff;
}

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

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: #2a1a0a;
  background-color: #fff;
  font-weight: 400;
}

img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

* {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.article-main {
  max-width: 100%;
}

.article-wrapper {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

/* === Article head (eyebrow + title + lede) === */
.article-head {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 820px;
}

.article-head__eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #8a5a2a;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}

.article-head__cat {
  color: var(--color-brand);
}

.article-head__sep {
  width: 4px;
  height: 4px;
  background: rgba(44, 26, 14, 0.35);
  border-radius: 50%;
  display: inline-block;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.article-lede {
  font-size: 18px;
  color: #4a3020;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 720px;
  font-weight: 400;
}

/* === Article hero figure (image + caption) === */
.article-hero {
  position: relative;
  margin: 0 0 56px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(44, 26, 14, 0.18),
    0 6px 16px rgba(44, 26, 14, 0.08);
}

.article-hero img {
  display: block;
  width: 100%;
  height: clamp(280px, 48vw, 520px);
  object-fit: cover;
}

.article-hero__accent {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 64px;
  height: 4px;
  background: var(--color-cta);
  border-radius: 2px;
  z-index: 2;
}

.article-hero__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 32px 22px;
  background: linear-gradient(
    to top,
    rgba(20, 12, 6, 0.85) 0%,
    rgba(20, 12, 6, 0.55) 60%,
    rgba(20, 12, 6, 0) 100%
  );
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.article-hero__caption-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-brand);
  background: var(--color-cta);
  padding: 5px 11px;
  border-radius: 3px;
}

.article-hero__inner {
  padding: 0 0 32px;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.article-date {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.article-reading {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.article-hero__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
  margin: 0 0 20px;
  letter-spacing: 0;
}

.article-hero__lead {
  font-size: 18px;
  color: #4a3020;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

.article-hero__visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.article-hero__visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.article-body {
  margin-top: 0;
}

.article-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #f5ede0;
  border-left: 4px solid var(--color-brand);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 40px;
  color: #4a3020;
  font-size: 14px;
  line-height: 1.7;
}

.article-disclaimer svg {
  flex-shrink: 0;
  color: var(--color-brand);
  margin-top: 2px;
}

.article-disclaimer p {
  margin: 0;
  font-size: 14px;
}

.article-intro-block {
  margin-bottom: 48px;
}

.article-intro-block p {
  font-size: 17px;
  line-height: 1.7;
  color: #2a1a0a;
  margin: 0 0 20px;
}

.article-intro-block p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
  margin: 0 0 12px;
}

.section-intro {
  font-size: 16px;
  color: #4a3020;
  margin: 0 0 28px;
  line-height: 1.7;
}

.bistro-filters-section {
  margin-bottom: 60px;
}

.filters-container {
  margin-top: 24px;
}

.filter-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  align-items: center;
}

.filter-btn {
  display: inline-block;
  padding: 8px 18px;
  background-color: #f5ede0;
  color: var(--color-brand);
  border: 2px solid #e8d5b8;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
  font-family: var(--font-main);
}

.filter-radio:checked + .filter-btn {
  background-color: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

.filter-btn:hover {
  background-color: #eadac4;
  border-color: var(--color-brand);
}

.bistro-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bistro-card {
  display: flex;
  gap: 24px;
  background-color: #fdf9f5;
  border: 1px solid #e8d5b8;
  border-radius: 8px;
  padding: 28px;
  transition: box-shadow 0.2s;
}

.bistro-card:hover {
  box-shadow: 0 4px 12px rgba(44, 26, 14, 0.12);
}

.bistro-card__number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #e8d5b8;
  line-height: 1.7;
  flex-shrink: 0;
  min-width: 60px;
}

.bistro-card__content {
  flex: 1;
  min-width: 0;
}

.bistro-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
  margin: 0 0 4px;
}

.bistro-card__quartier {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 400;
}

.bistro-card__desc {
  font-size: 16px;
  color: #2a1a0a;
  line-height: 1.7;
  margin: 0 0 16px;
}

.bistro-card__desc strong {
  color: var(--color-brand);
  font-weight: 700;
}

.bistro-card__infos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #e8d5b8;
  padding-top: 14px;
}

.bistro-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  font-weight: 400;
}

.bistro-info svg {
  flex-shrink: 0;
  color: var(--color-brand);
}

.bistro-info--prix {
  font-weight: 700;
  color: var(--color-brand);
}

#filter-all:checked ~ .bistro-cards-grid .bistro-card { display: flex; }
#filter-produit:checked ~ .bistro-cards-grid .bistro-card[data-style~="produit"] { display: flex; }
#filter-produit:checked ~ .bistro-cards-grid .bistro-card:not([data-style~="produit"]) { display: none; }
#filter-creative:checked ~ .bistro-cards-grid .bistro-card[data-style~="creative"] { display: flex; }
#filter-creative:checked ~ .bistro-cards-grid .bistro-card:not([data-style~="creative"]) { display: none; }
#filter-nature:checked ~ .bistro-cards-grid .bistro-card[data-style~="nature"] { display: flex; }
#filter-nature:checked ~ .bistro-cards-grid .bistro-card:not([data-style~="nature"]) { display: none; }
#filter-comptoir:checked ~ .bistro-cards-grid .bistro-card[data-style~="comptoir"] { display: flex; }
#filter-comptoir:checked ~ .bistro-cards-grid .bistro-card:not([data-style~="comptoir"]) { display: none; }

.tabs-section {
  margin-bottom: 60px;
}

.tabs-wrapper {
  margin-top: 24px;
}

.tab-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tabs-labels {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-brand);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.tab-label {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  background-color: #f5ede0;
  border: 1px solid #e8d5b8;
  border-bottom: none;
  margin-right: 4px;
  transition: background-color 0.2s, color 0.2s;
  font-family: var(--font-main);
}

.tab-label:hover {
  background-color: #eadac4;
}

#tab-ambiance:checked ~ .tabs-labels label[for="tab-ambiance"],
#tab-rapport:checked ~ .tabs-labels label[for="tab-rapport"],
#tab-carte:checked ~ .tabs-labels label[for="tab-carte"] {
  background-color: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

.tabs-content {
  border: 1px solid #e8d5b8;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background-color: #fdf9f5;
}

.tab-panel {
  display: none;
  padding: 28px;
}

#tab-ambiance:checked ~ .tabs-content #panel-ambiance,
#tab-rapport:checked ~ .tabs-content #panel-rapport,
#tab-carte:checked ~ .tabs-content #panel-carte {
  display: block;
}

.tab-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 580px;
}

.compare-table caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 12px;
  padding-bottom: 8px;
  font-weight: 400;
}

.compare-table thead {
  background-color: var(--color-brand);
}

.compare-table thead th {
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  line-height: 1.7;
}

.compare-table tbody tr {
  border-bottom: 1px solid #e8d5b8;
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table tbody tr:nth-child(even) {
  background-color: #faf3ea;
}

.compare-table tbody td {
  padding: 11px 14px;
  color: #2a1a0a;
  line-height: 1.7;
  font-weight: 400;
}

.compare-table tbody .score {
  font-weight: 700;
  color: var(--color-brand);
  text-align: center;
}

.pullquote-section {
  margin: 60px 0;
  padding: 0 20px;
}

.article-pullquote {
  border-left: 5px solid var(--color-brand);
  padding: 20px 32px;
  margin: 0;
  background-color: #f5ede0;
  border-radius: 0 8px 8px 0;
}

.article-pullquote p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
  margin: 0;
}

.progress-section {
  margin-bottom: 60px;
}

.progress-circles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin: 32px 0 16px;
}

.progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.progress-svg {
  display: block;
}

.progress-track {
  stroke: #e8d5b8;
}

.progress-fill {
  stroke: var(--color-brand);
  transition: stroke-dasharray 0.4s;
}

.progress-text {
  font-size: 18px;
  font-weight: 700;
  fill: var(--color-brand);
  font-family: var(--font-main);
}

.progress-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 400;
  margin: 0;
}

.progress-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.roi-section {
  margin-bottom: 60px;
  background-color: #fdf9f5;
  border: 1px solid #e8d5b8;
  border-radius: 8px;
  padding: 36px;
}

.roi-section .section-title {
  margin-bottom: 12px;
}

.roi-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 28px;
  align-items: start;
}

.roi-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.roi-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roi-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
}

.roi-select {
  padding: 10px 14px;
  border: 1px solid #e8d5b8;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-main);
  color: #2a1a0a;
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.roi-select:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.roi-btn {
  padding: 12px 24px;
  background-color: var(--color-cta);
  color: #2a1a0a;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color 0.2s, box-shadow 0.2s;
  text-align: center;
  margin-top: 4px;
}

.roi-btn:hover {
  background-color: #d4901a;
  box-shadow: 0 2px 8px rgba(232, 160, 32, 0.3);
}

.roi-result {
  background-color: #fff;
  border: 1px solid #e8d5b8;
  border-radius: 8px;
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roi-result__hint {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  font-style: italic;
}

.roi-result__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.roi-result__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi-result__item--total {
  grid-column: 1 / -1;
  border-top: 2px solid var(--color-brand);
  padding-top: 12px;
  margin-top: 4px;
}

.roi-result__label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
}

.roi-result__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
}

.roi-result__item--total .roi-result__value {
  font-size: 1.8rem;
}

.roi-result__note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 16px 0 0;
  font-style: italic;
}

.tendances-section {
  margin-bottom: 60px;
}

.tendances-section p {
  font-size: 16px;
  color: #2a1a0a;
  line-height: 1.7;
  margin: 0 0 28px;
}

.tendances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tendance-item {
  background-color: #fdf9f5;
  border: 1px solid #e8d5b8;
  border-radius: 8px;
  padding: 24px 20px;
}

.tendance-icon {
  width: 52px;
  height: 52px;
  background-color: #f5ede0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-brand);
}

.tendance-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
  margin: 0 0 10px;
}

.tendance-item p {
  font-size: 14px;
  color: #4a3020;
  line-height: 1.7;
  margin: 0;
}

.mega-dropdown-section {
  margin-bottom: 60px;
}

.occasion-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.occasion-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.occasion-card {
  border: 1px solid #e8d5b8;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fdf9f5;
}

.occasion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.7;
  background-color: #fdf9f5;
  transition: background-color 0.2s;
  font-family: var(--font-main);
}

.occasion-header:hover {
  background-color: #f5ede0;
}

.occasion-header svg {
  flex-shrink: 0;
  color: var(--color-brand);
}

.occasion-header span {
  flex: 1;
}

.occ-chevron {
  transition: transform 0.2s;
}

.occasion-toggle:checked ~ .occasion-header .occ-chevron {
  transform: rotate(180deg);
}

.occasion-content {
  display: none;
  padding: 0 22px 20px;
  border-top: 1px solid #e8d5b8;
}

.occasion-toggle:checked ~ .occasion-content {
  display: block;
}

.occasion-content p {
  font-size: 15px;
  color: #2a1a0a;
  line-height: 1.7;
  margin: 16px 0 0;
}

.occasion-content strong {
  color: var(--color-brand);
  font-weight: 700;
}

.conclusion-section {
  margin-bottom: 48px;
}

.conclusion-section p {
  font-size: 16px;
  color: #2a1a0a;
  line-height: 1.7;
  margin: 0 0 18px;
}

.conclusion-section p:last-child {
  margin-bottom: 0;
}

.article-end-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #e8d5b8;
  padding-top: 24px;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 13px;
}

.article-end-disclaimer svg {
  flex-shrink: 0;
  color: var(--text-muted);
  margin-top: 2px;
}

.article-end-disclaimer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .article-wrapper {
    width: 100%;
    padding: 24px 16px 40px;
  }

  .article-head {
    margin-bottom: 28px;
  }

  .article-head__eyebrow {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
  }

  .article-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .article-lede {
    font-size: 16px;
  }

  .article-hero {
    margin-bottom: 36px;
    border-radius: 12px;
  }

  .article-hero__caption {
    padding: 18px 18px 16px;
    font-size: 13px;
    gap: 10px;
  }

  .article-hero__accent {
    top: 14px;
    left: 14px;
    width: 48px;
  }

  .article-hero__title {
    font-size: 1.5rem;
  }

  .article-hero__lead {
    font-size: 16px;
  }

  .article-hero__visual img {
    height: 220px;
  }

  .bistro-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .bistro-card__number {
    font-size: 1.6rem;
    min-width: auto;
  }

  .bistro-card__infos {
    flex-direction: column;
    gap: 8px;
  }

  .filter-controls {
    gap: 8px;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 13px;
  }

  .tabs-labels {
    flex-direction: column;
    border-bottom: none;
  }

  .tab-label {
    border-radius: 4px;
    border: 1px solid #e8d5b8;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .tabs-content {
    border: 1px solid #e8d5b8;
    border-radius: 8px;
  }

  .tab-panel {
    padding: 16px;
  }

  .compare-table {
    font-size: 13px;
  }

  .article-pullquote p {
    font-size: 1.05rem;
  }

  .progress-circles-grid {
    gap: 20px;
  }

  .roi-section {
    padding: 24px 16px;
  }

  .roi-calculator {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .roi-result__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tendances-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .occasion-header {
    font-size: 15px;
    padding: 14px 16px;
  }

  .occasion-content {
    padding: 0 16px 16px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .article-meta-top {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .article-hero__title {
    font-size: 1.3rem;
  }

  .article-hero__visual img {
    height: 180px;
  }

  .bistro-card__name {
    font-size: 1.05rem;
  }

  .bistro-card__desc {
    font-size: 15px;
  }

  .progress-circles-grid {
    gap: 16px;
  }

  .progress-svg {
    width: 80px;
    height: 80px;
  }

  .progress-text {
    font-size: 15px;
  }

  .roi-result__value {
    font-size: 1.2rem;
  }

  .roi-result__item--total .roi-result__value {
    font-size: 1.5rem;
  }

  .tendance-item {
    padding: 18px 16px;
  }

  .pullquote-section {
    padding: 0;
  }
}