/* ============================================================
   BELLISSIME CLINIQUE — Feuille de style partagée
   Réutilise la charte de la page d'accueil (V1) :
   beige sable/ivoire + vert sauge + noir/blanc
   Utilisée par : nos-expertises.html, nos-tarifs.html, contact.html
   ============================================================ */

/* ===================== VARIABLES & RESET ===================== */
:root {
  --ivory:       #FAF7F1;
  --sand:        #EDE5D8;
  --sand-deep:   #E3D9C7;
  --sage:        #8C9A82;
  --sage-deep:   #6F7D66;
  --sage-light:  #B8C2AC;
  --ink:         #1A1A1A;
  --ink-soft:    #2E2E2E;
  --white:       #FFFFFF;
  --text:        #2A2A2A;
  --muted:       #6E6A63;
  --line:        #E0D8CA;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 90%; max-width: var(--container); margin: 0 auto; }

/* décalage d'ancre pour ne pas passer sous la navbar fixe */
section[id], header[id] { scroll-margin-top: 90px; }

.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--sage-deep); font-weight: 500;
  margin-bottom: 1.2rem; display: inline-block;
}
.section-title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 1.4rem; }
.section-intro { max-width: 640px; color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }
.section-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 3.5rem; }

section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

/* ===================== BOUTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1.05rem 2.2rem; border-radius: var(--radius); cursor: pointer;
  border: 1px solid transparent; transition: all 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.btn i { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(111,125,102,0.28); }
.btn-sage { background: var(--sage); color: var(--white); }
.btn-sage:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(111,125,102,0.3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.4rem 0; transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(250,247,241,0.92); backdrop-filter: blur(12px);
  padding: 0.85rem 0; box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 54px; width: 176px; object-fit: cover; object-position: center; display: block; border-radius: var(--radius); }
.navbar.scrolled .logo-img { height: 46px; width: 150px; transition: all 0.4s var(--ease); }

.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a.nav-link {
  font-size: 0.86rem; letter-spacing: 0.06em; font-weight: 400; color: var(--ink);
  position: relative; padding-bottom: 3px;
}
.nav-links a.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--sage-deep); transition: width 0.3s var(--ease);
}
.nav-links a.nav-link:hover::after,
.nav-links a.nav-link.active::after { width: 100%; }
.nav-cta { padding: 0.8rem 1.6rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }
.nav-toggle i { width: 26px; height: 26px; }

/* Pages internes : nav lisible (texte blanc) au-dessus du hero sombre */
.inner-page .navbar:not(.scrolled) .nav-links a.nav-link { color: #fff; }
.inner-page .navbar:not(.scrolled) .nav-toggle { color: #fff; }

/* ===================== PLACEHOLDER IMAGE ===================== */
.img-placeholder {
  background: var(--sand-deep); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; color: var(--sage-deep);
}
.img-placeholder.sage { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%); }
.placeholder-label {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400;
  text-align: center; padding: 1rem;
}
.placeholder-label i { width: 30px; height: 30px; stroke-width: 1.2; opacity: 0.7; }
.img-placeholder.sage .placeholder-label { color: rgba(255,255,255,0.6); }

/* ===================== PAGE HERO (sous-bannière) ===================== */
.page-hero {
  position: relative; min-height: 58vh; display: flex; align-items: flex-end;
  padding: 10rem 0 4rem; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #3a4035; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,18,0.55) 0%, rgba(20,22,18,0.4) 45%, rgba(20,22,18,0.78) 100%); }
.page-hero-content { position: relative; z-index: 3; color: var(--white); max-width: 760px; }
.page-hero .eyebrow { color: var(--sage-light); }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 1rem; }
.page-hero .ph-sub { color: rgba(255,255,255,0.92); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 600px; }

.breadcrumb { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1.4rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.breadcrumb a { transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--sage-light); }

/* ===================== INTRO BAND ===================== */
.intro-band { background: var(--ivory); }
.intro-band .section-head { margin-bottom: 0; }

/* ===================== EXPERTISES (détail zig-zag) ===================== */
.expertises-detail { background: var(--ivory); }
.expertise-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.expertise-row:last-child { margin-bottom: 0; }
.expertise-row.reverse .expertise-media { order: 2; }

.expertise-media { position: relative; }
.expertise-img { width: 100%; height: 480px; object-fit: cover; border-radius: 10px; box-shadow: 0 24px 50px -28px rgba(26,26,26,0.4); }
.expertise-media .img-placeholder { height: 480px; border-radius: 10px; }
.expertise-media .num-badge {
  position: absolute; top: -20px; left: -20px; width: 70px; height: 70px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.7rem; box-shadow: 0 12px 28px rgba(26,26,26,0.3); z-index: 2;
}
.expertise-body .eyebrow { margin-bottom: 0.8rem; }
.expertise-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.expertise-body > p { color: var(--text); margin-bottom: 1.2rem; max-width: 54ch; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem; background: var(--sand);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.5rem 1rem;
  font-size: 0.82rem; color: var(--ink-soft);
}
.chip i { width: 15px; height: 15px; color: var(--sage-deep); }
.benefit-list { margin: 1.4rem 0; }
.benefit-list li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.4rem 0; font-size: 0.96rem; color: var(--text); }
.benefit-list li i { width: 18px; height: 18px; color: var(--sage-deep); flex-shrink: 0; margin-top: 5px; }
.expertise-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ===================== TARIFS ===================== */
.pricing { background: var(--ivory); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1.8rem; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 2.4rem; display: flex; flex-direction: column; transition: all 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(111,125,102,0.13); border-color: var(--sage-light); }
.price-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.price-card-head .pc-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--sand); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.price-card-head .pc-icon i { width: 24px; height: 24px; stroke-width: 1.4; }
.price-card-head h3 { font-size: 1.55rem; line-height: 1; }
.price-card-head .pc-sub { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.price-row { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(224,216,202,0.55); }
.price-row:last-of-type { border-bottom: none; }
.pr-label { font-size: 0.96rem; color: var(--text); }
.pr-price { margin-left: auto; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.price-note {
  margin-top: 1.4rem; background: var(--sand); border-left: 3px solid var(--sage);
  padding: 0.8rem 1rem; border-radius: 4px; font-size: 0.86rem; color: var(--ink-soft);
  display: flex; gap: 0.55rem; align-items: flex-start;
}
.price-note i { width: 16px; height: 16px; color: var(--sage-deep); flex-shrink: 0; margin-top: 3px; }

.reduction-banner {
  background: var(--ink); color: var(--white); border-radius: 12px; padding: 2.2rem 2.6rem;
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1.6rem 2.5rem; align-items: center;
}
.reduction-banner h3 { color: var(--white); font-size: 1.5rem; margin-right: 1rem; }
.reduction-banner .rb-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.96rem; color: rgba(255,255,255,0.88); }
.reduction-banner .rb-item i { width: 18px; height: 18px; color: var(--sage-light); }
.price-disclaimer { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 2.6rem; }

/* ===================== CONTACT ===================== */
.contact-sec { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
.contact-info .eyebrow { margin-bottom: 0.8rem; }
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.6rem; }
.info-item { display: flex; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.info-item:first-of-type { border-top: 1px solid var(--line); }
.info-item .ii-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item .ii-icon i { width: 21px; height: 21px; stroke-width: 1.4; }
.info-item h4 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.info-item p, .info-item a { color: var(--muted); font-size: 0.96rem; }
.info-item a { transition: color 0.3s var(--ease); }
.info-item a:hover { color: var(--sage-deep); }
.contact-socials { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.contact-socials a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: all 0.3s var(--ease);
}
.contact-socials a:hover { background: var(--sage); border-color: var(--sage); color: var(--white); transform: translateY(-3px); }
.contact-socials a i { width: 19px; height: 19px; }
.contact-socials a svg { width: 19px; height: 19px; fill: currentColor; display: block; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.8rem, 3vw, 2.8rem); box-shadow: 0 18px 50px -30px rgba(111,125,102,0.4); }
.contact-form-wrap h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.contact-form-wrap .form-lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.5rem; font-weight: 500; }
.form-group label .req { color: var(--sage-deep); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.9rem 1.05rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ivory); font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(140,154,130,0.18);
}
.form-group .help { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }
.form-group .error-msg { font-size: 0.78rem; color: #b3402e; margin-top: 0.4rem; display: none; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #c0563f; }
.form-group.invalid .error-msg { display: block; }
.form-consent { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.5rem; }
.form-consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--sage-deep); flex-shrink: 0; }
.form-consent label { font-size: 0.84rem; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 300; }
.form-success {
  display: none; background: var(--sage); color: var(--white); padding: 1rem 1.2rem;
  border-radius: var(--radius); margin-bottom: 1.4rem; font-size: 0.95rem;
  align-items: center; gap: 0.6rem;
}
.form-success i { width: 19px; height: 19px; flex-shrink: 0; }
.form-success.show { display: flex; }
.form-error {
  display: none; background: #c0563f; color: var(--white); padding: 1rem 1.2rem;
  border-radius: var(--radius); margin-bottom: 1.4rem; font-size: 0.95rem;
  align-items: center; gap: 0.6rem;
}
.form-error i { width: 19px; height: 19px; flex-shrink: 0; }
.form-error.show { display: flex; }

