:root {
  --ink: #1f2430;
  --muted: #6c7280;
  --paper: #fff8e8;
  --surface: #ffffff;
  --soft: #e9fbf7;
  --line: rgba(31, 36, 48, 0.12);
  --teal: #2fd8c9;
  --teal-dark: #087d78;
  --orange: #ff6126;
  --yellow: #ffd456;
  --pink: #f0608f;
  --blue: #2f86d6;
  --summer-sky: #dff8ff;
  --summer-sand: #fff1bd;
  --summer-coral: #ff7a45;
  --shadow: 0 18px 44px rgba(31, 36, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff8e8 0%, #edfffb 36%, #fff8e8 100%);
  font-family: "Fredoka", "Poppins", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 34px);
  padding: 10px clamp(16px, 4vw, 54px);
  background:
    linear-gradient(180deg, rgba(255, 251, 239, 0.96), rgba(255, 255, 255, 0.86));
  border-bottom: 1px solid rgba(47, 216, 201, 0.2);
  box-shadow: 0 14px 34px rgba(31, 36, 48, 0.08);
  backdrop-filter: blur(18px);
}

/* Assistant Camille */
.camille-assistant {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: inherit;
}

.camille-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 16px 8px 8px;
  border: 2px solid rgba(60, 215, 200, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #151a33;
  box-shadow: 0 18px 45px rgba(20, 28, 46, 0.18);
  cursor: pointer;
  font-weight: 900;
}

.camille-toggle img,
.camille-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 32%;
  border: 3px solid #ffd451;
}

.camille-head img {
  width: 56px;
  height: 56px;
}

.camille-toggle:hover {
  transform: translateY(-2px);
}

.camille-panel {
  position: absolute;
  left: 0;
  bottom: 78px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(14, 143, 136, 0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f4fffb 58%, #fff6df 100%);
  box-shadow: 0 24px 65px rgba(20, 28, 46, 0.22);
}

.camille-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(90deg, rgba(60, 215, 200, 0.18), rgba(255, 212, 81, 0.2));
}

.camille-head strong {
  display: block;
  color: #151a33;
  font-size: 1.05rem;
}

.camille-head span {
  color: #007f79;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.camille-head button {
  display: none;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #242844;
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.camille-dialog {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding: 16px;
}

.camille-message,
.camille-user {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.camille-message {
  background: #fff;
  color: #30364f;
  border: 1px solid rgba(14, 143, 136, 0.18);
}

.camille-user {
  justify-self: end;
  background: #32d2c5;
  color: #14203a;
}

.camille-message a {
  color: #008c84;
  font-weight: 900;
}

.camille-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.camille-suggestions button,
.camille-form button {
  border: 0;
  border-radius: 999px;
  background: #ff5a24;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.camille-suggestions button {
  padding: 9px 11px;
  font-size: 0.82rem;
}

.camille-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(14, 143, 136, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.camille-form input {
  min-width: 0;
  border: 2px solid rgba(14, 143, 136, 0.18);
  border-radius: 999px;
  padding: 11px 13px;
  color: #151a33;
  font: inherit;
  font-weight: 700;
}

.camille-form input:focus {
  outline: none;
  border-color: #32d2c5;
  box-shadow: 0 0 0 4px rgba(50, 210, 197, 0.18);
}

.camille-form button {
  padding: 11px 15px;
}

@media (max-width: 720px) {
  .camille-assistant {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .camille-panel {
    left: 0;
    right: 0;
    width: auto;
    bottom: 76px;
  }

  .camille-toggle span {
    display: none;
  }

  .camille-form {
    grid-template-columns: 1fr;
  }
}

.brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: clamp(250px, 22vw, 410px);
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(31, 36, 48, 0.14));
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(47, 216, 201, 0.3);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(31, 36, 48, 0.09);
}

.main-nav a,
.main-nav button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(255, 248, 232, 0.64);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(31, 36, 48, 0.04);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.main-nav button {
  font: inherit;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav button:hover {
  color: var(--ink);
  background: #fff0ad;
  box-shadow: 0 10px 20px rgba(255, 97, 38, 0.12);
  transform: translateY(-1px);
}

.main-nav .nav-link {
  gap: 8px;
  padding-left: 8px;
}

.main-nav .nav-link::before {
  content: attr(data-nav-icon);
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--teal-dark), #2fd8c9);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.main-nav .nav-link[href*="livrets"]::before {
  min-width: 38px;
  background: linear-gradient(135deg, var(--orange), #ff9b47);
}

.main-nav .nav-link[href*="popularite"]::before {
  min-width: 40px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), #ffe98f);
}

.main-nav .about-nav-button {
  width: 66px;
  padding: 0 8px;
  background: #ffffff;
  border-color: rgba(47, 216, 201, 0.38);
}

.main-nav .about-nav-button img {
  width: 54px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(31, 36, 48, 0.15));
}

.main-nav .newsletter-nav-link {
  color: white;
  background: linear-gradient(135deg, var(--orange), #ff8a4c);
  border-color: rgba(255, 97, 38, 0.34);
  box-shadow: 0 10px 22px rgba(255, 97, 38, 0.22);
}

.main-nav .newsletter-nav-link::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: white;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
}

.main-nav .newsletter-nav-link:hover {
  color: white;
  background: #20223a;
}

.main-nav .newsletter-nav-link:hover::before {
  background: white;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
}

.main-nav .social-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  overflow: hidden;
  background: white;
  border: 2px solid white;
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.14);
}

