/* ═══════════════════════════════════════
   TOKENS — V2 COLORS mapped onto V3 layout
═══════════════════════════════════════ */
:root {
  /* V2 vibrant palette */
  --sun:      #FFD700;
  --orange:   #FF8C00;
  --pink:     #FF69B4;
  --purple:   #9B59B6;
  --teal:     #00CED1;
  --green:    #32CD32;
  --sky:      #87CEEB;
  --cream:    #FFFDE7;

  /* Mapped from V3 tokens → V2 colors */
  --primary:    #FF69B4;   /* pink — main accent */
  --primary-l:  #FFF0F5;   /* light pink background */
  --primary-d:  #c0156d;   /* dark pink */
  --accent:     #FF8C00;   /* orange */
  --secondary:  #32CD32;   /* green */
  --secondary-l:#E8F5E9;   /* light green background */
  --highlight:  #FFD700;   /* gold/yellow */
  --warm:       #2C2318;   /* text dark */
  --muted:      #7A6E66;   /* text muted */
  --white:      #FFFFFF;
  --linen:      #FFF8E1;   /* warm off-white */

  /* Layout tokens from V3 */
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --radius-xl: 40px;
  --nav-h:    72px;
  --ease:     cubic-bezier(.25,.46,.45,.94);

  /* Gutenberg block aliases (soft section backgrounds + text) */
  --light-yellow: #FFF8E1;
  --light-pink:   #FFF0F5;
  --light-green:  #E8F5E9;
  --text-dark:    #2C2318;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--warm);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.display {
  font-family: 'Fredoka One', sans-serif;
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink);
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-radius: 2px;
}
p { color: var(--muted); font-size: .97rem; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 999;
  display: flex; align-items: center;
  padding: 0 clamp(1.2rem, 5vw, 3rem);
  background: rgba(255,253,231,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,105,180,.12);
  transition: box-shadow .3s var(--ease);
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(255,105,180,.15); }
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: .7rem;
}
.nav-logo-icon {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 3px 12px rgba(255,105,180,.3);
}
.nav-logo-text {
  display: flex; flex-direction: column;
  line-height: 1.2;
}
.nav-logo-name {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--warm);
}
.nav-logo-sub {
  font-size: .68rem; font-weight: 700;
  color: var(--muted); letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .88rem; font-weight: 700;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--pink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: .85rem; font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  padding: .6rem 1.5rem; border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255,105,180,.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,105,180,.4); }

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

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 3px solid var(--pink);
  z-index: 998;
  padding: 1.5rem clamp(1.2rem, 5vw, 3rem);
  flex-direction: column; gap: .3rem;
  box-shadow: 0 8px 32px rgba(255,105,180,.15);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  font-size: 1.05rem; font-weight: 700;
  color: var(--warm); padding: .8rem 0;
  border-bottom: 1px solid var(--linen);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--pink); }
.mobile-menu-cta {
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff !important;
  border-radius: var(--radius-s) !important;
  padding: .9rem 1rem !important;
  text-align: center;
  justify-content: center !important;
  border-bottom: none !important;
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ═══════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 2.5rem);
}
section { padding: 6rem 0; }

/* offset anchor jumps so the fixed nav doesn't cover the section heading */
#about, #services, #blog, #practical, #team, #contact { scroll-margin-top: 90px; }

.section-cta {
  margin-top: 3rem;
  display: flex; align-items: center; gap: 1.2rem;
  flex-wrap: wrap;
}

/* primary button */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .92rem; font-weight: 800;
  font-family: 'Nunito', sans-serif;
  padding: .8rem 1.8rem; border-radius: 50px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,105,180,.35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(255,105,180,.5); }
