/*
Theme Name: Elise Manzoni Reflexologie
Theme URI: https://elisemanzoni.fr
Author: Elise Manzoni
Description: Theme professionnel pour reflexologue et formatrice membre de la FFR.
Version: 8.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: elise-reflexo
Tags: reflexologie, soin, formation, professionnel, teal
*/

/* =============================================
   VARIABLES
   ============================================= */
:root {
  --teal:          #2AABBB;
  --teal-dark:     #1A8A9A;
  --teal-deeper:   #0F6B7A;
  --blue:          #2C5F8A;
  --blue-light:    #4A8AB5;
  --blue-pale:     #E8F4F8;
  --lavender:      #7B9EC4;
  --pale-bg:       #F5FAFC;
  --white:         #FFFFFF;
  --text-dark:     #1A3A4A;
  --text-mid:      #3A5A6A;
  --text-muted:    #6B8A9A;
  --border:        #D0E4ED;
  --shadow-sm:     0 2px 8px rgba(42,171,187,.12);
  --shadow-md:     0 4px 20px rgba(42,171,187,.18);
  --shadow-lg:     0 8px 40px rgba(42,171,187,.22);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-full:   9999px;
  --transition:    .25s ease;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Lato', system-ui, sans-serif;
  --header-h:      72px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--teal-deeper); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem,   5vw,   3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1rem,   2vw,   1.35rem); }

p  { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }

.container       { max-width: 1140px; margin-inline: auto; padding-inline: 2rem; }
.container--wide { max-width: 1320px; }
.container--narrow { max-width: 820px; }

section { padding-block: 5rem; }
.bg-alt { background: var(--pale-bg); }

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* =============================================
   SKIP LINK
   ============================================= */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: var(--teal);
  color: #fff;
  padding: .5rem 1.5rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 2rem;
  width: 100%;
}

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand { text-decoration: none; }

.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-deeper);
  line-height: 1;
}
.brand-sub {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .1rem;
}

/* ── Navigation principale ── */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;                 /* pas de gap : le padding des <a> gère l'espacement */
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: nowrap;      /* interdit le retour à la ligne */
}

.nav-menu li {
  white-space: nowrap;    /* "À PROPOS" ne se coupe plus jamais */
  flex-shrink: 0;
}

.nav-menu a {
  display: block;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: .4rem .45rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--teal);
  border-color: var(--teal);
}

/* ── CTA RDV ── */
.nav-cta {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-shrink: 0;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menu mobile ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  z-index: 99;
  padding: 2rem;
  overflow-y: auto;
}
.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   BOUTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  padding: .8rem 2rem;
  font-size: .95rem;
  box-shadow: 0 4px 14px rgba(42,171,187,.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 8px 22px rgba(42,171,187,.45);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  padding: .75rem 1.75rem;
  font-size: .9rem;
}
.btn-secondary:hover { background: var(--teal); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--teal-deeper);
  padding: .75rem 1.75rem;
  font-size: .9rem;
}
.btn-white:hover { background: var(--blue-pale); }

.btn-sm { padding: .55rem 1.25rem; font-size: .82rem; }

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-block: 6rem;
  background: linear-gradient(135deg, var(--pale-bg) 0%, rgba(42,171,187,.06) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.4rem;
  align-items: start;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
  width: 100%;
  max-width: 390px;
  gap: 1rem;
  margin-top: 0.25rem;
}

.hero-image-wrap--small {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  background: #f3f6f7;
}

