/* =========================================================
   Le Monde de Velcro — feuille de style
   DA : robe roux/doré du Vizsla + rose cerisier + nature
   ========================================================= */

:root {
  --velcro:        #c2703d;   /* roux caramel (robe de Velcro) */
  --velcro-dark:   #8f4e27;
  --velcro-soft:   #e7c4a6;
  --blossom:       #e489a2;   /* rose cerisier */
  --blossom-soft:  #f7dde4;
  --olive:         #7c8a55;   /* vert nature */
  --cream:         #fbf5ee;   /* fond principal */
  --sand:          #f3e8d9;   /* fond secondaire */
  --ink:           #3a2c23;   /* texte */
  --ink-soft:      #6e5a4d;
  --white:         #fffdfa;

  --shadow-sm: 0 4px 14px rgba(143, 78, 39, .10);
  --shadow-md: 0 10px 30px rgba(143, 78, 39, .16);
  --radius:   22px;
  --radius-lg: 32px;
  --maxw: 1080px;

  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .4em;
  color: var(--velcro-dark);
}

a { color: var(--velcro-dark); }

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

/* Icônes SVG inline (Simple Icons / Lucide) — se colorent via currentColor */
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex: none; }
.icon--sm { width: .95em; height: .95em; vertical-align: -0.12em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: 72px 0; }
.section--sand { background: var(--sand); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--velcro);
  margin-bottom: .5rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: .8em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--velcro); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--velcro-dark); box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,.85); color: var(--velcro-dark); border-color: var(--velcro-soft); }
.btn--ghost:hover { background: #fff; }
.btn--blossom { background: var(--blossom); color: var(--white); }
.btn--blossom:hover { background: #d2738c; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 238, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(143, 78, 39, .08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 22px;
  max-width: var(--maxw);
  margin-inline: auto;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--velcro-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: .45em .9em;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--blossom-soft); color: var(--velcro-dark); }
.nav-links a.active { background: var(--velcro); color: var(--white); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--velcro-dark);
}

/* ---------- Héro ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,44,35,.78) 0%, rgba(58,44,35,.25) 45%, rgba(58,44,35,.05) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 22px 64px;
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
}
.hero__content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: .15em;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  max-width: 36ch;
  margin: 0 0 1.6rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  padding: .35em 1em;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

/* ---------- Intro / à propos ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  rotate: -2deg;
}
.signature {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--velcro);
  font-size: 1.2rem;
}

/* ---------- Cartes univers ---------- */
.section-head { text-align: center; max-width: 50ch; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(143,78,39,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__emoji { font-size: 2.6rem; line-height: 1; margin-bottom: .4rem; }
.card h3 { color: var(--velcro-dark); margin-bottom: .3em; }
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 14px;
}

/* Layout asymétrique : grande | petite | petite | grande */
.gallery figure:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery figure:nth-child(2) { grid-column: span 7; aspect-ratio: 16/9; }
.gallery figure:nth-child(3) { grid-column: span 4; }
.gallery figure:nth-child(4) { grid-column: span 3; }

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery figure:nth-child(1) { rotate: -1.2deg; }
.gallery figure:nth-child(4) { rotate: 1deg; }

.gallery figure:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-md);
  z-index: 2;
  position: relative;
}
.gallery figure:nth-child(1):hover { rotate: 0deg; }
.gallery figure:nth-child(4):hover { rotate: 0deg; }

.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.gallery figure:hover img { transform: scale(1.08); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--velcro) 0%, var(--blossom) 130%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 56px 28px;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { max-width: 46ch; margin: 0 auto 1.6rem; font-size: 1.1rem; opacity: .95; }

/* ---------- Partenaires (style Linktree) ---------- */
.linktree { max-width: 600px; margin-inline: auto; text-align: center; }
.linktree__avatar {
  width: 132px; height: 132px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1rem;
  border: 5px solid var(--white); box-shadow: var(--shadow-md);
}
.partner-list { display: grid; gap: 22px; margin-top: 40px; }
.partner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(143,78,39,.07);
  overflow: hidden;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner__top { display: flex; gap: 16px; align-items: center; padding: 22px 22px 0; }
.partner__logo {
  width: 64px; height: 64px; border-radius: 18px; flex: none;
  display: grid; place-items: center; font-size: 1.8rem;
  background: var(--blossom-soft);
  object-fit: cover;
}
img.partner__logo { background: none; }
.partner__name { margin: 0; font-size: 1.3rem; }
.partner__handle { color: var(--velcro); font-weight: 700; text-decoration: none; font-size: .95rem; }
.partner__body { padding: 14px 22px 22px; }
.partner__desc { margin: 0 0 16px; color: var(--ink-soft); }
.partner__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* code promo */
.promo {
  display: flex; align-items: center; gap: 10px;
  background: var(--sand);
  border: 2px dashed var(--velcro-soft);
  border-radius: 14px;
  padding: 8px 8px 8px 16px;
}
.promo__label { font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.promo__code { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--velcro-dark); letter-spacing: .04em; }
.promo__discount { font-weight: 700; color: var(--blossom); }
.copy-btn {
  display: inline-flex; align-items: center; gap: .4em;
  border: 0; cursor: pointer;
  background: var(--velcro); color: var(--white);
  font-family: var(--font-display); font-weight: 700;
  padding: .55em 1em; border-radius: 10px;
  transition: background .15s ease;
}
.copy-btn:hover { background: var(--velcro-dark); }
.copy-btn.copied { background: var(--olive); }

/* ---------- Contact ---------- */
.contact-card {
  max-width: 560px; margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
  text-align: center;
}
.contact-card .big-emoji { font-size: 3.2rem; }
.contact-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list a {
  display: flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--sand); border-radius: 14px;
  padding: 16px; text-decoration: none; font-weight: 700;
  font-family: var(--font-display); color: var(--velcro-dark);
  transition: background .15s ease, transform .15s ease;
}
.contact-list a:hover { background: var(--blossom-soft); transform: translateY(-2px); }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--velcro-dark);
  color: #f6e8db;
  text-align: center;
  padding: 40px 22px 32px;
}
.site-footer a { color: var(--blossom-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: #fff; justify-content: center; margin-bottom: .4rem; }
.footer-links { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin: .8rem 0; padding: 0; list-style: none; }
.footer-note { font-size: .85rem; opacity: .7; margin-top: 1rem; }

/* utilitaires */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split__media img { rotate: 0deg; }
  .cards { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; rotate: 0deg; }
  .gallery figure:nth-child(2) { grid-column: span 2; aspect-ratio: 16/9; }
  .gallery figure:nth-child(3) { grid-column: span 1; aspect-ratio: 3/4; }
  .gallery figure:nth-child(4) { grid-column: span 1; aspect-ratio: 3/4; rotate: 0deg; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: var(--cream);
    padding: 12px 22px 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .7em 1em; border-radius: 12px; }
  .section { padding: 52px 0; }
  .hero { min-height: 78vh; }
  .partner__actions { flex-direction: column; align-items: stretch; }
  .promo { justify-content: space-between; }
}
