/*
Theme Name: APEL Notre-Dame Saint-Roch
Theme URI: https://www.apelndsaintroch.com
Author: APEL NDSR
Description: Thème sur mesure pour l'APEL Notre-Dame Saint-Roch. Design Neo-Editorial — Sora + DM Sans, palette encre/terracotta.
Version: 1.5.2
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apel-theme
*/


/* ═══════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════ */

:root {
  --apel-white: #FFFFFF;
  --apel-offwhite: #FAFAF8;
  --apel-sand: #F5F2EF;
  --apel-warm-gray: #E8E4E0;
  --apel-taupe: #D5CEC5;
  --apel-terracotta: #C9512B;
  --apel-terracotta-deep: #A3401F;
  --apel-terracotta-glow: #E06B40;
  --apel-terracotta-light: rgba(201, 81, 43, 0.08);
  --apel-ink: #1A1A1A;
  --apel-ink-soft: #3A3A3A;
  --apel-ink-muted: #8A8A8A;
  --apel-ink-faint: #C0C0C0;
  --apel-font-display: 'Sora', system-ui, sans-serif;
  --apel-font-body: 'DM Sans', system-ui, sans-serif;
  --apel-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --apel-ease-out: cubic-bezier(0, 0, 0.25, 1);
  --apel-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --apel-section-pad: clamp(4rem, 8vw, 6rem);
}


/* ═══════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════ */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }


/* ═══════════════════════════════════════════════════
   HEADER — Sticky frosted glass
   ═══════════════════════════════════════════════════ */

header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--apel-ease), box-shadow 0.4s var(--apel-ease);
}
header.wp-block-template-part.scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.04);
}

.apel-nav-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100%;
  height: 76px;
  align-items: center;
  gap: 2rem !important;
}

.apel-nav-brand {
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.3s var(--apel-ease);
}
.apel-nav-brand:hover { opacity: 0.7; }

.apel-nav-brand-apel {
  display: block;
  font-family: var(--apel-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--apel-terracotta);
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}
.apel-nav-brand-school {
  display: block;
  font-family: var(--apel-font-body);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--apel-ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.wp-block-navigation a {
  font-family: var(--apel-font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--apel-ink-soft);
  letter-spacing: -0.005em;
  padding: 0.5rem 0.9rem;
  transition: color 0.3s var(--apel-ease);
  position: relative;
}
.wp-block-navigation a:hover { color: var(--apel-ink); }
.wp-block-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 0.9rem;
  right: 0.9rem;
  height: 1.5px;
  background: var(--apel-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--apel-ease);
}
.wp-block-navigation a:hover::after { transform: scaleX(1); }
.wp-block-navigation-item.current-menu-item a { color: var(--apel-ink); font-weight: 600; }
.wp-block-navigation-item.current-menu-item a::after { transform: scaleX(1); }


/* ═══════════════════════════════════════════════════
   BUTTONS — v3 wipe animation
   ═══════════════════════════════════════════════════ */

.apel-btn-primary,
.wp-block-button.apel-btn-primary .wp-block-button__link {
  font-family: var(--apel-font-body);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--apel-ink);
  color: var(--apel-white);
  border-radius: 0;
  padding: 1rem 2.2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.35s var(--apel-ease);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
/* Wipe effect */
.apel-btn-primary::before,
.wp-block-button.apel-btn-primary .wp-block-button__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--apel-terracotta);
  transform: translateX(-101%);
  transition: transform 0.4s var(--apel-ease);
}
.apel-btn-primary:hover::before,
.wp-block-button.apel-btn-primary .wp-block-button__link:hover::before {
  transform: translateX(0);
}
.apel-btn-primary span,
.wp-block-button.apel-btn-primary .wp-block-button__link span {
  position: relative;
  z-index: 1;
}
.apel-btn-primary:hover,
.wp-block-button.apel-btn-primary .wp-block-button__link:hover {
  color: var(--apel-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 81, 43, 0.2);
}

