/* ═══════════════════════════════════════════════
   EDEN COLORING - style.css
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─── */
:root {
  --bg-main:       #0d0a1a;
  --bg-alt:        #13102a;
  --bg-footer:     #0a0814;
  --gold:          #ffe65c;
  --gold-light:    #ffef8a;
  --gold-dim:      rgba(255, 230, 92, 0.25);
  --rose:          #e8c4d8;
  --rose-dim:      rgba(232, 196, 216, 0.15);
  --lavender:      #9b8ec4;
  --lavender-dim:  rgba(155, 142, 196, 0.2);
  --text:          #f5f0ff;
  --text-muted:    rgba(245, 240, 255, 0.92);
  --pinterest:     #c0001a;
  --ff-title:      'Cinzel Decorative', serif;
  --ff-sub:        'Cormorant Garamond', serif;
  --ff-body:       'Montserrat', sans-serif;
  --radius:        14px;
  --radius-lg:     22px;
  --transition:    0.3s ease;
  --mockup-offset-x: -6%;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-footer); }
::-webkit-scrollbar-thumb { background: var(--lavender); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body {
  background: var(--bg-main);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Container ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 5px 0;
  background: rgba(13, 10, 26, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 230, 92, 0.4));
  transition: filter var(--transition), transform var(--transition);
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 14px rgba(255, 230, 92, 0.7));
  transform: scale(1.04);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.lang-flag {
  width: 26px;
  height: auto;
  display: block;
  border-radius: 2px;
}

.lang-flag--inactive {
  filter: grayscale(1);
  opacity: 0.45;
}

.lang-btn:hover .lang-flag--inactive {
  filter: grayscale(0.3);
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--gold); background: var(--gold-dim); }

/* Dropdown - Nos Livres */
.nav-item--dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  list-style: none;
  min-width: 210px;
  padding: 16px 10px 10px;
  margin-top: 0;
  background: rgba(15, 11, 30, 0.98);
  border: 1px solid rgba(255, 230, 92, 0.22);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1001;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-item--dropdown.dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown-link:hover { color: var(--gold); background: var(--gold-dim); }

.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--lavender-dim);
  transition: background var(--transition), transform var(--transition);
}
.social-icon-link:hover { background: var(--gold-dim); transform: scale(1.1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  text-align: center;
  padding: 120px 24px 100px;
}

.hero::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../images/BG-site.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Stars container */
.stars-global {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--duration, 3s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.1; transform: scale(0.8); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}

.hero-brand .hero-title {
  margin: 0 0 18px 0;
  padding: 0;
  line-height: 1;
}

.hero-brand .hero-subtitle {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.hero-title {
  line-height: 1;
  margin-top: -118px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero-logo-img {
  max-width: min(520px, 80vw);
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 15px rgba(255, 230, 92, 0.2))
    drop-shadow(0 0 35px rgba(255, 230, 92, 0.1));
}

.hero-subtitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 0;
  margin-bottom: 28px;
  line-height: 1;
}

.hero-subtitle-main {
  font-family: 'Italianno', cursive;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  color: var(--rose);
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-shadow: 0.2px 0 0 var(--rose), -0.2px 0 0 var(--rose);
}

.hero-subtitle-initial {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-size: 1.6em;
  line-height: 0.8;
  vertical-align: middle;
  text-shadow: none;
}

.hero-subtitle-sub {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 1.6vw, 1rem);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.hero-divider {
  width: 260px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 40px auto 0;
  opacity: 0.6;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 56px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 48px;
}


/* ═══════════════════ BUTTONS ═══════════════════ */
/* ─── Base commune (boutons hors hero) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn::before { content: '✦'; font-size: 0.65em; opacity: 0.8; }
.btn::after  { content: '✦'; font-size: 0.65em; opacity: 0.8; }

.btn:hover {
  background: var(--gold);
  color: #0d0a1a;
  box-shadow: 0 0 20px rgba(255, 230, 92, 0.4);
}

/* ─── Variantes ─── */


.btn-ghost {
  border-color: var(--lavender);
  color: var(--lavender);
  font-size: 0.65rem;
  padding: 9px 18px;
  letter-spacing: 1.5px;
}
.btn-ghost::before, .btn-ghost::after { color: var(--lavender); }
.btn-ghost:hover {
  background: var(--lavender);
  color: #0d0a1a;
  box-shadow: 0 0 20px rgba(155, 142, 196, 0.4);
}

/* ─── Boutons hero - image BG ─── */
.hero-buttons .btn,
.hero-buttons a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-buttons .btn::before,
.hero-buttons .btn::after,
.hero-buttons a::before,
.hero-buttons a::after {
  display: none !important;
}

.btn-bg {
  display: block;
  width: 220px;
  height: auto;
  transition: opacity 0.35s ease;
}

.btn-bg--hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transition: none;
}

