/*
  Ty Fanch Traiteur & Co — styles.css
  ─────────────────────────────────────────────────────────────────
  RÈGLE ABSOLUE : toutes les couleurs passent WCAG AA (ratio ≥ 4.5:1).
  Tableau de contraste obligatoire :
    fond #151515 → texte #F2EDE4  ratio ~14:1  ✓
    fond #F2EDE4 → texte #151515  ratio ~14:1  ✓
    fond #E8DFD0 → texte #2A1F1A  ratio ~10:1  ✓
    fond #1E1E1E → texte #F2EDE4  ratio ~12:1  ✓
    fond #C84B2F → texte #FFFFFF  ratio  4.6:1  ✓ (boutons uniquement)
  JAMAIS de texte sombre (#151515) sur fond sombre (#151515, #1E1E1E)
  JAMAIS de texte clair (#F2EDE4) sur fond clair (#F2EDE4, #E8DFD0)
  ─────────────────────────────────────────────────────────────────
*/

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

:root {
  /* ── Fonds ── */
  --bg-dark:        #151515;   /* 60% des surfaces */
  --bg-card:        #1E1E1E;   /* cartes sur fond sombre */
  --bg-cream:       #F2EDE4;   /* 30% des surfaces */
  --bg-lin:         #E8DFD0;   /* variante crème secondaire */
  --bg-white:       #FAFAF7;   /* surfaces très claires */

  /* ── Textes — TOUJOURS vérifier le fond correspondant ── */
  --text-on-dark:   #F2EDE4;   /* sur --bg-dark ou --bg-card */
  --text-muted-dark:#BEB5AC;   /* secondaire sur fond sombre  ratio ~7:1 */
  --text-on-cream:  #1A1008;   /* sur --bg-cream ou --bg-lin  ratio ~15:1 */
  --text-muted-cream:#4A3728;  /* secondaire sur fond clair   ratio ~8:1 */
  --text-on-white:  #1A1008;   /* sur --bg-white */

  /* ── Accent ── UNIQUEMENT boutons, prix, séparateurs ── */
  --accent:         #C84B2F;
  --accent-hover:   #A83A20;
  --accent-text:    #FFFFFF;   /* texte blanc sur terracotta  ratio 4.6:1 ✓ */

  /* ── Typographie ── */
  --font-title: "Playfair Display", Georgia, serif;
  --font-body:  "DM Sans", system-ui, sans-serif;

  /* ── Overlay photos ── */
  --overlay: rgba(0, 0, 0, 0.42);

  /* ── Espacements ── */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;

  /* ── Divers ── */
  --radius:    12px;
  --radius-lg: 18px;
  --shadow:    0 12px 36px rgba(0,0,0,0.28);
  --trans:     200ms ease-out;
}

/* ────────────────────────────────
   BASE
──────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  padding-top: 68px;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-title); }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ────────────────────────────────
   SECTIONS — fond + texte systématiques
──────────────────────────────── */
.section { padding-block: var(--sp-lg); }

@media (min-width: 768px) { .section { padding-block: var(--sp-xl); } }

/* Sur fond sombre → tout le texte est clair */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-on-dark); }
.section-dark p, .section-dark li, .section-dark label { color: var(--text-on-dark); }
.section-dark .muted { color: var(--text-muted-dark); }

/* Sur fond crème → tout le texte est sombre */
.section-cream { background-color: var(--bg-cream); color: var(--text-on-cream); }
.section-cream h2, .section-cream h3, .section-cream h4 { color: var(--text-on-cream); }
.section-cream p, .section-cream li, .section-cream label { color: var(--text-on-cream); }
.section-cream .muted { color: var(--text-muted-cream); }
.section-cream .kicker { color: var(--accent); }

/* ────────────────────────────────
   TYPOGRAPHIE UTILITAIRES
──────────────────────────────── */
.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-xs);
}

.highlight-italic { font-style: italic; color: var(--accent); }

.section-heading {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-md);
  text-align: center;
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.section-heading p { font-size: 0.97rem; opacity: 0.88; }

.note {
  font-size: 0.8rem;
  opacity: 0.72;
  margin-top: var(--sp-sm);
}

/* ────────────────────────────────
   HEADER & NAVIGATION
──────────────────────────────── */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(242,237,228,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
  gap: 1rem;
}

/* Logo */
.logo { display: flex; flex-direction: column; gap: 0.1rem; }
.logo-main {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}
.logo-sub-main { color: var(--accent); font-style: italic; }