.apel-btn-text {
  font-family: var(--apel-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--apel-ink-muted);
  text-decoration: none;
  transition: color 0.3s var(--apel-ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.apel-btn-text:hover { color: var(--apel-terracotta); }

.apel-btn-light {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  font-family: var(--apel-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--apel-white);
  color: var(--apel-ink);
  text-decoration: none;
  transition: all 0.35s var(--apel-ease);
  position: relative;
  overflow: hidden;
}
/* Wipe effect for light btn */
.apel-btn-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--apel-terracotta);
  transform: translateX(-101%);
  transition: transform 0.4s var(--apel-ease);
}
.apel-btn-light:hover::before { transform: translateX(0); }
.apel-btn-light span { position: relative; z-index: 1; }
.apel-btn-light:hover {
  color: var(--apel-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 81, 43, 0.25);
}

.apel-arrow {
  transition: transform 0.35s var(--apel-ease);
  display: inline-block;
  position: relative;
  z-index: 1;
}
a:hover .apel-arrow { transform: translateX(5px); }


/* ═══════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
   ═══════════════════════════════════════════════════ */

.apel-overline {
  font-family: var(--apel-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
}

.apel-section-title {
  font-family: var(--apel-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--apel-ink);
  letter-spacing: -0.03em;
}

.apel-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
}

.apel-hero-tagline {
  font-family: var(--apel-font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--apel-ink);
  letter-spacing: -0.02em;
}
.apel-hero-tagline strong {
  font-weight: 600;
  color: var(--apel-terracotta);
}

.apel-intro-text {
  font-family: var(--apel-font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--apel-ink);
}


/* ═══════════════════════════════════════════════════
   HERO — Cinematic full-height split
   ═══════════════════════════════════════════════════ */

.apel-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.apel-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: clamp(3rem, 8vw, 6rem);
  max-width: 680px;
  margin-left: auto;
  position: relative;
}

.apel-hero-content::before {
  content: '';
  position: absolute;
  right: 0;
  top: clamp(3rem, 10vw, 8rem);
  bottom: clamp(3rem, 10vw, 8rem);
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--apel-taupe) 20%, var(--apel-taupe) 80%, transparent);
}

.apel-hero-logo {
  max-width: 280px;
  opacity: 0;
  animation: apel-fadeUp 0.9s var(--apel-ease-out) 0.1s forwards;
}

.apel-hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  animation: apel-fadeUp 0.9s var(--apel-ease-out) 0.4s forwards;
}

.apel-hero-visual {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: apel-fadeScale 1.2s var(--apel-ease-out) 0.2s forwards;
}
.apel-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--apel-ease);
}
.apel-hero-visual:hover img { transform: scale(1.04); }

.apel-hero-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(26,26,26,0.3), transparent);
  pointer-events: none;
}

.apel-hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 2;
  background: var(--apel-white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: apel-fadeUp 0.8s var(--apel-ease-out) 0.8s forwards;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.apel-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apel-terracotta);
  animation: apel-pulse 2s ease-in-out infinite;
}
.apel-hero-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apel-ink);
}


/* ═══════════════════════════════════════════════════
   SEASONAL BANNER — v3 left terracotta bar
   ═══════════════════════════════════════════════════ */

.apel-seasonal-banner {
  background: var(--apel-ink);
  position: relative;
  overflow: hidden;
}
.apel-seasonal-banner::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--apel-terracotta);
}

.apel-seasonal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  font-family: var(--apel-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apel-ink);
  background: var(--apel-white);
  text-decoration: none;
  transition: all 0.3s var(--apel-ease);
}
.apel-seasonal-cta:hover {
  background: var(--apel-terracotta);
  color: var(--apel-white);
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════════════
   MISSION — v3 three-column with giant numbers
   ═══════════════════════════════════════════════════ */

.apel-mission-label {
  font-family: var(--apel-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
  position: relative;
  padding-left: 2rem;
}
.apel-mission-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--apel-terracotta);
}

.apel-mission-intro {
  font-family: var(--apel-font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--apel-ink);
  letter-spacing: -0.01em;
}
.apel-mission-intro strong { font-weight: 600; }

.apel-mission-axes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--apel-taupe);
}

.apel-axis {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--apel-taupe);
  position: relative;
  transition: all 0.5s var(--apel-ease);
}
.apel-axis:last-child { border-right: none; border-bottom: none; }
.apel-axis:not(:first-child) { padding-left: 2rem; }

.apel-axis::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--apel-terracotta);
  transition: width 0.5s var(--apel-ease);
}
.apel-axis:hover::after { width: 100%; }