.btn-violet .btn-label {
  color: #ffffff;
  text-shadow: none;
}

.btn-gold .btn-label {
  color: #0d1a4a;
  text-shadow: none;
}

.hero-buttons .btn:hover,
.hero-buttons a:hover {
  filter: none;
  box-shadow: none;
  outline: none;
}

.hero-buttons .btn:focus,
.hero-buttons a:focus,
.hero-buttons .btn:active,
.hero-buttons a:active {
  filter: none;
  box-shadow: none;
  outline: none;
}

/* Swap images on hover */
.hero-buttons .btn:hover .btn-bg--default,
.hero-buttons a:hover .btn-bg--default {
  opacity: 0;
}
.hero-buttons .btn:hover .btn-bg--hover,
.hero-buttons a:hover .btn-bg--hover {
  opacity: 1;
}

/* Violet → orange : texte noir */
.btn-violet:hover .btn-label { color: #000000; }

/* Orange → violet : texte blanc */
.btn-gold:hover .btn-label { color: #ffffff; }


/* ═══════════════════ SECTIONS ═══════════════════ */
.section {
  padding: 25px 0;
}

.section--alt {
  background: transparent;
}

.section-title {
  font-family: var(--ff-title);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.section-title--light {
  color: var(--text);
  text-shadow: 0 0 40px rgba(155,142,196,0.5);
}

.star-deco {
  color: var(--lavender);
  font-size: 0.8em;
  vertical-align: middle;
  opacity: 0.8;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 16px;
  font-family: var(--ff-sub);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
}

#livres .section-intro,
#gratuits .section-intro,
#grimoire .section-intro {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.3;
}

/* ═══════════════════ SCROLL WRAPPER & ARROWS ═══════════════════ */
.grid-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.grid-scroll-wrapper > .books-grid,
.grid-scroll-wrapper > .free-grid,
.grid-scroll-wrapper > .blog-grid {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.scroll-arrow {
  display: none;
  background: transparent;
  border: 2px solid #ffe65c;
  color: #ffe65c;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
  padding: 0;
}

.scroll-arrow:hover {
  background: #ffe65c;
  color: #1a0e2e;
}

/* ═══════════════════ BOOKS GRID ═══════════════════ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  scrollbar-width: none;
}
.books-grid::-webkit-scrollbar { display: none; }
.free-grid { scrollbar-width: none; }
.free-grid::-webkit-scrollbar { display: none; }

.book-card {
  position: relative;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  transition: transform 0.3s ease;
}
.book-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.5);
}

.book-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 1;
}

.book-cover-wrap {
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.book-cover {
  width: 115%;
  height: 115%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transform: translateX(-10%);
  transition: transform 0.4s ease;
}

.book-card:hover .book-cover {
  transform: translateX(-10%) scale(1.04);
}

.book-badge {
  position: absolute;
  top: -11px;
  left: 16px;
  background: linear-gradient(135deg, #ffe65c, #ffef8a);
  color: #1a0e2e;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.book-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
  flex: 1;
  justify-content: space-between;
}

.book-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.book-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffe65c;
  margin: 0;
}

.book-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.76rem;
  color: #ffffff;
  line-height: 1.45;
  margin: 0;
}

/* Bouton Amazon cards */
.btn-amazon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 4px;
}
.btn-amazon .btn-bg--default {
  display: block;
  width: 175px;
  height: auto;
  transition: opacity 0.35s ease;
}
.btn-amazon .btn-bg--hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-amazon .btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  color: #1a2a4a;
  pointer-events: none;
  transition: none;
}
.btn-amazon:hover .btn-bg--default { opacity: 0; }
.btn-amazon:hover .btn-bg--hover { opacity: 1; }
.btn-amazon:hover .btn-label { color: #ffffff; }

/* Bouton Etsy cards (violet par défaut, orange au survol) */
.btn-etsy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 4px;
}
.btn-etsy .btn-bg--default {
  display: block;
  width: 175px;
  height: auto;
  transition: opacity 0.35s ease;
}
.btn-etsy .btn-bg--hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-etsy .btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  color: #ffffff;
  pointer-events: none;
  transition: none;
}
.btn-etsy:hover .btn-bg--default { opacity: 0; }
.btn-etsy:hover .btn-bg--hover { opacity: 1; }
.btn-etsy:hover .btn-label { color: #1a2a4a; }

/* ═══════════════════ COLLECTION CARDS (accueil) ═══════════════════ */
.collection-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.collection-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  flex: 1;
  justify-content: center;
}

