/* Fée de la Place — reproduction statique feedelaplace.fr */

:root {
  --purple: #6f1c74;
  --purple-dark: #4d005c;
  --purple-light: #8f18af;
  --orange: #f46100;
  --pink: #f149e9;
  --white: #fff;
  --cream: #fffbf8;
  --text: #4d005c;
  --max-width: 1140px;
  --header-height: 74px;
  --font-body: "Roboto", "Gantari", sans-serif;
  --font-heading: "Righteous", sans-serif;
  --font-hero: "Rancho", cursive;
  --font-script: "Rochester", cursive;
  --img-place-initiale: url("https://www.feedelaplace.fr/wp-content/uploads/2024/07/feedelaplace-jura-rangement-desencombrement-bureau-placar-chambre.jpeg");
  --img-place-principale: url("https://www.feedelaplace.fr/wp-content/uploads/2024/07/fee-de-la-place-jura-rangement-desencombrement-place-principale.jpeg");
  --img-grande-place: url("https://www.feedelaplace.fr/wp-content/uploads/2024/07/fee-de-la-place-desencombrement-rangement-salon.jpg");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.85; }

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(111, 28, 116, 0.08);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo img {
  height: 52px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--purple-light);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--purple);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Shapes (Elementor) ── */
.shape {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.shape svg { display: block; width: 100%; }

.shape-top { top: 0; transform: rotate(180deg); color: var(--white); }
.shape-bottom { bottom: -1px; color: var(--white); }

.shape-curve.shape-top svg { height: 172px; width: calc(274% + 1.3px); margin-left: -87%; }
.shape-curve.shape-bottom svg { height: 107px; width: calc(195% + 1.3px); margin-left: -48%; }

.shape-tilt.shape-top svg,
.shape-tilt.shape-bottom svg { height: 22px; }

.shape-wave.shape-bottom svg { height: 28px; }

.has-shapes { position: relative; overflow: hidden; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 475px;
  background: url("../assets/images/grande-image-rangement.jpg") center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  padding: 80px 24px 100px 48px;
  border-radius: 9px;
  overflow: hidden;
  color: var(--cream);
}

.hero-tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-hero);
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
  letter-spacing: 2.5px;
  line-height: 1.2;
  text-shadow: 0 0 0 rgba(0,0,0,0.3);
  mix-blend-mode: overlay;
  margin: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--purple);
  line-height: 1.3;
}

h1 { font-size: clamp(22px, 3vw, 30px); text-align: center; }

h2 {
  font-size: clamp(15px, 2vw, 18px);
  text-align: center;
  font-weight: 400;
}

h3 {
  font-size: 17px;
  font-weight: 500;
  text-align: center;
}

.page-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  margin: 40px 0 24px;
}

.section { padding: 32px 0; }

.text-center { text-align: center; }
.text-justify { text-align: justify; }

.star-divider {
  display: flex;
  justify-content: center;
  margin: 16px auto;
  color: var(--purple);
}

.star-divider svg { width: 22px; height: 22px; fill: currentColor; }

/* ── Intro row (home) ── */
.intro-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.intro-row p {
  font-size: 15px;
  line-height: 26px;
  text-align: justify;
  margin: 0;
}

.intro-row img {
  width: 200px;
  border-radius: 39px;
  opacity: 0.86;
  object-fit: cover;
  height: 107px;
}

