/*
Theme Name: Prestigemoon
Theme URI: https://example.com/prestigemoon
Author: Prestigemoon
Author URI: https://example.com
Description: Thème WordPress premium (effet glow) complet : promo en haut, menu sticky en dessous, sections Hero, Services, Avant/Après, Témoignages, Galerie, Contact, Footer + WhatsApp.
Version: 3.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prestigemoon
Tags: beauty, institut de beauté, salon, responsive, clean, seo, glow
*/

/* ================== Design Tokens ================== */
:root {
  --pm-font-body: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --pm-font-title: 'Playfair Display', serif;
  --pm-accent: #92623f;
  --pm-accent-dark: #7a5033;
  --pm-dark: #2a2520;
  --pm-text: #3d3d3d;
  --pm-muted: #7a7a7a;
  --pm-soft: #faf7f4;
  --pm-bg: #fff;
  --pm-cream: #f7f2ee;
  --pm-radius: 1rem;
  --pm-shadow: 0 10px 30px rgba(0,0,0,.08);
  --pm-shadow-strong: 0 14px 40px rgba(146,98,63,.25);
  --pm-max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; border-radius: var(--pm-radius); }
a { text-decoration: none; color: inherit; }
body { font-family: var(--pm-font-body); color: var(--pm-text); background: var(--pm-bg); line-height: 1.7; }