.hero-image-wrap--small img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-certifs {
  width: 100%;
  max-width: 290px;
  margin: 4px auto 0;
  display: grid;
  grid-template-columns: 92px 64px 92px;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hero-certif-link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.hero-certif-link:hover {
  transform: translateY(-2px);
}

.hero-certif-img {
  width: 100%;
  max-width: 92px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.hero-center-logo {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(42,171,187,.18);
  padding: 6px;
  flex-shrink: 0;
}

.hero-center-logo img {
  width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}


/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--blue) 100%);
  color: #fff;
  padding-block: 4rem;
  text-align: center;
}
.page-hero h1      { color: #fff; margin-bottom: .75rem; }
.page-hero-sub     { color: rgba(255,255,255,.8); font-size: 1rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}
.breadcrumb a     { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep   { color: rgba(255,255,255,.4); }

/* =============================================
   SECTIONS / LABELS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--teal-deeper);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .9rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.section-title   { color: var(--teal-deeper); margin-bottom: 1rem; }
.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  margin-inline: auto;
  border-radius: 2px;
}

/* =============================================
   CARDS
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img    { width: 100%; height: 220px; object-fit: cover; }
.card-body   { padding: 1.5rem; flex: 1; }
.card-emoji  { font-size: 2rem; display: block; margin-bottom: .75rem; }
.card-title  { font-size: 1.2rem; color: var(--teal-deeper); margin-bottom: .5rem; }
.card-text   { font-size: .88rem; color: var(--text-mid); line-height: 1.6; }
.card-meta   { font-size: .78rem; color: var(--text-muted); margin-top: .5rem; }
.card-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  margin-bottom: .5rem;
}
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }

/* =============================================
   FORMATIONS
   ============================================= */
.formation-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.formation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.formation-card-header {
  background: linear-gradient(135deg, var(--teal-deeper), var(--blue));
  color: #fff;
  padding: 2rem 1.75rem;
}
.form-emoji { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.form-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: .75rem;
}
.form-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.form-tag  {
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: .72rem;
  padding: .2rem .7rem;
  border-radius: var(--radius-full);
}
.formation-card-body   { padding: 1.5rem; flex: 1; }
.formation-card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--blue-pale), rgba(42,171,187,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--teal-deeper);
}
.blog-card-body    { padding: 1.5rem; flex: 1; }
.blog-card-title   { font-size: 1.1rem; color: var(--teal-deeper); margin-bottom: .5rem; font-family: var(--font-serif); }
.blog-card-excerpt { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }
.blog-card-footer  {
  padding: .75rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-card-date { font-size: .78rem; color: var(--text-muted); }
.blog-card-link { font-size: .82rem; font-weight: 700; color: var(--teal); }

/* =============================================
   ACCORDÉON
   ============================================= */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  color: var(--text-dark);
  font-size: .95rem;
}
.accordion-icon {
  font-size: 1.1rem;
  color: var(--teal);
  min-width: 1.5rem;
  text-align: center;
}
.accordion-body {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.accordion-item.open .accordion-body { display: block; }

/* =============================================
   À PROPOS GRID
   ============================================= */
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* =============================================
   RECAP CARD
   ============================================= */
.recap-card {
  background: var(--pale-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
}
.recap-card h3 { color: var(--teal-deeper); margin-bottom: 1rem; }

/* =============================================
   RICH CONTENT
   ============================================= */
.em-rich-content h2,
.em-rich-content h3        { color: var(--teal-deeper); margin: 2rem 0 .75rem; }
.em-rich-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 1rem 1.5rem;
  background: var(--pale-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
}
.em-rich-content ul li::marker { color: var(--teal); }

/* =============================================
   FORMULAIRES
   ============================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label     { font-size: .82rem; font-weight: 700; color: var(--text-mid); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--teal-deeper);
  color: rgba(255,255,255,.85);
  padding-block: 4rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 2rem;
  margin-bottom: 3rem;
}
.brand-name-footer {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
}
.brand-sub-footer {
  font-size: .78rem;
  opacity: .7;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-nav          { list-style: none; padding: 0; }
.footer-nav li       { margin-bottom: .4rem; }
.footer-nav a        { color: rgba(255,255,255,.7); font-size: .85rem; transition: color var(--transition); }
.footer-nav a:hover  { color: #fff; }
.footer-contact p    { font-size: .85rem; margin-bottom: .5rem; color: rgba(255,255,255,.8); }
.footer-contact a    { color: rgba(255,255,255,.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 2rem;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }

/* =============================================
   BACK TO TOP
   ============================================= */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--teal);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover   { transform: translateY(-2px); }

/* =============================================
   BON CADEAU
   ============================================= */
.bon-cadeau-wrap {
  max-width: 600px;
  margin-inline: auto;
  background: var(--pale-bg);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-image-wrap:not(.hero-image-wrap--small) {
    display: none;
  }

  .hero-right {
    justify-self: center;
    max-width: 100%;
    margin-top: 0;
  }

  .hero-image-wrap--small {
    max-width: 280px;
  }

  .hero-certifs {
    max-width: 250px;
    grid-template-columns: 82px 56px 82px;
    gap: 10px;
  }

  .hero-certif-img {
    max-width: 82px;
  }

  .hero-center-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    padding: 5px;
  }

  .hero-center-logo img {
    width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    border-radius: 10px;
  }
}

  .apropos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding-block: 3rem;
  }

  .hero {
    padding-block: 3.5rem;
  }

  .btn-group {
    flex-direction: column;
  }
}