.main-nav .social-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-nav .social-icon:hover {
  background: transparent;
  transform: translateY(-1px);
}

.nav-search {
  display: grid;
  grid-template-columns: minmax(140px, 210px) 42px;
  gap: 6px;
  align-items: center;
  margin-left: 2px;
  padding: 4px;
  background: #f4fffd;
  border: 1px solid rgba(47, 216, 201, 0.28);
  border-radius: 999px;
}

.nav-search input {
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  outline-offset: 3px;
}

.nav-search .search-submit {
  min-height: 38px;
  width: 38px;
  padding: 0;
  color: white;
  background: var(--teal-dark);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
}

.nav-search .search-submit:hover {
  transform: translateY(-1px);
  background: #ff6126;
}

.nav-search-feedback {
  position: sticky;
  top: 129px;
  z-index: 29;
  max-width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 16px;
  text-align: center;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 24px rgba(31, 36, 48, 0.08);
  backdrop-filter: blur(16px);
}

.nav-search-feedback:empty {
  display: none;
}

.nav-search-feedback a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 900;
}

.nav-search-feedback a:hover {
  color: var(--orange);
}

.search-hint {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.9em;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 72svh;
  padding: clamp(52px, 7vw, 98px) clamp(18px, 5vw, 70px);
  background:
    radial-gradient(circle at 78% 14%, rgba(47, 216, 201, 0.36), transparent 32%),
    radial-gradient(circle at 22% 88%, rgba(255, 212, 86, 0.28), transparent 28%),
    linear-gradient(135deg, #fff8e8 0%, #e8fbf8 100%);
}

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  width: min(100%, 560px);
  margin: 0 0 22px;
  filter: drop-shadow(0 18px 24px rgba(31, 36, 48, 0.18));
}

.eyebrow {
  margin: 0 0 12px;
  color: #108a81;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 880px;
  font-size: clamp(2.8rem, 5.6vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text,
.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
  font-weight: 500;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #163d43;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(47, 216, 201, 0.42);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.08);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-feedback {
  min-height: 24px;
  margin: 6px 0 0;
  color: #007f73;
  font-size: 0.95rem;
  font-weight: 800;
}

.search-feedback.is-error {
  color: var(--orange);
}

.hero-art {
  display: grid;
  justify-items: center;
}

.hero-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  width: min(100%, 760px);
  transform: rotate(-1deg);
}

.hero-preview figure {
  margin: 0;
  overflow: hidden;
  background: white;
  border: 10px solid white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-preview img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 1;
  transition: opacity 240ms ease, transform 240ms ease;
}

.hero-preview img.is-changing {
  opacity: 0;
  transform: scale(0.985);
}

.hero-preview figure:nth-child(2) {
  transform: translateY(34px) rotate(2deg);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 122, 69, 0.18);
  border-block: 1px solid var(--line);
}

.quick-stats div,
.newsletter-stat-link {
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.9);
}

.quick-stats strong,
.newsletter-stat-link strong {
  display: block;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1;
}

.quick-stats span,
.newsletter-stat-link span {
  color: var(--muted);
  font-weight: 800;
}

.newsletter-stat-link {
  color: inherit;
  text-decoration: none;
  background: var(--summer-sand);
}

.newsletter-stat-link strong {
  color: var(--orange);
}

.newsletter-stat-link:hover {
  background: #e4fbf8;
}

.daily-picks {
  padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 70px);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 212, 86, 0.26), transparent 28%),
    linear-gradient(135deg, #fffdf2 0%, #e9fbf7 100%);
}

.summer-daily {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 212, 86, 0.36), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(47, 134, 214, 0.18), transparent 30%),
    linear-gradient(135deg, #fff7df 0%, #e3fbff 100%);
}

.summer-daily-grid {
  display: grid;
}

.summer-daily-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.summer-daily-media {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 212, 86, 0.18), transparent 42%),
    #fffdf8;
}

.summer-daily-media img {
  width: auto;
  max-width: 100%;
  height: min(520px, 56vw);
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(31, 36, 48, 0.14));
}