.apel-axis-number {
  font-family: var(--apel-font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--apel-warm-gray);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.5s var(--apel-ease);
}
.apel-axis:hover .apel-axis-number { color: var(--apel-terracotta); }

.apel-axis-title {
  font-family: var(--apel-font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--apel-ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.apel-axis-text {
  font-size: 0.88rem;
  color: var(--apel-ink-muted);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════════
   QUOTE — v3 radial gradient + oversized mark
   ═══════════════════════════════════════════════════ */

.apel-quote-section {
  position: relative;
  overflow: hidden;
}
.apel-quote-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--apel-terracotta-light) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.apel-quote-mark {
  font-family: var(--apel-font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.6;
  color: var(--apel-terracotta);
  opacity: 0.12;
  display: block;
  margin-bottom: 1.5rem;
  user-select: none;
}

.apel-quote-author {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--apel-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
}


/* ═══════════════════════════════════════════════════
   CHOCOLATS — Full-width product card
   ═══════════════════════════════════════════════════ */

.apel-chocolats {
  background: var(--apel-ink);
  color: var(--apel-white);
  overflow: hidden;
}
.apel-chocolats-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  min-height: 520px;
}
.apel-chocolats-img {
  overflow: hidden;
  position: relative;
}
.apel-chocolats-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--apel-ease);
}
.apel-chocolats-img:hover img { transform: scale(1.04); }
.apel-chocolats-body {
  padding: clamp(3rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}
.apel-chocolats-title {
  font-family: var(--apel-font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.apel-prix-row {
  display: flex;
  gap: 0.75rem;
}
.apel-prix-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.apel-prix-pill-price {
  font-family: var(--apel-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--apel-white);
}
.apel-prix-pill-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  line-height: 1.3;
}
.apel-chocolats-dates {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.apel-chocolats-dates strong {
  color: var(--apel-white);
  font-weight: 600;
}

/* Legacy — keep for backwards compat */
.apel-event-active {
  background: var(--apel-ink);
  color: var(--apel-white);
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════
   ACTIONS — Active event + past events grid
   ═══════════════════════════════════════════════════ */

.apel-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--apel-terracotta-glow);
}
.apel-event-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apel-terracotta);
  animation: apel-pulse 2s ease-in-out infinite;
}

/* Past events label with terracotta dash */
.apel-events-past-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}
.apel-events-past-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--apel-terracotta);
}

/* Events grid — 5 columns on desktop */
.apel-events-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* Past event cards with hover effects */
.apel-event-past {
  position: relative;
  transition: all 0.4s var(--apel-ease);
  cursor: pointer;
}
.apel-event-past:hover { transform: translateY(-6px); }

.apel-event-past-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 1rem;
}
.apel-event-past-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(0.95);
  transition: all 0.6s var(--apel-ease);
}
.apel-event-past:hover .apel-event-past-img img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.06);
}

/* Terracotta accent line on hover */
.apel-event-past-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--apel-terracotta);
  z-index: 2;
  transition: width 0.5s var(--apel-ease);
}
.apel-event-past:hover .apel-event-past-img::before { width: 40%; }

.apel-event-past-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
  margin-bottom: 0.3rem;
}
.apel-event-past-name {
  font-family: var(--apel-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--apel-ink-soft);
  transition: color 0.3s var(--apel-ease);
}
.apel-event-past:hover .apel-event-past-name { color: var(--apel-terracotta); }

.apel-event-past-desc {
  font-size: 0.8rem;
  color: var(--apel-ink-muted);
  line-height: 1.5;
  margin-top: 0.3rem;
}
.apel-event-past-period {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
}


/* ═══════════════════════════════════════════════════
   FOOTER — v3 gradient terracotta top border
   ═══════════════════════════════════════════════════ */

.apel-footer {
  background: var(--apel-ink);
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}
.apel-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--apel-terracotta), var(--apel-terracotta-glow), transparent 60%);
}

.apel-footer-brand-apel {
  font-family: var(--apel-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--apel-white);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}
.apel-footer-brand-school {
  font-family: var(--apel-font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.35rem;
}
.apel-footer-heading {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.2rem;
}
.apel-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.apel-footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--apel-ease);
  padding-left: 0;
}
/* Links slide right on hover */
.apel-footer-links a:hover {
  color: var(--apel-white);
  padding-left: 0.5rem;
}


