/*!
 * FestiCustom — feuille de style du site
 * Couleurs reprises du logo. Aucune dépendance.
 */
/* ==========================================================
   1. Variables (couleurs du logo)
   ========================================================== */
:root {
  --violet: #6A2C91;
  --pink: #E8246F;
  --red: #E63946;
  --orange: #F7941D;
  --yellow: #FFD23F;
  --cyan: #2EE6D6;
  --blue: #3A5BD9;

  --ink: #0F0B1E;
  --ink-2: #1A1530;
  --paper: #FFFFFF;
  --cream: #FBF8F4;
  --muted: #6B6880;
  --line: rgba(15, 11, 30, .1);

  --grad: linear-gradient(100deg, var(--violet) 0%, var(--pink) 28%, var(--orange) 52%, var(--yellow) 68%, var(--cyan) 100%);
  --grad-hot: linear-gradient(120deg, var(--pink), var(--orange) 60%, var(--yellow));
  --grad-cool: linear-gradient(120deg, var(--blue), var(--cyan));

  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 20px 50px -20px rgba(15, 11, 30, .35);
  --container: 1200px;
}

/* ==========================================================
   2. Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--violet); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--pink); color: #fff; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 1000; top: 10px; left: 10px;
  background: #fff; padding: 10px 16px; border-radius: 10px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ==========================================================
   3. Boutons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-position .6s;
}
.btn:hover { transform: translateY(-3px); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-grad {
  color: #fff; background: var(--grad); background-size: 200% 100%;
  box-shadow: 0 12px 30px -10px rgba(232, 36, 111, .7);
}
.btn-grad:hover { color: #fff; background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(232, 36, 111, .9); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: var(--ink); background: #fff; }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { color: #fff; background: var(--violet); }
.btn-wa { color: #fff; background: #25D366; }
.btn-wa:hover { color: #fff; background: #1ebe5a; }
.btn-sm { padding: .75em 1.2em; font-size: .92rem; }

/* ==========================================================
   4. Header
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.site-header.is-scrolled,
body:not(.festi-transparent-header) .site-header {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img, .custom-logo { max-height: 56px; width: auto; transition: max-height .3s; }
.is-scrolled .custom-logo { max-height: 44px; }
.festi-transparent-header .site-header:not(.is-scrolled) .custom-logo { background: #fff; border-radius: 14px; padding: 6px 10px; }
.brand-text { display: inline-flex; flex-direction: column; line-height: .9; }
.brand-text .grad-text { font-family: var(--font-display); font-weight: 800; font-size: 2rem; font-style: italic; }
.brand-text small { font-weight: 800; letter-spacing: .25em; font-size: .62rem; color: var(--ink); text-transform: uppercase; }
.festi-transparent-header .site-header:not(.is-scrolled) .brand-text small { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: .98rem; position: relative; }
.festi-transparent-header .site-header:not(.is-scrolled) .main-nav a:not(.btn) { color: #fff; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%;
  background: var(--grad); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-nav a:not(.btn):hover::after,
.main-nav .current-menu-item > a::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--ink); position: relative;
}
.menu-toggle span:not(.screen-reader-text) {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================
   5. Hero
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden;
  padding: 140px 0 110px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: float 18s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: var(--pink); top: -140px; right: -80px; }
.b2 { width: 420px; height: 420px; background: var(--violet); bottom: -160px; left: -100px; animation-delay: -6s; }
.b3 { width: 340px; height: 340px; background: var(--orange); top: 40%; right: 25%; opacity: .45; animation-delay: -3s; }
.b4 { width: 300px; height: 300px; background: var(--cyan); bottom: 5%; right: -60px; opacity: .55; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(.95); }
}
.grain {
  position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 28px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(46,230,214,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(46,230,214,0); } }
.hero-title {
  font-size: clamp(3rem, 9.5vw, 8.2rem); font-weight: 800;
  letter-spacing: -.045em; line-height: .92; margin-bottom: 28px; max-width: 12ch;
}
.brush {
  display: inline-block; font-style: italic;
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite; padding-right: .08em;
}
@keyframes shimmer { to { background-position: 200% 0; } }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 560px; color: rgba(255,255,255,.78); margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stickers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sticker {
  position: absolute; padding: 12px 20px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink);
  box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.s1 { background: var(--yellow); top: 22%; right: 9%; transform: rotate(8deg); }
.s2 { background: var(--cyan); top: 48%; right: 20%; transform: rotate(-6deg); animation-delay: -2s; }
.s3 { background: #fff; bottom: 18%; right: 6%; transform: rotate(4deg); animation-delay: -4s; }
.s3 span { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes bob { 50% { translate: 0 -14px; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: #fff; animation: scroll 1.8s infinite;
}
@keyframes scroll { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================
   6. Marquee
   ========================================================== */
