/* ==========================================================================
   CRAZYPHOTOLIVE — Feuille de style principale
   Reproduction statique (HTML/CSS) du site crazyphotolive.
   Ordre : Reset > Variables > Base > Nav > Sections Home > Footer >
           Contact > Galerie thèmes > Responsive
   ========================================================================== */

/* ===== RESET =====
   Scopé sur body.crazyphotolive-brand (Accueil / Contact / Galerie) afin que
   les dossiers d'invitations clients déposés à la racine gardent leurs styles
   d'origine intacts. Le :where() garde une spécificité nulle pour l'ancêtre. */
html { scroll-behavior: smooth; }
:where(body.crazyphotolive-brand),
:where(body.crazyphotolive-brand) *,
:where(body.crazyphotolive-brand) *::before,
:where(body.crazyphotolive-brand) *::after { box-sizing: border-box; margin: 0; padding: 0; }
:where(body.crazyphotolive-brand) img { max-width: 100%; display: block; }
:where(body.crazyphotolive-brand) a { color: inherit; }

/* ===== DESIGN SYSTEM ===== */
:root {
  --gold: #d4af37;
  --copper: #9e6c58;
  --blue: #5baed6;
  --pink: #e0407b;
  --cream: #fdfdfc;
  --beige: #f4ede1;
  --nude: #e8ddd0;
  --sand: #d4c5b0;
  --taupe: #9a8070;
  --brown: #6b5344;
  --dark: #1d1d1f;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', sans-serif;
  --pop: 'Poppins', sans-serif;
  --logo-blue: #5baed7;
  --logo-pink: #d1488d;
  --card-cream: #fdfbf8;
  --warm-dark: #3a3028;
  --footer-brown: #987554;
}

