/* ============================================================
   leculcul.fr — feuille de style principale
   Direction : "sticker / crayon" — contours noirs épais comme
   le logo, couleurs bonbon, formes patatoïdes dessinées à la main.
   ============================================================ */

:root {
  /* Palette "Rétro années 90" : turquoise, corail, moutarde sur crème */
  --papier: #FFF3DC;
  --encre: #1E1B1B;
  --rose: #FF6F61;    /* corail — accents & CTA */
  --jaune: #FFC53D;   /* moutarde — boutons & surlignages */
  --bleu: #3EC6BD;    /* turquoise — hero & bandes */
  --menthe: #BFEFEA;  /* turquoise pâle — pastilles & encarts */
  --trait: 3px;
  --ombre: 6px 6px 0 var(--encre);
  --ombre-petite: 4px 4px 0 var(--encre);
  --blob: 58% 42% 45% 55% / 48% 52% 43% 57%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--papier);
}

h1, h2, h3, .logo-texte {
  font-family: 'Titan One', 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

a { color: var(--encre); }

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

.conteneur { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.entete {
  background: var(--papier);
  border-bottom: var(--trait) solid var(--encre);
  position: sticky;
  top: 0;
  z-index: 50;
}

.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo-lien { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-img {
  width: 52px; height: 52px;
  background: #fff;
  border: var(--trait) solid var(--encre);
  border-radius: var(--blob);
  padding: 4px;
}

.logo-texte { font-size: 1.5rem; }
.logo-texte .cul { color: var(--rose); }

.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.nav a {
  text-decoration: none;
  font-weight: 800;
  padding: 4px 2px;
  border-bottom: 3px solid transparent;
}

.nav a:hover, .nav a.actif { border-bottom-color: var(--rose); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  font-family: 'Titan One', sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--encre);
  background: var(--jaune);
  border: var(--trait) solid var(--encre);
  border-radius: 999px;
  padding: 12px 28px;
  box-shadow: var(--ombre-petite);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--encre); }

.btn-rose { background: var(--rose); color: #fff; -webkit-text-stroke: 0; }
.btn-bleu { background: var(--bleu); }

/* ---------- Hero ---------- */

.hero {
  background: var(--bleu);
  border-bottom: var(--trait) solid var(--encre);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 64px 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  text-shadow: 3px 3px 0 var(--encre);
  margin-bottom: 18px;
}

.hero p {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 28px;
  max-width: 34em;
}

.hero-logo {
  background: #fff;
  border: var(--trait) solid var(--encre);
  border-radius: var(--blob);
  box-shadow: var(--ombre);
  padding: 24px;
  max-width: 380px;
  margin: 0 auto;
  transform: rotate(2deg);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }

.section-titre {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 12px;
}

.section-titre .souligne {
  background: linear-gradient(transparent 62%, var(--jaune) 62%);
  padding: 0 4px;
}

.section-sous {
  font-weight: 700;
  max-width: 42em;
  margin-bottom: 36px;
}

.bande-jaune { background: var(--jaune); border-top: var(--trait) solid var(--encre); border-bottom: var(--trait) solid var(--encre); }
.bande-bleue { background: var(--bleu); border-top: var(--trait) solid var(--encre); border-bottom: var(--trait) solid var(--encre); }

/* ---------- Cartes ---------- */

.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.carte {
  background: #fff;
  border: var(--trait) solid var(--encre);
  border-radius: 22px;
  box-shadow: var(--ombre-petite);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carte h3 { font-size: 1.25rem; }

.carte .pastille {
  align-self: flex-start;
  font-family: 'Titan One', sans-serif;
  font-size: .8rem;
  background: var(--menthe);
  border: 2px solid var(--encre);
  border-radius: 999px;
  padding: 3px 12px;
}

.carte a.lire { font-weight: 800; color: var(--rose); text-decoration: none; margin-top: auto; }
.carte a.lire:hover { text-decoration: underline; }

.carte time { font-size: .85rem; font-weight: 700; opacity: .65; }

/* ---------- Bloc Etsy ---------- */

.etsy-bloc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: var(--trait) solid var(--encre);
  border-radius: 26px;
  box-shadow: var(--ombre);
  padding: 32px;
}

.etsy-bloc .mini-logo {
  width: 90px; height: 90px;
  border: var(--trait) solid var(--encre);
  border-radius: var(--blob);
  padding: 8px;
  background: var(--papier);
}

.etsy-bloc h2 { font-size: 1.5rem; margin-bottom: 6px; }

/* ---------- Articles (blog) ---------- */

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.article header { margin-bottom: 32px; }

.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }

.article .meta { font-weight: 700; opacity: .65; font-size: .9rem; }

.article h2 { font-size: 1.4rem; margin: 36px 0 12px; }

.article p { margin-bottom: 16px; }

.article ul { margin: 0 0 16px 22px; }

.article .encart {
  background: var(--menthe);
  border: var(--trait) solid var(--encre);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 28px 0;
  font-weight: 700;
}

.article img.illustration {
  border: var(--trait) solid var(--encre);
  border-radius: 22px;
  box-shadow: var(--ombre-petite);
  margin: 28px auto;
}

/* ---------- Footer ---------- */

.pied {
  background: var(--encre);
  color: var(--papier);
  padding: 40px 0;
  margin-top: 0;
}

.pied-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pied a { color: var(--papier); font-weight: 700; }

.pied .cheeky { font-family: 'Titan One', sans-serif; }

/* ---------- Accessibilité / divers ---------- */

:focus-visible { outline: 3px dashed var(--rose); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0; }
  .hero-logo { max-width: 260px; }
  .etsy-bloc { grid-template-columns: 1fr; text-align: center; }
  .etsy-bloc .mini-logo { margin: 0 auto; }
  .entete-inner { flex-direction: column; }
}