/* Burger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

/* Animation burger → croix */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.nav-list {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: calc(100% + 8px);
  right: 1.25rem;
  left: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(242,237,228,0.1);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

.nav-list.is-open { display: flex; }

.nav-link {
  display: block;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  border-radius: var(--radius);
  transition: background var(--trans);
}
.nav-link:hover       { background: rgba(242,237,228,0.07); }
.nav-link--active     { background: rgba(242,237,228,0.12); }

.nav-cta { margin-top: 0.25rem; }
.nav-cta .btn-primary { width: 100%; }

/* Desktop nav — ≥960px */
@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .nav-list {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 0.25rem;
    left: auto; right: auto;
  }

  .nav-link { padding: 0.4rem 0.75rem; }
  .nav-cta { margin-top: 0; }
  .nav-cta .btn-primary { width: auto; margin-left: 0.5rem; }
}

/* ────────────────────────────────
   BOUTONS
──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);   /* blanc sur terracotta ✓ */
  box-shadow: 0 4px 16px rgba(200,75,47,0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,75,47,0.4);
}

/* Outline sur fond sombre */
.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(242,237,228,0.4);
}
.btn-secondary:hover { background: rgba(242,237,228,0.07); }

.btn-full { width: 100%; }

/* ────────────────────────────────
   HERO (page d'accueil)
──────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  overflow: hidden;
}

@media (max-width: 767px) { .hero { min-height: 60vh; } }

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-xl);
}
.hero-text { max-width: 640px; }

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-block: var(--sp-sm);
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: var(--sp-md);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--sp-md);
}
.badge {
  border: 1px solid rgba(242,237,228,0.35);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ────────────────────────────────
   PAGE HERO (sous-pages)
   Toujours avec image de fond + overlay
──────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  overflow: hidden;
}

@media (max-width: 767px) { .page-hero { min-height: 45vh; } }

/* Image de fond — définie par page via classe modificatrice */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(1.1);
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

/* Images par page */
.page-hero--mariages::before  { background-image: url("../images/TYFANCH-mariage-evenements-AdobeStock_511653780.webp"); }
.page-hero--seminaires::before{ background-image: url("../images/TYFANCH-seminaires-accueil-cafe-AdobeStock_180235724.webp"); }
.page-hero--groupes::before   { background-image: url("../images/TYFANCH-groupe-scolaire-AdobeStock_1614070324.webp"); }
.page-hero--aperos::before    { background-image: url("../images/TYFANCH-aperos-AdobeStock_1056736109.webp"); }
.page-hero--legal::before     { background-image: url("../images/TYFANCH-traiteur-hero-AdobeStock_844766081.webp"); }

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-xl);
  width: 100%;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: 0.6rem;
}
.page-hero p {
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.88;
  max-width: 580px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--sp-sm);
}
.pill {
  border: 1px solid rgba(242,237,228,0.3);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

/* ────────────────────────────────
   CARDS ARGUMENTS (fond crème)
──────────────────────────────── */
.grid-arguments {
  display: grid;
  gap: var(--sp-md);
}
@media (min-width: 768px) {
  .grid-arguments { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

.argument-card {
  background: var(--bg-white);
  color: var(--text-on-white);    /* texte sombre sur fond blanc ✓ */
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  border: 1px solid rgba(26,16,8,0.06);
}
.argument-card h3 {
  font-size: 1.15rem;
  color: var(--text-on-white);
  margin: 0.3rem 0 0.4rem;
}
.argument-card p {
  font-size: 0.95rem;
  color: var(--text-muted-cream);  /* assombri ✓ */
}

/* ────────────────────────────────
   TUILES (grille univers)
──────────────────────────────── */
.grid-tiles {
  display: grid;
  gap: var(--sp-md);
}
@media (min-width: 768px) {
  .grid-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.tile {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  min-height: 260px;
  box-shadow: var(--shadow);
  transition: transform var(--trans);
}
.tile:hover { transform: translateY(-3px); }

.tile-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.tile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: transform 300ms ease-out;
}
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,21,21,0.9) 0%, rgba(21,21,21,0.2) 60%);
}

.tile-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-md);
}
.tile h3  { font-size: 1.2rem; color: var(--text-on-dark); margin-bottom: 0.25rem; }
.tile p   { font-size: 0.92rem; color: var(--text-on-dark); opacity: 0.85; margin-bottom: 0.5rem; }
.tile-tag { font-size: 0.76rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }

/* ────────────────────────────────
   SECTION ÎLE DE GROIX (photo fond)
──────────────────────────────── */
.section-groix {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.groix-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.groix-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.1);
}
.groix-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.groix-content {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-xl);
  text-align: center;
  color: var(--text-on-dark);
}
.groix-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--text-on-dark);
  margin-block: var(--sp-sm);
}
.groix-content p {
  max-width: 580px;
  margin-inline: auto;
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.88;
}

