/*
Theme Name: Les Petits Plats de Steph
Theme URI: https://lpps.fr
Author: LPPS
Author URI: https://lpps.fr
Description: Thème personnalisé pour Les Petits Plats de Steph — Box repas sur-mesure. Rose poudré & doré.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lpps
Tags: one-page, custom-logo, food-and-drink, custom-colors
*/

/* ===== RESET & VARS ===== */
:root {
  --rose: #C4978A;
  --rose-light: #D4A99E;
  --rose-pale: #F0DDD8;
  --gold: #C9A84C;
  --gold-light: #DBBE6E;
  --dark: #3D2E2A;
  --text: #4A3833;
  --text-light: #8C7570;
  --bg: #FBF7F5;
  --white: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text); background: var(--bg);
  overflow-x: hidden; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ===== NAV ===== */
.lpps-nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 4%;
  background: rgba(251,247,245,0.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196,151,138,0.12);
}
.lpps-nav-logo { height: 50px; }
.lpps-nav-links { display: flex; gap: 28px; align-items: center; }
.lpps-nav-links a { font-size: 0.88rem; font-weight: 600; color: var(--text-light); transition: color 0.3s; }
.lpps-nav-links a:hover { color: var(--rose); }
.lpps-nav-cta {
  background: var(--rose); color: #fff !important;
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
}
.lpps-nav-cta:hover { background: var(--rose-light); }
.lpps-burger { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--dark); }
.lpps-mobile-menu { display: none; }

/* ===== BUTTONS ===== */
.btn-p {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rose); color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(196,151,138,0.3);
  font-family: 'Nunito', sans-serif;
}
.btn-p:hover { background: var(--rose-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(196,151,138,0.4); color: #fff; }
.btn-s {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--text);
  padding: 14px 24px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 2px solid rgba(196,151,138,0.25);
  transition: all 0.3s;
}
.btn-s:hover { border-color: var(--rose); color: var(--rose); }

/* ===== HERO ===== */
.lpps-hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 4% 60px; position: relative; overflow: hidden;
}
.lpps-hero::before { content:''; position:absolute; top:-20%; right:-10%; width:65%; height:140%; background:radial-gradient(ellipse,rgba(240,221,216,0.5) 0%,transparent 65%); pointer-events:none; }
.lpps-hero-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 50px; width: 100%; }
.lpps-hero-txt { flex: 1; z-index: 2; }
.lpps-badge { display: inline-block; background: rgba(196,151,138,0.1); padding: 8px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; color: var(--rose); margin-bottom: 20px; }
.lpps-hero-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; line-height: 1.1; font-weight: 700; color: var(--dark); margin-bottom: 18px; }
.lpps-hero-title em { font-style: italic; color: var(--rose); }
.lpps-hero-desc { font-size: 1.05rem; line-height: 1.75; color: var(--text-light); max-width: 440px; margin-bottom: 28px; }
.lpps-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.lpps-hero-vis { flex: 1; display: flex; justify-content: center; position: relative; }
.lpps-plate { width: 380px; height: 380px; border-radius: 50%; background: linear-gradient(145deg, var(--rose-pale), #f8ece8); box-shadow: 0 40px 80px rgba(196,151,138,0.15), inset 0 -4px 12px rgba(196,151,138,0.08); display: flex; justify-content: center; align-items: center; }
.lpps-plate-items { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; width: 220px; animation: lpFloat 6s ease-in-out infinite; }
.lpps-plate-items span { font-size: 2.8rem; transition: transform 0.3s; cursor: default; }
.lpps-plate-items span:hover { transform: scale(1.3) rotate(10deg); }
.lpps-ftag { position: absolute; background: #fff; padding: 8px 14px; border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,0.07); font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 6px; animation: lpFTag 5s ease-in-out infinite; }
.lpps-ft1 { top: 8%; right: 2%; }
.lpps-ft2 { bottom: 14%; left: 2%; animation-delay: 1.5s; }
.lpps-ft3 { top: 52%; right: -4%; animation-delay: 3s; }
.lpps-ti { width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.lpps-ti-p { background: rgba(196,151,138,0.12); }
.lpps-ti-g { background: rgba(201,168,76,0.12); }

/* ===== STATS ===== */
.lpps-stats { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; padding: 36px 4%; border-top: 1px solid rgba(196,151,138,0.1); border-bottom: 1px solid rgba(196,151,138,0.1); }
.lpps-stat { text-align: center; }
.lpps-sn { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--rose); }
.lpps-sl { font-size: 0.82rem; color: var(--text-light); font-weight: 600; }

/* ===== SECTIONS ===== */
.lpps-sec { padding: 80px 4%; }
.lpps-sec-inner { max-width: 1200px; margin: 0 auto; }
.lpps-tag { font-size: 0.78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 10px; }
.lpps-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--dark); line-height: 1.15; margin-bottom: 12px; }
.lpps-sub { font-size: 1rem; color: var(--text-light); line-height: 1.75; max-width: 580px; }
.lpps-divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--rose), var(--gold)); border-radius: 10px; margin: 0 auto 16px; }
.text-center { text-align: center; }
.text-center .lpps-sub { margin: 8px auto 0; }

