/* Boucherie Charcuterie Traiteur Da Silva, Cestas
   Direction : éditorial, blanc dominant, grands titres à empattement (Gloock),
   texte en Schibsted Grotesk, photos pleine largeur, accent bordeaux discret
   (la couleur du store de la boutique). */

@font-face { font-family: 'Gloock'; src: url('/fonts/gloock-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-latin-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-italic-latin.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gloock repli'; src: local('Georgia'), local('Times New Roman'); size-adjust: 96%; ascent-override: 92%; }

:root {
  --blanc: #FFFFFF;
  --encre: #171412;
  --texte: #2A2522;
  --gris: #645D57;          /* 6,3:1 sur blanc */
  --filet: #E4DFDA;
  --pierre: #F6F4F1;        /* fond très léger, usage rare */
  --bordeaux: #8A1B2C;      /* accent : 9,6:1 sur blanc */
  --bordeaux-fonce: #6E1522;
  --bordeaux-pale: #F7ECEC;
  --ok: #1E6B3C;
  --erreur: #A3231B;

  --f-titre: 'Gloock', 'Gloock repli', Georgia, serif;
  --f-texte: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-hero: clamp(3.1rem, 0.9rem + 8.6vw, 8.5rem);
  --t-h1: clamp(2.75rem, 1rem + 6.4vw, 6.75rem);
  --t-h2: clamp(2.1rem, 1.1rem + 3.6vw, 4.25rem);
  --t-h3: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --t-chapo: clamp(1.2rem, 1.05rem + .55vw, 1.5rem);

  --wrap: 1360px;
  --gout: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 4rem + 6vw, 168px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--blanc); color: var(--texte);
  font: 400 1.0625rem/1.65 var(--f-texte); font-feature-settings: 'kern', 'liga';
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  caret-color: var(--bordeaux);
}
::selection { background: var(--bordeaux); color: var(--blanc); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--bordeaux); }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 400; color: var(--encre); margin: 0; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: var(--t-h1); line-height: .98; }
h2 { font-size: var(--t-h2); line-height: 1.02; }
h3 { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -.01em; }
em.acc, .acc { color: var(--bordeaux); font-style: normal; }
small { font-size: .8125rem; }
strong { font-weight: 600; color: var(--encre); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
html { scrollbar-color: #C9C2BB var(--blanc); scrollbar-width: thin; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gout); }
.section { padding-block: var(--sec); }
.section--serre { padding-block: calc(var(--sec) * .6); }
.section + .section { padding-top: 0; }
.section--filet { border-top: 1px solid var(--filet); }
.section + .section--filet { padding-top: var(--sec); }

/* Grille éditoriale : titre à gauche, texte décalé à droite */
.grille { display: grid; gap: 28px 40px; }
@media (min-width: 960px) {
  .grille { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-titre { grid-column: 1 / span 5; }
  .col-texte { grid-column: 7 / span 6; }
  .col-large { grid-column: 1 / -1; }
  .col-milieu { grid-column: 3 / span 8; }
}
.col-texte > :last-child { margin-bottom: 0; }
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3rem); margin: 1.6em 0 .55em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--bordeaux); }

.chapo { font-size: var(--t-chapo); line-height: 1.5; color: var(--encre); max-width: 40ch; }
.lettrine::first-letter { font-family: var(--f-titre); float: left; font-size: 4.6em; line-height: .82; margin: .06em .1em 0 0; color: var(--bordeaux); }
.meta { color: var(--gris); font-size: .9375rem; }

/* ---------- Saut de lien ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: var(--blanc); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- En-tête ---------- */
.tete { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .3s; }
.tete.est-defile { border-bottom-color: var(--filet); }
.tete__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--encre); line-height: 1; }
.logo:hover { color: var(--encre); }
.logo__nom { font-family: var(--f-titre); font-size: 2rem; letter-spacing: -.01em; }
.logo__sous { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); margin-top: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: .9375rem; color: var(--encre); padding-block: 8px; background: linear-gradient(var(--bordeaux), var(--bordeaux)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; color: var(--encre); }
.nav__extra { display: none; }
.tete__actions { display: flex; align-items: center; gap: 14px; }
.tete__tel { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font-weight: 600; font-variant-numeric: tabular-nums; border: 1px solid var(--encre); padding: 11px 18px; transition: background .2s, color .2s; }
.tete__tel:hover { background: var(--encre); color: var(--blanc); }
.burger { display: none; }