/* ────────────────────────────────
   INFOS PRATIQUES (fond crème)
──────────────────────────────── */
.info-grid {
  display: grid;
  gap: var(--sp-md);
}
@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.info-block {
  background: var(--bg-lin);
  padding: var(--sp-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,16,8,0.06);
}
.info-block .kicker { color: var(--accent); }
.info-block h2 {
  font-size: 1.1rem;
  color: var(--text-on-cream);
  margin-block: 0.25rem;
}
.info-block p { font-size: 0.94rem; color: var(--text-muted-cream); }

/* ────────────────────────────────
   FORMULES CARDS
──────────────────────────────── */
.cards-row {
  display: grid;
  gap: var(--sp-md);
}
@media (min-width: 768px) {
  .cards-row { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* Cartes sur fond sombre */
.section-dark .formula-card {
  background: var(--bg-card);
  color: var(--text-on-dark);
  border: 1px solid rgba(242,237,228,0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  margin-bottom: 1rem;
}
.section-dark .formula-card h3 { color: var(--text-on-dark); }
.section-dark .formula-card p,
.section-dark .formula-card li { color: var(--text-on-dark); }
.section-dark .formula-card .muted { color: var(--text-muted-dark); }

/* Cartes sur fond crème */
.section-cream .formula-card {
  background: var(--bg-white);
  color: var(--text-on-white);
  border: 1px solid rgba(26,16,8,0.06);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.section-cream .formula-card h3 { color: var(--text-on-white); }
.section-cream .formula-card p,
.section-cream .formula-card li { color: var(--text-muted-cream); }

.formula-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.formula-name { font-size: 1.2rem; }
.formula-price {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--accent);         /* terracotta sur dark ou cream — toujours OK */
}
.formula-sub { font-size: 0.85rem; opacity: 0.8; margin-bottom: var(--sp-sm); }
.formula-list { list-style: none; }
.formula-list li { font-size: 0.93rem; padding-block: 0.22rem; }

/* ────────────────────────────────
   TABLEAU TARIFS
──────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  margin-top: var(--sp-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
}

/* Sur fond sombre */
.section-dark .pricing-table {
  background: var(--bg-card);
  color: var(--text-on-dark);
}
.section-dark .pricing-table th {
  background: rgba(242,237,228,0.08);
  color: var(--text-on-dark);
  font-family: var(--font-title);
  font-weight: 600;
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(242,237,228,0.1);
}
.section-dark .pricing-table td {
  padding: 0.75rem 1rem;
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(242,237,228,0.06);
}
.section-dark .pricing-table tbody tr:last-child td { border-bottom: none; }

/* Sur fond crème */
.section-cream .pricing-table {
  background: var(--bg-white);
  color: var(--text-on-white);
}
.section-cream .pricing-table th {
  background: var(--bg-lin);
  color: var(--text-on-cream);
  font-family: var(--font-title);
  font-weight: 600;
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(26,16,8,0.08);
}
.section-cream .pricing-table td {
  padding: 0.75rem 1rem;
  color: var(--text-on-cream);
  border-bottom: 1px solid rgba(26,16,8,0.05);
}
.section-cream .pricing-table tbody tr:last-child td { border-bottom: none; }

.col-price {
  text-align: right;
  color: var(--accent) !important;
  font-family: var(--font-title);
  font-weight: 600;
}

/* ────────────────────────────────
   CONTACT & FORMULAIRE
──────────────────────────────── */
.contact-layout {
  display: grid;
  gap: var(--sp-lg);
}
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: start; }
}

/* section-dark → contact-intro texte clair */
.section-dark .contact-intro h2 { color: var(--text-on-dark); font-size: clamp(1.7rem,3vw,2.1rem); margin-bottom: var(--sp-sm); }
.section-dark .contact-intro p  { color: var(--text-on-dark); opacity: 0.88; }
.section-dark .contact-infos p  { color: var(--text-on-dark); font-size: 0.92rem; }
.section-dark .contact-infos a  { color: var(--text-on-dark); }
.section-dark .contact-infos a:hover { text-decoration: underline; }
.contact-infos { margin-top: var(--sp-md); display: grid; gap: 0.75rem; }

/* Wrapper formulaire sur fond sombre */
.contact-form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  border: 1px solid rgba(242,237,228,0.08);
}
.contact-form-wrapper h3 {
  font-size: 1.1rem;
  color: var(--text-on-dark);   /* fond bg-card (#1E1E1E) → texte crème ✓ */
  margin-bottom: var(--sp-sm);
}

.contact-form { display: flex; flex-direction: column; gap: var(--sp-sm); }

.form-row { display: grid; gap: var(--sp-sm); }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-dark);  /* sur bg-card ✓ */
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(242,237,228,0.05);
  border: 1px solid rgba(242,237,228,0.18);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--text-on-dark);      /* sur fond sombre ✓ */
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-field textarea {
  border-radius: var(--radius-lg);
  resize: vertical;
  min-height: 110px;
  padding-block: 0.8rem;
}
.form-field select option { background: var(--bg-card); color: var(--text-on-dark); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(200,75,47,0.25);
}

