@charset "UTF-8";

/* =========================================================
   ZUTIL.FR — DESIGN COMMUN DES OUTILS ACCORDS METS ET VINS
   Chargé après /assets/css/tool.css
   ========================================================= */

/* =========================================================
   ZUTIL.FR — EXTENSION DE L’OUTIL ACCORD VIN ET FROMAGE
   Chargé après tool.css
   ========================================================= */

/* 1. FIL D’ARIANE */
body {
  background:
    radial-gradient(circle at 14% 5%, rgba(176, 138, 84, 0.10), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(114, 31, 62, 0.07), transparent 31rem),
    #fffdf9;
}

main {
  background: transparent;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  color: var(--ink-500, #8e837c);
  font-size: 0.78rem;
  font-weight: 650;
}

/* 1B. HERO PLUS COMPACT ET PLUS CHALEUREUX */
.hero {
  min-height: 610px;
  padding-top: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 68px);
}

.hero h1 {
  margin-bottom: 22px;
  padding-bottom: 0.08em;
  overflow: visible;
  font-size: clamp(4.35rem, 5.6vw, 6rem);
  line-height: 0.96;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

/* Réserve la place nécessaire au bas du « g » de fromage. */
.gradient-text.hero-title-line {
  padding-bottom: 0.08em;
}

.hero-image {
  min-height: 390px;
  border: 1px solid rgba(114, 31, 62, 0.14);
  box-shadow: 0 28px 70px rgba(44, 11, 23, 0.18);
}

.hero-image img {
  min-height: 390px;
}

/* Les titres secondaires restent importants sans concurrencer le H1. */
.section-head h2 {
  max-width: 1120px;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.answer-first {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(176, 138, 84, 0.25);
  border-radius: 26px;
  background: linear-gradient(135deg, #fff5e5, #fff);
  box-shadow: 0 17px 46px rgba(64, 31, 21, 0.08);
}

.answer-first > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #721f3e;
  font-weight: 850;
}

.answer-first h2 {
  margin: 0 0 10px;
  color: #350b17;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.answer-first p {
  margin: 0;
  color: #6f5f57;
  line-height: 1.75;
}

.breadcrumb a {
  color: var(--wine-700, #721f3e);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 2. RECHERCHE */
.cheese-search {
  margin: 30px 0 26px;
}

.cheese-search > label {
  display: block;
  margin-bottom: 9px;
  color: var(--wine-950, #2c0b17);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cheese-search-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 6px 8px 6px 17px;
  border: 1px solid rgba(47, 31, 23, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(45, 30, 22, 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.cheese-search-shell:focus-within {
  border-color: rgba(114, 31, 62, 0.38);
  box-shadow: 0 0 0 4px rgba(114, 31, 62, 0.08);
}

.cheese-search-shell > span {
  color: var(--wine-700, #721f3e);
  font-size: 1.45rem;
  line-height: 1;
}

.cheese-search-shell input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  color: var(--ink-950, #221b18);
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
}

.cheese-search-shell input::placeholder {
  color: var(--ink-500, #8e837c);
}

.cheese-search-shell button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: var(--wine-700, #721f3e);
  background: rgba(114, 31, 62, 0.08);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.cheese-search-message {
  min-height: 1.35em;
  margin: 9px 3px 0;
  color: var(--ink-600, #756c66);
  font-size: 0.8rem;
  font-weight: 650;
}

/* 3. SÉLECTION POPULAIRE */
.popular-cheeses {
  margin-bottom: 24px;
}

.popular-cheeses[hidden],
.cheese-family[hidden],
.all-cheese-btn[hidden] {
  display: none !important;
}

/* 4. CATALOGUE COMPLET */
.all-cheeses {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(47, 31, 23, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(45, 30, 22, 0.07);
}

.all-cheeses > summary,
.cheese-family > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
}

.all-cheeses > summary::-webkit-details-marker,
.cheese-family > summary::-webkit-details-marker {
  display: none;
}

.all-cheeses > summary {
  position: relative;
  min-height: 70px;
  padding: 15px 58px 15px 22px;
  color: var(--wine-950, #2c0b17);
  font-size: 0.96rem;
  font-weight: 820;
}

.all-cheeses > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(114, 31, 62, 0.15);
  border-radius: 50%;
  color: var(--wine-700, #721f3e);
  background: #fffafb;
  font-size: 1.1rem;
  transform: translateY(-50%);
  transition: transform 220ms ease;
}

.all-cheeses[open] > summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.all-cheeses > summary small {
  color: var(--ink-500, #8e837c);
  font-size: 0.72rem;
  font-weight: 750;
}

.cheese-families {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.cheese-family {
  overflow: hidden;
  border: 1px solid rgba(47, 31, 23, 0.1);
  border-radius: 16px;
  background: rgba(250, 245, 238, 0.62);
}

.cheese-family > summary {
  min-height: 56px;
  padding: 12px 17px;
  color: var(--wine-950, #2c0b17);
  font-size: 0.86rem;
  font-weight: 780;
}

.cheese-family > summary small {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--wine-700, #721f3e);
  background: rgba(114, 31, 62, 0.08);
  font-size: 0.7rem;
}

.cheese-family[open] > summary {
  border-bottom: 1px solid rgba(47, 31, 23, 0.09);
  background: rgba(255, 255, 255, 0.65);
}

.pairing-grid--compact {
  padding: 15px;
}

.pairing-grid--compact .pairing-btn {
  min-height: 48px;
  padding: 11px 13px;
  font-size: 0.78rem;
}

/* 5. NOTE ÉDITORIALE */
.method-note {
  max-width: 920px;
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold-500, #b08a54);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 20px rgba(45, 30, 22, 0.06);
}

.method-note strong {
  color: var(--wine-700, #721f3e);
}

.method-note p {
  margin: 8px 0;
  color: var(--ink-600, #756c66);
  font-size: 0.88rem;
  line-height: 1.68;
}

.method-note small {
  color: var(--ink-500, #8e837c);
  font-size: 0.72rem;
}

/* 5A. RÉPERTOIRE STATIQUE DES 36 RECOMMANDATIONS */
.accord-directory {
  overflow: hidden;
  border: 1px solid rgba(77, 48, 37, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(61, 35, 27, 0.08);
}

.accord-directory > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  padding: 24px 30px;
  cursor: pointer;
  list-style: none;
}

.accord-directory > summary::-webkit-details-marker {
  display: none;
}

.accord-directory > summary span {
  display: grid;
  gap: 6px;
}

.accord-directory > summary small {
  color: #9f681f;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.accord-directory > summary strong {
  color: #350b17;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.accord-directory > summary b {
  flex: 0 0 auto;
  padding: 10px 15px;
  border-radius: 999px;
  color: #721f3e;
  background: rgba(114, 31, 62, 0.07);
  font-size: 0.74rem;
}

.accord-directory[open] > summary {
  border-bottom: 1px solid rgba(77, 48, 37, 0.1);
}

.accord-directory-intro {
  max-width: 820px;
  margin: 26px 30px 0;
  color: #75645c;
  font-size: 0.9rem;
  line-height: 1.7;
}

.accord-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 26px 30px 30px;
}

.accord-directory-grid > div {
  padding: 22px;
  border-radius: 19px;
  background: #fffaf4;
}

.accord-directory-grid h3 {
  margin: 0 0 15px;
  color: #721f3e;
  font-size: 0.94rem;
}

.accord-directory-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.accord-directory-grid li {
  color: #76665e;
  font-size: 0.79rem;
  line-height: 1.48;
}

.accord-directory-grid li strong {
  color: #38221e;
}

/* 5B. CARTES DE MAILLAGE PLUS CLAIREMENT CLIQUABLES */
.related-card {
  position: relative;
  padding-right: 48px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.related-card::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--wine-700, #721f3e);
  font-size: 1rem;
  font-weight: 850;
  opacity: 0.48;
  transition: transform 220ms ease, opacity 220ms ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 31, 62, 0.20);
  box-shadow: 0 16px 38px rgba(45, 30, 22, 0.10);
}

.related-card:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

/* 5C. BIBLIOTHÈQUE DES GUIDES — ÉCRIN ÉDITORIAL PREMIUM */
.guide-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(38px, 5vw, 68px);
  border: 1px solid rgba(238, 194, 121, 0.2);
  border-radius: clamp(28px, 4vw, 46px);
  color: #350b17;
  background:
    radial-gradient(circle at 88% 2%, rgba(210, 151, 60, 0.22), transparent 27rem),
    radial-gradient(circle at 3% 100%, rgba(128, 43, 67, 0.12), transparent 25rem),
    linear-gradient(135deg, #fffaf1 0%, #f9eee7 53%, #f4e4e0 100%);
  box-shadow: 0 30px 80px rgba(71, 38, 30, 0.14);
}

.guide-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -120px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(125, 45, 65, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(125, 45, 65, 0.03),
    0 0 0 104px rgba(125, 45, 65, 0.02);
}

.guide-showcase-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(30px, 4vw, 48px);
}

.guide-kicker {
  display: block;
  margin-bottom: 13px;
  color: #9f681f;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-showcase h2 {
  max-width: 760px;
  margin: 0;
  color: #350b17;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.guide-showcase-intro > p {
  max-width: 520px;
  margin: 0;
  color: #75645c;
  font-size: 0.94rem;
  line-height: 1.75;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(93, 46, 48, 0.11);
  border-radius: 24px;
  color: #350b17;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 251, 247, 0.62));
  box-shadow:
    0 10px 30px rgba(77, 42, 32, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.guide-card::before {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 129, 38, 0.18), transparent 68%);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
}

.guide-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(83, 24, 40, 0.14);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
}

.guide-card small {
  margin-bottom: 24px;
  color: #9f681f;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-card h3 {
  max-width: 270px;
  margin: 0 0 10px;
  color: #350b17;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.guide-card p {
  margin: 0 0 25px;
  color: #79675e;
  font-size: 0.84rem;
  line-height: 1.55;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: #721f3e;
  font-size: 0.76rem;
  font-weight: 800;
}

.guide-link b {
  color: #a56a1d;
  font-size: 1rem;
  transition: transform 260ms ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(151, 95, 30, 0.34);
  background: linear-gradient(145deg, #fff, rgba(255, 248, 241, 0.9));
  box-shadow:
    0 20px 44px rgba(76, 37, 28, 0.13),
    inset 0 3px 0 rgba(205, 147, 61, 0.48);
}

.guide-card:hover::before {
  opacity: 1;
  transform: translate(-12px, -10px);
}

.guide-card:hover .guide-link b {
  transform: translateX(5px);
}

.guide-card:focus-visible {
  outline: 3px solid #e9bd74;
  outline-offset: 4px;
}

/* 6. RESPONSIVE */
@media (max-width: 720px) {
  .breadcrumb {
    padding-top: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 15vw, 4.8rem);
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-image,
  .hero-image img {
    min-height: 310px;
  }

  .cheese-search {
    margin-top: 24px;
  }

  .all-cheeses > summary {
    min-height: 64px;
    padding-left: 17px;
  }

  .cheese-families {
    padding: 0 10px 10px;
  }

  .pairing-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .guide-showcase-intro,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .answer-first {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 225px;
  }

  .accord-directory > summary {
    align-items: flex-start;
    padding: 21px;
  }

  .accord-directory > summary b {
    display: none;
  }

  .accord-directory-intro {
    margin: 22px 21px 0;
  }

  .accord-directory-grid {
    grid-template-columns: 1fr;
    padding: 21px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .guide-grid,
  .accord-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .cheese-search-shell {
    padding-left: 13px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .cheese-search-shell button {
    padding-inline: 10px;
  }

  .pairing-grid--compact {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .all-cheeses > summary::after,
  .cheese-search-shell {
    transition: none;
  }
}

/* =========================================================
   COMPOSANTS UTILISÉS PAR LES OUTILS À LISTE COURTE
   (viande rouge, poisson, volaille, gibier, etc.)
   Ces règles restent dans la même feuille commune.
   ========================================================= */

/* =========================================================
   ZUTIL.FR — OUTIL ACCORD VIN ET VIANDE ROUGE
   Chargé après tool.css
   ========================================================= */

body {
  background:
    radial-gradient(
      circle at 13% 4%,
      rgba(177, 97, 50, 0.15),
      transparent 29rem
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(102, 20, 34, 0.11),
      transparent 32rem
    ),
    #fffaf5;
}

/* =========================================================
   1. FOND ET STRUCTURE GÉNÉRALE
   ========================================================= */

main {
  background: transparent;
}

/* =========================================================
   2. FIL D’ARIANE
   ========================================================= */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 26px;
  color: #8c7b72;
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #761d32;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   3. HERO ET TITRE PRINCIPAL
   ========================================================= */

.hero {
  min-height: 610px;
  padding-top: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 70px);
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 22px;
  padding-bottom: 0.08em;
  overflow: visible;
  font-size: clamp(3.8rem, 4.65vw, 4.85rem);
  line-height: 0.96;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.gradient-text.hero-title-line {
  padding-bottom: 0.08em;
}

.hero-image {
  min-height: 390px;
  border: 1px solid rgba(118, 29, 50, 0.16);
  box-shadow: 0 28px 72px rgba(54, 15, 19, 0.21);
}

.hero-image img {
  min-height: 390px;
}
.floating-card strong {
  color: #e7b565;
}

/* =========================================================
   4. RECHERCHE DANS LES 12 ACCORDS
   ========================================================= */

.meat-search {
  margin: 30px 0 27px;
}
.meat-search label {
  display: block;
  margin-bottom: 9px;
  color: #350b17;
  font-size: 0.78rem;
  font-weight: 820;
}
.meat-search-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 6px 8px 6px 17px;
  border: 1px solid rgba(55, 32, 24, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 26px rgba(55, 25, 19, 0.06);
}
.meat-search-shell:focus-within {
  border-color: rgba(118, 29, 50, 0.4);
  box-shadow: 0 0 0 4px rgba(118, 29, 50, 0.08);
}
.meat-search-shell > span {
  color: #761d32;
  font-size: 1.4rem;
}
.meat-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #271a17;
  font: inherit;
}
.meat-search button {
  min-height: 41px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #761d32;
  background: rgba(118, 29, 50, 0.08);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 820;
  cursor: pointer;
}
.search-message {
  min-height: 1.35em;
  margin: 8px 3px 0;
  color: #776960;
  font-size: 0.8rem;
  font-weight: 650;
}

/* =========================================================
   5. GROUPES DE BOUTONS ET CARTE DE L’OUTIL
   ========================================================= */

.pairing-group {
  margin-top: 28px;
}
.pairing-group[hidden],
.pairing-btn[hidden] {
  display: none !important;
}
.category-title {
  margin-bottom: 13px;
  color: #aa7127;
  letter-spacing: 0.1em;
}

/* Une seule grille garantit 4 choix par rangée sur grand écran.
   Les variantes 12 et 16 utilisent exactement la même composition. */
.pairing-grid--twelve,
.pairing-grid--sixteen {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pairing-grid--twelve .pairing-btn,
.pairing-grid--sixteen .pairing-btn {
  width: 100%;
  min-width: 0;
  min-height: 58px;
}

.tool-card {
  background: rgba(255, 255, 255, 0.91);
}
.tool-note {
  margin-top: 25px;
  padding: 17px 20px;
  border-radius: 17px;
  color: #6f5f57;
  background: #fff5e9;
  font-size: 0.83rem;
  line-height: 1.65;
}
.tool-note a {
  color: #761d32;
  font-weight: 800;
}

/* =========================================================
   6. RÉPONSE COURTE ET TITRES ÉDITORIAUX
   ========================================================= */

.section-head h2 {
  max-width: 1060px;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.answer-first {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(172, 112, 37, 0.25);
  border-radius: 26px;
  background: linear-gradient(135deg, #fff5e5, #fff);
  box-shadow: 0 17px 46px rgba(64, 31, 21, 0.08);
}
.answer-first > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #761d32;
  font-weight: 850;
}
.answer-first h2 {
  margin: 0 0 10px;
  color: #350b17;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}
.answer-first p {
  margin: 0;
  color: #6f5f57;
  line-height: 1.75;
}

/* =========================================================
   7. TABLEAU DES 12 ACCORDS — LISIBLE SANS JAVASCRIPT
   ========================================================= */

.accord-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid rgba(55, 32, 24, 0.13);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.84);
}
.accord-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.accord-table th,
.accord-table td {
  padding: 17px 19px;
  border-bottom: 1px solid rgba(55, 32, 24, 0.1);
  text-align: left;
  vertical-align: top;
}
.accord-table th {
  color: #806f65;
  background: #faf5ef;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.accord-table td {
  color: #65564e;
  font-size: 0.86rem;
  line-height: 1.55;
}
.accord-table td:first-child {
  color: #3b0e1b;
  font-weight: 820;
}
.accord-table tr:last-child td {
  border-bottom: 0;
}

/* Survol identique à l’esprit des cartes de la page Fromage. */
.accord-table tbody tr {
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.accord-table tbody tr:hover {
  background: rgba(118, 29, 50, 0.065);
  box-shadow: inset 4px 0 0 #a36b25;
}

.accord-table tbody tr:hover .table-pairing-link {
  color: #9a492e;
}
.accord-table a {
  color: #761d32;
  font-weight: 800;
  text-decoration: none;
}
.table-pairing-link {
  padding: 0;
  border: 0;
  color: #761d32;
  background: transparent;
  font: inherit;
  font-weight: 820;
  text-align: left;
  cursor: pointer;
}
.table-pairing-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   8. FUTURS ARTICLES, MÉTHODE ET MAILLAGE INTERNE
   ========================================================= */

.method-note {
  margin-top: 28px;
  padding: 21px 23px;
  border-left: 3px solid #b47a2f;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.78);
}
.method-note strong {
  color: #761d32;
}
.method-note p {
  margin: 7px 0;
  color: #6f5f57;
  font-size: 0.86rem;
  line-height: 1.65;
}
.method-note small {
  color: #94847b;
}

/* Guides non publiés : même carte que Fromage, sans faux lien */
.guide-pending {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: #8b6540;
  background: rgba(164, 106, 29, 0.09);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card--pending {
  cursor: default;
}

.guide-card--pending:hover {
  transform: none;
  border-color: rgba(93, 46, 48, 0.11);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 251, 247, 0.62)
  );
  box-shadow:
    0 10px 30px rgba(77, 42, 32, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.guide-card--pending:hover::before {
  opacity: 0;
  transform: none;
}

.related-card {
  position: relative;
  overflow: hidden;
}
.related-card::after {
  content: "→";
  position: absolute;
  right: 19px;
  bottom: 16px;
  color: #a36b25;
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.2s ease;
}
.related-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   9. RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }
  .hero h1 {
    max-width: 760px;
  }
  .hero-image,
  .hero-image img {
    min-height: 340px;
  }
  .pairing-grid--twelve,
  .pairing-grid--sixteen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   10. RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.35rem);
  }
  .hero-title-line {
    white-space: normal;
  }
  .pairing-grid--twelve,
  .pairing-grid--sixteen {
    grid-template-columns: 1fr;
  }
  .hero-image,
  .hero-image img {
    min-height: 300px;
  }
  .answer-first {
    grid-template-columns: 1fr;
  }
  .meat-search-shell {
    grid-template-columns: auto 1fr;
  }
  .meat-search-shell button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* =========================================================
   COHÉSION AVEC LA CATÉGORIE ET LES GUIDES
   Placé en dernier pour harmoniser aussi les outils futurs.
   ========================================================= */

.wine-universe.accord-page {
  --wine-700: var(--av-wine-700, #721f3e);
  --ink-500: var(--av-muted, #8a7b73);
  background:
    radial-gradient(circle at 10% 3%, rgba(214, 163, 77, 0.1), transparent 30rem),
    radial-gradient(circle at 91% 12%, rgba(114, 31, 62, 0.065), transparent 34rem),
    var(--av-paper, #fffdf9);
  color: var(--av-ink, #2d1717);
}

.accord-page :is(.hero-image, .tool-card, .guide-showcase, .accord-directory) {
  border-color: var(--av-line);
  box-shadow: var(--av-shadow-md);
}

.accord-page .hero-image {
  border-radius: var(--av-radius-xl);
}

.accord-page :is(.tool-card, .guide-showcase, .accord-directory) {
  border-radius: var(--av-radius-xl);
  background-color: rgba(255, 255, 255, 0.9);
}

.accord-page :is(.answer-first, .info-card, .guide-card, .related-card) {
  border-radius: var(--av-radius-lg);
}

.accord-page :is(.cheese-search-shell, .meat-search-shell) {
  border-color: var(--av-line);
  border-radius: var(--av-radius-md);
  box-shadow: var(--av-shadow-xs);
}

.accord-page .primary-btn {
  background: var(--av-wine-700);
  box-shadow: 0 14px 34px rgba(114, 31, 62, 0.24);
}

.accord-page :is(.category-title, .guide-kicker) {
  color: var(--av-gold-600);
}