.btn-secondary {
  background: transparent; color: var(--warm);
  border: 3px solid rgba(255,105,180,.25);
}
.btn-secondary:hover { border-color: var(--pink); color: var(--pink); }
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #fff;
  box-shadow: 0 4px 20px rgba(50,205,50,.3);
}
.btn-green:hover { box-shadow: 0 8px 30px rgba(50,205,50,.45); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.link-arrow {
  font-size: .88rem; font-weight: 800;
  color: var(--pink);
  display: inline-flex; align-items: center; gap: .35rem;
  transition: gap .2s;
}
.link-arrow:hover { gap: .6rem; }

/* fade-in on scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   BLOG / ACTUALITÉS
═══════════════════════════════════════ */
#blog {
  background: linear-gradient(135deg, #FFF0F5 0%, #FFFDE7 50%, #E8F5E9 100%);
}
.blog-header { max-width: 560px; margin-bottom: 3.5rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 2px solid rgba(255,105,180,.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255,105,180,.12);
}
.blog-card-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, var(--primary-l), var(--secondary-l));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-date {
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--pink);
  margin-bottom: .5rem;
}
.blog-card-body h3 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.05rem;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.blog-card-body h3 a {
  color: var(--warm);
  transition: color .2s;
}
.blog-card-body h3 a:hover { color: var(--pink); }
.blog-card-excerpt {
  font-size: .85rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-more {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: 1rem;
  font-size: .82rem; font-weight: 800;
  color: var(--pink);
  transition: gap .2s;
}
.blog-card-more:hover { gap: .6rem; }

.blog-no-posts {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-l);
  border: 2px dashed rgba(255,105,180,.2);
}
.blog-no-posts .empty-emoji { font-size: 3rem; margin-bottom: 1rem; display: block; }

@media (max-width: 800px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--warm);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,.6);
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '🦁🐘🦒🦓🦋🌸🌈🦒🐘🦁🦋🌸🌈';
  position: absolute; top: .6rem; left: 0; right: 0;
  font-size: 1.3rem; opacity: .1; letter-spacing: .5rem;
  white-space: nowrap; overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem; margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo-name { color: #fff; }
.footer-brand .nav-logo-sub { color: rgba(255,255,255,.4); }
.footer-brand p { font-size: .85rem; max-width: 280px; }
.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul a:hover { color: var(--pink); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: .78rem; color: rgba(255,255,255,.3);
}
.footer-rainbow {
  margin-top: 1.5rem; height: 5px;
  background: linear-gradient(90deg, var(--pink), var(--sun), var(--green), var(--teal), var(--purple), var(--pink));
  border-radius: 3px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════
   SINGLE POST / BLOG ARCHIVE
═══════════════════════════════════════ */
.single-post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) clamp(1.2rem, 5vw, 2.5rem) 4rem;
}
.single-post-meta {
  font-size: .78rem; font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.single-post-title {
  font-family: 'Fredoka One', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--warm);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.single-post-thumb {
  border-radius: var(--radius-l);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 40px rgba(255,105,180,.1);
}
.single-post-thumb img {
  width: 100%; height: auto;
}
.single-post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--warm);
}
.single-post-content p { margin-bottom: 1.2rem; color: var(--warm); font-size: 1.05rem; }
.single-post-content h2 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--pink);
}
.single-post-content h3 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.2rem; margin: 1.5rem 0 .8rem; color: var(--warm);
}
.single-post-content ul, .single-post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.single-post-content li { margin-bottom: .4rem; color: var(--warm); }
.single-post-content img {
  border-radius: var(--radius-m);
  margin: 1.5rem 0;
}
.single-post-content blockquote {
  border-left: 4px solid var(--pink);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--primary-l);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-style: italic;
}
.single-post-back {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 3rem;
  font-weight: 800;
  color: var(--pink);
  transition: gap .2s;
}
.single-post-back:hover { gap: .7rem; }

/* ═══════════════════════════════════════
   GALLERY PAGE
═══════════════════════════════════════ */
.gallery-page {
  min-height: 100vh;
  background: var(--cream);
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
}
.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 2.5rem);
}

/* Lock / password gate */
.gallery-lock {
  max-width: 480px;
  margin: 4rem auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 3rem 2.5rem;
  border: 2px solid rgba(255,105,180,.12);
  box-shadow: 0 20px 60px rgba(255,105,180,.1);
}
.gallery-lock-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: floatCard 3s ease-in-out infinite;
}
.gallery-lock-title {
  font-family: 'Fredoka One', sans-serif;
  font-size: 2rem;
  color: var(--warm);
  margin-bottom: .8rem;
}
.gallery-lock-desc {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.gallery-error {
  background: #FFF0F0;
  border: 2px solid #FFB3B3;
  color: #C62828;
  padding: .8rem 1.2rem;
  border-radius: var(--radius-s);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.gallery-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: stretch;
}
.gallery-input {
  flex: 1;
  min-width: 200px;
  padding: .85rem 1.2rem;
  border: 2px solid rgba(255,105,180,.2);
  border-radius: 50px;
  font-size: .95rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--warm);
  outline: none;
  transition: border-color .2s;
}
.gallery-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255,105,180,.1);
}
.gallery-input::placeholder {
  color: var(--muted);
  font-weight: 600;
}
.gallery-submit {
  flex: 1;
  border: none;
  cursor: pointer;
  justify-content: center;
}

