/*
Theme Name:  Cocon & Spa
Theme URI:   https://coconspa.fr
Description: Thème standalone Cocon & Spa – design luxury minimal converti depuis React/Tailwind. Aucun thème parent requis.
Author:      Maxime Dumas
Version:     1.0.0
Text Domain: cocon-spa
*/

/* ============================================================
   1. VARIABLES CSS (palette Tailwind → CSS custom properties)
   ============================================================ */
:root {
  /* Couleurs */
  --cream:           #FAF9F7;
  --cream-dark:      #F5F3EF;
  --taupe:           #8B7355;
  --taupe-light:     #A68B6A;
  --taupe-dark:      #6B5A45;
  --anthracite:      #2C2C2C;
  --anthracite-light:#4A4A4A;
  --white:           #FFFFFF;
  --black:           #000000;

  /* Typographie */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Rayons */
  --radius-sm:  0.375rem;  /* 6px  */
  --radius:     0.75rem;   /* 12px */
  --radius-lg:  1rem;      /* 16px */
  --radius-xl:  1.25rem;   /* 20px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full:9999px;

  /* Ombres */
  --shadow-banner:       0 4px 24px rgba(0,0,0,.06);
  --shadow-banner-hover: 0 8px 40px rgba(0,0,0,.1);
  --shadow-card:         0 8px 30px rgba(0,0,0,.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--anthracite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   3. TYPOGRAPHIE
   ============================================================ */
.font-serif { font-family: var(--font-serif); }

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.1; letter-spacing: -0.02em; }

.section-eyebrow {
  display: block;
  font-size: .75rem;            /* text-xs */
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--taupe);
  margin-bottom: 1rem;
}

/* ============================================================
   4. LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 80rem;   /* max-w-7xl = 1280px */
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.container-sm {
  width: 100%;
  max-width: 56rem;   /* max-w-4xl ~896px */
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .container-sm { padding-inline: 2rem; } }

.section-padding { padding-block: 6rem; }
@media (min-width: 1024px) { .section-padding { padding-block: 8rem; } }

/* ============================================================
   5. NAVIGATION
   ============================================================ */
#cs-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background .5s, box-shadow .5s;
}
#cs-nav.scrolled {
  background: rgba(250,249,247,.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

#cs-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--anthracite);
  letter-spacing: .05em;
}
.nav-logo em { font-style: italic; }

.nav-links {
  display: none;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: .875rem;
  color: var(--anthracite-light);
  transition: color .3s;
}
.nav-links a:hover { color: var(--anthracite); }

.nav-cta {
  display: none;
  padding: .625rem 1.25rem;
  background: var(--taupe);
  color: var(--white) !important;
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: background .3s;
}
@media (min-width: 1024px) { .nav-cta { display: inline-flex; align-items: center; } }
.nav-cta:hover { background: var(--taupe-dark); }

/* ── Mobile Menu ── */
.nav-toggle {
  display: flex;
  padding: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--anthracite);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

#cs-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
#cs-mobile-menu.open { display: flex; }

#cs-mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--anthracite);
  transition: color .3s;
}
#cs-mobile-menu a:hover { color: var(--taupe); }

#cs-mobile-menu .mobile-cta {
  margin-top: 2rem;
  padding: .75rem 2rem;
  background: var(--taupe);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}
#cs-mobile-menu .mobile-cta:hover { background: var(--taupe-dark); }

/* ============================================================
   6. SECTION HERO
   ============================================================ */
.cs-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cs-hero__bg {
  position: absolute;
  inset: 0;
}
.cs-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.30) 0%,
    rgba(0,0,0,.20) 50%,
    rgba(0,0,0,.40) 100%);
}

.cs-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.cs-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp .6s .2s both ease-out;
}

.cs-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.9);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 40rem;
  margin-inline: auto;
  animation: fadeUp .5s .35s both ease-out;
}

