/* ------------------------------------------------------------------
   Vidot Event & Éclats de gâteaux — feuille de style unique
   Deux univers : DJ (violet) et cake design (beige / bordeaux / rose).
   .theme-dj / .theme-cake sur une page ou une section basculent l'accent.
   ------------------------------------------------------------------ */

:root {
    --dj-900: #2b1252;
    --dj-700: #4a2185;
    --dj-500: #7b3fc4;
    --dj-300: #b48ee6;
    --dj-100: #f1e9fb;
    --cake-900: #5c2a35;
    --cake-700: #7a3b45;
    --cake-500: #d4788c;
    --cake-300: #f0c4cf;
    --cake-100: #f7f1e8;
    --ink: #1f1a24;
    --muted: #6b6574;
    --paper: #fffdf9;
    --line: #e7e1ea;
    --whatsapp: #25d366;
    --gold: #f5b942;

    --accent: var(--dj-700);
    --accent-strong: var(--dj-900);
    --accent-soft: var(--dj-100);

    --font: "Montserrat", system-ui, sans-serif;
    --font-display: "Bebas Neue", "Montserrat", sans-serif;
    --font-script: "Great Vibes", cursive;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --radius: 16px;
    --wrap: 1120px;
    --header-h: 84px;
}

.theme-cake { --accent: var(--cake-700); --accent-strong: var(--cake-900); --accent-soft: var(--cake-100); }
.theme-dj   { --accent: var(--dj-700);   --accent-strong: var(--dj-900);   --accent-soft: var(--dj-100); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 1rem; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section-tight { padding: clamp(2rem, 4.5vw, 3.5rem) 0; }
.section-title { text-align: center; color: var(--accent-strong); position: relative; padding-bottom: .5rem; }
.section-title::after { content: ""; display: block; width: 64px; height: 3px; background: var(--accent); margin: .6rem auto 0; border-radius: 2px; }
.t-display { font-family: var(--font-display); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
h2.t-display { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; }
.kicker { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 600; color: var(--accent); margin-bottom: .3rem; }
.t-dj { color: var(--dj-700); }
.t-cake { color: var(--cake-700); font-family: var(--font-script); font-weight: 400; font-size: 1.25em; }
.amp { font-family: var(--font-serif); font-weight: 500; text-transform: none; }
.link { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.ico { width: 32px; height: 32px; flex: none; }
.ico-s { width: 18px; height: 18px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem; line-height: 1.2; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent-strong); border-color: var(--accent); }
.btn-light { background: #fff; color: var(--dj-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); padding: .55rem 1.1rem; font-size: .9rem; }
.btn-small { padding: .5rem 1rem; font-size: .9rem; background: var(--accent-soft); color: var(--accent-strong); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.actions-center { justify-content: center; }

/* En-tête (sombre, logos blancs) */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, var(--dj-900), var(--dj-700)); color: #fff; box-shadow: 0 2px 12px rgba(43,18,82,.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 64px; width: auto; }
.brand-cake { background: #fff; border-radius: 10px; padding: 3px; }
.brand-sep { width: 1px; height: 46px; background: rgba(255,255,255,.35); }
.nav { display: flex; align-items: center; gap: 1.1rem; }
.nav a { text-decoration: none; color: #fff; font-weight: 600; font-size: .95rem; opacity: .9; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--dj-300); }
.nav .btn { opacity: 1; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 26px; height: 2px; background: #fff; position: relative; transition: .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -8px; } .burger::after { top: 8px; }
@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--dj-900); padding: .75rem 1rem 1.25rem; gap: .1rem; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
    .nav a { padding: .75rem .5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav .btn { margin-top: .75rem; justify-content: center; border-bottom: 0; }
    .nav.is-open { display: flex; }
    .brand img { height: 50px; }
    .brand-sep { height: 36px; }
}

/* Bandeau d'accueil : deux photos en fond, texte centré, vague en bas */
.hero { background: linear-gradient(135deg, var(--dj-900) 0%, var(--dj-700) 55%, var(--cake-700) 100%); color: #fff; padding: clamp(3rem, 8vw, 6rem) 0; position: relative; }
.hero h1 { color: #fff; }
.hero a:not(.btn) { color: #fff; }
.hero .btn-primary { background: var(--dj-500); color: #fff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); }
.hero-home { overflow: hidden; min-height: min(78vh, 640px); display: grid; place-items: center; padding: clamp(3rem, 7vw, 5rem) 0 5.5rem; isolation: isolate; }
.hero-bg { position: absolute; top: 0; bottom: 0; width: 42%; height: 100%; object-fit: cover; z-index: -1; }
.hero-bg-left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%); mask-image: linear-gradient(90deg, #000 45%, transparent 100%); }
.hero-bg-right { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent 100%); mask-image: linear-gradient(270deg, #000 45%, transparent 100%); }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43,18,82,.55), rgba(43,18,82,.85) 35%, rgba(74,33,133,.85) 65%, rgba(122,59,69,.55)); }
.hero-center { text-align: center; max-width: 760px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-center h1 { display: flex; flex-direction: column; align-items: center; gap: .1em; margin-bottom: .6rem; }
.hero-center .t-display { font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1; }
.hero-center .t-cake { color: #fff; font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: 1.1; }
.hero-center .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: .5rem; }
.hero-heart { color: var(--cake-300); margin: 0 auto 1rem; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; }
.hero-page { background: var(--accent-soft); color: var(--ink); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.hero-page h1 { color: var(--accent-strong); }
.hero-page .btn-primary { background: var(--accent); color: #fff; }
.theme-cake .hero-page h1 { font-family: var(--font-script); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.2rem); }
@media (max-width: 700px) {
    .hero-bg { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
    .hero-bg-right { display: none; }
    .hero-home::before { background: linear-gradient(180deg, rgba(43,18,82,.75), rgba(74,33,133,.85)); }
    .hero-center h1 { margin-bottom: .4rem; }
}

/* Bandes */
.band { background: linear-gradient(120deg, var(--dj-900), var(--dj-700)); color: #fff; }
.band .section-title { color: #fff; } .band .section-title::after { background: var(--dj-300); }
.band .muted { color: var(--dj-300); }
.band-light { background: var(--accent-soft); }
.theme-cake.band, .theme-cake .band { background: linear-gradient(120deg, var(--cake-900), var(--cake-700)); }

/* Cartes prestations (horizontales sur grand écran) */
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 30px rgba(31,26,36,.08); display: flex; flex-direction: column; }
.card img { aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.card-body .ico { color: var(--accent); }
.card-dj { --accent: var(--dj-700); --accent-strong: var(--dj-900); --accent-soft: var(--dj-100); }
.card-cake { --accent: var(--cake-700); --accent-strong: var(--cake-900); --accent-soft: var(--cake-100); }
.card h3 { color: var(--accent-strong); margin-bottom: .2rem; }
.card-h { background: var(--accent-soft); }
@media (min-width: 640px) {
    .card-h { flex-direction: row; }
    .card-h img { width: 42%; aspect-ratio: auto; min-height: 240px; }
    .card-h .card-body { padding: 1.5rem 1.6rem; }
}

/* Atouts */
.atouts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem .5rem; text-align: center; }
.atouts li { padding: .75rem .25rem; border-left: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.atouts li:first-child { border-left: 0; }
.atouts .ico { width: 36px; height: 36px; color: var(--dj-300); }
@media (max-width: 900px) {
    .atouts { grid-template-columns: repeat(3, 1fr); }
    .atouts li:nth-child(4) { border-left: 0; }
}
@media (max-width: 480px) { .atouts { grid-template-columns: repeat(2, 1fr); } .atouts li { border-left: 0; } }

/* À propos + photo + avis */
.trio { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem; align-items: center; }
.trio .section-title { text-align: left; font-size: 1.6rem; } .trio .section-title::after { margin-left: 0; }
.trio-text p { font-size: .95rem; }
.trio-img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 12px 30px rgba(31,26,36,.15); }
.avis { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.25rem; box-shadow: 0 8px 30px rgba(31,26,36,.08); position: relative; text-align: center; }
.avis-quote { color: var(--dj-300); width: 28px; height: 28px; margin: 0 auto .5rem; }
.avis-titre { font-weight: 800; color: var(--dj-900); margin-bottom: .4rem; }
.avis p { font-size: .95rem; }
.stars { display: flex; justify-content: center; gap: .15rem; color: var(--gold); margin: .25rem 0 .5rem; }
.avis footer { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
    .trio { grid-template-columns: 1fr 1fr; }
    .trio-avis { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .trio { grid-template-columns: 1fr; } }

/* À propos (page) */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.about-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.about-grid .section-title { text-align: left; } .about-grid .section-title::after { margin-left: 0; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* Deux colonnes */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.two-col .section-title { text-align: left; } .two-col .section-title::after { margin-left: 0; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* Listes */
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li { background: var(--accent-soft); color: var(--accent-strong); padding: .35rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.check { list-style: none; padding: 0; }
.check li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.saveurs { list-style: none; padding: 0; }
.saveurs li { margin-bottom: .5rem; }
.prestations { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.5rem; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--cake-900); }
.prestations li { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; max-width: 150px; }
.prestations .ico { color: var(--cake-500); }
.rappel { font-family: var(--font-serif); font-size: 1.2rem; color: var(--cake-700); letter-spacing: .05em; }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin: 2rem 0 1rem; }
.pack { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.pack h3 { color: var(--dj-900); }
.pack .price { font-size: 2rem; font-weight: 800; color: var(--dj-700); margin: 0; }
.pack ul { padding-left: 1.1rem; margin: .75rem 0 1.25rem; font-size: .92rem; flex: 1; }
.pack .btn { align-self: stretch; justify-content: center; text-align: center; }
.pack-star { outline: 3px solid var(--dj-300); transform: translateY(-4px); }
.pack .muted { font-size: .85rem; }

/* Galerie et vidéos */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.gallery-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 1.5rem; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; align-items: center; }
.videos figure { margin: 0; }
.videos video { width: 100%; height: auto; border-radius: var(--radius); background: var(--dj-900); display: block; }
.videos figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; text-align: center; }

/* Tarifs */
.tarifs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.tarifs th, .tarifs td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tarifs th { background: var(--accent-soft); color: var(--accent-strong); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.tarifs td:nth-child(2) { font-weight: 800; color: var(--accent); white-space: nowrap; }
@media (max-width: 600px) { .tarifs th:nth-child(3), .tarifs td:nth-child(3) { display: none; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { background: var(--accent-soft); border-radius: var(--radius); padding: 1.5rem; align-self: start; }
.contact-aside h2 { font-size: 1.2rem; color: var(--accent-strong); }
form label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
form input[type="text"], form input[type="email"], form input[type="tel"], form input[type="date"], form textarea, form input[type="file"] { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
form textarea { resize: vertical; }
form input:focus, form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact-form form > div, .contact-form fieldset > div, .contact-form .row-2 > div { margin-bottom: 1.1rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem .2rem; margin: 0 0 1.1rem; }
form legend { font-weight: 600; padding: 0 .4rem; }
form div:has(> input[type="radio"]) { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.2rem; }
form div:has(> input[type="radio"]) label { margin: 0; font-weight: 500; }
form ul { color: #b3261e; font-size: .875rem; margin: .3rem 0 0; padding-left: 1.1rem; list-style: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Flash */
.flash { padding: 1rem; text-align: center; font-weight: 600; }
.flash-succes { background: #e6f6ec; color: #1b5e32; }
.flash-erreur { background: #fdecea; color: #8a1c13; }

/* Prose (pages légales) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.25rem; margin-top: 1.8rem; color: var(--accent-strong); }

/* Pied de page (sombre, mini-formulaire) */
.site-footer { background: linear-gradient(135deg, var(--dj-900), var(--dj-700) 70%, #4b2060); color: #fff; padding: 3rem 0 1.25rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.site-footer .btn-light { color: var(--dj-900); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr; gap: 2rem; align-items: center; }
.footer-title { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1; margin: 0; }
.footer-stroke { display: block; width: 110px; height: 6px; margin-top: .9rem; border-radius: 3px; background: linear-gradient(90deg, var(--dj-300), transparent); }
.footer-contacts { font-style: normal; display: flex; flex-direction: column; gap: .9rem; }
.footer-contacts p { margin: 0; display: flex; align-items: center; gap: .8rem; }
.footer-contacts .ico { color: var(--dj-300); width: 28px; height: 28px; }
.footer-contacts small { display: block; font-size: .78rem; opacity: .75; }
.footer-contacts a { text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.footer-form { display: flex; flex-direction: column; gap: .7rem; }
.footer-form input, .footer-form textarea { border: 0; }
.footer-form .btn { align-self: flex-end; background: var(--dj-500); }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto auto; gap: 1.5rem; align-items: center; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.footer-logos { display: flex; align-items: center; gap: .6rem; }
.footer-logos img { height: 44px; width: auto; }
.footer-logos .brand-sep { height: 32px; }
.footer-logos img:last-child { background: #fff; border-radius: 8px; padding: 2px; }
.footer-zone { margin: 0; display: flex; align-items: center; gap: .4rem; color: var(--dj-300); }
.footer-social { display: flex; gap: .6rem; }
.footer-social .ico { width: 24px; height: 24px; }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-copy { margin: 1rem auto 0; font-size: .78rem; color: var(--dj-300); text-align: center; }
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-form { grid-column: 1 / -1; }
    .footer-bottom { grid-template-columns: 1fr 1fr; }
    .footer-zone { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .footer-grid, .footer-bottom { grid-template-columns: 1fr; }
    .footer-legal { flex-wrap: wrap; }
}

/* WhatsApp flottant */
.whatsapp { position: fixed; right: 1rem; bottom: 1rem; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 40; }
.whatsapp:hover { transform: scale(1.06); }

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