/* =========================================================
   NOEUD PAPILLON — LANDING (BD / COMIC STYLE)
   Colors: Honey #fcc10a | Charbon #3c3c3b | White #ffffff
========================================================= */

:root{
  --honey:#fcc10a;
  --charcoal:#3c3c3b;
  --white:#ffffff;
  --ink:#0f0f0f;
  --shadow: rgba(0,0,0,.20);
  --shadow2: rgba(0,0,0,.10);
  --radius: 18px;
  --radius2: 28px;
  --stroke: 3px;
  --max: 1180px;
  --transition: 220ms ease;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x:hidden;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top: 8px;
  background: var(--honey);
  color: var(--charcoal);
  padding:10px 12px;
  border: var(--stroke) solid var(--charcoal);
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{left:8px}

.topbar{
  background: var(--charcoal);
  color: var(--white);
  border-bottom: var(--stroke) solid var(--ink);
}
.topbar__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size: 12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.25);
  margin-right: 6px;
}
.pill--yellow{background: var(--honey); color: var(--charcoal); border-color: rgba(0,0,0,.25)}
.pill--charcoal{background: #2b2b2a; color: var(--white)}
.pill--white{background: var(--white); color: var(--charcoal)}
.mini{opacity:.9; font-weight:600}

.page{min-height:100%}

/* HERO */
.hero{
  position: relative;
  padding: 34px 16px 26px;
}
.hero__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(252,193,10,.25), transparent 60%),
    radial-gradient(900px 400px at 80% 30%, rgba(60,60,59,.14), transparent 60%),
    linear-gradient(180deg, rgba(60,60,59,.04), transparent 70%);
  z-index:0;
}

/* Background slider (place images in /img): background-slider-image1.jpg, image2.jpg, image3.jpg */
.hero__bg::after{
  content:"";
  position:absolute;
  inset: 0;
  opacity: .12;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) contrast(1.05);
  animation: bgSlide 18s infinite;
}
@keyframes bgSlide{
  0%{ background-image: url("../../img/background-slider-image1.jpg"); }
  33%{ background-image: url("../../img/background-slider-image2.jpg"); }
  66%{ background-image: url("../../img/background-slider-image3.jpg"); }
  100%{ background-image: url("../../img/background-slider-image1.jpg"); }
}

.hero__grid{
  position:relative;
  z-index:1;
  max-width: var(--max);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 18px;
  align-items: start;
}

.hero__brand{
  background: var(--white);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--radius2);
  box-shadow: 10px 10px 0 rgba(0,0,0,.12);
  padding: 22px;
  position:relative;
  overflow:hidden;
}
.hero__brand::before{
  content:"";
  position:absolute;
  inset:-40px -40px auto auto;
  width: 160px;
  height: 160px;
  background: var(--honey);
  border: var(--stroke) solid var(--ink);
  border-radius: 50%;
  transform: rotate(-10deg);
  opacity: .95;
}
.logoWrap{
  position:relative;
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 12px;
}
.logo{
  width: 120px;
  height: auto;
  display:block;
  border-radius: 16px;
  background: var(--white);
  border: var(--stroke) solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,.10);
}

.title{
  font-family: Bangers, Inter, sans-serif;
  letter-spacing: .02em;
  font-size: clamp(40px, 4vw, 64px);
  margin: 10px 0 10px;
  line-height: .95;
  color: var(--charcoal);
  text-shadow: 2px 2px 0 rgba(252,193,10,.55);
}
.title__hash{color: var(--honey)}
.title__sub{
  display:inline-block;
  margin-left: 10px;
  padding: 6px 10px 4px;
  background: var(--honey);
  border: var(--stroke) solid var(--ink);
  border-radius: 12px;
  transform: rotate(-2deg);
}

.lead{
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0 16px;
  max-width: 62ch;
}