.cs-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.cs-hero__scroll-dot {
  width: 1.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: .5rem 0;
}
.cs-hero__scroll-dot::after {
  content: '';
  width: .25rem;
  height: .5rem;
  background: rgba(255,255,255,.7);
  border-radius: 9999px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

/* ── Booking Banner (inside hero, wrapped around MotoPress form) ── */
.cs-booking-banner {
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  background: rgba(250,249,247,.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-banner);
  overflow: hidden;
  transition: box-shadow .3s;
  animation: fadeUp .6s .5s both ease-out;
}
.cs-booking-banner:hover { box-shadow: var(--shadow-banner-hover); }

/* Override MotoPress form inside banner */
.cs-booking-banner .mphb-search-form-wrapper,
.cs-booking-banner form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.cs-booking-banner .mphb-search-form-wrapper .mphb-date-from-wrapper,
.cs-booking-banner .mphb-search-form-wrapper .mphb-date-to-wrapper,
.cs-booking-banner .mphb-search-form-wrapper .mphb-adults-wrapper,
.cs-booking-banner .mphb-search-form-wrapper .mphb-children-wrapper {
  flex: 1;
  min-width: 140px;
  border-right: 1px solid rgba(0,0,0,.08);
  padding: 1rem 1.25rem;
}

.cs-booking-banner .mphb-search-form-wrapper label {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--anthracite-light);
  margin-bottom: .25rem;
}

.cs-booking-banner .mphb-search-form-wrapper input,
.cs-booking-banner .mphb-search-form-wrapper select {
  width: 100%;
  background: transparent;
  border: none;
  font-size: .875rem;
  font-weight: 500;
  color: var(--anthracite);
  outline: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

.cs-booking-banner .mphb-search-form-wrapper .mphb-submit-button-wrapper {
  padding: 0;
}

.cs-booking-banner .mphb-search-form-wrapper button[type="submit"],
.cs-booking-banner .mphb-search-form-wrapper input[type="submit"] {
  height: 100%;
  min-height: 60px;
  padding: 1rem 1.5rem;
  background: var(--taupe);
  color: var(--white);
  border: none;
  font-size: .875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
  transition: background .3s;
  white-space: nowrap;
}
.cs-booking-banner .mphb-search-form-wrapper button[type="submit"]:hover,
.cs-booking-banner .mphb-search-form-wrapper input[type="submit"]:hover {
  background: var(--taupe-dark);
}

/* ============================================================
   7. SECTION PHILOSOPHY
   ============================================================ */
.cs-philosophy { background: var(--cream); }

.cs-philosophy .two-col {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .cs-philosophy .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}

.cs-philosophy .text-content p {
  color: var(--anthracite-light);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.cs-philosophy .image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.cs-philosophy .image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   8. SECTION APARTMENTS
   ============================================================ */
.cs-apartments { background: var(--cream-dark); }

.cs-apartments .section-header { text-align: center; margin-bottom: 4rem; }

.cs-apartments .section-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--anthracite);
}

/* Grid natif (fallback si MotoPress n'est pas là) */
.cs-apartments-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .cs-apartments-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cs-apartments-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.cs-apartment-card { cursor: pointer; }

.cs-apartment-card .card-image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1rem;
}
.cs-apartment-card .card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.cs-apartment-card:hover .card-image img { transform: scale(1.05); }

.cs-apartment-card .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s;
}
.cs-apartment-card:hover .card-image::after { background: rgba(0,0,0,.2); }

.cs-apartment-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--anthracite);
  margin-bottom: .25rem;
  transition: color .3s;
}
.cs-apartment-card:hover h3 { color: var(--taupe); }

.cs-apartment-card .card-meta {
  font-size: .875rem;
  color: var(--anthracite-light);
  margin-bottom: .5rem;
}
.cs-apartment-card .card-price { color: var(--taupe); font-weight: 500; }
.cs-apartment-card .card-price span { font-size: .875rem; color: var(--anthracite-light); font-weight: 400; }

/* ── Override cartes MotoPress (mphb_rooms) ── */
.mphb_sc_rooms-shortcode-wrap .mphb-room-type-wrap,
.mphb-rooms-list .mphb-room-type-wrap {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.mphb_sc_rooms-shortcode-wrap .mphb-room-type-thumbnail img,
.mphb-rooms-list .mphb-room-type-thumbnail img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  width: 100%;
  transition: transform .7s ease;
}
.mphb_sc_rooms-shortcode-wrap .mphb-room-type-wrap:hover .mphb-room-type-thumbnail img,
.mphb-rooms-list .mphb-room-type-wrap:hover .mphb-room-type-thumbnail img {
  transform: scale(1.05);
}