.summer-daily-teaser {
  color: #20223a;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.78), transparent 40%),
    linear-gradient(135deg, var(--yellow), #ff9a57 58%, #36d9cc);
}

.summer-daily-teaser span {
  display: block;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 0.9;
  font-weight: 900;
}

.summer-daily-teaser small {
  display: block;
  color: #20223a;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
}

.summer-daily-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 46px);
}

.summer-daily-copy span {
  width: fit-content;
  padding: 8px 14px;
  color: #20223a;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summer-daily-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.98;
}

.summer-daily-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 700;
}

.summer-countdown {
  display: inline-grid;
  gap: 6px;
  width: fit-content;
  min-width: min(100%, 270px);
  margin-top: 4px;
  padding: 14px 18px;
  color: #20223a;
  background: linear-gradient(135deg, #fff5cf 0%, #e7fff9 100%);
  border: 1px solid rgba(32, 34, 58, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(31, 36, 48, 0.1);
}

.summer-countdown small {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summer-countdown strong {
  color: var(--orange);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.summer-daily-copy button {
  min-height: 50px;
  width: fit-content;
  min-width: 180px;
  margin-top: 6px;
  padding: 0 22px;
  color: white;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.summer-daily-copy button:hover {
  background: #20223a;
  transform: translateY(-1px);
}

.daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.daily-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.88fr) minmax(0, 1fr);
  min-height: 360px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.daily-card-book {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 217, 0.92));
}

.daily-media {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #ffffff;
}

.daily-card-drawing .daily-media {
  background: #fffaf0;
}

.daily-media img {
  width: auto;
  max-width: 100%;
  height: min(320px, 42vw);
  object-fit: contain;
}

.daily-actions {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
}

.daily-actions span {
  color: #108a81;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-actions small {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 900;
}

.daily-actions a,
.daily-actions button {
  min-height: 48px;
  width: fit-content;
  min-width: 170px;
  margin-top: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--summer-coral);
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.daily-actions a {
  display: inline-grid;
  place-items: center;
}

.daily-actions a:hover,
.daily-actions button:hover {
  background: #20223a;
}

.recent-showcase {
  padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(255, 241, 189, 0.65), rgba(226, 251, 247, 0.95), rgba(255, 231, 214, 0.72)),
    #ffffff;
}

.recent-showcase[hidden] {
  display: none;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 260px));
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}

.recent-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  min-height: 310px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.recent-card:nth-child(2n) {
  transform: none;
}

.recent-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  color: white;
  background: var(--orange);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-media {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fffdf8;
}

.recent-card-book .recent-media {
  background: #eefbf9;
}

.recent-media img {
  max-width: 100%;
  width: auto;
  height: min(220px, 30vw);
  object-fit: contain;
}

.recent-actions {
  display: grid;
  gap: 4px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.recent-actions small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-actions strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
}

.popularity-band {
  background: linear-gradient(135deg, #fff6d9 0%, #e1fbf8 58%, #fff2e8 100%);
}

.popularity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.popularity-panel {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.popularity-panel h3 {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.popularity-panel ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: popularite;
}

.popularity-panel li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.popularity-panel li::before {
  counter-increment: popularite;
  content: counter(popularite);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #20223a;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 900;
}

.popularity-panel span,
.popularity-panel small {
  min-width: 0;
}

.popularity-panel small {
  grid-column: 2;
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.atelier-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: start;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 70px);
  background: #fff;
}

.atelier-copy {
  max-width: 620px;
}

.atelier-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.atelier-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.atelier-steps div {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: #fff8dd;
  border: 1px solid rgba(255, 212, 86, 0.45);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 36, 48, 0.08);
}

.atelier-steps div:nth-child(2) {
  background: #e8fbf7;
  border-color: rgba(53, 208, 194, 0.36);
}

.atelier-steps div:nth-child(3) {
  background: #fff0f5;
  border-color: rgba(240, 96, 143, 0.28);
}

.atelier-steps span {
  color: var(--orange);
  font-weight: 900;
}

.atelier-steps strong {
  font-size: 1.18rem;
}

.atelier-steps p {
  margin: 0;
  color: var(--muted);
}

.section-panel {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 70px);
}

.policy-page {
  background:
    radial-gradient(circle at 82% 0%, rgba(53, 208, 194, 0.22), transparent 30%),
    linear-gradient(135deg, #fffaf4 0%, #f5fffc 100%);
}

.policy-hero,
.policy-content {
  max-width: 980px;
  margin: 0 auto;
  padding-inline: clamp(18px, 5vw, 70px);
}

.policy-hero {
  padding-top: clamp(54px, 8vw, 100px);
  padding-bottom: 34px;
}

.policy-hero h1 {
  max-width: 920px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
}

.policy-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 600;
}

.policy-content {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(90px, 14vw, 180px);
}