/* CTA buttons */
.ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin: 14px 0 16px;
}
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border-radius: 14px;
  border: var(--stroke) solid var(--ink);
  text-decoration:none;
  font-weight: 800;
  letter-spacing:.04em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 7px 7px 0 rgba(0,0,0,.12);
  overflow:hidden;
  min-width: 220px;
}
.btn:focus{outline: 3px dashed var(--honey); outline-offset: 4px}
.btn:hover{transform: translateY(-2px)}
.btn__ink{
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.35), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.08), transparent 55%);
  transform: rotate(8deg);
  opacity:.6;
  pointer-events:none;
}

.btn--primary{
  background: var(--honey);
  color: var(--charcoal);
}
.btn--secondary{
  background: var(--charcoal);
  color: var(--white);
}

/* Bubble */
.bubble{
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  padding: 14px 14px 12px;
  background: rgba(252,193,10,.16);
  position: relative;
}
.bubble::after{
  content:"";
  position:absolute;
  left: 22px;
  bottom: -14px;
  width: 18px;
  height: 18px;
  background: rgba(252,193,10,.16);
  border-left: var(--stroke) solid var(--ink);
  border-bottom: var(--stroke) solid var(--ink);
  transform: rotate(45deg);
}
.bubble__title{
  font-weight: 900;
  letter-spacing:.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Right panel */
.hero__card{
  position:relative;
}
.panel{
  background: var(--white);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--radius2);
  box-shadow: 10px 10px 0 rgba(0,0,0,.12);
  overflow:hidden;
}
.panel__head{
  padding: 18px 18px 10px;
  border-bottom: var(--stroke) solid rgba(0,0,0,.08);
  position:relative;
}
.sticker{
  position:absolute;
  top: 14px;
  right: 14px;
  background: var(--honey);
  color: var(--charcoal);
  border: var(--stroke) solid var(--ink);
  border-radius: 14px;
  padding: 8px 10px 6px;
  font-family: Bangers, Inter, sans-serif;
  font-size: 22px;
  transform: rotate(6deg);
  box-shadow: 5px 5px 0 rgba(0,0,0,.12);
}
.panel__title{
  margin: 0;
  font-size: 22px;
}
.panel__subtitle{
  margin: 6px 0 0;
  color: rgba(60,60,59,.85);
  line-height: 1.45;
}

.cards{
  padding: 14px 14px 6px;
  display:grid;
  gap: 12px;
}
.card{
  display:block;
  text-decoration:none;
  color: inherit;
  background: #fff;
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 7px 7px 0 rgba(0,0,0,.10);
  position:relative;
  transition: transform var(--transition);
}
.card:hover{transform: translateY(-2px)}
.card__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.15);
  background: rgba(252,193,10,.22);
}
.card__title{
  margin-top: 10px;
  font-size: 18px;
  font-weight: 900;
}
.card__desc{
  margin-top: 6px;
  color: rgba(60,60,59,.88);
  line-height: 1.5;
}
.card__arrow{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  opacity:.7;
}

.note{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px 16px 16px;
  color: rgba(60,60,59,.82);
  border-top: var(--stroke) dashed rgba(60,60,59,.25);
}
.note__icon{font-size:18px}

/* SECTION */
.section{
  padding: 10px 16px 40px;
}
.section__inner{
  max-width: var(--max);
  margin: 0 auto;
}
.comic{
  background: var(--white);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--radius2);
  box-shadow: 10px 10px 0 rgba(0,0,0,.10);
  padding: 18px 18px 14px;
}
.comic__title{
  margin: 0 0 8px;
  font-family: Bangers, Inter, sans-serif;
  letter-spacing: .02em;
  font-size: 30px;
}
.comic__text{
  margin: 0 0 14px;
  line-height: 1.6;
  color: rgba(60,60,59,.92);
}

.swatches{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}
.swatch{
  flex: 1 1 220px;
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  min-height: 74px;
  display:flex;
  align-items:flex-end;
  padding: 10px;
  box-shadow: 7px 7px 0 rgba(0,0,0,.10);
}
.swatch span{
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.75);
  border: 2px solid rgba(0,0,0,.15);
  padding: 6px 8px;
  border-radius: 12px;
}
.swatch--honey{background: var(--honey)}
.swatch--charcoal{background: var(--charcoal); color: var(--white)}
.swatch--white{background: var(--white)}

