/* ════════════════════════════════════════════════════════════════
   Abracadabras Templates — feuille de style commune
   Mobile-first · Lighthouse 95+ · Variables par template
   ════════════════════════════════════════════════════════════════ */

:root {
  --primary: #1a1a2e;
  --accent:  #c8a96e;
  --bg:      #ffffff;
  --bg-alt:  #f8f5f0;
  --text:    #1a1a2e;
  --text-dim:#5a5a6e;
  --border:  #e8e2d6;
  --shadow:  0 2px 8px rgba(0,0,0,.06);
  --shadow-l:0 12px 40px rgba(0,0,0,.12);
  --radius:  14px;
  --font:    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h:  'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ───────── Layout ───────── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--primary);
}
.section-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ───────── Header ───────── */
.tpl-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.tpl-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1180px; margin: 0 auto;
}
.tpl-brand {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--primary);
}
.tpl-brand strong { color: var(--accent); }
.tpl-nav { display: none; gap: 28px; }
.tpl-nav a {
  font-size: 14px; font-weight: 500; color: var(--text-dim);
}
.tpl-nav a:hover { color: var(--primary); }
.tpl-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--primary); color: #fff !important;
  font-size: 14px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.tpl-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-l); }
.tpl-cta--accent { background: var(--accent); color: var(--primary) !important; }
@media(min-width: 768px) { .tpl-nav { display: flex; } }

/* ───────── Hero ───────── */
.tpl-hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  padding: 60px 0;
  overflow: hidden;
}
.tpl-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--hero-bg, linear-gradient(135deg, #1a1a2e, #2d2d4a));
  z-index: 0;
}
.tpl-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
  z-index: 1;
}
.tpl-hero__inner { position: relative; z-index: 2; }
.tpl-hero__eyebrow {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 13px; font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.tpl-hero__title {
  font-family: var(--font-h);
  font-size: clamp(36px, 6.5vw, 64px);
  font-weight: 700;
  line-height: 1.06; letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 18px;
  max-width: 820px;
}
.tpl-hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.86);
  max-width: 580px;
  margin-bottom: 32px;
}
.tpl-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.tpl-hero__cta-primary, .tpl-hero__cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.tpl-hero__cta-primary {
  background: var(--accent); color: var(--primary) !important;
}
.tpl-hero__cta-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.25); }
.tpl-hero__cta-secondary {
  background: rgba(255,255,255,.12);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.3);
}
.tpl-hero__cta-secondary:hover { background: rgba(255,255,255,.2); }

/* ───────── Trust strip ───────── */
.tpl-trust {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.tpl-trust__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: center;
}
.tpl-trust__item strong {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--accent);
}
.tpl-trust__item span {
  font-size: 13px; color: var(--text-dim);
}
@media(min-width: 768px) { .tpl-trust__items { grid-template-columns: repeat(4, 1fr); } }

/* ───────── Services ───────── */
.tpl-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media(min-width: 640px) { .tpl-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 980px) { .tpl-services-grid { grid-template-columns: repeat(3, 1fr); } }
.tpl-service {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tpl-service:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-l);
}
.tpl-service__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent), #000 18%));
  color: #fff;
  font-size: 24px;
  margin-bottom: 18px;
}
.tpl-service__title {
  font-family: var(--font-h);
  font-size: 19px; font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.tpl-service__desc { font-size: 15px; color: var(--text-dim); }
.tpl-service__price {
  margin-top: 14px;
  font-size: 14px; font-weight: 600;
  color: var(--accent);
}

/* ───────── Gallery ───────── */
.tpl-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media(min-width: 768px) { .tpl-gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.tpl-gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.tpl-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.tpl-gallery__item:hover img { transform: scale(1.07); }
.tpl-gallery__placeholder {
  font-size: 48px; opacity: .35;
}

/* ───────── About split ───────── */
.tpl-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media(min-width: 900px) { .tpl-about { grid-template-columns: 1.1fr .9fr; gap: 60px; } }
.tpl-about__title {
  font-family: var(--font-h);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}
.tpl-about__text { font-size: 16px; color: var(--text-dim); margin-bottom: 14px; }
.tpl-about__visual {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent), #000 30%));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 96px; color: rgba(255,255,255,.7);
  box-shadow: var(--shadow-l);
}

/* ───────── Reviews ───────── */
.tpl-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media(min-width: 768px) { .tpl-reviews { grid-template-columns: repeat(3, 1fr); } }
.tpl-review {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.tpl-review__stars {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 10px;
}
.tpl-review__text { font-size: 15px; color: var(--text); margin-bottom: 14px; font-style: italic; }
.tpl-review__author { font-size: 14px; font-weight: 600; color: var(--primary); }
.tpl-review__author span { color: var(--text-dim); font-weight: 400; }

/* ───────── Contact ───────── */
.tpl-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media(min-width: 900px) { .tpl-contact-grid { grid-template-columns: 1fr 1fr; gap: 50px; } }
.tpl-contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.tpl-contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 16px;
}
.tpl-contact-row__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent); color: #fff;
  font-size: 16px;
}
.tpl-contact-row__label { font-size: 13px; color: var(--text-dim); margin-bottom: 2px; }
.tpl-contact-row__value { font-size: 15px; font-weight: 600; color: var(--primary); }

.tpl-form { display: grid; gap: 14px; }
.tpl-form input, .tpl-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.tpl-form input:focus, .tpl-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent), transparent 80%);
}
.tpl-form textarea { min-height: 120px; resize: vertical; }
.tpl-form button {
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s;
}
.tpl-form button:hover { transform: translateY(-1px); }

/* ───────── Schedule (horaires) ───────── */
.tpl-schedule { list-style: none; }
.tpl-schedule li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.tpl-schedule li:last-child { border-bottom: none; }
.tpl-schedule li.closed { color: var(--text-dim); }

/* ───────── Final CTA banner ───────── */
.tpl-cta-banner {
  text-align: center;
  padding: 70px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.tpl-cta-banner::before {
  content: '';
  position: absolute; inset: -50%;
  background: radial-gradient(circle, var(--accent), transparent 60%);
  opacity: .18;
  z-index: 0;
}
.tpl-cta-banner > * { position: relative; z-index: 1; }
.tpl-cta-banner h2 {
  font-family: var(--font-h);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}
.tpl-cta-banner p {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 26px;
}

/* ───────── Footer ───────── */
.tpl-footer {
  padding: 40px 20px 28px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}
.tpl-footer__links {
  display: flex; gap: 18px; justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tpl-footer__links a:hover { color: var(--primary); }
.tpl-watermark {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.tpl-watermark strong { color: var(--accent); }

/* ───────── Animations ───────── */
@media (prefers-reduced-motion: no-preference) {
  .tpl-hero__title, .tpl-hero__sub, .tpl-hero__ctas { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
  .tpl-hero__sub { animation-delay: .1s; }
  .tpl-hero__ctas { animation-delay: .2s; }
  .tpl-service { animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) both; }
  .tpl-service:nth-child(2) { animation-delay: .08s; }
  .tpl-service:nth-child(3) { animation-delay: .16s; }
  .tpl-service:nth-child(4) { animation-delay: .24s; }
  .tpl-service:nth-child(5) { animation-delay: .32s; }
  .tpl-service:nth-child(6) { animation-delay: .4s; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
