/* Accueil, d'après maquettes/accueil-v7.html (décisions 42, 111 à 114). Les cartes viennent des feuilles du plugin (.gc .pc). */
.gc.acc { max-width: var(--large); margin: 0 auto; background: #fff; overflow: visible; }

/* haut de page : photo, titre, étiquette, recherche */
.gc.acc .hero { position: relative; margin: 18px var(--marge) 0; border-radius: 18px; height: 380px; overflow: hidden; background: #E7CDBE; }
.gc.acc .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc.acc .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.28) 100%); pointer-events: none; }
.gc.acc .hero-sans { background: var(--vert); }
.gc.acc .hero-t { position: absolute; left: 44px; top: 42px; z-index: 1; max-width: 620px; }
.gc.acc .hero h1 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 54px; line-height: .98; color: #fff; }
.gc.acc .hero .tape { position: static; display: inline-block; margin-top: 16px; }
.gc.acc .hero .rech { position: absolute; left: 44px; right: 44px; bottom: 34px; z-index: 1; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.gc.acc .hero .rech .bouton { border-radius: 10px; margin: 6px; }
.gc.acc .tick { display: flex; gap: 10px 34px; flex-wrap: wrap; padding: 16px var(--marge); font-size: 14px; color: #444; }
.gc.acc .tick b { color: var(--vert); }

/* barre des catégories en carreaux */
.gc.acc .cats { padding: 6px var(--marge) 0; scrollbar-width: none; }
.gc.acc .cat { color: var(--encre); text-decoration: none; }
.gc.acc .cat .tl { width: 104px; height: 104px; }
.gc.acc .cat .ill { width: 62px; height: 62px; background-size: 52px; }
.gc.acc .cat b { font-weight: 600; color: var(--encre); }

/* sections */
.gc.acc .sec { padding: 0 var(--marge); margin-top: 38px; }
.gc.acc .hd { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.gc.acc .hd h2 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 30px; }
.gc.acc .hd > a { margin-left: auto; font-weight: 600; color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.gc.acc .loc select { font: inherit; font-size: 14px; font-weight: 600; border: 1.5px solid var(--encre); border-radius: 8px; padding: 4px 8px; background: #fff; color: var(--encre); max-width: 230px; }
.gc.acc .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; min-height: 120px; transition: opacity .15s; }
.gc.acc .grid4[aria-busy="true"] { opacity: .45; }
.gc.acc .pc .im { height: auto; aspect-ratio: 4 / 3; overflow: hidden; }
.gc.acc .pc .pb { flex-wrap: wrap; row-gap: 0; }
.gc.acc .dl { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--vert); font-weight: 600; margin-top: 4px; }
.gc.acc .dl i { width: 14px; height: 14px; flex: none; border-radius: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23FBF8F1'/%3E%3Cpath d='M0 0h30a30 30 0 0 1-30 30zM100 0v30a30 30 0 0 1-30-30zM100 100h-30a30 30 0 0 1 30-30zM0 100v-30a30 30 0 0 1 30 30z' fill='%230E6B50'/%3E%3Crect x='38' y='38' width='24' height='24' transform='rotate(45 50 50)' fill='%23F4B41A'/%3E%3C/svg%3E") center / cover; }

/* une idée à offrir */
.gc.acc .ocs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gc.acc .oc { position: relative; height: 220px; border-radius: 14px; overflow: hidden; display: block; text-decoration: none; color: var(--encre); background: #F2D2C9; }
.gc.acc .oc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc.acc .oc b { position: absolute; left: 14px; top: 16px; max-width: 75%; font-family: var(--titre); font-weight: 400; font-size: 25px; line-height: 1.02; padding: 6px 10px; border-radius: 6px; transform: rotate(-2deg); }
.gc.acc .oc em { position: absolute; left: 14px; bottom: 12px; font-style: normal; font-size: 13px; font-weight: 600; background: #fff; padding: 4px 8px; border-radius: 6px; }
.gc.acc .oc-y { background: #F3DFA9; } .gc.acc .oc-y b { background: var(--safran); }
.gc.acc .oc-p { background: #F0D3DA; } .gc.acc .oc-p b { background: var(--rose); }
.gc.acc .oc-g { background: #D7E8DF; } .gc.acc .oc-g b { background: var(--vert); color: #fff; }
.gc.acc .oc-r { background: #F2D2C9; } .gc.acc .oc-r b { background: var(--brique); color: #fff; }

/* en cuisine */
.gc.acc .qs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gc.acc .q { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--trait); border-radius: 12px; padding: 10px; color: var(--encre); text-decoration: none; }
.gc.acc .q:hover { border-color: #ccc; }
.gc.acc .q .qt { width: 74px; height: 74px; flex: none; background-size: cover; display: grid; place-items: center; border-radius: 3px; }
.gc.acc .q .ill { width: 46px; height: 46px; background: #fff center / 38px no-repeat; border-radius: 50%; box-shadow: 0 2px 0 rgba(0,0,0,.08); display: block; }
.gc.acc .q b { font-weight: 600; }
.gc.acc .q em { font-style: normal; color: #666; font-size: 13.5px; }

/* près de chez vous */
.gc.acc .deps { columns: 4; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.gc.acc .deps li { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; break-inside: avoid; }
.gc.acc .deps a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bbb; }
.gc.acc .deps span { color: #888; font-size: 13px; }

@media (max-width: 1100px) {
  .gc.acc .grid4, .gc.acc .ocs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc.acc .deps { columns: 3; }
}
@media (max-width: 860px) {
  .gc.acc .hero { height: auto; min-height: 520px; margin-top: 10px; border-radius: 14px; }
  .gc.acc .hero-t { left: 22px; right: 22px; top: 26px; }
  .gc.acc .hero h1 { font-size: 36px; }
  .gc.acc .hero .rech { left: 14px; right: 14px; bottom: 14px; }
  .gc.acc .cat .tl { width: 88px; height: 88px; }
  .gc.acc .cat .ill { width: 54px; height: 54px; background-size: 44px; }
  .gc.acc .hd h2 { font-size: 25px; }
  .gc.acc .hd > a { margin-left: 0; font-size: 14px; }
  .gc.acc .qs { grid-template-columns: 1fr; }
  .gc.acc .oc { height: 170px; }
  .gc.acc .oc b { font-size: 20px; }
  .gc.acc .deps { columns: 2; }
  /* 4 cartes par bloc sur mobile : la page reste courte */
  .gc.acc .grid4 > .pc:nth-child(n+5) { display: none; }
}