body.crazyphotolive-brand {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== EN-TÊTES DE SECTION ===== */
.section-badge { display: inline-block; font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1rem; font-weight: 600; }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; color: var(--dark); margin-bottom: .5rem; }
.section-title em { font-style: italic; color: var(--pink); }
.section-divider { width: 40px; height: 2px; background: #000; margin: 16px 0 40px; }
.section-divider.centered { margin: 16px auto 40px; }
.section-sub { color: #777; font-size: .9rem; max-width: 520px; line-height: 1.9; margin-bottom: 2.5rem; font-weight: 400; }

section { padding: 80px 8vw; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVIGATION ===== */
.cpl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(253, 250, 246, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  height: 78px;
  font-family: var(--sans);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
/* Filet dégradé aux deux couleurs du logo : il n'apparaît qu'une fois la page
   défilée, pour ne pas barrer le hero d'un trait inutile. */
.cpl-nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 174, 215, .6), rgba(209, 72, 141, .6), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.cpl-nav.is-scrolled {
  height: 66px;
  background: rgba(253, 250, 246, .95);
  box-shadow: 0 6px 26px rgba(94, 72, 56, .10);
}
.cpl-nav.is-scrolled::after { opacity: 1; }

.cpl-nav-left,
.cpl-nav-right { display: flex; gap: 2.2rem; list-style: none; align-items: center; margin: 0; padding: 0; }
.cpl-nav-right { justify-content: flex-end; }

.cpl-nav-left a,
.cpl-nav-right a:not(.cpl-nav-wa) {
  position: relative; color: var(--brown); text-decoration: none;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; padding: 6px 0; transition: color .25s;
}
/* Soulignement dégradé qui se déploie depuis la gauche au survol. */
.cpl-nav-left a::after,
.cpl-nav-right a:not(.cpl-nav-wa)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--logo-blue), var(--logo-pink));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.cpl-nav-left a:hover,
.cpl-nav-right a:not(.cpl-nav-wa):hover { color: var(--dark); }
.cpl-nav-left a:hover::after,
.cpl-nav-right a:not(.cpl-nav-wa):hover::after { transform: scaleX(1); }
.cpl-nav-left a.is-active { color: var(--dark); }
.cpl-nav-left a.is-active::after { transform: scaleX(1); }

.cpl-nav-center img { height: 50px; object-fit: contain; display: block; transition: height .3s ease; }
.cpl-nav.is-scrolled .cpl-nav-center img { height: 42px; }

.cpl-nav-wa {
  background: linear-gradient(120deg, var(--logo-blue), var(--logo-pink)) !important;
  color: #fff !important;
  padding: .65rem 1.5rem; border-radius: 980px; text-decoration: none;
  font-size: .62rem !important; letter-spacing: .16em !important;
  text-transform: uppercase; font-weight: 700;
  box-shadow: 0 6px 18px rgba(209, 72, 141, .28);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.cpl-nav-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(209, 72, 141, .36);
  filter: brightness(1.05);
}
/* ===== EN-TÊTE DE SECTION CENTRÉ (accueil) ===== */
.portfolio-header { text-align: center; margin-bottom: 50px; padding: 0 8vw; }

/* ===== ACCUEIL — TÉMOIGNAGES ===== */
.testimonials { background: #fdfaf6; text-align: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 30px; text-align: left; }
.testimonial-card { background: var(--card-cream); border: 1px solid var(--nude); border-radius: 20px; padding: 2rem 1.8rem; min-height: 140px; position: relative; }
.testi-quote { font-size: 3.5rem; font-family: var(--serif); color: #e8ddd0; line-height: 1; position: absolute; top: .8rem; left: 1.5rem; }
.testi-text { font-size: .88rem; color: #444; line-height: 1.85; margin-bottom: 1.2rem; padding-top: 1.8rem; font-style: italic; }
.testi-author { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--taupe); }

/* ===== ACCUEIL — CTA ===== */
.cta-section { background: var(--dark); text-align: center; padding: 90px 2rem; }
.cta-section h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255, 255, 255, .45); font-size: .9rem; margin-bottom: 2.5rem; }
.btn-cta { display: inline-block; background: linear-gradient(90deg, var(--logo-blue), var(--logo-pink)); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; padding: 1.1rem 3rem; border-radius: 980px; text-decoration: none; transition: transform .25s; }
.btn-cta:hover { transform: scale(1.03); }

/* ===== PIED DE PAGE =====
   Fond clair volontairement : le mot « LIVE » du logo est noir, il
   disparaîtrait sur un fond sombre. Le clair tranche aussi avec la bande
   d'appel à l'action juste au-dessus. */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--beige) 0%, var(--nude) 100%);
  padding: 0;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--logo-blue), var(--logo-pink));
}

.footer-top {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding: 56px 6vw 40px;
}

.footer-brand { max-width: 330px; }
.footer-logo { width: 186px; margin-bottom: 1.1rem; }
.footer-logo img { width: 100%; height: auto; display: block; }
.footer-tagline { font-size: .84rem; line-height: 1.85; color: var(--taupe); margin-bottom: 1.3rem; }

.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(154, 128, 112, .34); background: transparent;
  transition: background .25s, border-color .25s, transform .25s;
}
.footer-social a:hover {
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-pink));
  border-color: transparent; transform: translateY(-2px);
}
.footer-social svg { width: 17px; height: 17px; fill: var(--brown); display: block; transition: fill .25s; }
.footer-social a:hover svg { fill: #fff; }

.footer-col h3 {
  font-family: var(--pop); font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--warm-dark); font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block; font-size: .84rem; color: var(--taupe);
  text-decoration: none; line-height: 1.6; margin-bottom: .7rem;
  transition: color .25s;
}
.footer-col a:hover { color: var(--logo-pink); }
.footer-note { font-size: .8rem; line-height: 1.7; color: var(--brown); font-style: italic; margin-top: 1.1rem; }