/* ────────────────────────────────
   FOOTER
──────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(242,237,228,0.08);
  padding-block: var(--sp-md);
}
.footer-inner {
  display: grid;
  gap: var(--sp-md);
  font-size: 0.84rem;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; align-items: start; }
}

.footer-col { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-logo { font-family: var(--font-title); font-size: 1.2rem; color: var(--text-on-dark); }
.footer-tagline, .footer-domain { color: var(--text-muted-dark); font-size: 0.82rem; }

.footer-heading {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.footer-contact a, .footer-contact span {  color: var(--text-muted-dark);
  font-size: 0.84rem;
}
.footer-contact a:hover { color: var(--text-on-dark); }

.footer-groix-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(242,237,228,0.25);
}

/* ────────────────────────────────
   PLAT SIGNATURE (demi-largeur)
──────────────────────────────── */
.split-section {
  display: grid;
  gap: var(--sp-lg);
  align-items: center;
}
@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1fr; }
}

.split-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split-text h2 { font-size: clamp(1.7rem,2.5vw,2.1rem); margin-bottom: var(--sp-sm); }
.split-text p  { font-size: 0.97rem; margin-bottom: 0.5rem; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 0.6rem;
  border-bottom: 1px solid rgba(242,237,228,0.1);
  gap: 1rem;
}
.section-cream .menu-item { border-bottom-color: rgba(26,16,8,0.08); }
.menu-item-name  { font-family: var(--font-title); font-size: 1rem; }
.menu-item-desc  { font-size: 0.84rem; opacity: 0.78; }
.menu-item-label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); flex-shrink: 0; }

/* ────────────────────────────────
   LOGO IMAGE
──────────────────────────────── */
.logo-img {
  display: block;
  height: 62px;          /* hauteur fixe — ajuster selon le logo livré */
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Fallback texte masqué quand le logo image est présent */
.logo-img ~ .logo-main,
.logo-img ~ .logo-sub { display: none; }

@media (max-width: 479px) {
  .logo-img {
    height: 36px;
    max-width: 140px;
  }
}

/* ────────────────────────────────
   SECTION PARTENAIRES
──────────────────────────────── */
.section-partners {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: var(--sp-xl);
}

.partners-grid {
  display: grid;
  gap: var(--sp-md);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .partners-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 960px) {
  .partners-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid rgba(242,237,228,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--trans);
  text-decoration: none;
  color: var(--text-on-dark);
}

a.partner-card:hover {
  border-color: rgba(200,75,47,0.4);
}

.partner-logo-wrap {
  height: 52px;
  display: flex;
  align-items: center;
}

.partner-logo-wrap img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* Initiales quand pas de logo */
.partner-initials {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(200,75,47,0.18);
  border: 1px solid rgba(200,75,47,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.partner-category {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-body);
}

.partner-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-on-dark);
  margin: 0;
  line-height: 1.25;
}

.partner-desc {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
  flex: 1;
}

.partner-link {
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.partner-link::after { content: "→"; }

/* ────────────────────────────────
   MENTIONS LÉGALES
──────────────────────────────── */




.toc {
  background: var(--bg-card);
  border: 1px solid rgba(242,237,228,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.toc p {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.toc ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.toc a {
  color: var(--text-on-dark);
}

.toc a:hover {
  color: var(--accent);
}

.legal-section {
  margin-bottom: var(--sp-xl);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  border: 1px solid rgba(242,237,228,0.08);
}

.legal-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--sp-md);
  color: var(--text-on-dark);
}

.legal-section h3 {
  margin-top: var(--sp-lg);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: var(--text-on-dark);
}

.legal-section p,
.legal-section li {
  color: var(--text-muted-dark);
}

.legal-section ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.legal-table th {
  width: 32%;
  background: rgba(242,237,228,0.06);
  color: var(--text-on-dark);
  text-align: left;
  padding: 0.9rem 1rem;
  font-weight: 600;
  vertical-align: top;
  border-bottom: 1px solid rgba(242,237,228,0.08);
}

.legal-table td {
  padding: 0.9rem 1rem;
  color: var(--text-muted-dark);
  border-bottom: 1px solid rgba(242,237,228,0.06);
}

.legal-table tr:last-child td,
.legal-table tr:last-child th {
  border-bottom: none;
}

.highlight-box,
.warning-box {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.highlight-box {
  background: rgba(200,75,47,0.12);
  border-left: 4px solid var(--accent);
}

.warning-box {
  background: rgba(255,255,255,0.04);
  border-left: 4px solid #d6a23c;
}


.legal-section a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 768px) {

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(242,237,228,0.08);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .legal-table th {
    border-bottom: none;
  }
}