/* COOKIE BAND (bottom-left, wiggly) */
.cookie{
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 999;
  width: min(360px, calc(100vw - 28px));
  transform-origin: left bottom;
  animation: cookieWiggle 4.2s ease-in-out infinite;
}
@keyframes cookieWiggle{
  0%,100%{transform: rotate(-1deg) translateY(0)}
  50%{transform: rotate(1.2deg) translateY(-2px)}
}
.cookie__inner{
  background: var(--white);
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 rgba(0,0,0,.12);
  padding: 12px 12px 10px;
}
.cookie__title{
  font-weight: 1000;
  letter-spacing:.08em;
  text-transform: uppercase;
}
.cookie__text{
  margin-top: 6px;
  color: rgba(60,60,59,.88);
  line-height:1.45;
  font-size: 14px;
}
.cookie__btn{
  margin-top: 10px;
  background: var(--honey);
  border: var(--stroke) solid var(--ink);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing:.06em;
  cursor:pointer;
}
.cookie__btn:hover{filter: brightness(1.03)}

/* Back to top (bowtie) */
.toTop{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 998;
  display:flex;
  align-items:center;
  gap: 10px;
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  background: var(--honey);
  box-shadow: 10px 10px 0 rgba(0,0,0,.12);
  padding: 10px 12px 10px 10px;
  cursor:pointer;
  opacity: 0;
  pointer-events:none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.toTop.is-visible{
  opacity: 1;
  pointer-events:auto;
  transform: translateY(0);
}
.toTop__text{
  font-weight: 900;
  letter-spacing:.08em;
  text-transform: uppercase;
}
.toTop__bow{
  width: 34px;
  height: 22px;
  position:relative;
  display:block;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,.18));
}
.toTop__bow::before,
.toTop__bow::after{
  content:"";
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--charcoal);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.toTop__bow::before{left:0; transform: translateY(-50%) rotate(20deg)}
.toTop__bow::after{right:0; transform: translateY(-50%) rotate(-20deg)}
.toTop__bow{
  background: var(--charcoal);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.toTop__bow{
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08);
}
.toTop__bow{
  /* center knot */
}
.toTop__bow span{}
.toTop__bow{
  /* knot */
}
.toTop__bow{
  /* create knot with gradient */
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.12), transparent),
    var(--charcoal);
}
.toTop__bow{
  /* knot overlay */
}
.toTop__bow::marker{content:""}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; }
  .btn{min-width: 0; width: 100%;}
}
/* Topbar links — blanc propre */
.topbar__right a{
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  margin: 0 4px;
  transition: opacity 0.2s ease;
}

/* Hover discret */
.topbar__right a:hover{
  opacity: 0.8;
  text-decoration: underline;
}
/* =========================
   TOPBAR – RESPONSIVE FIX
========================= */

/* Base : autoriser le wrap + espacement */
.topbar__inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px; /* vertical | horizontal */
}

/* Éviter l’effet “tout collé” */
.topbar__left,
.topbar__right{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Le texte à droite peut passer sur 2 lignes proprement */
.topbar__right .mini{
  line-height: 1.4;
  white-space: normal;
}

/* =========================
   TABLETTE & MOBILE
========================= */
@media (max-width: 900px){

  .topbar__inner{
    justify-content: center;
    text-align: center;
  }

  .topbar__left{
    justify-content: center;
    flex-wrap: wrap;
  }

  .topbar__right{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   PETITS ÉCRANS
========================= */
@media (max-width: 600px){

  .topbar{
    padding: 4px 0;
  }

  .topbar__inner{
    gap: 6px;
  }

  /* Les pills passent sur 2 lignes si besoin */
  .topbar__left .pill{
    font-size: 11px;
    padding: 5px 8px;
  }

  /* Liens plus lisibles */
  .topbar__right a{
    display: inline-block;
    margin: 2px 4px;
    white-space: nowrap;
  }
}