/* ═══════════════════════════════════════════════════
   BUREAU PAGE
   ═══════════════════════════════════════════════════ */

.apel-president-card {
  background: var(--apel-ink);
  color: var(--apel-white);
  overflow: hidden;
}
.apel-president-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apel-terracotta-glow);
}

.apel-member-card {
  transition: all 0.4s var(--apel-ease);
}
.apel-member-card:hover { transform: translateY(-4px); }


/* ═══════════════════════════════════════════════════
   FAQ PAGE — Accordion
   ═══════════════════════════════════════════════════ */

.apel-faq-item {
  border-top: 1px solid var(--apel-taupe);
}
.apel-faq-item:last-child {
  border-bottom: 1px solid var(--apel-taupe);
}

.apel-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.6rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--apel-font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  color: var(--apel-ink);
  transition: color 0.3s var(--apel-ease);
}
.apel-faq-question:hover { color: var(--apel-terracotta); }

.apel-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--apel-ease), opacity 0.4s var(--apel-ease);
  opacity: 0;
}
.apel-faq-item.open .apel-faq-answer { opacity: 1; }

.apel-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  transition: transform 0.4s var(--apel-ease);
}
.apel-faq-icon::before,
.apel-faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--apel-ink-muted);
  border-radius: 1px;
  transition: all 0.4s var(--apel-ease);
}
.apel-faq-icon::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.apel-faq-icon::after  { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.apel-faq-question:hover .apel-faq-icon::before,
.apel-faq-question:hover .apel-faq-icon::after { background: var(--apel-terracotta); }
.apel-faq-item.open .apel-faq-icon { transform: rotate(45deg); }


/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */

@keyframes apel-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes apel-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes apel-fadeScale {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes apel-heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--apel-ease-out), transform 0.8s var(--apel-ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }


/* ═══════════════════════════════════════════════════
   GRAIN TEXTURE OVERLAY
   ═══════════════════════════════════════════════════ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}


/* ═══════════════════════════════════════════════════
   WOOCOMMERCE — Mini Cart
   ═══════════════════════════════════════════════════ */

.wc-block-mini-cart__button {
  border: none;
  background: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: opacity 0.3s var(--apel-ease);
}
.wc-block-mini-cart__button:hover { opacity: 0.7; }


/* ═══════════════════════════════════════════════════
   WOOCOMMERCE — Shop / Archive Page
   ═══════════════════════════════════════════════════ */

/* Page title + results bar */
.woocommerce-products-header__title,
.woocommerce-result-count,
.woocommerce-ordering {
  font-family: var(--apel-font-body);
}
.woocommerce-products-header__title {
  font-family: var(--apel-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--apel-ink);
}
.woocommerce-result-count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
}
.woocommerce-ordering select {
  font-family: var(--apel-font-body);
  font-size: 0.82rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--apel-taupe);
  border-radius: 0;
  color: var(--apel-ink-soft);
  background: var(--apel-white);
}

/* Product Grid */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

/* Product Cards */
.woocommerce ul.products li.product {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 1.25rem;
  transition: transform 0.8s var(--apel-ease);
}
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--apel-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--apel-ink);
  letter-spacing: -0.01em;
  padding: 0;
  margin-bottom: 0.35rem;
  transition: color 0.3s var(--apel-ease);
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--apel-terracotta);
}

