/* ═══════════════════════════════════════════════════════════════
   /assets/css/pages.css — Pages Contact, FAQ, À propos
═══════════════════════════════════════════════════════════════ */

.pg-wrap {
  max-width: var(--maxw, 1280px);
  margin: 0 auto;
  padding: 104px var(--gutter, 48px) clamp(60px, 7vw, 100px);
}
.pg-head { max-width: 760px; margin: 22px 0 clamp(32px, 4vw, 52px); }
.pg-kicker {
  font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-strong, #96590C); margin-bottom: 12px;
}
.pg-head h1 { font-size: clamp(2.3rem, 4vw + .5rem, 4rem); line-height: 1.05; margin-bottom: 16px; }
.pg-lead { font-size: clamp(1rem, .4vw + .9rem, 1.15rem); color: var(--text-2, #63482F); max-width: 620px; }

.pg-card {
  background: rgba(247,238,222,.55);
  border: 1px solid var(--line, rgba(46,32,19,.14));
  border-radius: 22px;
  padding: clamp(22px, 2.6vw, 32px);
}
.pg-card h2, .pg-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pg-muted { color: var(--text-2, #63482F); font-size: .92rem; }

/* ── CONTACT ─────────────────────────────────────── */
.ct-channels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
@media (max-width: 1000px) { .ct-channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .ct-channels { grid-template-columns: 1fr; } }
.ct-channel {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px; border-radius: 20px; text-decoration: none;
  background: rgba(247,238,222,.6); border: 1px solid var(--line, rgba(46,32,19,.14));
  transition: transform .3s var(--ease, ease), box-shadow .3s, background .3s;
}
a.ct-channel:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(42,29,18,.5); background: #F7EEDE; }
.ct-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--canvas-deep, #2A1D12); color: var(--accent-lit, #E3A63F); margin-bottom: 8px;
}
.ct-channel--wa .ct-ico { background: #1F9D55; color: #fff; }
.ct-label { font-family: 'DM Mono', monospace; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.ct-value { font-weight: 600; font-size: 1rem; word-break: break-word; }
.ct-note { font-size: .8rem; color: var(--text-2, #63482F); }

.ct-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .ct-form .form-row { grid-template-columns: 1fr; } }
.ct-form input, .ct-form select, .ct-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line, rgba(46,32,19,.18)); background: #FBF5EA;
  font: inherit; color: var(--text, #2E2013);
}
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: none; border-color: var(--accent, #B87415); }
.ct-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ct-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.ct-alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.ct-alert--err { background: rgba(192,57,43,.1); color: #922b21; }
.ct-alert--ok  { background: rgba(31,157,85,.12); color: #155f34; }

.ct-side { display: flex; flex-direction: column; gap: 16px; }
.ct-hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ct-hours td { padding: 8px 0; border-bottom: 1px solid var(--line, rgba(46,32,19,.12)); }
.ct-hours td:last-child { text-align: right; font-weight: 600; }
.ct-links { display: flex; flex-direction: column; gap: 2px; }
.ct-links a {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 0;
  text-decoration: none; border-bottom: 1px solid var(--line, rgba(46,32,19,.12)); font-size: .92rem;
}
.ct-links a:hover { color: var(--accent-strong, #96590C); }

.ct-hours-note { margin-top: 12px; }
.ct-dark { background: var(--canvas-deep, #2A1D12); color: var(--on-deep, #EFE2CE); border-color: transparent; }
.ct-dark .pg-muted { color: var(--on-deep-2, #C4AC8C); }

/* ── FAQ ─────────────────────────────────────────── */
.fq-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .fq-layout { grid-template-columns: 1fr; } }
.fq-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 860px) {
  .fq-nav { position: static; flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .fq-nav::-webkit-scrollbar { display: none; }
}
.fq-nav a {
  flex: none; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: .9rem;
  display: flex; justify-content: space-between; gap: 10px; transition: background .2s;
}
.fq-nav a span { font-family: 'DM Mono', monospace; font-size: .7rem; opacity: .55; }
.fq-nav a:hover, .fq-nav a.active { background: rgba(247,238,222,.75); }
@media (max-width: 860px) { .fq-nav a { border: 1.5px solid var(--line, rgba(46,32,19,.14)); } }

.fq-search {
  position: relative; margin-bottom: 28px;
}
.fq-search input {
  width: 100%; padding: 16px 18px 16px 48px; border-radius: 16px;
  border: 1.5px solid var(--line, rgba(46,32,19,.18)); background: #FBF5EA; font: inherit;
}
.fq-search input:focus { outline: none; border-color: var(--accent, #B87415); }
.fq-search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); opacity: .5; }
.fq-group { margin-bottom: clamp(30px, 4vw, 46px); scroll-margin-top: 100px; }
.fq-group h2 {
  font-size: 1.5rem; margin-bottom: 8px; display: flex; align-items: center; gap: 12px;
}
.fq-group h2 small { font-family: 'DM Mono', monospace; font-size: .66rem; letter-spacing: .18em; color: var(--accent, #B87415); }
.fq-item { border-bottom: 1px solid var(--line, rgba(46,32,19,.14)); }
.fq-item summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 1rem;
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line, rgba(46,32,19,.2)); font-weight: 400; transition: transform .3s, background .3s;
}
.fq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--canvas-deep, #2A1D12); color: #F7EEDE; }
.fq-answer { padding: 0 40px 20px 0; color: var(--text-2, #63482F); line-height: 1.7; }
.fq-answer a { color: var(--accent-strong, #96590C); }
.fq-empty { padding: 30px 0; color: var(--text-2, #63482F); }
.fq-item[hidden], .fq-group[hidden] { display: none; }

/* ── À PROPOS ────────────────────────────────────── */
.ab-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 900px) { .ab-intro { grid-template-columns: 1fr; } }
.ab-intro p { color: var(--text-2, #63482F); margin-bottom: 16px; font-size: 1.04rem; line-height: 1.75; }
.ab-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-photos img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(42,29,18,.6); }
.ab-photos img:nth-child(2) { margin-top: 44px; }

.ab-section { margin-bottom: clamp(56px, 7vw, 96px); }
.ab-section > h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); margin-bottom: 10px; }
.ab-section > .pg-lead { margin-bottom: 28px; }

.ab-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 1000px) { .ab-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ab-steps { grid-template-columns: 1fr; } }
.ab-step { position: relative; padding-top: 58px; }
.ab-step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: 22px; left: 26px;
  font-family: 'DM Mono', monospace; font-size: .8rem; letter-spacing: .14em; color: var(--accent, #B87415);
}
.ab-step h3 { font-size: 1.15rem; }
.ab-step p { color: var(--text-2, #63482F); font-size: .92rem; }

.ab-commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .ab-commit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ab-commit { grid-template-columns: 1fr; } }
.ab-commit .pg-card { background: var(--canvas-deep, #2A1D12); color: var(--on-deep, #EFE2CE); border-color: transparent; }
.ab-commit .pg-card p { color: var(--on-deep-2, #C4AC8C); font-size: .9rem; }
.ab-commit svg { color: var(--accent-lit, #E3A63F); margin-bottom: 14px; }

.ab-where { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .ab-where { grid-template-columns: 1fr; } }
.ab-where dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin-top: 14px; font-size: .95rem; }
.ab-where dt { font-family: 'DM Mono', monospace; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; padding-top: 4px; }
.ab-where dd a { text-decoration: none; font-weight: 600; }
.ab-where dd a:hover { color: var(--accent-strong, #96590C); }
.ab-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pg-head-title { font-size: clamp(2.3rem, 4vw + .5rem, 4rem); line-height: 1.05; margin-bottom: 22px; }

/* Boutons contour sur fond sombre */
.ct-dark .btn.outline { color: var(--on-deep, #EFE2CE); border-color: rgba(239,226,206,.45); }
.ct-dark .btn.outline:hover { background: var(--on-deep, #EFE2CE); color: var(--canvas-deep, #2A1D12); }

/* ── Accessibilité : contrastes ─────────────────────── */
.footer-bottom { opacity: .75; }
.footer-col p { opacity: .75; }

/* ── Performance mobile : effets de fond coûteux désactivés ── */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .grain { display: none; }
  .env::before, .env::after { animation: none !important; }
}

/* ═══ Accessibilité & vitesse — corrections globales ═══ */
/* Contrastes (WCAG AA) */
.breadcrumb { opacity: 1; color: #5A4027; }
.breadcrumb span { opacity: 1; color: #6B5038; }
.breadcrumb [aria-current] { color: #7A5B3E; }
.section-label, .pg-kicker, .uv-kicker { color: #7A4708; }
.dark .section-label, .on-deep .section-label { color: var(--accent-lit, #E3A63F); }
.uv-chip small { opacity: .85; }
.ct-label { opacity: 1; color: #5A4027; }
.fq-group h2 small { color: #7A4708; }
.pack-badge { background: #8A5209; }
.pack-prix-total { opacity: 1; color: #6B5A45; }
.pack-economie { color: #0F5A35; }
.cart-empty { opacity: 1; color: #5A4027; }
.cart-empty-state { opacity: 1; color: #5A4027; }
.cart-page { min-height: 70vh; }     /* évite le saut du footer quand le panier se charge */

/* Les blocs animés au scroll restent visibles dès l'affichage (meilleur LCP) */
.part { opacity: 1; }
.breadcrumb [aria-current], .breadcrumb span { color: #5A4027; }
.btn.gold, .pdp-badge, .product-card-badge, #btn-add-cart { background: #8A5209; }
.btn.gold:hover, #btn-add-cart:hover { background: #6E4006; }
.valeur-desc { opacity: 1; color: #CDB797; }
.review-author { opacity: 1; color: #CDB797; }
.ab-where dt { opacity: 1; color: #5A4027; }
.uv-soon-kicker { color: #7A4708; }
.pdp-price .ancien, .product-card-price .ancien { opacity: 1; color: #6B5A45; }
.pdp-promo { color: #0F5A35; }
.pdp-block-label { opacity: 1; color: #5A4027; }
.pdp-price .ancien, .product-card-price .ancien { color: #574634; }
/* Boutons contour sur sections sombres (texte était invisible) */
.btn.outline.btn-outline-on-deep, .btn.outline.btn-outline-on-deep-soft { color: var(--on-deep, #EFE2CE); border-color: rgba(239,226,206,.45); }
.btn.outline.btn-outline-on-deep:hover, .btn.outline.btn-outline-on-deep-soft:hover { background: var(--on-deep, #EFE2CE); color: var(--canvas-deep, #2A1D12); }

/* Contact : téléphones, carte */
.ct-tel { text-decoration: none; display: block; }
.ct-tel:hover { color: var(--accent-strong, #96590C); }
.ct-map { margin-top: clamp(20px, 3vw, 36px); }
.ct-map-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ct-map-frame { display: block; width: 100%; height: clamp(280px, 38vw, 420px); border: 0; border-radius: 16px; background: #E8D6BA; }

/* ── PAGE WHATSAPP ───────────────────────────────── */
.wa-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .wa-top { grid-template-columns: 1fr; } }
.wa-top .pg-head { margin-bottom: 0; }
.wa-card { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
@media (max-width: 520px) { .wa-card { flex-direction: column; align-items: flex-start; } }
.wa-card-label { font-family: 'DM Mono', monospace; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-lit, #E3A63F); margin-bottom: 8px; }
.wa-card-num { font-family: Prata, Georgia, serif; white-space: nowrap; font-size: clamp(1.5rem, 1.4vw + .8rem, 2rem); line-height: 1.1; margin-bottom: 8px; }
.wa-card-btn { margin-top: 18px; }
.wa-qr { margin: 0; text-align: center; flex-shrink: 0; }
.wa-qr img { width: 148px; height: 148px; background: #fff; border-radius: 14px; padding: 8px; display: block; }
.wa-qr figcaption { font-size: .74rem; color: var(--on-deep-2, #C4AC8C); margin-top: 8px; }

.wa-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .wa-quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .wa-quick { grid-template-columns: 1fr; } }
.wa-quick-btn {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 20px; text-decoration: none;
  background: rgba(247,238,222,.6); border: 1px solid var(--line, rgba(46,32,19,.14));
  transition: transform .3s var(--ease, ease), box-shadow .3s, background .3s;
}
.wa-quick-btn:hover { transform: translateY(-3px); background: #F7EEDE; box-shadow: 0 18px 40px -24px rgba(42,29,18,.5); }
.wa-quick-btn span { font-weight: 700; font-size: 1.02rem; color: var(--text, #2A1D12); }
.wa-quick-btn span::after { content: ' ›'; color: var(--accent-strong, #96590C); }
.wa-quick-btn small { font-size: .84rem; color: var(--text-2, #63482F); line-height: 1.5; }

.wa-ship { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
@media (max-width: 900px) { .wa-ship { grid-template-columns: 1fr; } }
.wa-cities { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.wa-cities li { padding: 6px 14px; border-radius: 100px; border: 1px solid var(--line, rgba(46,32,19,.18)); font-size: .86rem; color: var(--text, #2A1D12); }
.wa-cities li:last-child { border-style: dashed; color: var(--accent-strong, #96590C); }
.wa-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wa-facts .pg-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.wa-facts strong { font-family: Prata, Georgia, serif; font-weight: 400; font-size: 1.3rem; color: var(--text, #2A1D12); }
.wa-facts span { font-size: .86rem; color: var(--text-2, #63482F); }
.ab-where .pg-card h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); }