/* ===== HISTOIRE ===== */
.lpps-story { display: flex; gap: 50px; align-items: center; }
.lpps-story-img-wrap { flex: 1; position: relative; }
.lpps-story-img { width: 100%; aspect-ratio: 4/5; border-radius: 24px; background: linear-gradient(135deg, var(--rose-pale), #f5e6e0); display: flex; align-items: center; justify-content: center; font-size: 7rem; box-shadow: 0 24px 50px rgba(196,151,138,0.12); overflow: hidden; }
.lpps-story-img img { width: 100%; height: 100%; object-fit: cover; }
.lpps-story-accent { position: absolute; bottom: -14px; right: -14px; width: 115px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff; text-align: center; box-shadow: 0 12px 28px rgba(201,168,76,0.3); }
.lpps-story-accent-icon { font-size: 1.8rem; }
.lpps-story-accent-text { font-size: 0.7rem; font-weight: 700; opacity: 0.9; }
.lpps-story-content { flex: 1; }
.lpps-story-t { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--dark); line-height: 1.15; margin-bottom: 18px; }
.lpps-story-t em { font-style: italic; color: var(--rose); }
.lpps-story-p { font-size: 0.95rem; line-height: 1.85; color: var(--text-light); margin-bottom: 10px; }
.lpps-sig { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.lpps-sig-av { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--rose-pale), var(--rose)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: #fff; overflow: hidden; }
.lpps-sig-av img { width: 100%; height: 100%; object-fit: cover; }
.lpps-sig-name { font-family: 'Playfair Display', serif; font-weight: 700; }
.lpps-sig-role { font-size: 0.8rem; color: var(--text-light); }
.lpps-vals { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.lpps-val { background: rgba(196,151,138,0.08); color: var(--rose); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }

/* ===== CAROUSEL ===== */
.lpps-car-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4% 20px; cursor: grab; }
.lpps-car-track::-webkit-scrollbar { display: none; }
.lpps-car-card { flex: 0 0 300px; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 6px 22px rgba(196,151,138,0.08); transition: all 0.4s; }
.lpps-car-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(196,151,138,0.14); }
.lpps-car-img { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; overflow: hidden; }
.lpps-car-img img { width: 100%; height: 100%; object-fit: cover; }
.lpps-car-img img { width: 100%; height: 100%; object-fit: cover; }
.ci1{background:linear-gradient(135deg,#f5e6e0,#edd5cc)}.ci2{background:linear-gradient(135deg,#f5edd4,#ede0b8)}.ci3{background:linear-gradient(135deg,#e8f0db,#d8e8c8)}.ci4{background:linear-gradient(135deg,#e0eaf5,#c8d8ec)}.ci5{background:linear-gradient(135deg,#fde8e0,#f8d0c0)}.ci6{background:linear-gradient(135deg,#f0e6f5,#e0d0ec)}.ci7{background:linear-gradient(135deg,#dff0e8,#c0e4d0)}.ci8{background:linear-gradient(135deg,#f5e0d8,#ecc8be)}
.lpps-car-cap { padding: 14px 18px; }
.lpps-car-cap strong { color: var(--dark); font-size: 0.92rem; }
.lpps-car-cap small { color: var(--text-light); }
.lpps-car-nav { text-align: center; margin-top: 10px; }
.lpps-car-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(196,151,138,0.2); background: #fff; color: var(--rose); font-size: 1.1rem; cursor: pointer; margin: 0 4px; transition: all 0.3s; }
.lpps-car-btn:hover { border-color: var(--rose); }

/* ===== HOW ===== */
.lpps-how { background: var(--dark); border-radius: 32px; margin: 0 2%; padding: 80px 4%; }
.lpps-how .lpps-tag { color: var(--gold-light); }
.lpps-how .lpps-title { color: #fff; }
.lpps-how .lpps-sub { color: rgba(255,255,255,0.5); }
.lpps-steps { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; max-width: 1100px; margin: 0 auto; }
.lpps-step { flex: 1; min-width: 220px; max-width: 260px; text-align: center; padding: 20px; color: rgba(255,255,255,0.8); }
.lpps-step-n { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.05); }
.lpps-step-i { width: 56px; height: 56px; background: rgba(196,151,138,0.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 12px; }
.lpps-step h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.lpps-step p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* ===== CARDS ===== */
.lpps-cards { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.lpps-card { flex: 1; min-width: 260px; max-width: 340px; background: #fff; border-radius: 20px; padding: 32px 24px; text-align: center; border: 2px solid transparent; transition: all 0.4s; }
.lpps-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(196,151,138,0.1); border-color: var(--rose-pale); }
.lpps-card-icon { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(196,151,138,0.1), rgba(240,221,216,0.3)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 auto 14px; }
.lpps-card h4 { font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.lpps-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ===== QUIZ ===== */
.lpps-quiz { max-width: 740px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 36px; box-shadow: 0 20px 56px rgba(196,151,138,0.08); position: relative; overflow: hidden; }
.lpps-quiz::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; background:linear-gradient(90deg,var(--rose),var(--rose-light),var(--gold)); }
.lpps-qprog { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.lpps-qbar { flex: 1; height: 6px; background: rgba(196,151,138,0.1); border-radius: 10px; overflow: hidden; }
.lpps-qfill { height: 100%; background: linear-gradient(90deg, var(--rose), var(--gold)); border-radius: 10px; transition: width 0.5s; }
.lpps-qnum { font-size: 0.78rem; font-weight: 700; color: var(--rose); white-space: nowrap; }
.lpps-qstep { display: none; }
.lpps-qstep.active { display: block; animation: lpFUp 0.4s ease; }
.lpps-qq { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.lpps-qh { font-size: 0.88rem; color: var(--text-light); margin-bottom: 18px; }
.lpps-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.lpps-opt { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 2px solid rgba(196,151,138,0.12); border-radius: 12px; cursor: pointer; transition: all 0.25s; user-select: none; background: #fff; flex: 1; min-width: calc(50% - 8px); }
.lpps-opt:hover { border-color: var(--rose-pale); background: rgba(240,221,216,0.06); }
.lpps-opt.sel { border-color: var(--rose); background: rgba(196,151,138,0.06); }
.lpps-opt.sel .lpps-ock { background: var(--rose); border-color: var(--rose); color: #fff; }
.lpps-opt3 .lpps-opt { min-width: calc(33.33% - 8px); }
.lpps-oem { font-size: 1.2rem; flex-shrink: 0; }
.lpps-olb { font-weight: 700; font-size: 0.84rem; color: var(--dark); flex: 1; }
.lpps-ock { width: 20px; height: 20px; border: 2px solid rgba(196,151,138,0.2); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; transition: all 0.25s; flex-shrink: 0; color: transparent; }
.lpps-slbl { font-weight: 700; font-size: 0.88rem; color: var(--dark); display: block; margin: 16px 0 8px; }
.lpps-inp { width: 100%; padding: 10px 14px; border: 2px solid rgba(196,151,138,0.12); border-radius: 12px; font-family: 'Nunito', sans-serif; font-size: 0.9rem; color: var(--text); background: var(--bg); transition: border-color 0.3s; }
.lpps-inp:focus { outline: none; border-color: var(--rose); }
.lpps-inprow { display: flex; gap: 8px; margin-bottom: 8px; }
.lpps-inprow .lpps-inp { flex: 1; }
.lpps-fbox { background: var(--bg); border: 2px solid rgba(196,151,138,0.12); border-radius: 16px; padding: 20px; text-align: center; }
.lpps-fval { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--rose); }
.lpps-slider { width: 100%; -webkit-appearance: none; height: 8px; border-radius: 10px; background: linear-gradient(90deg, var(--rose-pale), var(--rose)); outline: none; margin: 10px 0 6px; }
.lpps-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--rose); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.lpps-bval { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--rose); }
.lpps-qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(196,151,138,0.08); }
.lpps-qback { background: none; border: none; color: var(--text-light); font-weight: 600; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: 0.88rem; }
.lpps-qback:hover { color: var(--rose); }
.lpps-qres { text-align: center; display: none; }
.lpps-qres.on { display: block; animation: lpFUp 0.5s ease; }
.lpps-res-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--rose-pale), var(--rose)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 16px; }
.lpps-res-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 14px 0 20px; }
.lpps-res-tag { background: rgba(196,151,138,0.08); color: var(--rose); padding: 5px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; }
.lpps-dbox { background: var(--bg); border: 2px solid rgba(201,168,76,0.2); border-radius: 16px; padding: 20px; max-width: 400px; margin: 0 auto; }
.lpps-dbox h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold); }