@media (max-width: 600px) {
  .gallery-form-row {
    flex-direction: column;
  }
}

/* Gallery header */
.gallery-header {
  max-width: 560px;
  margin-bottom: 3rem;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 2px solid rgba(255,105,180,.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255,105,180,.12);
}
.gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.gallery-item:hover .gallery-thumb img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-zoom {
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.gallery-caption {
  font-size: .85rem;
  font-weight: 700;
  color: var(--warm);
  padding: .8rem 1.2rem 0;
}
.gallery-download {
  display: block;
  padding: .8rem 1.2rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--pink);
  transition: color .2s;
}
.gallery-download:hover {
  color: var(--orange);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: #fff;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover {
  background: rgba(255,105,180,.4);
}
.lightbox img {
  max-width: 90vw;
  max-height: 70vh;
  border-radius: var(--radius-m);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  object-fit: contain;
}
.lightbox-bottom {
  text-align: center;
}
.lightbox-bottom p {
  color: rgba(255,255,255,.7);
  margin-bottom: .8rem;
  font-weight: 700;
  font-size: .92rem;
}

/* ═══════════════════════════════════════
   PRE-INSCRIPTION FORM
═══════════════════════════════════════ */
.preinscription-form {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 3rem;
  border: 2px solid rgba(255,105,180,.1);
  box-shadow: 0 20px 50px rgba(255,105,180,.08);
}
.form-group {
  margin-bottom: 2.5rem;
}
.form-section-title {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.3rem;
  color: var(--pink);
  margin-bottom: 1.5rem;
  padding-bottom: .8rem;
  border-bottom: 2px dashed rgba(255,105,180,.2);
}
.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
.form-col {
  flex: 1;
}
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 800;
  color: var(--warm);
  margin-bottom: .5rem;
}
.req {
  color: var(--orange);
}
.form-input {
  width: 100%;
  border-radius: var(--radius-s);
  border: 2px solid rgba(255,105,180,.15);
  background: var(--cream);
  padding: .85rem 1.2rem;
}
.form-input:focus {
  background: var(--white);
  border-color: var(--pink);
}
textarea.form-input {
  resize: vertical;
  border-radius: var(--radius-m);
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF69B4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}
.form-submit-wrap {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255,105,180,.1);
}
.form-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.form-success {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 4rem 2rem;
  border: 2px solid rgba(50,205,50,.2);
  box-shadow: 0 20px 50px rgba(50,205,50,.1);
}
.form-success .success-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: floatCard 3s infinite ease-in-out;
}
.form-success h2 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.form-success p {
  font-size: 1.05rem;
  margin-bottom: .8rem;
}

@media (max-width: 600px) {
  .preinscription-form {
    padding: 2rem 1.5rem;
  }
  .form-row {
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
  }
}

