/*
cahier_vacances.css
Feuille de style dédiée à la page évènementielle "Le Cahier de Vacances"
Volontairement séparée de common.css : page temporaire, à retirer en fin de saison.
*/

:root {
  --sand: #f6efd9;
  --sand-2: #efe4c4;
  --sky: #2fb5d2;
  --pink: #fe2c80;
  --pink-dark: #c81f63;
  --coral: #fe2c80;
  --coral-dark: #c81f63;
  --mustard: #efa92b;
  --ink: #21201c;
  --ink-soft: #4a463d;
  --paper: #fffdf7;
  --teal-deep: #103d38;
  --teal-mid: #1a5750;
  --line: rgba(33,32,28,0.14);
}
:root[data-theme="dark"] {
  --sand: #10322d;
  --sand-2: #0c2622;
  --ink: #f3ecd8;
  --ink-soft: #cbc2a6;
  --paper: #16403a;
  --line: rgba(243,236,216,0.16);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand: #10322d;
    --sand-2: #0c2622;
    --ink: #f3ecd8;
    --ink-soft: #cbc2a6;
    --paper: #16403a;
    --line: rgba(243,236,216,0.16);
  }
}

.cv-page {
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.cv-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.cv-stamp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- HERO ---------- */
.cv-hero {
  position: relative;
  padding: 56px 20px 90px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(239,169,43,0.35), transparent 40%),
    radial-gradient(circle at 88% 8%, rgba(47,181,210,0.28), transparent 38%);
  overflow: hidden;
}
.cv-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--teal-deep);
  color: #fdf6e3;
  margin-bottom: 22px;
}
.cv-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900;
  line-height: 0.96;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--coral);
  text-shadow: 4px 4px 0 var(--mustard);
  transform: rotate(-1.2deg);
}
.cv-hero .cv-sub {
  max-width: 480px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.cv-hero .cv-sub strong { color: var(--ink); }

.cv-cover-wrap {
  position: relative;
  display: inline-block;
  margin-top: 8px;
}
.cv-cover {
  width: min(360px, 78vw);
  border-radius: 6px;
  border: 6px solid var(--paper);
  box-shadow: 0 18px 34px rgba(20,20,10,0.28);
  transform: rotate(-3deg);
  display: block;
}
.cv-badge-price {
  position: absolute;
  top: -18px;
  right: -22px;
  width: 92px;
  height: 92px;
  background: var(--mustard);
  color: #3a2703;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: 900;
  transform: rotate(12deg);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  text-align: center;
  line-height: 1.05;
}
.cv-badge-price span:first-child { font-size: 1.9rem; }
.cv-badge-price span:last-child { font-size: 0.62rem; letter-spacing: 0.05em; }

.cv-cta-row {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cv-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: #fff8ec;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 0 var(--coral-dark);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cv-cta:hover { transform: translateY(3px); box-shadow: 0 7px 0 var(--coral-dark); }
.cv-cta:active { transform: translateY(10px); box-shadow: 0 0 0 var(--coral-dark); }
.cv-cta-note { font-size: 0.82rem; color: var(--ink-soft); }

.cv-intro {
  max-width: 56ch;
  margin: 56px auto 0;
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- SECTION HEAD ---------- */
.cv-section-head {
  text-align: center;
  margin: 90px 0 44px;
}
.cv-section-head .cv-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 8px;
}
.cv-section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  margin: 0;
  text-wrap: balance;
}

/* ---------- POSTCARD PANELS ---------- */
.cv-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 70px;
}
.cv-panel.rev { direction: rtl; }
.cv-panel.rev > * { direction: ltr; }
@media (max-width: 700px) {
  .cv-panel, .cv-panel.rev { grid-template-columns: 1fr; direction: ltr; }
}

.cv-clip {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 14px 26px rgba(20,20,10,0.16);
}
.cv-clip.tilt-l { transform: rotate(-2.4deg); }
.cv-clip.tilt-r { transform: rotate(2.2deg); }
.cv-clip img, .cv-clip .cv-art { width: 100%; display: block; border-radius: 2px; }
.cv-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 70px;
  height: 26px;
  background: rgba(239,169,43,0.55);
  border: 1px solid rgba(239,169,43,0.7);
}

.cv-copy .cv-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cv-tag.tag-1 { background: var(--sky); color: #04303a; }
.cv-tag.tag-2 { background: var(--mustard); color: #3a2703; }
.cv-tag.tag-3 { background: var(--coral); color: #fff3ec; }
.cv-tag.tag-4 { background: var(--teal-mid); color: #eaf7f4; }
.cv-copy h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 10px;
  text-wrap: balance;
}
.cv-copy p { color: var(--ink-soft); margin: 0 0 10px; max-width: 46ch; }
.cv-copy p:last-child { margin-bottom: 0; }

/* Emilio in Nevers photo */
.cv-art-emilio {
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 12% 40%;
}
/* Jeu de l'oie des bars de Nevers photo */
.cv-art-oie {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: 42% 42%;
}
/* Nevers Bastia photo */
.cv-art-bastia {
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 78% 38%;
}
/* Couverture posée sur une table (photo lifestyle) */
.cv-art-erreurs {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: 68% 45%;
}

/* ---------- EN VRAC GRID ---------- */
.cv-vrac {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 50px;
}
@media (min-width: 560px) {
  .cv-vrac { grid-template-columns: repeat(4, 1fr); }
}
.cv-vrac-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- TICKET STRIP ---------- */
.cv-ticket-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 8px 0 90px;
}
.cv-ticket {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}
.cv-ticket b { color: var(--ink); }

/* ---------- GOLD TICKET CALLOUT ---------- */
.cv-gold {
  background: linear-gradient(160deg, var(--teal-deep), #0a2622);
  color: #fbe9b8;
  border-radius: 18px;
  padding: 46px 30px;
  text-align: center;
  margin-bottom: 90px;
  position: relative;
  overflow: hidden;
}
.cv-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(239,169,43,0.25), transparent 45%);
}
.cv-gold h2 {
  position: relative;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 14px;
  color: var(--mustard);
}
.cv-gold p {
  position: relative;
  max-width: 50ch;
  margin: 0 auto;
  color: #e7dcb8;
}

/* ---------- REVIEWS ---------- */
.cv-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
@media (min-width: 700px) {
  .cv-reviews { grid-template-columns: repeat(3, 1fr); }
}
.cv-review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
}
.cv-review:nth-child(odd) { transform: rotate(-1deg); }
.cv-review:nth-child(even) { transform: rotate(1deg); }
.cv-review-stars {
  color: var(--mustard);
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.cv-review-quote {
  font-style: italic;
  color: var(--ink);
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.cv-review-author {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.cv-review-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0.75;
  margin: 0 0 70px;
}
@media (max-width: 560px) {
  .cv-reviews { grid-template-columns: 1fr; }
}

.cv-credits {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto 60px;
}

/* ---------- FINAL CTA ---------- */
.cv-final {
  text-align: center;
  padding: 20px 20px 10px;
}
.cv-final h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--coral);
}
.cv-final p { color: var(--ink-soft); margin: 0 0 30px; }
.cv-final-price {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.cv-page a.cv-cta:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