.collection-slideshow { position: relative; }

.collection-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--mockup-offset-x)), -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.collection-slide.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .collection-slide { transition: none; }
}

.btn-collection {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-collection .btn-bg--default {
  display: block;
  width: 220px;
  height: auto;
  transition: opacity 0.35s ease;
}
.btn-collection .btn-bg--hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-collection .btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
  color: #ffffff;
  pointer-events: none;
  transition: none;
}
.btn-collection:hover .btn-bg--default { opacity: 0; }
.btn-collection:hover .btn-bg--hover { opacity: 1; }
.btn-collection:hover .btn-label { color: #1a2a4a; }

/* ═══════════════════ BOUTON PERSONNALISÉ RÉUTILISABLE ═══════════════════
   Image violette ou jaune + texte centré, pour <a> comme pour <button>.
   Largeur : --btn-w ; taille du texte : --btn-fs. Le texte reste dans la
   zone centrale du bouton (72 % de la largeur, hors ornements). */
.btn-img {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--btn-w, 220px);
  max-width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  /* Le texte se règle sur la largeur réelle du bouton (unités "cqi") */
  container-type: inline-size;
}
.btn-img .btn-bg--default {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.35s ease;
}
.btn-img .btn-bg--hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-img .btn-label {
  max-width: 72%;
  /* Taille normale (--btn-fs), réduite si le bouton rétrécit (--btn-fit) */
  font-size: min(var(--btn-fs, 0.68rem), var(--btn-fit, 100cqi));
  letter-spacing: 0.12em;
  line-height: 1;
}
.btn-img--purple .btn-label { color: #ffffff; }
.btn-img--gold .btn-label { color: #1a2a4a; }
.btn-img:hover:not(:disabled) .btn-bg--default { opacity: 0; }
.btn-img:hover:not(:disabled) .btn-bg--hover { opacity: 1; }
.btn-img--purple:hover:not(:disabled) .btn-label { color: #1a2a4a; }
.btn-img--gold:hover:not(:disabled) .btn-label { color: #ffffff; }
.btn-img:disabled { opacity: 0.6; cursor: default; }
.btn-img:focus { outline: none; }
.btn-img:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

/* Bouton orange au repos : texte foncé, blanc au survol (fond violet) */
.btn-collection .btn-label--dark { color: #1a2a4a; }
.btn-collection:hover .btn-label--dark { color: #ffffff; }

/* ═══════════════════ COLLECTION MISE EN AVANT (au-dessus de la grille) ═══════════════════ */
.featured-collection {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.collection-card--featured {
  width: 100%;
  max-width: 620px;
  padding: 24px 28px;
  border-color: rgba(255,230,92,0.45);
  box-shadow: 0 0 40px rgba(155,142,196,0.25);
}

.collection-card--featured .book-badge {
  top: 14px;
  left: 14px;
  z-index: 3;
}

.collection-card--featured .collection-card-content {
  flex-direction: row;
  gap: 28px;
}

.collection-card--featured .book-cover-wrap {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
}

.featured-collection-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.collection-card--featured .book-title {
  font-family: var(--ff-title);
  font-size: 1.35rem;
}

.featured-collection-sub {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.featured-collection-soon {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose);
}

/* Boutons un peu plus larges : "View the collection" / "Solve the mysteries" tiennent en EN.
   Le texte suit la largeur du bouton sur les petits écrans. */
.collection-card--featured .btn-collection {
  width: 245px;
  max-width: 100%;
  container-type: inline-size;
}
.collection-card--featured .btn-collection .btn-bg--default { width: 100%; }
.collection-card--featured .btn-collection .btn-label {
  font-size: min(0.66rem, 4.3cqi);
  letter-spacing: 0.14em;
}

.featured-collection-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .collection-card--featured { padding: 36px 16px 20px; }
  .collection-card--featured .collection-card-content { flex-direction: column; gap: 16px; }
  .collection-card--featured .book-cover-wrap { width: 200px; height: 200px; }
}

/* Livre sans lien Amazon pour l'instant */
.book-soon {
  font-family: var(--ff-title);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--lavender);
  padding: 10px 0;
}

.book-cover-wrap--soon {
  background: rgba(255,255,255,0.05);
  font-family: var(--ff-title);
  color: var(--lavender);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-align: center;
  padding: 16px;
  opacity: 0.7;
}

/* ═══════════════════ FREE GRID ═══════════════════ */
.free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.free-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.free-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.5);
}

.free-preview {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.free-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.free-card:hover .free-img {
  transform: scale(1.04);
}

.free-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}

.free-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffe65c;
  margin: 0;
  text-align: center;
}

.free-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.btn-free {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-free .btn-bg--default {
  width: 220px;
  height: auto;
  display: block;
  transition: opacity 0.35s ease;
}

.btn-free .btn-bg--hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: auto;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-free .btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  color: #ffffff;
  pointer-events: none;
  transition: none;
}

.btn-free:hover .btn-bg--default { opacity: 0; }
.btn-free:hover .btn-bg--hover { opacity: 1; }
.btn-free:hover .btn-label { color: #1a2a4a; }

/* ═══════════════════ GRIMOIRE ═══════════════════ */
.pinterest-placeholder {
  width: 100%;
  height: auto;
  display: block;
}

.pinterest-widget {
  width: 100%;
  min-height: 300px;
  max-width: 1100px;
  margin: 0 auto 48px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  display: block;
}

.pinterest-follow-widget {
  width: 100%;
  max-width: 900px;
  margin: 32px auto 0;
  text-align: center;
}

.pinterest-follow-widget a {
  display: block;
  padding: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--lavender);
  text-decoration: underline;
}

.grimoire-subtitle {
  font-family: var(--ff-title);
  font-size: clamp(0.75rem, 2vw, 1.2rem);
  color: var(--text);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-shadow: 0 0 40px rgba(155,142,196,0.5);
  margin-bottom: 32px;
}

.grimoire-see-all {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 48px;
}

.btn-voir-tout {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-voir-tout .btn-bg--default {
  display: block;
  width: 380px;
  height: auto;
  transition: opacity 0.35s ease;
}
.btn-voir-tout .btn-bg--hover {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-voir-tout .btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.5;
  color: #1a2a4a;
  pointer-events: none;
  transition: none;
}
.btn-voir-tout:hover .btn-bg--default { opacity: 0; }
.btn-voir-tout:hover .btn-bg--hover { opacity: 1; }
.btn-voir-tout:hover .btn-label { color: #ffffff; }

/* ═══════════════════ BLOG GRID ═══════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  scrollbar-width: none;
}
.blog-grid::-webkit-scrollbar { display: none; }

.blog-card {
  position: relative;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(203,141,248,0.3);
  border-radius: 16px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(203,141,248,0.6);
}

.card-image {
  width: 100%;
  height: 110px;
  border-radius: 16px 16px 0 0;
}
.card-image--violet { background: linear-gradient(135deg, #2d1f5c, #4a2d8f); }
.card-image--teal   { background: linear-gradient(135deg, #0f2a3a, #1a5068); }
.card-image--gold   { background: linear-gradient(135deg, #2a1a06, #5c3a10); }

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffe65c;
  margin: 0;
  line-height: 1.4;
}

.card-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

.blog-badge {
  position: absolute;
  top: -11px;
  left: 16px;
  background: linear-gradient(135deg, #ffe65c, #ffef8a);
  color: #1a0e2e;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 1;
}

/* Boutons "Lire la suite" blog cards */
.btn-blog {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 4px;
}
.btn-blog .btn-bg--default {
  display: block;
  width: 180px;
  height: auto;
  transition: opacity 0.35s ease;
}
.btn-blog .btn-bg--hover {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-blog .btn-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  pointer-events: none;
  transition: none;
}
.btn-blog--orange .btn-label { color: #1a2a4a; }
.btn-blog--purple .btn-label { color: #ffffff; }
.btn-blog:hover .btn-bg--default { opacity: 0; }
.btn-blog:hover .btn-bg--hover { opacity: 1; }
.btn-blog--orange:hover .btn-label { color: #ffffff; }
.btn-blog--purple:hover .btn-label { color: #1a2a4a; }

/* ═══════════════════ NOUS SUIVRE ═══════════════════ */
.section--follow {
  text-align: center;
  padding-top: 80px;
}

.follow-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0 28px;
}

.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 18px 36px;
  border-radius: 50px;
  transition: all var(--transition);
}

.follow-btn--pinterest {
  background: var(--pinterest);
  color: #fff;
  box-shadow: 0 6px 24px rgba(192, 0, 26, 0.35);
}
.follow-btn--pinterest:hover {
  background: #e0001f;
  box-shadow: 0 8px 32px rgba(192, 0, 26, 0.55);
  transform: translateY(-3px);
}

.follow-btn--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  box-shadow: 0 6px 24px rgba(253, 29, 29, 0.3);
}
.follow-btn--instagram:hover {
  box-shadow: 0 8px 32px rgba(253, 29, 29, 0.5);
  transform: translateY(-3px);
}

.follow-text {
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: var(--bg-footer);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(155,142,196,0.15);
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto 32px;
}

.footer-logo-img {
  width: 42%;
  height: auto;
  display: block;
  margin: 0 auto 4px;
}

.footer-tagline {
  font-family: 'Italianno', cursive;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--rose);
  white-space: nowrap;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.footer-tagline-initial {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-size: 1.8em;
  line-height: 0.8;
  vertical-align: middle;
}

.footer-bottom {
  border-top: 1px solid rgba(155,142,196,0.1);
  padding-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-affil { opacity: 0.6; }

/* ─── Newsletter du pied de page ─── */
.footer-newsletter {
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 26px 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}

@media (max-width: 480px) {
  .footer-newsletter { padding: 22px 18px 20px; margin-left: 4px; margin-right: 4px; }
}

.footer-newsletter-title {
  font-family: var(--ff-sub);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 6px;
}

.footer-newsletter-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.newsletter-form .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.newsletter-row {
  display: flex;
  gap: 8px;
}

.newsletter-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border-radius: 30px;
  border: 1px solid var(--lavender-dim);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.88rem;
}
.newsletter-row input[type="email"]::placeholder { color: rgba(245,240,255,0.5); }
.newsletter-row input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.newsletter-btn {
  --btn-w: 240px;
  --btn-fs: 0.74rem;
  --btn-fit: 4.4cqi;
  margin-top: 14px;
}

.newsletter-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
}
.newsletter-consent input { margin-top: 2px; accent-color: var(--gold); }

.newsletter-feedback {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.newsletter-feedback:empty { display: none; }
.newsletter-feedback.is-success { color: var(--gold); font-weight: 600; }
.newsletter-feedback.is-error { color: var(--rose); }


/* ═══════════════════ ANIMATIONS ═══════════════════ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids */
.books-grid .fade-in-up:nth-child(1) { transition-delay: 0.05s; }
.books-grid .fade-in-up:nth-child(2) { transition-delay: 0.15s; }
.books-grid .fade-in-up:nth-child(3) { transition-delay: 0.25s; }
.books-grid .fade-in-up:nth-child(4) { transition-delay: 0.1s; }
.books-grid .fade-in-up:nth-child(5) { transition-delay: 0.2s; }
.books-grid .fade-in-up:nth-child(6) { transition-delay: 0.3s; }

.free-grid .fade-in-up:nth-child(1)  { transition-delay: 0.05s; }
.free-grid .fade-in-up:nth-child(2)  { transition-delay: 0.15s; }
.free-grid .fade-in-up:nth-child(3)  { transition-delay: 0.25s; }

.blog-grid .fade-in-up:nth-child(1)  { transition-delay: 0.05s; }
.blog-grid .fade-in-up:nth-child(2)  { transition-delay: 0.15s; }
.blog-grid .fade-in-up:nth-child(3)  { transition-delay: 0.25s; }

/* Centre les cartes quand une ligne n'est pas complète (desktop uniquement,
   au-delà de 960px le carrousel horizontal tablette/mobile prend le relais) */
@media (min-width: 961px) {
  .books-grid {
    grid-template-columns: repeat(auto-fit, 230px);
    justify-content: center;
  }
  .free-grid {
    grid-template-columns: repeat(auto-fit, 280px);
    justify-content: center;
  }
  .blog-grid {
    grid-template-columns: repeat(auto-fit, 280px);
    justify-content: center;
  }
}

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

/* Tablet - scroll horizontal */
@media (max-width: 960px) {
  .scroll-arrow { display: flex; }

  /* Menu resserré pour tenir sur une ligne */
  .nav-container { gap: 16px; padding: 0 16px; }
  .nav-links { gap: 2px; }
  .nav-link { font-size: 0.72rem; padding: 6px 7px; letter-spacing: 0.03em; }
  .nav-socials { margin-left: 2px; gap: 4px; }
}

/* Petites tablettes : plus la place pour les icônes réseaux dans le menu
   (elles restent dans la section "Rejoins notre univers magique") */
@media (min-width: 641px) and (max-width: 800px) {
  .nav-socials { display: none; }
}

@media (max-width: 960px) {

  .books-grid {
    grid-auto-flow: column;
    grid-auto-columns: 210px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-top: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .book-card { scroll-snap-align: start; }

  .free-grid {
    grid-template-columns: repeat(3, 280px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .free-card { scroll-snap-align: start; }

  .blog-grid {
    grid-template-columns: repeat(3, 280px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-top: 16px;
  }
  .blog-card { scroll-snap-align: start; }

}

/* Mobile */
@media (max-width: 640px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 8, 20, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    padding: 84px 0 40px;
    /* Menu long : on peut le faire défiler, aucun lien n'est hors d'atteinte */
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 999;
  }
  .nav-links.open { display: flex; }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

  .nav-item--dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 0;
    padding: 4px 0 0;
    gap: 2px;
    align-items: center;
  }

  .nav-dropdown-link {
    font-size: 0.85rem;
    padding: 6px 16px;
    color: var(--text-muted);
    text-align: center;
  }

  .nav-socials {
    margin-left: 0;
    gap: 16px;
  }

  .scroll-arrow { display: none; }

  .books-grid {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .free-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  /* Centrage contenu cards livres sur mobile */
  .book-card-inner { align-items: center; }

  /* Bouton Amazon adapté mobile */
  .btn-amazon .btn-bg--default { width: 100%; max-width: 220px; }

  .section { padding: 70px 0; }

  .hero { padding: 100px 24px 80px; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .follow-buttons { flex-direction: column; align-items: center; }
  .follow-btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ═══════════════════ CONFORT MOBILE ═══════════════════
   Zones de clic d'au moins 44 px pour le doigt, textes lisibles,
   et champs à 16 px (en dessous, l'iPhone zoome tout seul). */
@media (max-width: 640px) {
  /* Drapeaux de langue : même visuel, zone de clic agrandie */
  .lang-btn { padding: 12px 9px; margin: -12px -3px; }
  .nav-lang { gap: 2px; }

  /* Menu burger : 44 x 44 px, toujours au-dessus du menu ouvert
     pour pouvoir le refermer (il devient une croix) */
  .hamburger {
    width: 44px;
    height: 44px;
    padding: 10px 6px;
    justify-content: center;
    position: relative;
    z-index: 1000;
  }

  /* Liens "← Toutes les collections" */
  .livres-back-link { padding: 11px 0; margin-bottom: 12px; }

  /* Petits badges et étiquettes */
  .book-badge { font-size: 0.68rem; padding: 5px 12px; }

  /* Boutons des cartes : texte un peu plus grand */
  .btn-amazon .btn-label,
  .btn-etsy .btn-label { font-size: 0.7rem; }

  /* Boutons de l'accueil plus larges : "DÉCOUVRIR LES COLLECTIONS" ne mord
     plus sur les ornements, et le texte suit la largeur sur petit écran */
  .hero-buttons .btn,
  .hero-buttons a { width: 280px; max-width: 100%; container-type: inline-size; }
  .hero-buttons .btn-bg--default { width: 100%; }
  .hero-buttons .btn-label { font-size: min(0.64rem, 3.65cqi); }

  /* "Voir la collection" / "View the collection" : bouton un peu plus large */
  .btn-collection { width: 245px; max-width: 100%; container-type: inline-size; }
  .btn-collection .btn-bg--default { width: 100%; }
  .btn-collection .btn-label { font-size: min(0.66rem, 4.3cqi); letter-spacing: 0.14em; }

  /* "Voir tous mes livres sur Amazon" : le texte suit la largeur du bouton */
  .btn-voir-tout { width: 380px; max-width: 100%; container-type: inline-size; }
  .btn-voir-tout .btn-bg--default { width: 100%; }
  .btn-voir-tout .btn-label { font-size: min(0.85rem, 3.6cqi); letter-spacing: 0.12em; }

  /* Cases à cocher plus faciles à toucher */
  .roue-consent input,
  .enquete-consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0; }

  /* Champs de saisie à 16 px minimum (pas de zoom automatique sur iPhone) */
  input[type="email"],
  input[type="number"],
  input[type="text"] { font-size: 16px !important; }
}