/* ════════════════ GUTENBERG BLOCKS ════════════════ */
.wp-block-cover.hero-cover {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 2rem auto;
  max-width: calc(100% - 2rem);
  box-shadow: 0 20px 40px rgba(255,105,180,0.15);
}
.hero-cover .wp-block-cover__inner-container {
  padding: 3rem;
  max-width: 800px;
}
.hero-cover h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: white;
}
.hero-cover .hero-tag {
  background: white;
  color: var(--pink);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.hero-cover .hero-desc {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-bar {
  background: white;
  padding: 1.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: -4rem auto 4rem;
  position: relative;
  z-index: 10;
  max-width: 1000px;
  gap: 2rem;
}
.trust-bar p {
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.about-section, .services-section, .team-section, .practical-section, .contact-section {
  padding: 4rem;
  border-radius: var(--radius-xl);
  margin: 4rem auto;
  max-width: calc(100% - 4rem); /* 2rem side gutter so the bands don't touch the screen edges */
}
@media (max-width: 600px) {
  .about-section, .services-section, .team-section, .practical-section, .contact-section {
    padding: 2rem 1.3rem;
    margin: 2rem auto;
    max-width: calc(100% - 1.6rem);
  }
}
.about-section { background: var(--light-yellow); }
.services-section { background: var(--light-pink); }
.contact-section { background: var(--light-green); }

/* Apply 'eyebrow' style to the first paragraph.
   Group blocks wrap content in .wp-block-group__inner-container,
   while media-text uses .wp-block-media-text__content. */
.about-section > .wp-block-media-text__content > p:first-of-type,
.services-section > .wp-block-group__inner-container > p:first-of-type,
.team-section > .wp-block-group__inner-container > p:first-of-type,
.practical-section > .wp-block-group__inner-container > p:first-of-type,
.contact-section > .wp-block-group__inner-container > p:first-of-type {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

/* Apply 'display' style to h2 */
.about-section h2, .services-section h2, .team-section h2, .practical-section h2, .contact-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.about-section .wp-block-media-text__media img {
  border-radius: var(--radius-l);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.services-grid .service-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-l);
  box-shadow: 0 15px 35px rgba(255,105,180,0.05);
  transition: transform 0.3s ease;
  margin-top: 2rem;
}
.services-grid .service-card:hover {
  transform: translateY(-10px);
}
.sc-icon {
  font-size: 3rem;
  background: var(--light-yellow);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.pcard {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-l);
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.contact-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-m);
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ── Team grid (block layout) ── */
/* Neutralise the legacy `.team-grid { display:grid }` rule (it targeted the
   outer group, squashing the inner container into one track). The grid lives
   on the inner container instead. */
.team-grid { display: block; width: 100%; }
.team-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-grid .team-card {
  background: #fff;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-grid .team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,105,180,.14);
}
.team-card-top {
  margin: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.team-card.tc-1 .team-card-top { background: linear-gradient(145deg,#FFF0F5,#FFD5E8); }
.team-card.tc-2 .team-card-top { background: linear-gradient(145deg,#E8F5E9,#B9F6CA); }
.team-card.tc-3 .team-card-top { background: linear-gradient(145deg,#E0F7FA,#B2EBF2); }
.team-card.tc-4 .team-card-top { background: linear-gradient(145deg,#FFFDE7,#FFF9C4); }
.team-card-body { padding: 1.3rem; }
.team-card-body > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.team-card .team-role {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pink);
  margin: 0;
}
.team-card.tc-2 .team-role { color: var(--green); }
.team-card.tc-3 .team-role { color: var(--teal); }
.team-card.tc-4 .team-role { color: var(--orange); }
.team-card h3 { font-size: 1.05rem; margin: 0; font-family: 'Fredoka One', sans-serif; }
.team-card-body p:last-child { font-size: .85rem; color: var(--muted); margin: .2rem 0 0; }

/* ── Practical cards: dark text on light card (override old dark-banner styles) ── */
.practical-section .pcard {
  border: 1px solid rgba(0,0,0,.05);
}
.practical-section .pcard h3 {
  color: var(--warm);
  font-size: 1.1rem;
  margin-bottom: .9rem;
}
.practical-section .pcard p { font-size: .9rem; color: var(--muted); }
.practical-section .pcard p a { color: var(--pink); font-weight: 700; }
.practical-section .pcard ul,
.practical-section .pcard ol {
  display: block;          /* legacy .step-list set display:flex, which hides list markers */
  margin: .4rem 0 0;
  padding-left: 1.2rem;
}
.practical-section .pcard ul { list-style: disc; }
.practical-section .pcard ol { list-style: decimal; } /* restore step numbers */
.practical-section .pcard li {
  display: list-item;
  font-size: .9rem;
  margin-bottom: .4rem;
  padding-left: .2rem;
}

/* ── Contact cards: stacked, not flex row (override old structure) ── */
.contact-section .contact-card {
  border: 1px solid rgba(255,105,180,.12);
}
.contact-section .contact-card > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
}
.contact-section .contact-card h3 {
  font-size: 1rem;
  color: var(--warm);
  margin-bottom: .4rem;
  font-family: 'Fredoka One', sans-serif;
}
.contact-section .contact-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.contact-section .contact-card a { color: var(--pink); font-weight: 700; text-decoration: none; }

/* ════════════════════════════════════════════════════════════
   FULL-PARITY PASS — match the old hardcoded one-page design
   (block markup + CSS, all editable in WP admin)
════════════════════════════════════════════════════════════ */

/* ── Button variants (wp-block-button) ── */
/* The legacy `.btn-*` rules (written for <a class="btn …">) also match the
   block-button WRAPPER div, painting a stray border/background behind the pill.
   Neutralise the wrapper — all styling lives on the inner __link. */
.wp-block-button.btn-primary,
.wp-block-button.btn-secondary,
.wp-block-button.btn-green,
.wp-block-button.btn-outline-white,
.wp-block-button.btn-link {
  background: none; border: none; box-shadow: none; padding: 0;
}
.wp-block-button.btn-primary > .wp-block-button__link {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff; border: none;
}
.wp-block-button.btn-secondary > .wp-block-button__link {
  background: #fff; color: var(--warm); border: 2px solid rgba(0,0,0,.08);
}
.wp-block-button.btn-green > .wp-block-button__link {
  background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; border: none;
}
.wp-block-button.btn-outline-white > .wp-block-button__link {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4);
}
.wp-block-button.btn-link > .wp-block-button__link {
  background: transparent; color: var(--pink); padding-left: .4rem; padding-right: .4rem;
}
.wp-block-button > .wp-block-button__link {
  border-radius: 50px; padding: .8rem 1.6rem; font-weight: 800; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wp-block-button.btn-primary > .wp-block-button__link:hover { box-shadow: 0 10px 24px rgba(255,105,180,.3); transform: translateY(-2px); }

/* ── HERO (split layout) ── */
.hero-split {
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  padding: 2.5rem 1.5rem 4rem;
  position: relative; overflow: hidden;
}
.hero-inner { max-width: 1200px; margin: 0 auto; gap: 3rem; }
.hero-tag {
  display: inline-block; background: #fff; color: var(--pink);
  padding: .5rem 1.1rem; border-radius: 50px; font-weight: 800; font-size: .85rem;
  box-shadow: 0 4px 14px rgba(255,105,180,.15); margin: 0 0 1.2rem;
}
.hero-text h1.display { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; margin: 0 0 1.2rem; }
.hero-text h1 em { color: var(--pink); font-style: normal; }
.hero-desc { font-size: 1.15rem; color: var(--muted); font-weight: 600; margin: 0 0 1.8rem; max-width: 560px; }
.hero-ctas { margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat > .wp-block-group__inner-container { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--pink); margin: 0; font-family: 'Fredoka One', sans-serif; line-height: 1; }
.hero-stat-label { font-size: .78rem; color: var(--muted); font-weight: 700; margin: .25rem 0 0; }
.hero-visual { position: relative; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; border-radius: var(--radius-l); box-shadow: 0 25px 50px rgba(255,105,180,.18); display: block; }
.float-card {
  position: absolute; z-index: 3; background: #fff;
  border-radius: var(--radius-m); padding: .85rem 1.1rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.14); text-align: left; width: max-content;
}
.float-card .fc-emoji { font-size: 1.5rem; margin: 0; }
.float-card .fc-title { font-size: .9rem; font-weight: 700; margin: .1rem 0 0; color: var(--warm); }
.float-card .fc-label { font-size: .72rem; color: var(--pink); font-weight: 800; margin: 0; }
/* reset opposite offsets — legacy .float-card-1/-2 rules set bottom/top,
   which would stretch the card vertically when combined with these */
.float-card-1 { top: 1.2rem; bottom: auto; left: -1.2rem; right: auto; }
.float-card-2 { bottom: 1.2rem; top: auto; right: -1.2rem; left: auto; }

/* ── TRUST BAR (5 items) ── */
.trust-bar {
  background: #fff; border-radius: 40px; box-shadow: 0 12px 34px rgba(0,0,0,.07);
  max-width: 1060px; margin: -2.8rem auto 3rem; padding: 1.1rem 1.8rem;
  position: relative; z-index: 10;
}
.trust-row { gap: .8rem; align-items: center; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-item p { margin: 0; font-weight: 700; font-size: .84rem; color: var(--warm); }

/* ── ABOUT (badge + CTAs) ── */
.about-grid { gap: 3rem; }
.about-visual { position: relative; }
.about-img { margin: 0; }
.about-img img { width: 100%; border-radius: var(--radius-l); box-shadow: 0 20px 40px rgba(0,0,0,.12); display: block; }
.about-badge {
  position: absolute; right: -1rem; bottom: -1rem; z-index: 3; text-align: center;
  background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff;
  border-radius: var(--radius-m); padding: 1rem 1.3rem; box-shadow: 0 14px 30px rgba(255,105,180,.3);
}
.about-badge-num { font-size: 1.5rem; font-weight: 800; margin: 0; font-family: 'Fredoka One', sans-serif; line-height: 1; }
.about-badge-label { font-size: .72rem; margin: .1rem 0 0; font-weight: 700; color: rgba(255,255,255,.9); }
.value-list { list-style: none; padding: 0; margin: 1.3rem 0; display: flex; flex-direction: column; gap: .7rem; }
.value-list li { display: flex; align-items: center; gap: .8rem; padding: 0; font-weight: 700; font-size: .93rem; color: var(--warm); }
.value-dot {
  width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  background: var(--linen); border: 2px solid rgba(255,105,180,.15);
}

/* ── SERVICES (detail lists + accent + CTA) ── */
.services-grid .service-card { position: relative; overflow: hidden; }
.services-grid .service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.services-grid .service-card.sc-1::before { background: linear-gradient(90deg, var(--pink), var(--orange)); }
.services-grid .service-card.sc-2::before { background: linear-gradient(90deg, var(--green), var(--teal)); }
.services-grid .service-card.sc-3::before { background: linear-gradient(90deg, var(--sun), var(--orange)); }
/* Self-contained, higher-specificity rules that override the legacy
   colored-dot `.service-details li::before` (incl. .sc-2/.sc-3 variants). */
.services-grid .service-details {
  list-style: none; display: flex; flex-direction: column; gap: .2rem;
  padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid rgba(0,0,0,.06);
}
.services-grid .service-details li {
  display: flex; align-items: center; gap: .55rem; position: static;
  padding: .3rem 0; font-size: .85rem; font-weight: 700; color: var(--muted);
}
.services-grid .service-details li::before {
  content: "✓"; position: static; flex-shrink: 0;
  width: auto; height: auto; border-radius: 0; background: none;
  color: var(--green); font-weight: 800; font-size: .95rem; line-height: 1;
}
.section-cta { justify-content: center; margin-top: 2.5rem; }

/* ── ACTUALITÉS / BLOG (core latest-posts) ── */
.blog-section { text-align: left; max-width: calc(100% - 4rem); margin: 4rem auto; padding: 0 4rem; }
@media (max-width: 600px) {
  .blog-section { max-width: calc(100% - 1.6rem); padding: 0 1.3rem; margin: 2rem auto; }
}
/* Homepage posts: force a 3-up grid (override the legacy .blog-grid used by the
   archive). Scoped to .blog-section so the archive page is unaffected. */
.blog-section .wp-block-latest-posts.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
}
/* let each post fill its grid track (core .columns-3 sets li width:33%) */
.blog-section .wp-block-latest-posts.blog-grid > li { width: auto; max-width: none; margin: 0; }
@media (max-width: 900px) { .blog-section .wp-block-latest-posts.blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-section .wp-block-latest-posts.blog-grid { grid-template-columns: 1fr; } }
.blog-cta { margin-top: 2.5rem; }
.wp-block-latest-posts.is-grid li {
  background: #fff; border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.04);
}
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.wp-block-latest-posts__post-title { display: block; padding: 1rem 1.2rem 0; font-family: 'Fredoka One', sans-serif; font-size: 1.05rem; }
.wp-block-latest-posts__post-date { padding: .3rem 1.2rem 0; font-size: .78rem; color: var(--pink); font-weight: 700; }
.wp-block-latest-posts__post-excerpt { padding: .5rem 1.2rem 1.2rem; font-size: .88rem; color: var(--muted); }

/* ── PRACTICAL (dark banner) ── */
.practical-section.practical-dark { background: var(--warm); color: #fff; }
.practical-dark .eyebrow { color: var(--pink); }
.practical-dark .display, .practical-dark h2 { color: #fff; }
.practical-dark .pcard {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}
.practical-dark .pcard h3 { color: #fff; margin: 0; }
.practical-dark .pcard p, .practical-dark .pcard li { color: rgba(255,255,255,.78); }
.pcard-header > .wp-block-group__inner-container { display: flex; align-items: center; gap: .8rem; }
.pcard-icon {
  margin: 0; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,105,180,.28), rgba(255,140,0,.22));
}
.practical-dark .pcard-header { margin-bottom: 1.3rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.hours-list li strong { color: #fff; }
.hours-note { font-size: .78rem !important; color: rgba(255,255,255,.5) !important; margin-top: 1rem; }
.tarif-highlight {
  background: linear-gradient(135deg, rgba(255,105,180,.25), rgba(50,205,50,.18));
  border: 1px solid rgba(255,105,180,.3); border-radius: var(--radius-m);
  padding: 1.1rem; margin-bottom: .8rem;
}
.tarif-highlight p { margin: 0; }
.tarif-highlight p:first-child strong { color: #fff; font-size: 1.02rem; }
.practical-dark .access-cond { color: rgba(255,255,255,.9) !important; font-weight: 700; }
.practical-dark .step-list { padding-left: 1.3rem; }
.practical-dark .step-list li::marker { color: var(--pink); font-weight: 800; }
.practical-dark .docs-list { list-style: none; padding: 0; }
.practical-dark .docs-list li { padding: .3rem 0; font-size: .88rem; }
.practical-dark a { color: var(--pink); font-weight: 700; }
.practical-dark .section-cta a { color: inherit; }

/* ── CONTACT (cards + map) ── */
.contact-grid { gap: 2.5rem; align-items: start; }
.contact-card .cc-icon {
  grid-column: 1; grid-row: 1 / span 2; align-self: center;
  margin: 0; width: 46px; height: 46px; border-radius: 14px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FFE0EF, #FFC2DD);
}
.contact-cards .contact-card:nth-of-type(2) .cc-icon { background: linear-gradient(135deg, #D8F5DD, #B9F6CA); }
.contact-cards .contact-card:nth-of-type(3) .cc-icon { background: linear-gradient(135deg, #FFF3C4, #FFE7A0); }
.contact-cards .contact-card:nth-of-type(4) .cc-icon { background: linear-gradient(135deg, #D7F6F8, #B2EBF2); }
.contact-card .cc-label { grid-column: 2; align-self: end; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pink); font-weight: 800; margin: 0; }
.contact-card .cc-value { grid-column: 2; align-self: start; font-size: .95rem; color: var(--warm); margin: .1rem 0 0; font-weight: 600; }
.contact-card .cc-value a { color: var(--warm); }
.map-card { background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,.08); align-self: flex-start; }
.map-visual { margin: 0; }
.map-visual img { width: 100%; height: 260px; object-fit: cover; display: block; }
.map-info { padding: 1.5rem; }
.map-info p { color: var(--muted); margin: 0 0 1rem; }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS — float bob + scroll reveal
════════════════════════════════════════════════════════════ */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float-card { animation: floatCard 4s ease-in-out infinite; }
.float-card-2 { animation-delay: 1.2s; }

/* Scroll reveal. Hidden state applies only when JS is active
   (.js-reveal is set on <html> synchronously in the head), so with
   JS disabled the content is shown normally — no stuck-invisible page. */
.js-reveal .hero-text,
.js-reveal .hero-visual,
.js-reveal .about-visual,
.js-reveal .about-text,
.js-reveal .services-grid .service-card,
.js-reveal .blog-section .wp-block-latest-posts > li,
.js-reveal .practical-section .pcard,
.js-reveal .team-grid .team-card,
.js-reveal .contact-cards,
.js-reveal .map-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-reveal .visible { opacity: 1 !important; transform: none !important; }

/* gentle stagger inside the card grids */
.js-reveal .services-grid .service-card:nth-child(2),
.js-reveal .practical-section .pcard:nth-child(2),
.js-reveal .team-grid .team-card:nth-child(2n) { transition-delay: .08s; }
.js-reveal .team-grid .team-card:nth-child(3n),
.js-reveal .blog-section .wp-block-latest-posts > li:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .hero-text, .js-reveal .hero-visual, .js-reveal .about-visual,
  .js-reveal .about-text, .js-reveal .service-card, .js-reveal .pcard,
  .js-reveal .team-card, .js-reveal .map-card, .js-reveal .contact-cards,
  .js-reveal .wp-block-latest-posts > li {
    opacity: 1 !important; transform: none !important; transition: none;
  }
  .float-card { animation: none; }
}