@media (max-width: 1059px) {
  .tete__in { min-height: 68px; }
  .logo__nom { font-size: 1.625rem; }
  .logo__sous { font-size: .5625rem; letter-spacing: .07em; white-space: nowrap; }
  .tete__tel span { display: none; }
  .tete__tel { padding: 0; width: 46px; height: 46px; justify-content: center; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 46px; height: 46px; padding: 0 11px; background: none; border: 1px solid var(--filet); cursor: pointer; }
  .burger span { display: block; height: 1.5px; background: var(--encre); transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav { position: fixed; inset: 68px 0 0; background: var(--blanc); padding: 24px var(--gout) 120px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav.est-ouvert { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--filet); }
  .nav a { display: block; font-family: var(--f-titre); font-size: 2.125rem; padding-block: 14px; background: none; }
  .nav a[aria-current="page"] { color: var(--bordeaux); }
  .nav__extra { display: grid; gap: 12px; margin-top: 32px; }
  .nav__extra p { color: var(--gris); font-size: .9375rem; margin-top: 8px; }
  body.menu-ouvert { overflow: hidden; }
}

/* ---------- Fil d'Ariane ---------- */
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 22px 0 0; font-size: .8125rem; color: var(--gris); }
.fil li + li::before { content: '/'; margin-right: 6px; color: #B9B1AA; }
.fil a { color: var(--gris); }

/* ---------- Boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; font: 600 1rem/1.2 var(--f-texte); text-decoration: none; border: 1px solid var(--encre); cursor: pointer; transition: background .25s, color .25s, border-color .25s; font-variant-numeric: tabular-nums; }
.btn--plein { background: var(--encre); color: var(--blanc); }
.btn--plein:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--blanc); }
.btn--trait { background: transparent; color: var(--encre); }
.btn--trait:hover { background: var(--encre); color: var(--blanc); }
.btn[disabled] { opacity: .55; cursor: progress; }
.ico { width: 20px; height: 20px; flex: none; }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--encre); text-decoration: underline; text-decoration-color: var(--bordeaux); text-underline-offset: .3em; }
.lien-fleche .ico { transition: transform .3s var(--ease); }
.lien-fleche:hover .ico { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.note { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--texte); font-size: .9375rem; }
.note small { color: var(--gris); }
.ico-star { width: 16px; height: 16px; color: var(--bordeaux); }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 26px 0 0; color: var(--gris); font-size: .9375rem; }

/* ---------- Accueil : ouverture ---------- */
.ouverture { padding-top: clamp(40px, 2rem + 5vw, 120px); padding-bottom: clamp(48px, 2rem + 4vw, 96px); }
.ouverture h1 { font-size: var(--t-hero); line-height: .94; letter-spacing: -.025em; max-width: 13ch; }
.ouverture h1 .ville { color: var(--bordeaux); }
.ouverture__bas { margin-top: clamp(32px, 4vw, 64px); display: grid; gap: 28px; }
@media (min-width: 960px) {
  .ouverture__bas { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .ouverture__bas .chapo { grid-column: 1 / span 6; margin: 0; }
  .ouverture__bas .ouverture__cta { grid-column: 8 / span 5; }
}
.ouverture__cta .reassure { margin-top: 18px; }

/* En-tête de page intérieure */
.entete { padding-top: clamp(28px, 1rem + 4vw, 88px); padding-bottom: clamp(40px, 2rem + 3vw, 80px); }
.entete h1 { max-width: 15ch; }
.entete .chapo { margin-top: clamp(24px, 3vw, 44px); max-width: 46ch; }
.entete .actions { margin-top: 28px; }

/* ---------- Photos pleine largeur ---------- */
.pleine { margin: 0; }
.pleine img { width: 100%; max-height: 86vh; object-fit: cover; }
.pleine figcaption { font-size: .8125rem; color: var(--gris); padding-top: 12px; }
.pleine--bande img { aspect-ratio: 21 / 8; max-height: none; }
.pleine--haute img { aspect-ratio: 16 / 9; }
.pleine--naturelle img { aspect-ratio: auto; max-height: none; }
.pleine img[src*="vache"] { object-position: 50% 72%; }
.reassure .trajet-ico { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 700px) {
  .pleine--bande img { aspect-ratio: 16 / 9; }
  .pleine--mobile-carre img { aspect-ratio: 4 / 3.2; }
}
.ouverture-photo img { animation: devoile 1.6s var(--ease) both; }
@keyframes devoile { from { clip-path: inset(0 0 9% 0); transform: scale(1.03); } to { clip-path: inset(0 0 0 0); transform: none; } }

.photo-encart { margin: 0; }
.photo-encart figcaption { font-size: .8125rem; color: var(--gris); padding-top: 10px; }

/* ---------- Rubriques (liste éditoriale) ---------- */
.rubriques { list-style: none; margin: clamp(32px, 4vw, 64px) 0 0; padding: 0; border-bottom: 1px solid var(--encre); }
.rubrique { border-top: 1px solid var(--encre); }
.rubrique > a { display: grid; gap: 10px 40px; padding: clamp(26px, 3vw, 44px) 0; text-decoration: none; color: inherit; }
@media (min-width: 960px) { .rubrique > a { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; } .rubrique h3 { grid-column: 1 / span 6; } .rubrique p { grid-column: 7 / span 5; } .rubrique .ico { grid-column: 12; justify-self: end; } }
.rubrique h3 { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); line-height: 1; transition: color .3s; }
.rubrique p { margin: 0; color: var(--texte); max-width: 52ch; }
.rubrique .ico { width: 28px; height: 28px; transition: transform .35s var(--ease); color: var(--bordeaux); }
.rubrique > a:hover h3 { color: var(--bordeaux); }
.rubrique > a:hover .ico { transform: translateX(6px); }

/* ---------- Déclaration (grande phrase) ---------- */
.declaration { font-family: var(--f-titre); font-size: clamp(2rem, 1rem + 3.6vw, 4.25rem); line-height: 1.08; color: var(--encre); max-width: 22ch; margin: 0; letter-spacing: -.015em; }
.declaration .acc { color: var(--bordeaux); }

/* ---------- Faits (liste à filets) ---------- */
.faits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--filet); }
.faits li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.faits .ico { color: var(--bordeaux); margin-top: 3px; }
.faits strong { display: block; }