/* ── Service cards (home) ── */
.services-grid {
  display: grid;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  padding: 24px;
  border-radius: 8px;
  transition: background 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: linear-gradient(267deg, #8f18af 0%, #f149e9 100%);
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:nth-child(2)::before {
  background: linear-gradient(280deg, var(--purple) 0%, #ff2387 100%);
}

.service-card:hover::before { opacity: 0.22; }
.service-card:hover { background: #ffdaf6; }

.service-card > * { position: relative; z-index: 1; }

.service-card p {
  font-size: 15px;
  text-align: justify;
  margin: 8px 0;
}

.quote {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  margin: 48px auto;
  max-width: 600px;
}

/* ── Page banner (inner pages) ── */
.page-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 60%, var(--pink) 100%);
  color: var(--white);
  text-align: center;
  padding: 48px 24px;
}

.page-banner h1 {
  color: var(--white);
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
}

/* ── Pricing cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.pricing-card {
  border: 2px solid rgba(111, 28, 116, 0.15);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(111, 28, 116, 0.15);
}

.pricing-card h3 { margin-top: 0; }

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--orange);
  margin: 16px 0;
}

.pricing-card .note {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
}

/* ── Tarifs overview ── */
.tarif-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.tarif-block {
  background: linear-gradient(135deg, rgba(111,28,116,0.06), rgba(241,73,233,0.06));
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.tarif-block h3 { margin-top: 0; }

.tarif-block .items { font-size: 15px; line-height: 2; }

/* ── Content prose ── */
.prose {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
}

.prose h2 {
  text-align: left;
  font-size: 20px;
  margin-top: 36px;
}

.prose h3 {
  text-align: left;
  font-size: 17px;
  margin-top: 28px;
}

.prose p { margin: 12px 0; }

.prose ul { padding-left: 24px; }

.prose li { margin: 8px 0; }

/* ── Animations ── */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-pulse.pulse-active {
  animation: pulse 2s ease-in-out infinite;
  animation-delay: 0.1s;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateX(-80px);
}

.animate-on-scroll.is-visible {
  animation: slideInLeft 0.8s ease forwards;
}

/* ── Footer ── */
.site-footer {
  background: linear-gradient(300deg, var(--purple) 0%, #ffffff 55%);
  color: var(--purple-dark);
  padding: 32px 0 0;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h2 {
  color: var(--purple);
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li { margin: 8px 0; font-size: 14px; }

.footer-grid a { color: var(--orange); }

.footer-logo {
  text-align: center;
  margin-bottom: 24px;
}

.footer-logo img {
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: var(--white);
  background: var(--purple);
  padding: 16px;
  margin-top: 24px;
}

.footer-bottom strong { font-weight: 600; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--purple-dark);
}

.contact-list .icon {
  color: var(--purple);
  flex-shrink: 0;
  width: 14px;
  margin-top: 3px;
}

.contact-list .icon svg { width: 14px; height: 14px; fill: currentColor; }

.footer-links p { margin: 6px 0; font-size: 15px; }

/* ── Rangement page ── */
.rangement-intro {
  text-align: center;
  font-family: "Gantari", var(--font-body);
  font-size: 16px;
  color: #5a0058;
  padding: 24px 16px 8px;
}

.rangement-intro .label-white {
  color: var(--white);
  background: var(--purple);
  display: inline-block;
  padding: 2px 12px;
  border-radius: 4px;
  margin-top: 8px;
}

.formula-rows { max-width: 1100px; margin: 0 auto; padding: 16px; }

.formula-row {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.formula-pill {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 16px;
  border: 2px solid var(--purple);
  border-radius: 115px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-shadow: 0 0 10px rgba(0,0,0,0.35);
  min-height: 52px;
  line-height: 1.3;
}

.formula-pill:hover { opacity: 0.92; color: var(--white); }

.formula-pill.pill-initiale { background-image: var(--img-place-initiale); }
.formula-pill.pill-principale { background-image: var(--img-place-principale); color: #003964; }
.formula-pill.pill-grande { background-image: var(--img-grande-place); color: #0b6e86; }

.formula-caption {
  font-family: var(--font-hero);
  font-size: 23px;
  font-weight: 600;
  color: var(--purple);
  margin: 0;
}

.formula-caption .accent { color: #993366; }

.formula-hero {
  position: relative;
  min-height: 310px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px 32px 40px;
  margin: 8px 0 0;
}

.formula-hero.bg-initiale { background-image: var(--img-place-initiale); }
.formula-hero.bg-principale { background-image: var(--img-place-principale); }
.formula-hero.bg-grande { background-image: var(--img-grande-place); }

.formula-hero-title {
  font-family: var(--font-script);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  text-align: right;
}

.formula-details {
  padding: 20px 24px;
  font-size: 15px;
  text-align: justify;
  color: var(--purple);
}

.formula-details .price {
  text-align: center;
  font-family: var(--font-heading);
  margin: 20px 0;
}

/* ── Tarifs accordéon ── */
.tarif-accordion { max-width: 900px; margin: 0 auto; }

.tarif-accordion details {
  border: 1px solid rgba(111, 28, 116, 0.2);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.tarif-accordion summary {
  cursor: pointer;
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--purple);
  background: linear-gradient(135deg, rgba(111,28,116,0.08), rgba(241,73,233,0.06));
  list-style: none;
}

.tarif-accordion summary::-webkit-details-marker { display: none; }

.tarif-accordion .panel {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.9;
}

/* ── Scroll top ── */
#scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 99;
  font-size: 22px;
  text-decoration: none;
}

#scroll-top.visible { opacity: 1; pointer-events: auto; }

/* ── Savoir box ── */
.savoir-box {
  text-align: center;
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--purple);
}

.savoir-box .highlight { color: var(--orange); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
  }

  .main-nav li { border-bottom: 1px solid rgba(111,28,116,0.08); }
  .main-nav a { display: block; padding: 14px 0; }

  .hero {
    min-height: 320px;
    padding: 0 24px 60px;
    background-attachment: scroll;
  }

  .intro-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intro-row img { margin: 0 auto; }

  .formula-row { grid-template-columns: 1fr; text-align: center; }
}