/* Global titles & nav use Playfair */
h1, h2, h3, .brand, .main-nav a {
  font-family: var(--pm-font-title);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ===== Promo (static on top) ===== */
.promo{
  text-transform:uppercase;background:linear-gradient(90deg,var(--pm-accent),#b07d56);
  color:#fff;text-align:center;padding:.6rem 1rem;font-weight:600
}
.promo .cta{display:inline-block;margin-left:.75rem;background:#fff;color:var(--pm-accent);
  padding:.35rem .8rem;border-radius:100px;font-weight:700;font-size:11px;}
.promo .cta:hover{background:#ffeede}

/* ===== Header (sticky under promo) ===== */
.site-header{
  position:sticky; top:0; z-index:999;
  background:#fff;border-bottom:1px solid #eee;
  transition:box-shadow .25s ease
}
.site-header.is-pinned{box-shadow:0 2px 8px rgba(0,0,0,.08)}
.navbar{
  max-width:var(--pm-max);margin:0 auto;padding:1rem 5%;
  display:flex;align-items:center;justify-content:space-between;
  position:relative;
}
.brand{font-family:var(--pm-font-title);font-weight:700;font-size:1.5rem;color:var(--pm-accent);display:flex;gap:.5rem;align-items:center}

/* Menu base */
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.2rem}
.main-nav li{list-style:none}
.main-nav a{font-family:var(--pm-font-title);letter-spacing:.04em;text-transform:uppercase;
  font-weight:600;color:var(--pm-dark);padding:.5rem .7rem;border-radius:.6rem}
.main-nav a:hover{color:#fff;background:var(--pm-accent);box-shadow:var(--pm-shadow-strong)}

/* Burger */
.burger{display:none;border:1px solid #eee;background:#fff;padding:.5rem .7rem;border-radius:.5rem;color:var(--pm-accent)}

/* Mobile dropdown (under header) */
@media(max-width:940px){
  .burger{display:block}
  .main-nav{display:none}
  .main-nav.open{
    display:block;
    position:absolute; top:100%; margin-top:10px;left:5%; right:5%;
    background:#fff;border:1px solid #eee;border-radius:.8rem;
    padding:1rem; box-shadow:var(--pm-shadow-strong); z-index:1000;
  }
  .main-nav ul{flex-direction:column}
}

/* ===== Hero ===== */
.hero{padding:4rem 5%;background:
  radial-gradient(800px 400px at 80% -10%, rgba(146,98,63,.12), transparent 60%),
  radial-gradient(500px 300px at 10% 10%, rgba(146,98,63,.09), transparent 60%),
  linear-gradient(120deg,var(--pm-soft),#fff)}
.hero-inner{max-width:var(--pm-max);margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;align-items:center}
h1{font-family:var(--pm-font-title);font-size:clamp(2rem,3.5vw,3.2rem);color:var(--pm-dark);margin-bottom:1rem}
.lead{color:var(--pm-muted);font-size:1.1rem;max-width:60ch}
.cta-row{margin-top:1.5rem;display:flex;gap:1rem;flex-wrap:wrap}

/* ===== Buttons (glow) ===== */
.btn { padding: .95rem 1.35rem; border-radius: 999px; font-weight: 700; box-shadow: var(--pm-shadow); transition: .25s ease; }
.btn-primary { 
  background: linear-gradient(90deg, var(--pm-accent), #b07d56); color: #fff; 
  box-shadow: 0 10px 25px rgba(146,98,63,.35);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 36px rgba(146,98,63,.45); }
.btn-outline { border: 2px solid var(--pm-accent); color: var(--pm-accent); background: #fff; }
.btn-outline:hover { background: #fff3ea; box-shadow: 0 8px 20px rgba(146,98,63,.22); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--pm-accent) 45%, white); outline-offset: 2px; }

/* ===== Sections & Divider ===== */
section { padding: 4rem 5%; }
section h2 { text-align: center; color: var(--pm-dark); font-size: 2rem; margin-bottom: 2rem; }
.divider svg { display: block; width: 100%; height: 80px; }

/* ===== Cards (premium) ===== */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.6rem; }
.card { 
  background: #fff; border: 1px solid rgba(146,98,63,.18); border-radius: var(--pm-radius); 
  padding: 1.6rem; box-shadow: var(--pm-shadow); text-align: center; transition: .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--pm-shadow-strong); }
.card .card-ico { font-size: 1.8rem; color: var(--pm-accent); margin-bottom: .8rem; display: inline-block; }

/* ===== Before / After ===== */
.ba-wrap { position: relative; max-width: 100%; aspect-ratio: 16/9; border-radius: var(--pm-radius); overflow: hidden; box-shadow: var(--pm-shadow); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; inset: 0; width: 100%; background: transparent; cursor: col-resize; appearance: none; }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.06) inset; }
.ba-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--pm-accent); display: grid; place-items: center; font-weight: 900; box-shadow: var(--pm-shadow-strong); }
.ba-label { position: absolute; top: 12px; padding: .35rem .6rem; border-radius: .5rem; background: rgba(0,0,0,.45); color: #fff; font-weight: 700; font-size: .85rem; }
.ba-label.left { left: 12px; }
.ba-label.right { right: 12px; }

/* ===== Testimonials ===== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.6rem; }
.testi { background: #fff; border: 1px solid rgba(146,98,63,.18); border-radius: var(--pm-radius); padding: 1.5rem; box-shadow: var(--pm-shadow); position: relative; }
.testi:before { content: "“"; font-family: var(--pm-font-title); color: #e8ddd6; font-size: 4rem; position: absolute; top: .2rem; left: .8rem; line-height: 1; }
.testi .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pm-accent); }
.testi .head { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.stars { color: #f5a524; margin: .3rem 0; }

.testi-cta {
  text-align: center;
  margin-top: 2rem;
}

.google-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid rgba(146,98,63,.18);
  border-radius: 100px;
  padding: .7rem 1.2rem;
  font-weight: 600;
  color: var(--pm-dark);
  text-decoration: none;
  box-shadow: var(--pm-shadow);
  transition: all .2s ease;
}

.google-btn i {
  font-size: 1.2rem;
  color: #4285F4; /* bleu Google */
}

.google-btn:hover {
  background: var(--pm-accent);
  color: #fff;
  border-color: var(--pm-accent);
}

.google-btn:hover i {
  color: #fff;
}

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--pm-radius); }
.gallery-item img { transition: transform .6s ease; }
.gallery-item .overlay { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: radial-gradient(closest-side, rgba(0,0,0,.25), rgba(0,0,0,.45)); color: #fff; transition: opacity .25s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .overlay { opacity: 1; }

/* ===== Contact & Footer ===== */
.contact { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
.box { background: #fff; border: 1px solid rgba(146,98,63,.18); border-radius: var(--pm-radius); padding: 1.6rem; box-shadow: var(--pm-shadow); }
.site-footer { background: #fafafa; border-top: 1px solid #eee; text-align: center; padding: 2rem 5%; color: var(--pm-muted); }
.site-footer .social a { margin: 0 .5rem; font-size: 1.3rem; color: var(--pm-accent); }

/* ===== WhatsApp ===== */
.whatsapp { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; color: #fff; font-size: 1.4rem; box-shadow: var(--pm-shadow-strong); }

/* ===== Responsive ===== */
@media (max-width: 920px){
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .contact { grid-template-columns: 1fr; }
}

/* ===== Prefers Reduced Motion ===== */
@media (prefers-reduced-motion: reduce){
  * { transition: none !important; animation: none !important; }
}
/* Services icons */
.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.6rem}
.card{background:#fff;border:1px solid rgba(146,98,63,.18);border-radius:var(--pm-radius);padding:1.6rem;box-shadow:var(--pm-shadow);text-align:center;transition:.25s ease}
.card:hover{transform:translateY(-6px);box-shadow:var(--pm-shadow-strong)}
.card-ico{font-size:2.2rem;color:var(--pm-accent);margin-bottom:.8rem;display:inline-block;text-shadow:0 6px 18px rgba(146,98,63,.25)}

/* Testimonials stars */
.testi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.6rem}
.testi{background:#fff;border:1px solid rgba(146,98,63,.18);border-radius:var(--pm-radius);padding:1.5rem;box-shadow:var(--pm-shadow);position:relative}
.stars{color:#f5a524;margin:.3rem 0}
.stars .fa-star{margin-right:2px}

/* WhatsApp floating */
.whatsapp{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:50%;background:#25d366;display:grid;place-items:center;color:#fff;font-size:1.4rem;box-shadow:var(--pm-shadow-strong);transition:transform .25s, box-shadow .25s}
.whatsapp i{animation:pulse 2s infinite}
.whatsapp:hover{box-shadow:0 0 20px rgba(37,211,102,.6), var(--pm-shadow-strong);transform:scale(1.1)}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}

/* Contact premium */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;align-items:stretch}
.contact-infos{display:flex;flex-direction:column;gap:1rem}
.contact-card{display:flex;align-items:center;gap:1rem;background:#faf7f4;padding:1.2rem;border-radius:var(--pm-radius);box-shadow:var(--pm-shadow);transition:transform .3s,box-shadow .3s}
.contact-card:hover{transform:translateY(-4px);box-shadow:var(--pm-shadow-strong)}
.contact-card .icon{width:48px;height:48px;border-radius:50%;background: linear-gradient(90deg, var(--pm-accent), #b07d56);;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.contact-map{border-radius:var(--pm-radius);overflow:hidden;box-shadow:var(--pm-shadow-strong);min-height:260px}
.contact-map iframe{width:100%;height:100%;display:block;border:0}

@media(max-width:920px){
  .contact{grid-template-columns:1fr}
}

/* ===== Articles (front-page) ===== */

.articles{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.6rem;
}

.article-card{
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.article-card .thumb img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  border-radius:0px;
}

.article-card .content{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:1.2rem 1.2rem 1.3rem;
}

.article-card .meta{
  display:block;
  color:var(--pm-muted);
  font-size:.9rem;
  margin-bottom:.35rem;
}

.article-card .entry-title{
  font-size:1.1rem;
  margin:.2rem 0 .6rem;
}

.article-card .entry-title a{
  color:var(--pm-dark);
}

.article-card p{
  color:var(--pm-text);
  margin-bottom:1rem;
  flex-grow:1;
}

.article-card .btn{
  align-self:center;
  margin-top:auto;
}


/* ===== Single Article ===== */
.single-article {
  padding: 4rem 5%;
  background: var(--pm-soft);
}

.single-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--pm-radius);
  padding: 2rem;
  box-shadow: var(--pm-shadow);
}

.single-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--pm-radius);
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.single-title {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: var(--pm-dark);
}

.single-meta {
  font-size: .9rem;
  color: var(--pm-muted);
  margin-bottom: 2rem;
}

.single-content {
  line-height: 1.8;
  color: var(--pm-text);
}

.single-taxo {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: .9rem;
}

.single-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.single-nav a {
  color: var(--pm-accent);
  font-weight: 600;
  text-align: center;
  flex: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .single-card {
    padding: 1.2rem;
  }

  .single-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .single-meta {
    font-size: .8rem;
    margin-bottom: 1.2rem;
  }

  .single-content {
    font-size: .95rem;
    line-height: 1.7;
  }

  .single-nav {
    flex-direction: column;
    gap: .8rem;
  }

  .single-nav a {
    display: block;
    padding: .7rem 1rem;
    border: 1px solid var(--pm-accent);
    border-radius: var(--pm-radius);
    background: #fff;
  }

  .single-nav a:hover {
    background: var(--pm-accent);
    color: #fff;
  }
}

@media (max-width: 480px) {
  .single-title {
    font-size: 1.4rem;
  }

  .single-card {
    padding: 1rem;
  }
}


/* ===== Comments ===== */
.comments-area { max-width:800px; margin:2.5rem auto 0; background:#fff; border-radius:var(--pm-radius); box-shadow:var(--pm-shadow); padding:2rem; }
.comments-title { font-family:var(--pm-font-title); font-size:1.3rem; margin-bottom:1.5rem; text-align:center; color:var(--pm-dark); }
.comment-list{ list-style:none; margin:0; padding:0; }
.comment{ margin-bottom:1.8rem; border-bottom:1px solid #eee; padding-bottom:1.2rem; }
.comment:last-child{ border-bottom:none; }
.comment-meta{ display:flex; align-items:center; gap:.8rem; margin-bottom:.5rem; }
.comment-meta .avatar{ width:48px; height:48px; border-radius:50%; border:2px solid var(--pm-accent); }
.comment-author{ font-weight:600; color:var(--pm-dark); }
.comment-metadata{ font-size:.85rem; color:var(--pm-muted); }
.comment-content{ margin-top:.5rem; font-size:.95rem; line-height:1.6; color:var(--pm-text); }
.no-comments{ text-align:center; font-size:1rem; color:var(--pm-muted); padding:1.5rem; border:1px dashed #ddd; border-radius:var(--pm-radius); margin-top:1rem; background:var(--pm-soft); }
.comment-respond{ margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid #eee; }
.comment-respond h3{ font-family:var(--pm-font-title); font-size:1.2rem; margin-bottom:1.2rem; color:var(--pm-dark); }
.comment-form{ display:grid; gap:1.2rem; }
.comment-form label{ font-weight:600; font-size:.9rem; margin-bottom:.35rem; color:var(--pm-dark); }
.comment-form input, .comment-form textarea{ width:100%; padding:.75rem 1rem; border:1px solid #ddd; border-radius:.6rem; font-size:.95rem; transition:border-color .2s ease; }
.comment-form input:focus, .comment-form textarea:focus{ border-color:var(--pm-accent); outline:none; }
.comment-form textarea{ min-height:120px; resize:vertical; }
.comment-form .form-submit{ text-align:right; }
.comment-form .submit{ padding:.85rem 1.4rem; background:linear-gradient(90deg,var(--pm-accent),#b07d56); border:none; border-radius:999px; color:#fff; font-weight:700; cursor:pointer; box-shadow:var(--pm-shadow); transition:.2s; }
.comment-form .submit:hover{ transform:translateY(-2px); box-shadow:var(--pm-shadow-strong); }

/* ===== Comment List Premium Style ===== */
.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-body {
  padding: 1.2rem 0;
  border-bottom: 1px solid #eee;
}

.comment-body:last-child {
  border-bottom: none;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .4rem;
}

.comment-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--pm-accent);
  box-shadow: var(--pm-shadow);
}

.comment-author .fn {
  font-weight: 600;
  color: var(--pm-dark);
  font-size: 1rem;
}

.comment-author .url {
  color: var(--pm-accent);
  text-decoration: none;
}

.comment-author .says {
  font-weight: 400;
  color: var(--pm-muted);
  font-size: .85rem;
}

.comment-meta {
  font-size: .8rem;
  color: var(--pm-muted);
  margin-bottom: .6rem;
}

.comment-meta a {
  color: var(--pm-muted);
}

.comment-content {
  font-size: .95rem;
  color: var(--pm-text);
  line-height: 1.6;
  margin-bottom: .8rem;
}

.reply a {
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: #fff3ea;
  color: var(--pm-accent);
  box-shadow: var(--pm-shadow);
  transition: all .2s ease;
}

.reply a:hover {
  background: var(--pm-accent);
  color: #fff;
  box-shadow: var(--pm-shadow-strong);
}

/* Indentation des réponses */
.commentlist .children {
  list-style: none;
  margin: 1.2rem 0 0 2rem;
  padding: 0;
  border-left: 2px solid rgba(146,98,63,.2);
}

.commentlist .children .comment-body {
  background: var(--pm-soft);
  padding: 1rem;
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
}