.mphb_sc_rooms-shortcode-wrap .mphb-room-type-title,
.mphb-rooms-list .mphb-room-type-title {
  font-family: var(--font-serif) !important;
  font-size: 1.25rem !important;
  color: var(--anthracite) !important;
  letter-spacing: -0.02em;
  transition: color .3s;
}
.mphb_sc_rooms-shortcode-wrap .mphb-room-type-wrap:hover .mphb-room-type-title,
.mphb-rooms-list .mphb-room-type-wrap:hover .mphb-room-type-title {
  color: var(--taupe) !important;
}

.mphb_sc_rooms-shortcode-wrap .mphb-room-type-price,
.mphb-rooms-list .mphb-room-type-price {
  color: var(--taupe) !important;
  font-weight: 500 !important;
}

.mphb_sc_rooms-shortcode-wrap .mphb-room-type-book-btn,
.mphb-rooms-list .mphb-room-type-book-btn {
  background: var(--taupe) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
  padding: .625rem 1.5rem !important;
  font-family: var(--font-sans) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  transition: background .3s !important;
}
.mphb_sc_rooms-shortcode-wrap .mphb-room-type-book-btn:hover,
.mphb-rooms-list .mphb-room-type-book-btn:hover {
  background: var(--taupe-dark) !important;
}

/* ============================================================
   9. SECTION SPA
   ============================================================ */
.cs-spa {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 1024px) { .cs-spa { padding-block: 8rem; } }

.cs-spa__bg {
  position: absolute;
  inset: 0;
}
.cs-spa__bg img { width: 100%; height: 100%; object-fit: cover; }
.cs-spa__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.cs-spa__content { position: relative; z-index: 10; }

.cs-spa .section-eyebrow { color: rgba(255,255,255,.7); }

.cs-spa h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cs-spa p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.cs-spa__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .cs-spa__features { gap: 2.5rem; } }

.cs-spa__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.cs-spa__feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-spa__feature-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--white); fill: none; stroke-width: 1.5; }

.cs-spa__feature span {
  font-size: .875rem;
  color: rgba(255,255,255,.9);
}

/* ============================================================
   10. SECTION SERVICES
   ============================================================ */
.cs-services { background: var(--cream); }

.cs-services .two-col {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .cs-services .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}

.cs-services .image-wrap {
  aspect-ratio: 4/3;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  order: 2;
}
@media (min-width: 1024px) { .cs-services .image-wrap { order: 1; } }
.cs-services .image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.cs-services .text-content { order: 1; }
@media (min-width: 1024px) { .cs-services .text-content { order: 2; } }

.cs-services h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--anthracite);
  margin-bottom: 1.5rem;
}

.cs-services .lead {
  color: var(--anthracite-light);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.cs-services-list { display: flex; flex-direction: column; gap: 1rem; }

.cs-services-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--anthracite);
}

.cs-service-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(139,115,85,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-service-check svg {
  width: .75rem;
  height: .75rem;
  stroke: var(--taupe);
  fill: none;
  stroke-width: 2.5;
}

/* ============================================================
   11. SECTION CONTACT & FOOTER
   ============================================================ */
.cs-contact { background: var(--anthracite); color: var(--white); }

.cs-contact .two-col {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .cs-contact .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.cs-contact .section-eyebrow { color: rgba(255,255,255,.5); }

.cs-contact h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cs-contact .lead { color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 2rem; }

.cs-contact-links { display: flex; flex-direction: column; gap: 1rem; }
.cs-contact-links a, .cs-contact-links span {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.8);
  font-size: .9375rem;
  transition: color .3s;
}
.cs-contact-links a:hover { color: var(--white); }
.cs-contact-links svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 1.5; flex-shrink: 0; }

/* CTA Card */
.cs-contact-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cs-contact-cta-inner {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}
@media (min-width: 1024px) { .cs-contact-cta-inner { padding: 2.5rem; } }

.cs-contact-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.cs-contact-cta p { color: rgba(255,255,255,.6); margin-bottom: 2rem; line-height: 1.6; }

.cs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--taupe);
  color: var(--white);
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background .3s;
  text-decoration: none;
}
.cs-btn-primary:hover { background: var(--taupe-light); color: var(--white); }