.woocommerce ul.products li.product .price {
  font-family: var(--apel-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--apel-ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.woocommerce ul.products li.product .price del {
  color: var(--apel-ink-muted);
  font-weight: 400;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--apel-terracotta);
}

/* "Choix des options" / Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--apel-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--apel-ink-soft);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 0.25rem;
  text-decoration: none;
  transition: color 0.3s var(--apel-ease);
}
.woocommerce ul.products li.product .button:hover {
  color: var(--apel-terracotta);
  background: none;
}

/* Star rating — hide if no reviews */
.woocommerce ul.products li.product .star-rating { display: none; }

/* Sale badge — minimal */
.woocommerce span.onsale {
  background: var(--apel-terracotta);
  border-radius: 0;
  font-family: var(--apel-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  min-width: auto;
  min-height: auto;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════
   WOOCOMMERCE — Single Product Page
   ═══════════════════════════════════════════════════ */

/* Breadcrumb */
.woocommerce-breadcrumb {
  font-size: 0.75rem;
  color: var(--apel-ink-muted);
  margin-bottom: 2.5rem;
}
.woocommerce-breadcrumb a {
  color: var(--apel-ink-muted);
  transition: color 0.3s var(--apel-ease);
}
.woocommerce-breadcrumb a:hover { color: var(--apel-terracotta); }

/* Layout — gallery left, summary right */
.woocommerce div.product {
  max-width: 1200px;
  margin: 0 auto;
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
}
.woocommerce #content div.product div.images,
.woocommerce div.product div.images {
  width: 100%;
}
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary {
  width: 100%;
}

@media (min-width: 769px) {
  .woocommerce div.product {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
  }
  .woocommerce div.product > .woocommerce-breadcrumb {
    grid-column: 1 / -1;
  }
  .woocommerce div.product > .woocommerce-tabs {
    grid-column: 1 / -1;
  }
  .woocommerce div.product > .related.products {
    grid-column: 1 / -1;
  }
}

/* Gallery */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.woocommerce div.product div.images img {
  border-radius: 0;
}
.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  float: none;
  width: 100%;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.3s var(--apel-ease);
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li:hover img {
  border-color: var(--apel-ink);
  opacity: 1;
}

/* Product Title */
.woocommerce div.product .product_title {
  font-family: var(--apel-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--apel-ink);
  margin-bottom: 1.25rem;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--apel-font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--apel-ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

/* Variation price (shown after selecting a variation) */
.woocommerce div.product .woocommerce-variation-price .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--apel-ink);
  padding: 1rem 0;
}
.woocommerce div.product .woocommerce-variation-description {
  font-size: 0.88rem;
  color: var(--apel-ink-soft);
  margin-bottom: 0.5rem;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--apel-ink-soft);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--apel-warm-gray);
}
.woocommerce div.product .woocommerce-product-details__short-description strong {
  color: var(--apel-ink);
  font-weight: 600;
}

/* Variation selector */
.woocommerce div.product form.variations_form .variations {
  margin-bottom: 2rem;
  border-collapse: separate;
  border-spacing: 0;
}
.woocommerce div.product form.variations_form .variations td,
.woocommerce div.product form.variations_form .variations th {
  display: block;
  padding: 0;
  border: none;
}
.woocommerce div.product form.variations_form .variations td.label {
  padding-bottom: 0.6rem;
}
.woocommerce div.product form.variations_form .variations td.label label {
  font-family: var(--apel-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
}
.woocommerce div.product form.variations_form .variations td.value select {
  font-family: var(--apel-font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--apel-taupe);
  border-radius: 0;
  color: var(--apel-ink);
  background: var(--apel-white);
  width: 100%;
  max-width: 280px;
  transition: border-color 0.3s var(--apel-ease);
  appearance: auto;
  cursor: pointer;
}
.woocommerce div.product form.variations_form .variations td.value select:focus {
  border-color: var(--apel-ink);
  outline: none;
}
.woocommerce div.product form.variations_form .variations tr {
  display: block;
  margin-bottom: 0.5rem;
}
.woocommerce div.product form.variations_form .reset_variations {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--apel-ink-muted);
  transition: color 0.3s var(--apel-ease);
}
.woocommerce div.product form.variations_form .reset_variations:hover {
  color: var(--apel-terracotta);
}

/* Quantity input */
.woocommerce .quantity .qty {
  font-family: var(--apel-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--apel-taupe);
  border-radius: 0;
  padding: 0.75rem 0.5rem;
  width: 70px;
  text-align: center;
  color: var(--apel-ink);
  transition: border-color 0.3s var(--apel-ease);
}
.woocommerce .quantity .qty:focus {
  border-color: var(--apel-ink);
  outline: none;
}

/* Add to Cart button */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button.button {
  font-family: var(--apel-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--apel-ink);
  color: var(--apel-white);
  border: none;
  border-radius: 0;
  padding: 1rem 2.5rem;
  transition: all 0.35s var(--apel-ease);
  position: relative;
  overflow: hidden;
}
.woocommerce div.product form.cart .single_add_to_cart_button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--apel-terracotta);
  transform: translateX(-101%);
  transition: transform 0.4s var(--apel-ease);
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover::before {
  transform: translateX(0);
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  color: var(--apel-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 81, 43, 0.2);
}