/* ===== TESTIMONIALS ===== */
.lpps-testi { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.lpps-tcard { flex: 1; min-width: 260px; max-width: 360px; background: #fff; padding: 28px; border-radius: 18px; }
.lpps-stars { color: var(--gold); font-size: 0.88rem; margin-bottom: 10px; }
.lpps-tcard p { font-size: 0.92rem; line-height: 1.75; font-style: italic; margin-bottom: 12px; }
.lpps-ta { display: flex; align-items: center; gap: 10px; }
.lpps-tav { width: 38px; height: 38px; border-radius: 50%; background: var(--rose-pale); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--rose); }

/* ===== CTA ===== */
.lpps-cta { text-align: center; padding: 70px 4%; position: relative; }

/* ===== FOOTER ===== */
.lpps-footer { padding: 50px 4%; border-top: 1px solid rgba(196,151,138,0.1); }
.lpps-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; }
.lpps-footer-brand { flex: 2; min-width: 260px; }
.lpps-footer-brand img { height: 48px; margin-bottom: 12px; }
.lpps-footer-desc { font-size: 0.82rem; color: var(--text-light); line-height: 1.75; max-width: 280px; }
.lpps-footer-col { flex: 1; min-width: 140px; }
.lpps-footer-col h5 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; color: var(--dark); }
.lpps-footer-col a { display: block; font-size: 0.82rem; color: var(--text-light); margin-bottom: 8px; transition: color 0.3s; }
.lpps-footer-col a:hover { color: var(--rose); }
.lpps-footer-bottom { text-align: center; padding: 20px 4%; font-size: 0.78rem; color: var(--text-light); border-top: 1px solid rgba(196,151,138,0.08); }