.marquee, .festi-blocks .festi-marquee {
  overflow: hidden; background: var(--grad); color: #fff;
  transform: rotate(-2deg); margin: -34px -20px 0; position: relative; z-index: 5;
  padding: 18px 0; box-shadow: var(--shadow);
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 2rem);
  text-transform: uppercase; white-space: nowrap; padding-right: 36px;
}
.marquee-track span::after { content: "✦"; padding-left: 36px; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   7. Sections
   ========================================================== */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line);
}
.kicker span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title { font-size: clamp(2.3rem, 5.5vw, 4.3rem); font-weight: 800; }
.section-lead { font-size: 1.15rem; color: var(--muted); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  overflow: hidden; isolation: isolate;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: var(--card-grad, var(--grad-hot));
}
.service-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); color: #fff; }
.service-card:hover::before { opacity: 1; }
.service-card:hover p { color: rgba(255,255,255,.9); }
.service-card:hover .service-num { -webkit-text-fill-color: #fff; color: #fff; }
.service-card:nth-child(2) { --card-grad: linear-gradient(140deg, var(--violet), var(--pink)); }
.service-card:nth-child(3) { --card-grad: var(--grad-cool); }
.service-card:nth-child(4) { --card-grad: linear-gradient(140deg, var(--orange), var(--red)); }
.service-num {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; margin-bottom: 26px;
  background: var(--card-grad, var(--grad-hot)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.service-card h3 { font-size: 1.45rem; }
.service-card p { color: var(--muted); margin: 0; transition: color .35s; }

/* Réalisations */
.section-dark { background: var(--ink); color: #fff; border-radius: var(--radius-lg); margin-inline: 12px; overflow: hidden; }
.section-dark .kicker { background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.section-dark .section-lead { color: rgba(255,255,255,.7); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px;
}
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 50px 22px 20px;
  background: linear-gradient(transparent, rgba(15,11,30,.9));
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff;
  transform: translateY(10px); opacity: .9; transition: transform .35s, opacity .35s;
}
.gallery-item:hover .cap { transform: none; opacity: 1; }
.gallery-item.placeholder { display: grid; place-items: center; text-align: center; padding: 20px; }
.gallery-item.placeholder:nth-child(6n+1) { background: linear-gradient(140deg, var(--violet), var(--pink)); }
.gallery-item.placeholder:nth-child(6n+2) { background: var(--grad-hot); }
.gallery-item.placeholder:nth-child(6n+3) { background: var(--grad-cool); }
.gallery-item.placeholder:nth-child(6n+4) { background: linear-gradient(140deg, var(--pink), var(--orange)); }
.gallery-item.placeholder:nth-child(6n+5) { background: linear-gradient(100deg, var(--blue), var(--violet), var(--pink)); }
.gallery-item.placeholder:nth-child(6n) { background: linear-gradient(140deg, var(--cyan), var(--yellow)); }
.gallery-item.placeholder strong { font-family: var(--font-display); font-size: 1.6rem; display: block; }
.gallery-item.placeholder small { opacity: .85; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; border-radius: 3px;
  background: var(--grad); opacity: .35;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-dot {
  width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff;
  background: var(--grad); background-size: 400% 100%; box-shadow: var(--shadow); transform: rotate(-6deg);
}
.step:nth-child(2) .step-dot { background-position: 33% 0; transform: rotate(5deg); }
.step:nth-child(3) .step-dot { background-position: 66% 0; transform: rotate(-4deg); }
.step:nth-child(4) .step-dot { background-position: 100% 0; transform: rotate(7deg); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(50px, 8vw, 100px) clamp(28px, 6vw, 80px);
  background: var(--grad); background-size: 200% 200%; animation: shimmer 14s linear infinite;
  color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.12); right: -120px; top: -160px;
}
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; margin: 0; text-shadow: 0 4px 30px rgba(15,11,30,.25); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; z-index: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.contact-list a:hover { transform: translateX(6px); box-shadow: var(--shadow); color: var(--ink); }
.contact-icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: var(--grad-hot);
}
.contact-list li:nth-child(2) .contact-icon { background: linear-gradient(140deg, var(--violet), var(--pink)); }
.contact-list li:nth-child(3) .contact-icon { background: #25D366; }
.contact-list li:nth-child(4) .contact-icon { background: var(--grad-cool); }
.contact-icon svg { width: 24px; height: 24px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.contact-list strong { font-size: 1.1rem; }
.contact-form-box {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
  position: relative;
}
.contact-form-box::before {
  content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: calc(var(--radius-lg) + 3px); background: var(--grad);
}
.contact-form-box h3 { font-size: 1.8rem; }

/* Formulaires (y compris Contact Form 7 / WPForms) */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 2px solid var(--line);
  font: inherit; color: var(--ink); background: var(--cream); transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
input[type="submit"], button[type="submit"], .wpcf7-submit {
  font: inherit; font-weight: 700; color: #fff; border: 0; cursor: pointer;
  padding: 16px 30px; border-radius: 999px; background: var(--grad); background-size: 200% 100%;
  transition: background-position .5s, transform .25s;
}
input[type="submit"]:hover, button[type="submit"]:hover { background-position: 100% 0; transform: translateY(-2px); }
.wpcf7 p, .wpforms-field { margin-bottom: 14px; }

/* ==========================================================
   8. Pages internes / blog
   ========================================================== */
.page-hero {
  padding: 170px 0 80px; background: var(--ink); color: #fff; position: relative; overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.page-hero .blob { opacity: .5; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; position: relative; z-index: 2; margin: 0; }
.page-hero .meta { position: relative; z-index: 2; color: rgba(255,255,255,.7); margin-top: 14px; }
.entry { padding: 70px 0 100px; }
.entry-content { max-width: 780px; margin-inline: auto; font-size: 1.08rem; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 2.2rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.6rem; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
  margin: 2em 0; padding: 10px 0 10px 28px; border-left: 5px solid; border-image: var(--grad) 1;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3;
}
.entry-content .alignwide { max-width: 1100px; margin-inline: calc((780px - 1100px) / 2); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.entry-thumb { max-width: 1000px; margin: -60px auto 0; position: relative; z-index: 3; }
.entry-thumb img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 70px 0 30px; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--grad); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 24px 24px 28px; }
.post-card h2 { font-size: 1.4rem; margin-bottom: .4em; }
.post-card h2 a { color: var(--ink); }
.post-card time { font-size: .85rem; color: var(--muted); font-weight: 600; }
.post-card p { color: var(--muted); font-size: .98rem; margin: .6em 0 0; }

.pagination { display: flex; justify-content: center; gap: 8px; padding-bottom: 90px; }
.pagination .page-numbers {
  min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; padding: 0 14px;
  background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-weight: 700;
}
.pagination .current { background: var(--grad); color: #fff; box-shadow: none; }

.error-404 { text-align: center; padding: 200px 0 140px; }
.error-404 .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 25vw, 16rem); line-height: .9; }

/* ==========================================================
   9. Footer
   ========================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 0; padding: 90px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand .big {
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 3.4rem; line-height: 1;
  display: inline-block; margin-bottom: 14px;
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.08); transition: transform .25s, background .25s;
}
.socials a:hover { transform: translateY(-4px) rotate(-6deg); color: #fff; }
.socials a.fb:hover { background: #3B5998; }
.socials a.ig:hover { background: linear-gradient(45deg, #F7941D, #E8246F, #6A2C91); }
.socials a.wa:hover { background: #25D366; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem;
}

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1) rotate(-8deg); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================
   10. Animations d'apparition
   ========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   11. Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .cta, .contact-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stickers { display: none; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 36px;
    background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .main-nav a:not(.btn) { color: #fff !important; font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery-item:nth-child(5) { grid-column: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services-grid, .steps, .posts-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item:nth-child(1) { grid-row: auto; }
  .hero { padding-top: 120px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .section-dark { margin-inline: 0; border-radius: var(--radius); }
  .entry-content .alignwide { margin-inline: 0; }
}

/* ==========================================================
   12. Tarifs & zone (photobooth)
   ========================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 30px 22px 26px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 0 0 1px var(--line); transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.3rem; margin: 0; }
.price { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; line-height: 1; }
.price .amount { font-size: 3rem; background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .cur { font-size: 1.4rem; margin-left: 4px; color: var(--orange); }
.prints { font-weight: 700; color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: .92rem; flex: 1; }
.price-card li { display: flex; gap: 8px; align-items: flex-start; }
.price-card li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--pink); }
.price-card .btn { justify-content: center; }
.price-card.is-featured {
  background: var(--ink); color: #fff; transform: scale(1.04); box-shadow: var(--shadow); z-index: 1;
}
.price-card.is-featured::before {
  content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: calc(var(--radius) + 3px); background: var(--grad);
}
.price-card.is-featured:hover { transform: scale(1.04) translateY(-6px); }
.price-card.is-featured .prints { color: rgba(255,255,255,.7); }
.price-card.is-featured li svg { color: var(--cyan); }
.price-badge {
  position: absolute; top: -14px; left: 50%; translate: -50% 0; white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink);
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.pricing-note { text-align: center; color: var(--muted); margin-top: 34px; font-size: .95rem; }

.zone {
  display: flex; gap: 28px; align-items: flex-start;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: #fff; box-shadow: 0 0 0 1px var(--line);
}
.zone-icon {
  flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff;
  background: var(--grad-cool); transform: rotate(-6deg);
}
.zone-icon svg { width: 30px; height: 30px; }
.zone h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.zone p { color: var(--muted); }
.zone-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-pills li {
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  background: var(--cream); box-shadow: 0 0 0 1px var(--line);
}
.zone-pills li:nth-child(4n+1) { background: rgba(232,36,111,.1); }
.zone-pills li:nth-child(4n+2) { background: rgba(247,148,29,.14); }
.zone-pills li:nth-child(4n+3) { background: rgba(46,230,214,.16); }
.zone-pills li:nth-child(4n) { background: rgba(106,44,145,.1); }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.is-featured, .price-card.is-featured:hover { transform: none; }
  .zone { flex-direction: column; }
}

/* ==========================================================
   13. Contact + widget de réservation
   ========================================================== */
.contact-grid.is-stacked { grid-template-columns: 1fr; gap: 36px; }
.contact-grid.is-stacked .section-lead { max-width: 640px; }
.contact-grid.is-stacked .contact-list { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
.contact-grid.is-stacked .contact-list li { min-width: 0; }
.contact-grid.is-stacked .contact-list a,
.contact-grid.is-stacked .contact-list div { height: 100%; }
.contact-grid.is-stacked .contact-list strong { font-size: 1rem; white-space: nowrap; }

.contact-form-box.has-booking { padding: 0; width: 100%; max-width: none; }
.booking-frame {
  display: block; width: 100%; border: 0; border-radius: var(--radius-lg);
  background: #fff; height: var(--bh-d, 980px);
}
@media (max-width: 1024px) {
  .contact-grid.is-stacked .contact-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .booking-frame { height: var(--bh-m, 1650px); }
}
@media (max-width: 600px) {
  .contact-grid.is-stacked .contact-list { grid-template-columns: 1fr; }
  .contact-form-box.has-booking::before { inset: -2px; }
  .booking-frame { border-radius: var(--radius); }
  .contact-form-box.has-booking, .contact-form-box.has-booking::before { border-radius: var(--radius); }
}


/* ==========================================================
   14. Site autonome (pages événement, FAQ, SEO)
   ========================================================== */
.section-tight { padding: clamp(20px, 3vw, 40px) 0; }
.footer-title { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
ol.steps { list-style: none; margin: 0; padding: 0; }
figure.gallery-item { margin: 0; }

/* Formule mise en avant : bordure dégradée fiable */
.price-card.is-featured {
  border: 3px solid transparent;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box;
}
.price-card.is-featured::before { content: none; }
.price-card .btn { justify-content: center; margin-top: auto; }

/* Contact : 4 cartes équilibrées */
.contact-grid.is-stacked .contact-list { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr); }
.contact-grid.is-stacked .contact-list strong { overflow: hidden; text-overflow: ellipsis; }

/* Hero des pages événement */
.hero-sm { min-height: 82vh; min-height: 82svh; }
.hero-sm .hero-title { font-size: clamp(2.8rem, 8vw, 6.6rem); max-width: 14ch; }

.breadcrumb { padding-top: 26px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* Texte d'introduction (important pour Google) */
.section-intro { padding-top: clamp(50px, 7vw, 90px); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.intro-grid .section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.prose p { font-size: 1.1rem; color: #3b3850; }
.intro-photo { margin: 30px 0 0; }
.intro-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

/* Cartes événements */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.events-grid .gallery-item { grid-row: auto; grid-column: auto; }
.event-card { min-height: 320px; display: block; color: #fff; }
.event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-card.placeholder { display: block; }
.event-card .cap { transform: none; opacity: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
.event-card .cap svg { width: 20px; height: 20px; transition: transform .3s; }
.event-card:hover { color: #fff; }
.event-card:hover .cap svg { transform: translateX(6px); }
.events-grid .event-card.placeholder:nth-child(4n+1) { background: linear-gradient(140deg, var(--violet), var(--pink)); }
.events-grid .event-card.placeholder:nth-child(4n+2) { background: var(--grad-hot); }
.events-grid .event-card.placeholder:nth-child(4n+3) { background: var(--grad-cool); }
.events-grid .event-card.placeholder:nth-child(4n) { background: linear-gradient(140deg, var(--cyan), var(--yellow)); }
.event-card.placeholder::before {
  content: "📸"; position: absolute; top: 24px; left: 24px; font-size: 2.4rem;
  filter: drop-shadow(0 6px 14px rgba(15,11,30,.3));
}

/* FAQ */
.faq-wrap { max-width: 900px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq-item[open] { box-shadow: 0 0 0 2px var(--pink), var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.faq-plus { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-hot); position: relative; transition: transform .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; background: #fff; border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); transition: transform .3s; }
.faq-item[open] .faq-plus { transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .event-card { min-height: 220px; }
  .faq-item summary { padding: 18px 20px; }
  .faq-item p { padding: 0 20px 20px; }
}

/* Empêche tout débordement horizontal (bandeau incliné, formes du hero) */
html, body { overflow-x: hidden; }
.site-main { overflow-x: clip; }
@media (max-width: 1024px) { .contact-grid.is-stacked .contact-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .contact-grid.is-stacked .contact-list { grid-template-columns: 1fr; } }

/* ==========================================================
   15. Logo & photos
   ========================================================== */
.brand img { height: 56px; width: auto; display: block; transition: height .3s; }
.is-scrolled .brand img { height: 46px; }
.brand .logo-light { display: none; }
.festi-transparent-header .site-header:not(.is-scrolled) .brand .logo-light { display: block; }
.festi-transparent-header .site-header:not(.is-scrolled) .brand .logo-dark { display: none; }
.footer-logo { height: 90px; width: auto; margin-bottom: 14px; }

/* Photo dans le hero */
.hero-inner.has-photo {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(30px, 5vw, 80px); align-items: center;
}
.has-photo .hero-title { font-size: clamp(3rem, 7vw, 6.4rem); }
.hero-sm .has-photo .hero-title { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.hero-photo { margin: 0; position: relative; z-index: 1; }
.hero-photo::before {
  content: ""; position: absolute; inset: -12px; z-index: -1; border-radius: 40px;
  background: var(--grad); rotate: -4deg; opacity: .95;
}
.hero-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px;
  rotate: 2.5deg; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
.has-photo ~ .hero-stickers .s2, .hero:has(.has-photo) .sticker.s2 { top: auto; bottom: 22%; right: 36%; }
.hero:has(.has-photo) .sticker.s1 { top: 18%; right: 4%; }
.hero:has(.has-photo) .sticker.s3 { bottom: 9%; right: 6%; }
.gallery-grid { grid-auto-flow: dense; }

@media (max-width: 1024px) {
  .hero-inner.has-photo { grid-template-columns: 1fr; }
  .hero-photo { max-width: 380px; width: 80%; margin: 30px auto 0; }
}
@media (max-width: 600px) {
  .hero-photo { width: 72%; }
  .footer-logo { height: 74px; }
}