.policy-content article {
  padding: clamp(20px, 3vw, 28px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(31, 36, 48, 0.08);
}

.policy-content h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.policy-content p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.policy-note {
  color: var(--ink) !important;
  font-weight: 900 !important;
}

.about-page {
  background:
    radial-gradient(circle at 86% 0%, rgba(53, 208, 194, 0.24), transparent 32%),
    linear-gradient(135deg, #fffaf4 0%, #f6fffc 100%);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 70px) 36px;
}

.about-hero h1 {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  line-height: 0.95;
}

.about-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 700;
}

.about-hero img {
  width: min(100%, 420px);
  justify-self: center;
  filter: drop-shadow(0 18px 26px rgba(31, 36, 48, 0.18));
}

.about-story {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 70px) clamp(90px, 14vw, 180px);
}

.about-story article {
  padding: clamp(22px, 3vw, 32px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.08);
}

.about-story p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 600;
}

.about-story p + p {
  margin-top: 14px;
}

.about-story strong,
.about-thanks {
  color: var(--ink);
  font-weight: 900 !important;
}

.about-thanks {
  padding-top: 8px;
  color: var(--orange) !important;
}

body.is-modal-open {
  overflow: hidden;
}

.about-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.about-modal[hidden] {
  display: none;
}

.about-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 16%, rgba(47, 216, 201, 0.18), transparent 32%),
    rgba(31, 36, 48, 0.58);
  backdrop-filter: blur(8px);
}

.about-modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(237, 255, 251, 0.98));
  border: 1px solid rgba(47, 216, 201, 0.34);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.about-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(255, 97, 38, 0.28);
}

.about-modal-close:hover {
  background: #20223a;
}

.about-modal-logo {
  width: min(330px, 72vw);
  margin: 0 auto 18px;
  filter: drop-shadow(0 16px 22px rgba(31, 36, 48, 0.16));
}

.about-modal h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 0.96;
}

.about-modal-story {
  display: grid;
  gap: 14px;
}

.about-modal-story p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.about-modal-story strong {
  color: var(--ink);
  font-weight: 900;
}

.admin-page {
  min-height: 100vh;
  padding: 34px clamp(18px, 5vw, 70px) 90px;
  background:
    radial-gradient(circle at 84% 8%, rgba(53, 208, 194, 0.28), transparent 27%),
    linear-gradient(135deg, #fffaf4 0%, #f3fffb 52%, #fff1f5 100%);
}

.admin-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1;
}

.admin-hero p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
}

.admin-dashboard {
  max-width: 1440px;
  margin: 0 auto;
}