/* Product meta (SKU, category, tags) */
.woocommerce div.product .product_meta {
  font-size: 0.82rem;
  color: var(--apel-ink-muted);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--apel-warm-gray);
}
.woocommerce div.product .product_meta a {
  color: var(--apel-ink-soft);
  transition: color 0.3s var(--apel-ease);
}
.woocommerce div.product .product_meta a:hover { color: var(--apel-terracotta); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 4rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  gap: 0;
  list-style: none;
  border-bottom: 1px solid var(--apel-taupe);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--apel-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--apel-ink-muted);
  padding: 1rem 1.5rem;
  position: relative;
  transition: color 0.3s var(--apel-ease);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--apel-terracotta);
  transform: scaleX(0);
  transition: transform 0.35s var(--apel-ease);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--apel-ink);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  transform: scaleX(1);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--apel-ink);
}
.woocommerce div.product .woocommerce-tabs .panel {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--apel-ink-soft);
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: var(--apel-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--apel-ink);
  margin-bottom: 1rem;
}

/* Related products */
.woocommerce div.product .related.products {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--apel-warm-gray);
}
.woocommerce div.product .related.products h2 {
  font-family: var(--apel-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apel-ink);
  margin-bottom: 2rem;
}


/* ═══════════════════════════════════════════════════
   WOOCOMMERCE — Cart & Checkout (WC Blocks)
   ═══════════════════════════════════════════════════ */

/* General block buttons */
.wc-block-components-button:not(.is-link) {
  font-family: var(--apel-font-body);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 0;
  background: var(--apel-ink);
  color: var(--apel-white);
  transition: all 0.35s var(--apel-ease);
}
.wc-block-components-button:not(.is-link):hover {
  background: var(--apel-terracotta);
}

/* Checkout button */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  font-family: var(--apel-font-body);
  font-weight: 600;
  border-radius: 0;
  background: var(--apel-ink);
  transition: all 0.35s var(--apel-ease);
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--apel-terracotta);
}

/* Block inputs */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea {
  font-family: var(--apel-font-body);
  border-radius: 0;
}
.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus {
  border-color: var(--apel-ink);
  box-shadow: none;
}

/* Cart item names */
.wc-block-cart-items__row .wc-block-components-product-name {
  font-family: var(--apel-font-display);
  font-weight: 600;
  color: var(--apel-ink);
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--apel-terracotta);
  font-family: var(--apel-font-body);
}
.woocommerce-message::before {
  color: var(--apel-terracotta);
}

/* WC Block Grid (shortcodes, empty cart, etc.) */
.wc-block-grid__product-title {
  font-family: var(--apel-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--apel-ink);
}
.wc-block-grid__product .wp-block-button__link {
  font-family: var(--apel-font-body);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 0;
  background: var(--apel-ink);
  transition: all 0.3s var(--apel-ease);
}
.wc-block-grid__product .wp-block-button__link:hover {
  background: var(--apel-terracotta);
}


/* ═══════════════════════════════════════════════════
   HERO EASTER — Image with title overlay + action bar
   ═══════════════════════════════════════════════════ */

/* Remove WP block spacing above hero */
.wp-block-post-content > .wp-block-html:first-child {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.apel-hero-easter {
  overflow: hidden;
  margin-top: 0 !important;
  /* Break out of constrained layout for full-width */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Image container — full height, text is in the image */
.apel-hero-easter-img {
  overflow: hidden;
}
.apel-hero-easter-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Action bar — dark background, dates + CTA */
.apel-hero-easter-bar {
  background: #330C06;
  color: var(--apel-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  font-family: var(--apel-font-body);
  font-size: 1.05rem;
  position: relative;
  opacity: 0;
  animation: apel-fadeUp 0.9s var(--apel-ease-out) 0.3s forwards;
}
/* Terracotta accent on top of bar */
.apel-hero-easter-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 3px;
  background: var(--apel-terracotta);
}
.apel-hero-easter-bar strong {
  font-weight: 600;
}
.apel-hero-easter-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════
   MISSION — Sand background wrapper for homepage
   ═══════════════════════════════════════════════════ */

.apel-mission-section {
  background: var(--apel-sand);
  padding: var(--apel-section-pad) 2rem;
}
.apel-mission-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.apel-mission-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 4rem);
}