/* ---------- Horaires ---------- */
.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--filet); font-weight: 400; vertical-align: baseline; }
.horaires th { width: 38%; color: var(--encre); }
.horaires tr.ferme td { color: var(--gris); }
.horaires tr.aujourdhui th { color: var(--bordeaux); font-weight: 600; }
.horaires tr.aujourdhui th::after { content: ' · aujourd\2019hui'; font-weight: 400; font-size: .8125rem; }
.horaires-src { font-size: .8125rem; color: var(--gris); margin-top: 12px; }

/* ---------- Trajets ---------- */
.trajets { list-style: none; padding: 0; margin: 0; columns: 2 320px; column-gap: 40px; }
.trajets li { break-inside: avoid; display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--filet); }
.trajets a { text-decoration: none; }
.trajets a:hover { text-decoration: underline; }
.trajets span:last-child { color: var(--gris); }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--filet); }
.faq details:last-child { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--f-titre); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.25; color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bordeaux); }
.faq__ico { width: 22px; height: 22px; margin-top: 4px; transition: transform .35s var(--ease); color: var(--bordeaux); }
.faq details[open] .faq__ico { transform: rotate(45deg); }
.faq__r { padding: 0 0 24px; max-width: 62ch; }
.faq__r p { margin: 0; }

/* ---------- Appel de fin ---------- */
.cta-fin { border-top: 1px solid var(--encre); }
.section + .cta-fin { padding-top: var(--sec); }
.cta-fin .wrap { display: grid; gap: 28px 40px; }
@media (min-width: 960px) { .cta-fin .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); } .cta-fin__titre { grid-column: 1 / span 6; } .cta-fin__corps { grid-column: 7 / span 6; } }
.cta-fin__titre { font-size: var(--t-h2); }
.cta-fin__corps > p:first-child { font-size: var(--t-chapo); line-height: 1.5; color: var(--encre); }