.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  border-top: 1px solid rgba(154, 128, 112, .26);
  padding: 20px 6vw 26px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-family: var(--sans); font-size: .72rem; color: var(--taupe);
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr; gap: 1.9rem; padding: 42px 8vw 32px;
    text-align: center;
  }
  .footer-brand { justify-self: center; max-width: 330px; }
  .footer-logo { width: 160px; margin: 0 auto .9rem; }
  .footer-tagline { max-width: 310px; margin: 0 auto 1.1rem; font-size: .78rem; }
  .footer-social { justify-content: center; }
  .footer-col h3 { width: 100%; margin-bottom: .65rem; }
  nav.footer-col {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: .45rem 1rem;
  }
  nav.footer-col a { display: inline-block; margin: 0; font-size: .74rem; }
  .footer-top > .footer-col:last-child { display: grid; justify-items: center; }
  .footer-top > .footer-col:last-child a { margin-bottom: .35rem; }
  .footer-note { margin-top: .55rem; }
  .footer-bottom {
    flex-direction: column; justify-content: center; align-items: center;
    gap: .35rem; padding: 17px 8vw 22px; text-align: center; font-size: .66rem;
  }
}
/* ===== CONTACT ===== */
.contact-page {
  position: relative; overflow: hidden; padding: 148px 6vw 110px;
  background:
    radial-gradient(circle at 5% 16%, rgba(91,174,215,.15), transparent 30rem),
    radial-gradient(circle at 93% 86%, rgba(209,72,141,.12), transparent 31rem),
    #f7f0e7;
}
.contact-page::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .34;
  background-image: linear-gradient(rgba(154,128,112,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(154,128,112,.06) 1px, transparent 1px);
  background-size: 72px 72px;
}
.contact-shell {
  position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr;
  max-width: 1180px; margin: 0 auto; border-radius: 34px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(94,72,56,.18); border: 1px solid rgba(255,255,255,.7);
}
.contact-story {
  position: relative; overflow: hidden; padding: 68px 58px;
  color: #fff; background:
    radial-gradient(circle at 0 0, rgba(91,174,215,.24), transparent 25rem),
    radial-gradient(circle at 100% 100%, rgba(209,72,141,.22), transparent 26rem),
    #242120;
}
.contact-story::after {
  content: ''; position: absolute; width: 270px; height: 270px; right: -155px; top: -135px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.018);
}
.contact-kicker { display: flex; align-items: center; gap: .8rem; font-size: .62rem; font-weight: 600; letter-spacing: .27em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact-kicker i { width: 24px; height: 1px; background: linear-gradient(90deg, var(--logo-blue), var(--logo-pink)); }
.contact-story h1 { max-width: 8.5em; margin: 30px 0 24px; font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; }
.contact-story h1 em { color: #ee73ad; font-weight: 400; }
.contact-story-lead { max-width: 460px; font-size: .88rem; line-height: 1.95; color: rgba(255,255,255,.58); }
.contact-promises { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-promises > div { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-promises span { padding-top: 3px; font-family: var(--serif); font-size: .72rem; color: #df6da6; }
.contact-promises p { font-size: .75rem; line-height: 1.65; color: rgba(255,255,255,.44); }
.contact-promises strong { display: block; margin-bottom: 2px; font-family: var(--pop); font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.9); }
.contact-form-card { padding: 62px 58px 48px; background: rgba(255,253,250,.93); }
.contact-form-card .section-badge { margin-bottom: .7rem; }
.contact-form-card h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.14; font-weight: 400; color: var(--dark); }
.contact-form-wrap { margin-top: 2rem; }
.contact-form-wrap form { display: flex; flex-direction: column; gap: 1.15rem; }
.contact-form-wrap label { font-size: .61rem; text-transform: uppercase; letter-spacing: .16em; color: #806d61; font-weight: 700; text-align: left; }
.contact-form-wrap .field { display: flex; flex-direction: column; gap: .48rem; }
.contact-form-wrap .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form-wrap input,
.contact-form-wrap textarea { width: 100%; border: 1px solid rgba(154,128,112,.24); border-radius: 13px; padding: .92rem 1rem; font-family: var(--sans); font-size: .84rem; background: rgba(247,242,236,.72); color: var(--dark); transition: border-color .25s, box-shadow .25s, background .25s; }
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus { outline: none; border-color: rgba(209,72,141,.62); background: #fff; box-shadow: 0 0 0 4px rgba(209,72,141,.07); }
.contact-form-wrap textarea { min-height: 150px; resize: vertical; }
.contact-form-wrap button { width: 100%; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(105deg, var(--logo-blue), var(--logo-pink)); color: #fff; border: none; padding: 1rem 1.25rem 1rem 1.5rem; border-radius: 14px; font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .67rem; cursor: pointer; box-shadow: 0 12px 26px rgba(209,72,141,.2); transition: transform .25s, box-shadow .25s; }
.contact-form-wrap button b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: .95rem; }
.contact-form-wrap button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(209,72,141,.28); }
.contact-channel-note { margin: .8rem 0 0; max-width: 480px; color: var(--taupe); font-size: .78rem; line-height: 1.75; }
.contact-form-status { min-height: 1.5em; text-align: center; color: var(--brown); font-size: .8rem; }
.contact-form-status a { color: var(--logo-pink); font-weight: 700; text-decoration: none; }
.contact-direct { margin-top: 1.1rem; display: flex; justify-content: center; }
.contact-direct a { display: inline-flex; align-items: center; gap: .55rem; color: var(--brown); text-decoration: none; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .25s; }
.contact-direct a:hover { color: var(--logo-pink); }
.contact-direct svg { width: 16px; height: 16px; fill: currentColor; }

/* ===== GALERIE DES THÈMES ===== */
.gallery-hero { padding: 150px 8vw 40px; text-align: center; background: var(--cream); }
.gallery-hero .section-title { margin-bottom: .75rem; }
.gallery-hero-sub { color: #777; font-size: .95rem; max-width: 560px; margin: 0 auto; line-height: 1.9; }

.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; padding: 0 8vw 10px; background: var(--cream); }
.gallery-filter {
  border: 1.5px solid var(--nude); background: transparent; color: var(--brown);
  font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; padding: .6rem 1.3rem; border-radius: 980px; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.gallery-filter:hover { border-color: var(--logo-pink); color: var(--logo-pink); }
.gallery-filter.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }

.gallery-section { background: var(--cream); padding: 40px 8vw 90px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1200px; margin: 0 auto; }
.gallery-card {
  background: var(--card-cream); border: 1px solid var(--nude); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(154, 128, 112, .2); }
.gallery-card.is-hidden { display: none; }
.gallery-card-media { position: relative; height: 250px; overflow: hidden; }
.gallery-card-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.gallery-card:hover .gallery-card-image { transform: scale(1.05); }
.gallery-card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--pop); font-size: .58rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--warm-dark); padding: .35rem .8rem; border-radius: 980px;
}
.gallery-card-veil { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .35s; display: flex; align-items: center; justify-content: center; }
.gallery-card:hover .gallery-card-veil { opacity: 1; }
.gallery-card-veil span { color: #fff; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; border: 1px solid rgba(255, 255, 255, .65); padding: .5rem 1.1rem; border-radius: 980px; }
.gallery-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gallery-card-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--dark); line-height: 1.25; }
.gallery-card-meta { font-size: .72rem; color: var(--taupe); letter-spacing: .04em; }
.gallery-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 6px; }
.gallery-card-tag { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--copper); border: 1px solid var(--nude); border-radius: 6px; padding: .25rem .55rem; }
.gallery-card.is-soon { pointer-events: none; }
.gallery-card.is-soon .gallery-card-image { filter: grayscale(1) opacity(.55); }
.gallery-card.is-soon .gallery-card-badge { background: rgba(29, 29, 31, .85); color: #fff; }
.gallery-card.is-soon .gallery-card-media::before {
  content: ''; position: absolute; z-index: 2; top: 50%; left: 50%;
  width: 190px; height: 92px; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(255,255,255,.48) 0%, rgba(91,174,215,.44) 32%, rgba(209,72,141,.34) 54%, transparent 74%);
  filter: blur(15px);
}
.gallery-card.is-soon .gallery-card-media::after {
  content: 'SOON'; position: absolute; z-index: 3; top: 50%; left: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
  font-family: var(--pop); font-size: 2rem; font-weight: 800;
  line-height: 1; letter-spacing: .22em; padding-left: .22em;
  color: #fff; text-shadow: 0 0 7px rgba(255,255,255,.95), 0 0 18px rgba(91,174,215,.9), 0 0 34px rgba(209,72,141,.72);
}