/* Fix custom logo WordPress */
.custom-logo-link {
  display: block;
  max-width: 60px;
  flex-shrink: 0;
}
.custom-logo {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
/* Avatar rond dans la navbar */
.navbar-avatar-link {
  display: block;
  flex-shrink: 0;
}
.navbar-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--teal);
  box-shadow: 0 2px 8px rgba(42,171,187,.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.navbar-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(42,171,187,.4);
}

/* On supprime l'ancien custom logo */
.custom-logo-link { display: none !important; }

/* Prestations intro avec photo */
.prestations-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.prestations-intro-text {
  max-width: 560px;
}

.prestations-photo {
  width: 260px;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--blue-pale);
}

@media (max-width: 768px) {
  .prestations-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .prestations-intro-photo {
    display: flex;
    justify-content: center;
  }
  .prestations-photo {
    width: 200px;
    height: 240px;
  }
  .section-divider {
    margin-inline: auto !important;
  }
}
/* ── Cards Engagement ── */
.eng-card-img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  object-position: center;
  background: var(--pale-bg);
  padding: .75rem;
  transition: transform .4s ease;
}
.eng-card:hover .eng-card-img {
  transform: scale(1.03);
}
.eng-card {
  overflow: hidden;
}

/* Placeholder dégradé si pas d'image */
.eng-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 130px;
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--blue) 100%);
  text-decoration: none;
  transition: opacity var(--transition);
}
.eng-card-placeholder:hover {
  opacity: .9;
}
.eng-card-icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}

/* Prestations mobile : 1 colonne */
@media (max-width: 900px) {
  .cards-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}