/* ═══════════════════════════════════════════════════
   PRODUCT CARDS — Homepage product showcase
   ═══════════════════════════════════════════════════ */

.apel-products-section {
  padding: var(--apel-section-pad) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.apel-products-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
/* Terracotta overline above heading */
.apel-products-header::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--apel-terracotta);
  margin: 0 auto 1.5rem;
}
.apel-products-header h2 {
  font-family: var(--apel-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apel-ink);
  margin-bottom: 0.75rem;
}
.apel-products-header p {
  font-size: 0.92rem;
  color: var(--apel-ink-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
/* Hero image — full width transition image */
.apel-products-hero-img {
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.apel-products-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.apel-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
/* Text-only product card — editorial style */
.apel-product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-top: 1.5rem;
  border-top: 1px solid var(--apel-warm-gray);
  transition: border-color 0.3s var(--apel-ease);
}
.apel-product-card:hover {
  border-top-color: var(--apel-terracotta);
}
.apel-product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1.5rem;
  background: var(--apel-sand);
}
.apel-product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--apel-ease);
}
.apel-product-card:hover .apel-product-card-img img {
  transform: scale(1.04);
}
.apel-product-card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--apel-terracotta);
  transition: width 0.5s var(--apel-ease);
}
.apel-product-card:hover .apel-product-card-img::after {
  width: 40%;
}
.apel-product-card-name {
  font-family: var(--apel-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--apel-ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  transition: color 0.3s var(--apel-ease);
}
.apel-product-card:hover .apel-product-card-name {
  color: var(--apel-terracotta);
}
.apel-product-card-desc {
  font-size: 0.85rem;
  color: var(--apel-ink-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.apel-product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.apel-product-card-price {
  font-family: var(--apel-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--apel-ink);
  letter-spacing: -0.02em;
}
.apel-product-card-link {
  font-family: var(--apel-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--apel-ink-muted);
  transition: color 0.3s var(--apel-ease);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.apel-product-card:hover .apel-product-card-link {
  color: var(--apel-terracotta);
}
.apel-products-dates {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid var(--apel-warm-gray);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 0.88rem;
  color: var(--apel-ink-muted);
}
.apel-products-dates strong {
  color: var(--apel-ink);
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .apel-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .apel-hero-content {
    max-width: none;
    margin-left: 0;
    padding: 3rem clamp(1.5rem, 5vw, 3rem);
  }
  .apel-hero-content::before { display: none; }
  .apel-hero-visual { max-height: 50vh; }

  .apel-mission-axes { grid-template-columns: 1fr; }
  .apel-axis {
    border-right: none;
    border-bottom: 1px solid var(--apel-taupe);
    padding: 2rem 0;
  }
  .apel-axis:not(:first-child) { padding-left: 0; }
  .apel-axis:last-child { border-bottom: none; }

  .apel-event-active { grid-template-columns: 1fr !important; }
  .apel-chocolats-inner { grid-template-columns: 1fr; }
  .apel-chocolats-img { max-height: 50vh; }

  .apel-hero-easter-bar { flex-wrap: wrap; gap: 1rem; }
  .apel-products-grid { grid-template-columns: 1fr; gap: 3rem; }
  .apel-products-dates { flex-direction: column; gap: 0.5rem; }
  .apel-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; }

  /* Mission — stack header on tablet */
  .apel-mission-header { grid-template-columns: 1fr; gap: 1rem; }

  /* Actions — 3 columns on tablet */
  .apel-events-grid { grid-template-columns: repeat(3, 1fr); }

  /* WooCommerce — Shop grid to 1 column on tablet */
  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .apel-prix-row { flex-direction: column; }
  .apel-hero-easter-bar { flex-direction: column; gap: 0.75rem; text-align: center; padding: 1.5rem 2rem; }
  .apel-hero-easter-dot { display: none; }
  .apel-hero-easter-bar .apel-btn-light { width: 100%; justify-content: center; }
  .apel-hero-easter-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .apel-footer-grid { grid-template-columns: 1fr !important; }

  /* Actions — 2 columns on mobile */
  .apel-events-grid { grid-template-columns: repeat(2, 1fr); }
}