.gallery-empty { text-align: center; color: var(--taupe); font-size: .85rem; padding: 3rem 0; display: none; }
.gallery-empty.is-visible { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; max-width: 720px; }
  .contact-story h1 { max-width: 11em; }
}
@media (max-width: 768px) {
  .cpl-nav { grid-template-columns: auto auto auto; gap: 1rem; padding: 0 4vw; height: 60px; }
  .cpl-nav-left { gap: 1rem; }
  .cpl-nav-left li:nth-child(2) { display: none; }
  .cpl-nav-right li:nth-child(1) { display: none; }
  .cpl-nav-center img { height: 36px; }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form-wrap .field-row { grid-template-columns: 1fr; }
  .contact-page { padding: 104px 4vw 64px; }
  .contact-shell { border-radius: 22px; }
  .contact-story, .contact-form-card { padding: 42px 26px; }
  .contact-story h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .contact-promises { margin-top: 34px; }
}
/* Sur très petits écrans on ne garde que le logo et le bouton Contact.
   Les <li> sont masqués plutôt que le <ul> : la colonne de gauche reste dans
   la grille, ce qui garde le logo parfaitement centré et évite le
   débordement horizontal (la nav dépassait sinon la largeur de l'écran). */
@media (max-width: 480px) {
  .cpl-nav { grid-template-columns: 1fr auto 1fr; gap: .5rem; padding: 0 3vw; }
  .cpl-nav-left li { display: none; }
  .cpl-nav-center img { height: 32px; }
  .cpl-nav-wa { padding: .45rem 1rem; }
}