/* Décalage de la navbar fixe sous la barre d'admin WordPress */
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .navbar { top: 46px; } }
.btn-submit { width: 100%; justify-content: center; }

/* Carte / accès */
.map-wrap { margin-top: 1.2rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.25) contrast(1.02); }

/* ===================== CTA FINAL ===================== */
.final-cta { position: relative; overflow: hidden; padding: 0; }
.final-cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--sage-deep) 0%, var(--sage) 100%); }
.final-cta-inner { position: relative; z-index: 2; text-align: center; color: var(--white); padding: clamp(5rem, 10vw, 8rem) 0; max-width: 760px; margin: 0 auto; }
.final-cta .eyebrow { color: rgba(255,255,255,0.85); }
.final-cta h2 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.3rem; }
.final-cta p { font-size: 1.15rem; color: rgba(255,255,255,0.92); margin-bottom: 2.6rem; }
.final-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.final-cta-phone { margin-top: 2rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 0.5rem; }
.final-cta-phone i { width: 17px; height: 17px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer .logo { margin-bottom: 1.5rem; }
.footer-about p { font-size: 0.92rem; line-height: 1.7; max-width: 300px; }
.footer-socials { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75);
  transition: all 0.3s var(--ease);
}
.footer-socials a:hover { background: var(--sage); border-color: var(--sage); color: var(--white); transform: translateY(-3px); }
.footer-socials a i { width: 19px; height: 19px; }
.footer-socials a svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer-col h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 1.4rem; font-weight: 500; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a, .footer-contact-item { font-size: 0.92rem; color: rgba(255,255,255,0.7); transition: color 0.3s var(--ease); display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-col ul li a:hover, .footer-contact-item:hover { color: var(--sage-light); }
.footer-contact-item i { width: 17px; height: 17px; color: var(--sage-light); flex-shrink: 0; margin-top: 4px; }
.footer-contact-item { margin-bottom: 1rem; }
.footer-hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-hours-row span:last-child { color: var(--sage-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--sage-light); }
.footer-legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .expertise-row { gap: 3rem; }
  .expertise-img, .expertise-media .img-placeholder { height: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 340px;
    background: var(--ivory); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.8rem; padding: 3rem 2.4rem; transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.12); z-index: 1001;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a.nav-link { font-size: 1.2rem; color: var(--ink) !important; }
  .nav-toggle { display: block; z-index: 1002; }
  .nav-cta { font-size: 1rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .expertise-row, .expertise-row.reverse .expertise-media { grid-template-columns: 1fr; }
  .expertise-row.reverse .expertise-media { order: 0; }
  .expertise-row { grid-template-columns: 1fr; }
  .expertise-media .num-badge { width: 56px; height: 56px; font-size: 1.4rem; top: -16px; left: -10px; }
  .expertise-actions .btn { width: 100%; justify-content: center; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .reduction-banner { flex-direction: column; align-items: flex-start; }
  .final-cta-buttons .btn { width: 100%; justify-content: center; }
  .page-hero { min-height: 50vh; padding: 8rem 0 3rem; }
}
