/* =========================================================
   CHARTE GRAPHIQUE SUR MESURE - KARINE MONDELLO (KMS)
   Harmonisée avec le logo KMS : Beige poudré, Terracotta & Or
   Cabinet d'Hypnose & Massothérapie - Saint-Laurent-du-Var
   ========================================================= */
:root {
  --bg-cream: #fbf7f4;
  --bg-soft: #f4ebe4;
  --bg-card: #ffffff;
  --text-dark: #262220;
  --text-muted: #645a54;
  
  /* Couleurs extraites du logo KMS */
  --terracotta: #d17a73;
  --terracotta-dark: #b65d56;
  --terracotta-soft: #f9e8e6;
  --gold: #c59b43;
  --gold-dark: #9e7828;
  --gold-light: #fbf3e0;
  --blush: #eadbd3;
  
  /* Accents secondaires doux */
  --teal: #0d9488;
  --teal-soft: #ccfbf1;
  --lavender: #7c3aed;
  --lavender-soft: #ede9fe;
  --sage: #15803d;
  --sage-soft: #dcfce7;

  --gradient-cta: linear-gradient(135deg, #d17a73 0%, #c59b43 100%);
  --gradient-hero: linear-gradient(135deg, #f6ece6 0%, #f9e8e6 55%, #fbf3e0 100%);
  --shadow-sm: 0 4px 15px rgba(38, 34, 32, 0.06);
  --shadow-md: 0 12px 30px rgba(38, 34, 32, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BARRE SUPÉRIEURE --- */
.top-bar {
  background: #262220;
  color: #ede6e1;
  font-size: 0.9rem;
  padding: 11px 0;
  border-bottom: 2px solid var(--gold);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-links a {
  color: #e3b964;
  font-weight: 700;
  margin-left: 18px;
}

.top-bar-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --- NAVIGATION & LOGO À GAUCHE --- */
header {
  background: linear-gradient(180deg, #ffffff 0%, #f6ece6 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 24px rgba(38, 34, 32, 0.09);
  border-bottom: 3px solid var(--terracotta);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-logo-left {
  height: 92px;
  width: 92px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 18px rgba(38, 34, 32, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-left:hover .header-logo-left {
  transform: scale(1.04);
  box-shadow: 0 8px 22px rgba(197, 155, 67, 0.32);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, #262220 0%, #b65d56 60%, #c59b43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.logo-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 8px 3px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--terracotta-dark);
  border-bottom-color: var(--terracotta);
}

/* --- BOUTONS --- */
.btn-planity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(209, 122, 115, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none !important;
}

.btn-planity:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(209, 122, 115, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  font-weight: 700;
  background: #ffffff;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--gold);
  color: #ffffff;
}

/* --- HERO BANNER --- */
.hero {
  background: var(--gradient-hero);
  padding: 60px 0;
  border-bottom: 1px solid var(--blush);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.badge-studio {
  display: inline-block;
  background: #ffffff;
  color: var(--terracotta-dark);
  border: 1px solid var(--blush);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.65rem;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.hero h1 span {
  background: linear-gradient(135deg, #b65d56 0%, #c59b43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-image-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.hero-float-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}

/* --- SECTIONS & TITRES --- */
section {
  padding: 65px 0;
}

.section-alt {
  background-color: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.tag-teal { background: var(--teal-soft); color: var(--teal); }
.tag-coral { background: var(--terracotta-soft); color: var(--terracotta-dark); }
.tag-gold { background: var(--gold-light); color: var(--gold-dark); }
.tag-lavender { background: var(--lavender-soft); color: var(--lavender); }
.tag-sage { background: var(--sage-soft); color: var(--sage); }

.section-header h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

/* --- GRILLES DE CARTES AVEC PHOTOS --- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blush);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 18px;
  flex: 1;
}

.card-list {
  list-style: none;
  margin-bottom: 20px;
}

.card-list li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: 0.94rem;
}

.card-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* --- GALERIE PHOTO --- */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  border: 3px solid #ffffff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(38, 34, 32, 0.85));
  color: #ffffff;
  padding: 24px 16px 14px 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- TABLEAUX DE TARIFS --- */
.tarif-category {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--terracotta);
}

.tarif-category.cat-teal { border-left-color: var(--teal); }
.tarif-category.cat-gold { border-left-color: var(--gold); }
.tarif-category.cat-lavender { border-left-color: var(--lavender); }

.tarif-category h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.tarif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--blush);
  gap: 16px;
}

.tarif-row:last-child {
  border-bottom: none;
}

.tarif-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.tarif-info span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tarif-action {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.price-pill {
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid #eed9a8;
  font-weight: 800;
  font-size: 1.12rem;
  padding: 6px 16px;
  border-radius: 50px;
}

/* --- BANDEAU OFFRE / ACCOMPAGNEMENT --- */
.highlight-box {
  background: linear-gradient(135deg, #fbf3e0 0%, #f9e8e6 100%);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

/* --- PIED DE PAGE --- */
footer {
  background: #262220;
  color: #ede6e1;
  padding: 55px 0 25px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 35px;
  margin-bottom: 35px;
}

footer h4 {
  color: #e3b964;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

footer p, footer li {
  font-size: 0.93rem;
  color: #d8cfc9;
  margin-bottom: 8px;
}

footer ul {
  list-style: none;
}

footer a:hover {
  color: #e3b964;
}

.footer-bottom {
  border-top: 1px solid #423b38;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #a89f9a;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .nav-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .brand-left {
    justify-content: center;
  }
  nav {
    width: 100%;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--blush);
  }
  .header-logo-left {
    height: 72px;
    width: 72px;
  }
  .tarif-row {
    flex-direction: column;
    align-items: flex-start;
  }
}