/* ===== ANIMATIONS ===== */
@keyframes lpFloat { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-10px) rotate(2deg)} }
@keyframes lpFTag { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes lpFUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.lpps-reveal { opacity:0; transform:translateY(30px); transition:all 0.7s ease; }
.lpps-reveal.visible { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:992px) {
  .lpps-nav-links { display: none; }
  .lpps-burger { display: block; }
  .lpps-mobile-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 20px; gap: 14px; border-bottom: 1px solid rgba(196,151,138,0.1); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
  .lpps-mobile-menu.open a { font-weight: 600; color: var(--text); font-size: 0.95rem; }
  .lpps-hero-inner, .lpps-story { flex-direction: column; text-align: center; }
  .lpps-hero-title { font-size: 2.5rem; }
  .lpps-plate { width: 280px; height: 280px; }
  .lpps-hero-desc { margin: 0 auto 24px; }
  .lpps-hero-btns { justify-content: center; }
  .lpps-story-content .lpps-tag { text-align: center; }
  .lpps-sig { justify-content: center; }
  .lpps-vals { justify-content: center; }
  .lpps-title { font-size: 2rem; }
  .lpps-car-card { flex: 0 0 270px; }
}
@media(max-width:600px) {
  .lpps-hero-title { font-size: 2rem; }
  .lpps-ftag { display: none; }
  .lpps-opt, .lpps-opt3 .lpps-opt { min-width: 100% !important; }
  .lpps-inprow { flex-direction: column; }
  .lpps-quiz { padding: 24px 18px; }
}
