/* ==========================================================
   Troc'Cinelle – feuille de style
   Couleurs reprises du bandeau d'origine (crème, jaune, orange, framboise)
   ========================================================== */

:root {
  --cream: #fff4d6;
  --cream-deep: #ffe9b3;
  --yellow: #ffd21f;
  --orange: #f27321;
  --raspberry: #b3105f;
  --raspberry-dark: #8a0b49;
  --ink: #2b1a22;
  --muted: #6e5a63;
  --white: #ffffff;
  --line: #ecdcc4;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px -12px rgba(90, 20, 50, .25);
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--raspberry); }
a:hover { color: var(--raspberry-dark); }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h1 em { color: var(--raspberry); font-style: italic; font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6em;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.narrow { max-width: 640px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--raspberry); color: var(--white); }
.btn-primary:hover { background: var(--raspberry-dark); color: var(--white); }
.btn-ghost { border-color: var(--raspberry); color: var(--raspberry); background: transparent; }
.btn-ghost:hover { background: var(--raspberry); color: var(--white); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 244, 214, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 56px; width: auto; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--raspberry); }
.nav .nav-phone {
  background: var(--raspberry); color: var(--white);
  padding: .5em 1em; border-radius: 999px; font-weight: 700;
}
.nav .nav-phone:hover { background: var(--raspberry-dark); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Accueil ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 210, 31, .45), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(242, 115, 33, .18), transparent 40%),
    var(--cream);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-visual { position: relative; justify-self: center; }
.hero-visual img {
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
  max-height: 480px; width: auto;
}
.promo-badge {
  position: absolute; left: -40px; bottom: 30px;
  width: 170px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
}
.promo-badge strong { font-family: var(--font-title); font-size: 2.3rem; line-height: 1; color: var(--raspberry); }
.promo-badge span { font-size: .78rem; line-height: 1.3; font-weight: 500; margin-top: 6px; }

/* ---------- Rayons ---------- */
.rayons { margin-top: -44px; position: relative; z-index: 2; }
.rayons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rayon {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 30px 20px; border-radius: var(--radius);
  text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.rayon:hover { transform: translateY(-4px); }
.rayon-name { font-family: var(--font-title); font-style: italic; font-size: 2rem; font-weight: 500; }
.rayon-size { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.rayon-femme { background: var(--yellow); color: var(--raspberry); }
.rayon-enfant { background: var(--orange); color: var(--white); }
.rayon-homme { background: var(--raspberry); color: var(--white); }
.rayon-femme:hover { color: var(--raspberry); }
.rayon-enfant:hover, .rayon-homme:hover { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--cream); }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); margin-inline: auto; max-height: 520px; width: auto; }
.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.features li { padding-left: 32px; position: relative; font-weight: 500; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23b3105f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Cartes horaires ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: 0 2px 0 var(--line); }
.card h3 { color: var(--raspberry); }
.card .big { font-family: var(--font-title); font-size: 1.5rem; line-height: 1.2; margin-bottom: .3em; }
.card .note { font-weight: 700; color: var(--raspberry); margin-top: 1em; }
.card-accent { background: var(--raspberry); color: var(--white); }
.card-accent h3, .card-accent .big, .card-accent .note { color: var(--white); }
.card-accent .note { background: rgba(255, 255, 255, .15); padding: .5em .8em; border-radius: var(--radius-sm); }
.card-promo { background: var(--yellow); }
.card-promo h3 { color: var(--raspberry-dark); }
.link-fb { font-weight: 700; color: var(--raspberry-dark); }
.hours { margin: 0; display: grid; gap: 12px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: right; }
.hours small { color: var(--orange); font-weight: 700; }
.hours .closed dd { color: var(--muted); }

/* ---------- Étapes dépôt ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 36px 0 30px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 30px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-family: var(--font-title); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 14px;
}
.step p { margin: 0; color: var(--muted); }

.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.accordion summary {
  cursor: pointer; list-style: none;
  padding: 20px 26px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--raspberry); transition: transform .2s; }
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion-body { padding: 0 26px 18px; border-top: 1px solid var(--line); padding-top: 20px; }
.accordion-body .highlight { background: var(--cream-deep); padding: 14px 18px; border-left: 4px solid var(--raspberry); border-radius: 6px; }

/* ---------- Marques ---------- */
.brands-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin: 30px 0 24px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--white); padding: 6px; border-radius: 999px; box-shadow: 0 2px 0 var(--line); }
.tab {
  border: 0; background: transparent; cursor: pointer;
  padding: .6em 1.2em; border-radius: 999px;
  font: inherit; font-weight: 700; color: var(--muted);
}
.tab small { font-weight: 500; font-size: .75em; }
.tab.is-active { background: var(--raspberry); color: var(--white); }
.search input {
  font: inherit; padding: .7em 1.2em; min-width: 260px;
  border: 2px solid var(--line); border-radius: 999px; background: var(--white);
}
.search input:focus { outline: none; border-color: var(--raspberry); }
.brand-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-list li {
  background: var(--white); border: 1px solid var(--line);
  padding: .45em 1em; border-radius: 999px;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
}
.brand-list mark { background: var(--yellow); color: inherit; border-radius: 3px; }
.brand-empty { color: var(--muted); font-style: italic; }

/* ---------- Contact ---------- */
.split-contact { grid-template-columns: .9fr 1.1fr; align-items: start; }
.contact-list { font-style: normal; display: grid; gap: 20px; margin-top: 20px; }
.contact-list .label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.contact-list p { margin: 2px 0 0; }
.contact-list small { color: var(--muted); }
.contact-list .phone { font-family: var(--font-title); font-size: 1.7rem; font-weight: 700; text-decoration: none; }
.map { margin: 0; }
.map img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #e9dbe1; padding: 56px 0 24px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
.footer-logo { border-radius: 6px; margin-bottom: 14px; }
.legal { color: #b9a6ae; font-size: .82rem; line-height: 1.6; margin: 0; }
.copyright { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: #9c8890; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .split, .split-contact { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 84px; }
  .hero-visual img { max-height: 380px; }
  .promo-badge { left: -20px; width: 140px; }
  .promo-badge strong { font-size: 1.9rem; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .split-media { order: 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-phone { margin-top: 14px; text-align: center; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .rayons-grid { grid-template-columns: 1fr; gap: 12px; }
  .rayon { padding: 20px; flex-direction: row; justify-content: space-between; }
  .rayon-name { font-size: 1.6rem; }
  .search, .search input { width: 100%; min-width: 0; }
  .tabs { width: 100%; justify-content: space-between; }
  .tab { padding: .6em .8em; flex: 1; }
  .tab small { display: none; }
  .hero-actions .btn, .inline-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