.admin-toolbar,
.admin-card,
.admin-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-hero button,
.admin-toolbar button {
  min-height: 50px;
  padding: 0 22px;
  color: white;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.is-hidden {
  display: none !important;
}

.admin-toolbar {
  padding: 14px 18px;
  margin-bottom: 16px;
}

.admin-toolbar p {
  margin: 0;
  color: #0a7f71;
  font-weight: 800;
}

.admin-toolbar button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card {
  position: relative;
  min-height: 156px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  overflow: hidden;
}

.admin-card::before {
  content: attr(data-admin-icon);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: white;
  background: #26283d;
  border-radius: 18px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-card[data-admin-icon="total"]::before { content: "VIS"; background: var(--orange); }
.admin-card[data-admin-icon="unique"]::before { content: "UNI"; background: var(--teal); }
.admin-card[data-admin-icon="today"]::before { content: "J"; background: var(--blue); }
.admin-card[data-admin-icon="day"]::before { content: "U"; background: var(--pink); }
.admin-card[data-admin-icon="downloads"]::before { content: "DL"; background: var(--orange); }
.admin-card[data-admin-icon="survey"]::before { content: "AV"; background: var(--teal-dark); }
.admin-card[data-admin-icon="time"]::before { content: "MAJ"; background: #26283d; }

.admin-card span {
  display: block;
  margin: 18px 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-card strong {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.45vw, 2.35rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.admin-card[data-admin-icon="time"] strong {
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.12;
}

.admin-stat-updated {
  color: #e01818 !important;
  background: rgba(255, 97, 38, 0.1);
  border-radius: 8px;
  box-shadow: 0 0 0 6px rgba(255, 97, 38, 0.08);
  animation: adminPulse 900ms ease-out 1;
}

@keyframes adminPulse {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.admin-section {
  grid-column: span 6;
  overflow: hidden;
}

.admin-section-wide {
  grid-column: 1 / -1;
}

.admin-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 18px 20px;
  color: var(--ink);
  background: linear-gradient(135deg, #fff7d6, #e4fbf8);
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}

.admin-section-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: white;
  background: #26283d;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-section-icon[data-section-icon="pays"]::before { content: "PY"; }
.admin-section-icon[data-section-icon="appareils"]::before { content: "AP"; }
.admin-section-icon[data-section-icon="navigateurs"]::before { content: "NAV"; }
.admin-section-icon[data-section-icon="jours"]::before { content: "JR"; }
.admin-section-icon[data-section-icon="telechargements"]::before { content: "DL"; }
.admin-section-icon[data-section-icon="consultations"]::before { content: "VU"; }
.admin-section-icon[data-section-icon="avis"]::before { content: "AV"; }

.admin-table-wrap {
  overflow-x: auto;
}

.admin-section table {
  width: 100%;
  border-collapse: collapse;
}

.admin-section th,
.admin-section td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-section tbody tr:nth-child(even) {
  background: #fbfffe;
}

.admin-section th {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.admin-section td:last-child,
.admin-section th:last-child {
  text-align: right;
  font-weight: 900;
}

#livrets {
  padding-bottom: clamp(260px, 28vw, 440px);
}

.section-heading {
  margin-bottom: 28px;
}

.gallery-band {
  background: #e9fbf7;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.gallery-menu-toggle {
  display: none;
}

.gallery-menu {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 238, 0.92));
  border: 1px solid rgba(50, 205, 190, 0.32);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(20, 22, 35, 0.12);
}

.gallery-menu::before {
  content: "Rubriques";
  display: block;
  margin: 2px 4px 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-filter,
.theme-pill {
  min-height: 48px;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gallery-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0 10px 0 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 34, 58, 0.08);
  border-radius: 7px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gallery-filter::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(61, 211, 198, 0.16);
}

.gallery-filter:hover,
.gallery-filter.is-active {
  color: #20223a;
  background: linear-gradient(135deg, #ffd452, #ffe88d);
  border-color: rgba(255, 91, 35, 0.22);
  box-shadow: 0 12px 24px rgba(255, 91, 35, 0.13);
  transform: translateX(3px);
}

.gallery-filter.is-active::before,
.gallery-filter:hover::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 91, 35, 0.16);
}

.gallery-filter span {
  margin-left: auto;
  min-width: 36px;
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 8px;
  color: var(--ink);
  background: #f4f6f9;
  border: 1px solid rgba(32, 34, 58, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.gallery-filter.is-active span,
.gallery-filter:hover span {
  background: white;
  border-color: rgba(255, 91, 35, 0.18);
}

.gallery-content {
  min-width: 0;
}

.results-meta {
  min-height: 32px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  color: #9a2f13;
  background: #fff3ec;
  border: 1px solid rgba(255, 97, 38, 0.24);
  border-radius: 8px;
  font-weight: 800;
}

.gallery-grid,
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.gallery-grid {
  padding-bottom: clamp(100px, 12vw, 190px);
}

.book-grid {
  padding-bottom: clamp(180px, 20vw, 320px);
}

.drawing-card,
.book-card {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  min-height: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.drawing-card:hover,
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(31, 36, 48, 0.14);
}

.drawing-thumb,
.book-cover {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f2e8;
  text-decoration: none;
}

.drawing-thumb {
  aspect-ratio: 3 / 4;
}

.book-cover {
  aspect-ratio: 3 / 4;
}

.drawing-thumb img,
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-actions {
  display: flex;
  gap: 8px;
  padding: 14px;
}

.card-actions a,
.card-actions button {
  flex: 1;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  color: white;
  background: #26283d;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.drawing-card .card-actions .download-button {
  background: var(--orange);
}


.theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 22px;
}

.theme-pill {
  padding: 0 24px;
  color: #24505d;
  background: var(--teal);
  border-radius: 999px;
}

.theme-pill.is-active {
  color: white;
  background: var(--orange);
}

.site-footer {
  display: grid;
  gap: 30px;
  padding: 52px clamp(18px, 5vw, 70px) 26px;
  color: white;
  background: linear-gradient(135deg, #24243d 0%, #222842 52%, #18343c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.footer-hero {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 760px);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
}

.footer-hero img {
  width: min(100%, 360px);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.24));
}

.footer-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}

.footer-hero h2 {
  max-width: 850px;
  margin: 0 0 12px;
  color: white;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  line-height: 1.02;
}

.footer-kicker {
  margin-bottom: 10px !important;
  color: var(--yellow) !important;
  font-size: 0.82rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 22px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  color: #20223a;
  background: linear-gradient(135deg, #fff7d6 0%, #e4fbf8 58%, #fff0f5 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.14);
}

.newsletter-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
}

.newsletter-panel p:not(.footer-kicker):not(.newsletter-message) {
  margin: 0;
  max-width: 720px;
  color: #566071;
  font-weight: 700;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.newsletter-form input[type="email"] {
  min-height: 52px;
  width: 100%;
  padding: 0 18px;
  color: var(--ink);
  background: white;
  border: 2px solid rgba(31, 36, 48, 0.12);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  outline-offset: 3px;
}

.newsletter-form button {
  min-height: 52px;
  padding: 0 22px;
  color: white;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.newsletter-form button:hover {
  background: #20223a;
}

.newsletter-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.newsletter-trap {
  display: none;
}

.newsletter-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: #0a7f71;
  font-size: 0.92rem;
  font-weight: 800;
}

.newsletter-message.is-error {
  color: var(--orange);
}

.download-toast {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 52;
  width: min(330px, calc(100vw - 32px));
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(50, 205, 190, 0.38);
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(31, 36, 48, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.download-toast[hidden] {
  display: none;
}

.download-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.download-toast strong,
.download-toast span,
.download-toast a {
  display: block;
}

.download-toast strong {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 900;
}

.download-toast span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.download-toast a {
  margin-top: 10px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.download-toast a:hover {
  color: var(--orange);
}

.survey-widget {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 45;
  width: 242px;
  color: #20223a;
  transform: translate(calc(-100% + 42px), -50%);
  transition: transform 180ms ease;
}

.survey-widget.is-open,
.survey-widget:hover,
.survey-widget:focus-within {
  transform: translate(0, -50%);
}

.survey-tab {
  position: absolute;
  top: 50%;
  right: 0;
  width: 42px;
  height: 92px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--summer-coral);
  border: 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 12px 24px rgba(31, 36, 48, 0.18);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.survey-panel {
  width: 200px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(47, 216, 201, 0.38);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 16px 34px rgba(31, 36, 48, 0.18);
  backdrop-filter: blur(14px);
}

.survey-widget p {
  margin: 0;
  color: #108a81;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.survey-widget strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.survey-actions {
  display: grid;
  gap: 6px;
}

.survey-actions button {
  min-height: 34px;
  padding: 0 10px;
  color: white;
  background: #252740;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.survey-actions button:first-child {
  background: var(--teal);
  color: #18343c;
}

.survey-actions button:nth-child(2) {
  background: var(--yellow);
  color: #20223a;
}

.survey-actions button:hover {
  transform: translateY(-1px);
}

.survey-actions button:disabled {
  cursor: default;
  opacity: 0.58;
  transform: none;
}

.survey-widget small {
  min-height: 16px;
  color: #108a81;
  font-size: 0.72rem;
  font-weight: 800;
}

.survey-widget.is-voted .survey-actions {
  display: none;
}

.survey-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.survey-results article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fffaf0;
  border: 1px solid rgba(255, 122, 69, 0.18);
  border-radius: 8px;
}

.survey-results span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.survey-results strong {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 18px;
  color: #20223a;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(47, 216, 201, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31, 36, 48, 0.2);
  backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0 0 4px;
  color: #108a81;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.15;
}

.cookie-banner span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-actions button,
.cookie-actions a {
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.cookie-actions button {
  color: white;
  background: var(--summer-coral);
  border: 0;
  cursor: pointer;
}

.cookie-actions button[data-cookie-refuse] {
  color: #20223a;
  background: var(--yellow);
}

.cookie-actions a {
  color: #20223a;
  border: 1px solid var(--line);
}

.cookie-actions button:hover,
.cookie-actions a:hover {
  transform: translateY(-1px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-links > div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.94rem;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(31, 36, 48, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #20223a;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: visible;
    justify-content: flex-start;
    border-radius: 20px;
  }

  .nav-search {
    order: 3;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .nav-search-feedback {
    position: static;
    max-width: calc(100% - 32px);
    margin-top: 0;
    border-top: 1px solid var(--line);
    border-radius: 8px;
  }

  .hero,
  .about-hero,
  .gallery-layout,
  .atelier-section {
    grid-template-columns: 1fr;
  }

  .gallery-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    width: 100%;
    padding: 0 16px;
    color: var(--ink);
    background: linear-gradient(135deg, #ffffff, #fff3c9);
    border: 1px solid rgba(50, 205, 190, 0.35);
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(31, 36, 48, 0.1);
  }

  .gallery-menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--teal-dark);
    border-radius: 999px;
  }

  .gallery-menu {
    position: static;
    display: none;
    overflow: visible;
  }

  .gallery-menu.is-open {
    display: grid;
  }

  .gallery-filter {
    width: auto;
    white-space: normal;
  }

  .quick-stats,
  .summer-daily-card,
  .daily-grid,
  .recent-grid,
  .popularity-grid,
  .atelier-steps,
  .cookie-banner,
  .footer-links,
  .footer-hero,
  .newsletter-panel,
  .survey-results,
  .admin-metrics,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .recent-card,
  .recent-card:nth-child(2n) {
    min-height: auto;
    transform: none;
  }

  .recent-media {
    min-height: 220px;
  }

  .recent-media img {
    height: min(210px, 58vw);
  }

  .daily-card {
    grid-template-columns: 1fr;
  }

  .summer-daily-media img {
    height: min(380px, 82vw);
  }

  .daily-media img {
    height: min(320px, 72vw);
  }

  .admin-section-wide {
    grid-column: auto;
  }

  .admin-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-section {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: min(100%, 310px);
    height: 92px;
  }

  .hero-logo {
    width: min(100%, 390px);
    margin-bottom: 16px;
  }

  .main-nav a,
  .main-nav button {
    padding: 0 14px;
  }

  .main-nav .about-nav-button {
    width: 58px;
  }

  .main-nav .about-nav-button img {
    width: 46px;
    height: 30px;
  }

  .main-nav .social-icon {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 2.9rem;
  }

  .gallery-grid,
  .book-grid,
  .daily-grid,
  .recent-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    padding-bottom: 140px;
  }

  .book-grid {
    padding-bottom: 240px;
  }

  .site-footer {
    gap: 26px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .download-toast {
    right: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
  }

  .survey-widget {
    left: 0;
    top: auto;
    bottom: 86px;
    width: min(242px, calc(100vw - 18px));
    transform: translateX(calc(-100% + 42px));
  }

  .survey-widget.is-open,
  .survey-widget:hover,
  .survey-widget:focus-within {
    transform: translateX(0);
  }

  .survey-tab {
    top: auto;
    bottom: 0;
    transform: none rotate(180deg);
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 12px;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-page {
    padding-inline: 14px;
  }

  .admin-hero,
  .admin-card {
    padding: 18px;
  }

  .admin-card {
    min-height: 132px;
  }

  .admin-section th,
  .admin-section td {
    padding: 12px;
  }
}

.survey-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 212, 86, 0.32), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(47, 216, 201, 0.22), transparent 28%),
    linear-gradient(135deg, #fff9df 0%, #eefdf9 100%);
}

.survey-section.survey-widget {
  position: static;
  left: auto;
  top: auto;
  z-index: auto;
  width: auto;
  color: var(--ink);
  transform: none;
  transition: none;
}

.survey-section.survey-widget:hover,
.survey-section.survey-widget:focus-within,
.survey-section.survey-widget.is-open {
  transform: none;
}

.survey-section .survey-tab {
  display: none;
}

.survey-section .survey-panel {
  width: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(18px, 4vw, 46px);
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(47, 216, 201, 0.32);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(31, 36, 48, 0.12);
}

.survey-copy {
  display: grid;
  gap: 8px;
}

.survey-section .survey-copy p,
.survey-section .survey-copy h2,
.survey-section .survey-copy span {
  margin: 0;
}

.survey-section .survey-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.survey-section .survey-copy span {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.survey-section .survey-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.survey-section .survey-actions button {
  min-height: 58px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 1rem;
}

.survey-section small[data-survey-message] {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 900;
}

.survey-section.is-voted .survey-actions {
  display: none;
}

@media (max-width: 860px) {
  .survey-section .survey-panel {
    grid-template-columns: 1fr;
  }

  .survey-section .survey-actions {
    grid-template-columns: 1fr;
  }
}

/* Essai menu atelier coloriage */
.site-header {
  padding: 12px clamp(14px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(232, 255, 249, 0.94)),
    #fffaf0;
  border-bottom: 1px solid rgba(47, 216, 201, 0.28);
  box-shadow: 0 14px 34px rgba(31, 36, 48, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 212, 86, 0.42);
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(31, 36, 48, 0.08);
}

.brand img {
  width: clamp(210px, 20vw, 330px);
  height: 98px;
}

.main-nav {
  gap: 7px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(47, 216, 201, 0.26);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 12px 24px rgba(31, 36, 48, 0.08);
}

.main-nav a,
.main-nav button {
  min-height: 44px;
  padding: 0 16px;
  color: #20223a;
  background: #fffdf8;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(31, 36, 48, 0.06);
}

.main-nav a:hover,
.main-nav button:hover {
  color: #20223a;
  background: #fff1bd;
  box-shadow: 0 12px 24px rgba(255, 97, 38, 0.14);
}

.main-nav .nav-link {
  gap: 9px;
  padding-left: 8px;
}

.main-nav .nav-link::before {
  min-width: 32px;
  height: 32px;
  color: white;
  background: linear-gradient(135deg, #14b8a6, #2fd8c9);
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 12px rgba(20, 184, 166, 0.22);
}

.main-nav .nav-link[href*="livrets"]::before {
  min-width: 42px;
  background: linear-gradient(135deg, #ff6126, #ff9b47);
  box-shadow: 0 5px 12px rgba(255, 97, 38, 0.22);
}

.main-nav .nav-link[href*="popularite"]::before {
  content: "★";
  min-width: 34px;
  color: #20223a;
  background: linear-gradient(135deg, #ffd456, #fff09a);
  box-shadow: 0 5px 12px rgba(255, 212, 86, 0.28);
}

.main-nav .about-nav-button {
  width: 72px;
  background: linear-gradient(135deg, #ffffff, #fff5d8);
  border-color: rgba(255, 212, 86, 0.5);
}

.main-nav .newsletter-nav-link {
  color: white;
  background: linear-gradient(135deg, #ff6126, #ff7a45);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 28px rgba(255, 97, 38, 0.22);
}

.main-nav .newsletter-nav-link:hover {
  color: white;
  background: linear-gradient(135deg, #20223a, #164e63);
}

.main-nav .social-icon {
  width: 42px;
  height: 42px;
  padding: 2px;
  background: white;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.nav-search {
  grid-template-columns: minmax(130px, 190px) 44px;
  gap: 5px;
  padding: 3px;
  background: #ffffff;
  border: 1px solid rgba(47, 216, 201, 0.34);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.07);
}

.nav-search input {
  min-height: 38px;
  padding-left: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nav-search input:focus {
  box-shadow: none;
}

.search-submit {
  min-height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2fd8c9, #14b8a6);
  box-shadow: 0 8px 16px rgba(47, 216, 201, 0.22);
}

@media (max-width: 1180px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    width: fit-content;
  }

  .main-nav {
    width: 100%;
    border-radius: 24px;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px;
  }

  .brand img {
    width: min(100%, 260px);
    height: 78px;
  }

  .main-nav {
    gap: 6px;
    border-radius: 20px;
  }

  .main-nav a,
  .main-nav button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .main-nav .nav-link::before {
    min-width: 28px;
    height: 28px;
  }

  .nav-search {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 42px;
  }
}

/* Essai menu plus marque */
.site-header {
  padding: 12px clamp(18px, 4vw, 56px);
  background: linear-gradient(90deg, #fff8d9 0%, #dffcf7 52%, #fff4e6 100%);
  border-bottom: 3px solid rgba(255, 97, 38, 0.14);
  box-shadow: 0 18px 36px rgba(31, 36, 48, 0.1);
}

.brand {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  width: clamp(190px, 17vw, 285px);
  height: 96px;
  filter: drop-shadow(0 16px 18px rgba(31, 36, 48, 0.18));
}

.main-nav {
  gap: 10px;
  padding: 10px;
  background: #242640;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(31, 36, 48, 0.18);
}

.main-nav a,
.main-nav button {
  min-height: 48px;
  padding: 0 18px;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: none;
}

.main-nav a:hover,
.main-nav button:hover {
  color: #20223a;
  background: white;
  box-shadow: 0 12px 22px rgba(255, 212, 86, 0.18);
}

.main-nav .nav-link {
  gap: 9px;
  padding-left: 10px;
}

.main-nav .nav-link::before {
  min-width: 34px;
  height: 34px;
  color: white;
  background: #2fd8c9;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: none;
}

.main-nav .nav-link[href*="livrets"]::before {
  min-width: 42px;
  background: #ff6126;
  box-shadow: none;
}

.main-nav .nav-link[href*="popularite"]::before {
  content: "*";
  min-width: 34px;
  color: #20223a;
  background: #ffd456;
  box-shadow: none;
}

.main-nav .livret-maker-link {
  color: #20223a;
  background: #ffd456;
  border-color: rgba(255, 255, 255, 0.38);
}

.main-nav .livret-maker-link::before {
  min-width: 38px;
  color: white;
  background: #8b5cf6;
}

.main-nav .livret-maker-link:hover {
  color: #20223a;
  background: #fff1bd;
}

.main-nav .about-nav-button {
  width: 76px;
  background: white;
  border-color: rgba(255, 212, 86, 0.82);
  border-radius: 18px;
}

.main-nav .about-nav-button:hover {
  background: #fff1bd;
}

.main-nav .newsletter-nav-link {
  color: white;
  background: #ff6126;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  box-shadow: 0 12px 22px rgba(255, 97, 38, 0.22);
}

.main-nav .newsletter-nav-link:hover {
  color: white;
  background: #0f8f86;
}

.main-nav .social-icon {
  width: 46px;
  height: 46px;
  padding: 0;
  background: white;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 10px 18px rgba(31, 36, 48, 0.22);
}

.nav-search {
  grid-template-columns: minmax(150px, 220px) 46px;
  gap: 6px;
  padding: 4px;
  background: #ffffff;
  border: 2px solid #2fd8c9;
  border-radius: 18px;
  box-shadow: inset 0 0 0 2px rgba(255, 212, 86, 0.24);
}

.nav-search input {
  min-height: 38px;
  padding-left: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nav-search input:focus {
  box-shadow: none;
}

.search-submit,
.nav-search .search-submit {
  min-height: 40px;
  width: 40px;
  border-radius: 14px;
  background: #0f8f86;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    width: fit-content;
  }

  .main-nav {
    width: 100%;
    border-radius: 24px;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: min(100%, 260px);
    height: 78px;
  }

  .main-nav {
    gap: 6px;
    border-radius: 20px;
  }

  .main-nav a,
  .main-nav button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .main-nav .nav-link::before {
    min-width: 28px;
    height: 28px;
  }

  .nav-search {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 42px;
  }
}