/* ---------- À compléter ---------- */
.a-completer { display: inline-block; padding: 3px 10px; font-size: .875rem; line-height: 1.5; color: var(--bordeaux-fonce); border: 1px dashed var(--bordeaux); background: repeating-linear-gradient(-45deg, var(--bordeaux-pale) 0 6px, #FFFFFF 6px 12px); }
p .a-completer { margin-top: 4px; }

/* ---------- Encadré discret ---------- */
.encadre { background: var(--pierre); padding: clamp(24px, 3vw, 40px); }
.encadre h3 { margin-bottom: .5em; }

/* ---------- Liste à puces simple ---------- */
.liste { list-style: none; padding: 0; margin: 0 0 1.2em; }
.liste li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--filet); position: relative; }
.liste li::before { content: ''; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 1px; background: var(--bordeaux); }

/* ---------- Deux colonnes ---------- */
.duo { display: grid; gap: 40px; }
@media (min-width: 960px) { .duo { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 22px; }
.form__ligne { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__ligne { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--encre); }
.form label .facultatif { font-weight: 400; color: var(--gris); }
.form input, .form select, .form textarea { width: 100%; font: 400 1.0625rem/1.4 var(--f-texte); color: var(--encre); background: var(--blanc); border: 0; border-bottom: 1px solid #A39A92; border-radius: 0; padding: 10px 0; transition: border-color .2s; }
.form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23171412' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 24px; }
.form textarea { min-height: 130px; resize: vertical; border: 1px solid #A39A92; padding: 12px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 1px 0 var(--bordeaux); }
.form textarea:focus { box-shadow: 0 0 0 1px var(--bordeaux); }
.form input::placeholder, .form textarea::placeholder { color: #8A827B; }
.form .rgpd { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-weight: 400; font-size: .875rem; color: var(--texte); line-height: 1.5; }
.form .rgpd input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bordeaux); }
.form__pot { position: absolute; left: -9999px; }
.form__msg { padding: 14px 16px; font-size: .9375rem; display: none; }
.form__msg.ok { display: block; background: #EEF6F0; color: var(--ok); border: 1px solid #BFD9C7; }
.form__msg.err { display: block; background: #FBEDEB; color: var(--erreur); border: 1px solid #EBC3BE; }
.form__note { font-size: .8125rem; color: var(--gris); margin: 0; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--encre); padding: clamp(56px, 6vw, 96px) 0 36px; margin-top: var(--sec); }
.cta-fin + .pied, .section + .pied { margin-top: 0; }
.pied__nom { font-family: var(--f-titre); font-size: clamp(4rem, 2rem + 10vw, 12rem); line-height: .85; color: var(--encre); margin: 0 0 clamp(32px, 4vw, 64px); letter-spacing: -.03em; }
.pied__grille { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); font-size: .9375rem; }
.pied__h { font: 600 .75rem/1.4 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin: 0 0 14px; }
.pied address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied p { margin-bottom: .8em; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--filet); font-size: .8125rem; color: var(--gris); }
.pied__liens { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pied__liens .ico { width: 18px; height: 18px; }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 899px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--blanc); border-top: 1px solid var(--filet); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; text-decoration: none; font-weight: 600; font-size: .9375rem; }
  .mbar__tel { background: var(--encre); color: var(--blanc); }
  .mbar__tel:hover { color: var(--blanc); }
  .mbar__devis { border: 1px solid var(--encre); color: var(--encre); }
  body { padding-bottom: 76px; }
}

/* ---------- Plan du site ---------- */
.plan { columns: 2 280px; column-gap: 48px; padding: 0; list-style: none; }
.plan li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--filet); }

/* ---------- 404 ---------- */
.p404 h1 { font-size: var(--t-hero); }

@media print { .tete, .mbar, .pied__grille, .cta-fin { display: none; } }