/* ===== NAVIGATION — MENU MOBILE =====
   Ajouté après le bloc RESPONSIVE : ces règles doivent l'emporter sur les
   media queries ci-dessus, qui masquaient tous les <li> de gauche. */
.cpl-nav-burger-li { display: none; }
.cpl-nav-burger {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 34px; height: 34px; padding: 0; border: none; background: none; cursor: pointer;
}
.cpl-nav-burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--brown); transition: transform .3s, opacity .3s;
}
.cpl-nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cpl-nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cpl-nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.cpl-menu {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 9998;
  background: rgba(245, 237, 227, .98);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 18px 40px rgba(94, 72, 56, .14);
  display: flex; flex-direction: column; padding: 6px 6vw 18px;
}
.cpl-menu[hidden] { display: none; }
.cpl-menu a {
  padding: 14px 0; border-bottom: 1px solid rgba(154, 128, 112, .18);
  color: var(--brown); text-decoration: none; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  transition: color .25s;
}
.cpl-menu a:last-child { border-bottom: none; }
.cpl-menu a:hover { color: var(--logo-pink); }

/* Ombre discrète dès que la page a défilé, pour décoller la barre du contenu. */
.cpl-nav.is-scrolled { box-shadow: 0 4px 20px rgba(94, 72, 56, .10); }

/* Le sélecteur reprend « .cpl-nav-left li » : les media queries ci-dessus
   masquent les <li> de gauche avec cette spécificité (0,1,1), qu'une simple
   classe (0,1,0) ne pourrait pas battre, quel que soit l'ordre des règles. */
@media (max-width: 768px) {
  /* Hauteur figée sur téléphone : si la barre se rétractait au défilement,
     le menu déroulant (top: 64px) se décollerait d'elle. */
  .cpl-nav, .cpl-nav.is-scrolled { height: 64px; }
  .cpl-nav-center img, .cpl-nav.is-scrolled .cpl-nav-center img { height: 38px; }
  .cpl-nav-left li.cpl-nav-burger-li { display: flex; align-items: center; }
  .cpl-nav-left li:not(.cpl-nav-burger-li) { display: none; }
  .cpl-nav-right li:nth-child(1) { display: none; }
}
/* Sur ordinateur, le menu déroulant n'a pas lieu d'être : les liens sont
   déjà tous visibles dans la barre. */
@media (min-width: 769px) {
  .cpl-menu { display: none; }
}