/* Prestations : 3 colonnes desktop, 1 mobile */
@media (min-width: 901px) {
  .cards-grid--prestations {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ═══════════════════════════════════════════
   PAGE NORME NF S99-807
═══════════════════════════════════════════ */

/* Hero */
.norme-hero { text-align: center; }
.norme-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.norme-hero-logos {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.norme-hero-certif {
  height: 90px;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

/* Pour qui */
.norme-publics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.norme-public-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
  transition: transform var(--transition), box-shadow var(--transition);
}
.norme-public-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.norme-public-card--highlight {
  border-top-color: var(--blue);
  background: var(--blue-pale);
}
.norme-public-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.norme-public-card h3 {
  color: var(--teal-deeper);
  font-size: 1.1rem;
  margin-bottom: .75rem;
}
.norme-public-card p {
  font-size: .88rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.norme-public-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
}

/* Lead text */
.norme-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* Types de réflexologie */
.norme-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.norme-type {
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  font-size: .85rem;
  color: var(--teal-deeper);
  line-height: 1.6;
}

/* 4 points clés */
.norme-keys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.norme-key-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 4px solid var(--teal);
}
.norme-key-number {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  padding: .2rem .7rem;
  border-radius: var(--radius-full);
  letter-spacing: .1em;
}
.norme-key-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.norme-key-card h3 { color: var(--teal-deeper); margin-bottom: .75rem; font-size: 1.1rem; }
.norme-key-card p  { font-size: .88rem; color: var(--text-mid); }
.norme-key-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.norme-key-list li {
  font-size: .85rem;
  color: var(--text-mid);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}
.norme-key-list li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.norme-key-list li em { color: var(--teal-deeper); font-size: .78rem; }

/* Infographie formation */
.norme-formation-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}
.norme-formation-total { text-align: center; }
.norme-formation-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deeper), var(--blue));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin: 0 auto 1rem;
}
.norme-circle-number { color: #fff; font-size: 2rem; font-weight: 900; line-height: 1; }
.norme-circle-label  { color: rgba(255,255,255,.8); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.norme-formation-total p { font-size: .88rem; color: var(--text-mid); }

.norme-formation-blocs { display: flex; flex-direction: column; gap: 1rem; }
.norme-bloc { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.norme-bloc-bar {
  height: 44px;
  background: var(--bloc-color);
  width: var(--bloc-width);
  min-width: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding-left: 1rem;
}
.norme-bloc-pct { color: #fff; font-weight: 900; font-size: .88rem; }
.norme-bloc-label { font-size: .85rem; color: var(--text-mid); }
.norme-bloc-label strong { color: var(--text-dark); display: block; }
.norme-bloc-label em { color: var(--teal-deeper); font-size: .78rem; }

/* Structures */
.norme-structures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.norme-structure-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.norme-structure-icon { font-size: 2rem; flex-shrink: 0; }
.norme-structure-item h4 { color: var(--teal-deeper); margin-bottom: .4rem; font-size: 1rem; }
.norme-structure-item p  { font-size: .85rem; color: var(--text-mid); margin: 0; }

.norme-garanties {
  background: linear-gradient(135deg, var(--teal-deeper), var(--blue));
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #fff;
}
.norme-garanties h3 { color: #fff; margin-bottom: 1.5rem; text-align: center; }
.norme-garanties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.norme-garantie {
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .85rem;
  color: #fff;
  font-weight: 600;
}

/* Financeurs */
.norme-financeurs-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.norme-financeur-bloc {
  background: var(--pale-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
}
.norme-financeur-bloc h3 { color: var(--teal-deeper); margin-bottom: 1rem; font-size: 1.1rem; }
.norme-financeur-bloc p  { font-size: .88rem; color: var(--text-mid); margin-bottom: .75rem; }
.norme-financeur-bloc ul { padding-left: 1.25rem; }
.norme-financeur-bloc li { font-size: .85rem; color: var(--text-mid); margin-bottom: .4rem; }

/* Veille */
.norme-veille-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.norme-veille-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.norme-veille-item span { font-size: 1.5rem; flex-shrink: 0; }
.norme-veille-item p { font-size: .82rem; color: var(--text-mid); margin: 0; }

/* Ressources */
.norme-ressources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.norme-ressource-card {
  background: var(--pale-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.norme-ressource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.norme-ressource-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.norme-ressource-card h3 { color: var(--teal-deeper); margin-bottom: .75rem; font-size: 1rem; }
.norme-ressource-card p  { font-size: .85rem; color: var(--text-mid); margin-bottom: 1.5rem; }

/* Bannière partage */
.norme-share-banner {
  background: linear-gradient(135deg, var(--teal-deeper), var(--blue));
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.norme-share-text h3 { color: #fff; margin-bottom: .5rem; }
.norme-share-text p  { color: rgba(255,255,255,.8); font-size: .88rem; margin: 0; max-width: 600px; }
.norme-share-certifs { display: flex; gap: 1rem; align-items: center; flex-shrink: 0; }

/* Responsive norme */
@media (max-width: 900px) {
  .norme-publics-grid    { grid-template-columns: 1fr; }
  .norme-keys-grid       { grid-template-columns: 1fr; }
  .norme-types-grid      { grid-template-columns: repeat(2, 1fr); }
  .norme-formation-wrap  { grid-template-columns: 1fr; gap: 2rem; }
  .norme-structures-grid { grid-template-columns: 1fr; }
  .norme-garanties-grid  { grid-template-columns: repeat(2, 1fr); }
  .norme-financeurs-wrap { grid-template-columns: 1fr; }
  .norme-veille-grid     { grid-template-columns: repeat(2, 1fr); }
  .norme-ressources-grid { grid-template-columns: 1fr; }
  .norme-share-banner    { flex-direction: column; text-align: center; }
  .norme-share-certifs   { justify-content: center; }
}
@media (max-width: 600px) {
  .norme-types-grid     { grid-template-columns: repeat(2, 1fr); }
  .norme-garanties-grid { grid-template-columns: 1fr; }
  .norme-veille-grid    { grid-template-columns: 1fr; }
  .norme-bloc           { grid-template-columns: 1fr; }
  .norme-bloc-bar       { width: 100% !important; }
}
.nav-menu > li.menu-item-has-children {
  position: relative;
}

.nav-menu > li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-menu > li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu > li.menu-item-has-children > .sub-menu li {
  display: block;
  width: 100%;
  margin: 0;
}

.nav-menu > li.menu-item-has-children > .sub-menu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #1a1a1a;
  white-space: nowrap;
}

.nav-menu > li.menu-item-has-children > .sub-menu a:hover,
.nav-menu > li.menu-item-has-children > .sub-menu a.active {
  background: #f4f8fb;
  color: #2a8b95;
}

.mobile-sub-link {
  padding-left: 24px;
  font-size: 0.95em;
  opacity: 0.9;
}
/* =============================================
   PATCH MENU DESKTOP / MOBILE
   ============================================= */

/* Desktop : menu horizontal visible */
@media (min-width: 901px) {
  .nav-menu {
    display: flex !important;
    align-items: center;
  }

  .nav-cta {
    display: flex !important;
    align-items: center;
  }

  .hamburger {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Mobile : hamburger visible, menu desktop masqué */
@media (max-width: 900px) {
  .nav-menu,
  .nav-cta {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }
}
/* =============================================
   AVIS GOOGLE - ACCUEIL
   ============================================= */
.home-google-reviews {
  padding-block: 4.5rem;
  background: #fff;
}

.home-google-reviews-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-mid);
  font-size: .95rem;
}

.home-google-reviews-widget {
  margin-top: 2rem;
}

.home-google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.google-review-card {
  background: var(--pale-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.google-review-stars {
  color: #f4b400;
  font-size: 1rem;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}

.google-review-text {
  color: var(--text-mid);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.google-review-author {
  margin: 0;
  font-weight: 700;
  color: var(--teal-deeper);
  font-size: .88rem;
}

.home-google-reviews-cta {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 900px) {
  .home-google-reviews-grid {
    grid-template-columns: 1fr;
  }
}
/* =============================================
   ENCARD TEMPORAIRE - PAGE NORME NF S99-807
   ============================================= */
.norme-annonce-temporaire {
  padding: 2.5rem 0 1rem;
  background: #fff;
}

.norme-annonce-box {
  background: #fff8e8;
  border: 1px solid #f0d79a;
  border-left: 6px solid #d39b18;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.norme-annonce-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: #fff1c7;
  color: #8a5b00;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.norme-annonce-box h2 {
  margin-bottom: 1rem;
  color: #8a5b00;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.3;
}

.norme-annonce-box p {
  margin-bottom: 0.9rem;
  color: #5f5140;
  line-height: 1.75;
}

.norme-annonce-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .norme-annonce-temporaire {
    padding: 2rem 0 0.75rem;
  }

  .norme-annonce-box {
    padding: 1.25rem;
    border-radius: 14px;
  }
}