/* Footer */
.cs-footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.cs-footer .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cs-footer .inner { flex-direction: row; justify-content: space-between; }
}

.cs-footer-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
}
.cs-footer-logo em { font-style: italic; }

.cs-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.cs-footer-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color .3s;
}
.cs-footer-nav a:hover { color: var(--white); }

.cs-footer-social a {
  color: rgba(255,255,255,.5);
  transition: color .3s;
}
.cs-footer-social a:hover { color: var(--white); }
.cs-footer-social svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 1.5; }

.cs-footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: .875rem;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   12. PAGE DE RÉSERVATION (MotoPress)
   ============================================================ */
.cs-booking-page { background: var(--cream-dark); }

.cs-booking-page .page-header {
  background: var(--anthracite);
  color: var(--white);
  text-align: center;
  padding-block: 5rem 4rem;
}
.cs-booking-page .page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: .75rem;
}
.cs-booking-page .page-header p { color: rgba(255,255,255,.7); font-size: 1.0625rem; }

/* Moteur de recherche MotoPress sur page /reservation */
.cs-search-wrap {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  margin-bottom: 3rem;
}

.mphb-search-form h3,
.mphb-checkout h3,
.mphb-checkout h2 {
  font-family: var(--font-serif) !important;
  color: var(--anthracite) !important;
}

.mphb-checkout-section,
.mphb-customer-details {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-banner);
  margin-bottom: 1.5rem;
}

/* Boutons MotoPress globaux */
.mphb-search-form input[type="submit"],
.mphb-checkout input[type="submit"],
.mphb-checkout button[type="submit"],
.mphb-book-button {
  background: var(--taupe) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  padding: .75rem 1.75rem !important;
  font-family: var(--font-sans) !important;
  font-size: .9375rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background .3s !important;
}
.mphb-search-form input[type="submit"]:hover,
.mphb-checkout input[type="submit"]:hover,
.mphb-checkout button[type="submit"]:hover,
.mphb-book-button:hover { background: var(--taupe-dark) !important; }

/* Champs de formulaire MotoPress */
.mphb-checkout input[type="text"],
.mphb-checkout input[type="email"],
.mphb-checkout input[type="tel"],
.mphb-checkout textarea,
.mphb-checkout select {
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: var(--radius) !important;
  padding: .625rem .875rem !important;
  font-family: var(--font-sans) !important;
  font-size: .9375rem !important;
  color: var(--anthracite) !important;
  background: var(--cream) !important;
  width: 100% !important;
  outline: none !important;
  transition: border-color .2s !important;
}
.mphb-checkout input:focus,
.mphb-checkout textarea:focus,
.mphb-checkout select:focus { border-color: var(--taupe) !important; }

/* Stripe card element */
.StripeElement {
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: var(--radius) !important;
  padding: .75rem !important;
  background: var(--cream) !important;
}
.StripeElement--focus { border-color: var(--taupe) !important; box-shadow: 0 0 0 2px rgba(139,115,85,.2) !important; }

/* ============================================================
   13. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(.5rem); }
}

/* Reveal on scroll (ajouté par JS) */
.cs-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .6s ease, transform .6s ease;
}
.cs-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.cs-reveal.from-left  { transform: translateX(-2rem); }
.cs-reveal.from-right { transform: translateX(2rem); }
.cs-reveal.from-left.visible,
.cs-reveal.from-right.visible { transform: translateX(0); }

/* Stagger children */
.cs-stagger .cs-reveal:nth-child(1) { transition-delay: 0s; }
.cs-stagger .cs-reveal:nth-child(2) { transition-delay: .1s; }
.cs-stagger .cs-reveal:nth-child(3) { transition-delay: .2s; }
.cs-stagger .cs-reveal:nth-child(4) { transition-delay: .3s; }
.cs-stagger .cs-reveal:nth-child(5) { transition-delay: .4s; }
.cs-stagger .cs-reveal:nth-child(6) { transition-delay: .5s; }

/* ============================================================
   14. UTILITAIRES DIVERS
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Désactive les marges parasites de WordPress */
.entry-content > *:last-child { margin-bottom: 0 !important; }
.wp-block-post-content { margin: 0 !important; padding: 0 !important; }
