/* =========================================================
   SUBLIM&VOUS — Cynthia Ballot
   Feuille de style principale
   Charte inspirée du livret : crème, doré, terracotta, brun
   ========================================================= */

/* ---------- 1. RESET & VARIABLES ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette extraite du livret */
  --color-cream:       #F5EEE2;  /* fond principal ivoire */
  --color-cream-soft:  #FBF7EF;  /* fond cards, plus clair */
  --color-gold:        #C5A05E;  /* doré principal */
  --color-gold-dark:   #A8894A;  /* doré foncé, bordures */
  --color-terracotta:  #D4A181;  /* terracotta doux */
  --color-peach:       #E8C9B0;  /* accent pêche */
  --color-brown:       #3D2B1F;  /* brun profond, texte */
  --color-brown-soft:  #6B5344;  /* brun intermédiaire */
  --color-white:       #FFFDF9;

  /* Typographies */
  --font-serif:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:   'Lato', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Dancing Script', 'Allura', cursive;

  /* Espaces */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Rayons */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-soft: 0 6px 24px rgba(61, 43, 31, 0.08);
  --shadow-card: 0 12px 40px rgba(61, 43, 31, 0.10);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- 2. BASE ---------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-brown);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
a:hover { color: var(--color-brown); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-brown);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 400; margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.15rem; margin-bottom: var(--space-xs); }

p { margin-bottom: var(--space-sm); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--color-gold-dark);
}

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container-narrow {
  max-width: 860px;
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-title h2 {
  margin-bottom: var(--space-xs);
}
.section-title .script {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-xs);
}
.section-title p {
  color: var(--color-brown-soft);
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
}

/* Séparateur doré décoratif */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.divider span {
  color: var(--color-gold);
  font-size: 1.2rem;
}

/* ---------- 4. HEADER & NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 238, 226, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 94, 0.15);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: 1300px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-brown);
}
.brand:hover { color: var(--color-brown); }

.brand-logo {
  width: auto;
  height: 56px;
  flex-shrink: 0;
  /* Logo S&V transparent : le fond crème du header le fait ressortir */
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand-tagline {
  font-family: var(--font-script);
  font-size: 0.95rem;
  color: var(--color-gold-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.nav-links a {
  color: var(--color-brown);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  background: var(--color-gold);
  color: var(--color-white) !important;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--color-gold-dark);
  transform: translateY(-1px);
}
.nav-cta::after { display: none; }

/* Menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-brown);
  margin: 5px 0;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ---------- 5. BOUTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn-outline {
  background: transparent;
  color: var(--color-brown);
  border: 1px solid var(--color-gold);
}
.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #F5EEE2 0%, #E8C9B0 60%, #D4A181 100%);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(255, 223, 186, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 200, 150, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-eyebrow {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-weight: 400;
  color: var(--color-brown);
  margin-bottom: var(--space-sm);
}

.hero-baseline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--color-brown-soft);
  margin-bottom: var(--space-md);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

/* ---------- 7. CARDS PRESTATIONS ---------- */
.grid {
  display: grid;
  gap: var(--space-md);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--color-cream-soft);
  border: 1px solid rgba(197, 160, 94, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-gold);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-peach), var(--color-terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  font-size: 1.5rem;
}

.card h3 {
  color: var(--color-brown);
  margin-bottom: var(--space-xs);
}

.card-benefits {
  list-style: none;
  margin-top: var(--space-sm);
}
.card-benefits li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.4rem;
  color: var(--color-brown-soft);
  font-size: 0.95rem;
}
.card-benefits li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

/* ---------- 8. SECTIONS DÉCORÉES ---------- */
.section-cream    { background: var(--color-cream); }
.section-soft     { background: var(--color-cream-soft); }
.section-warm     {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-peach) 100%);
}

.quote-block {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  max-width: 760px;
  margin: 0 auto;
}
.quote-block blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--color-brown);
  line-height: 1.5;
  position: relative;
}
.quote-block blockquote::before,
.quote-block blockquote::after {
  content: '"';
  font-family: var(--font-script);
  color: var(--color-gold);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5em;
}
.quote-block cite {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-script);
  font-style: normal;
  color: var(--color-gold-dark);
  font-size: 1.3rem;
}

/* ---------- 9. À PROPOS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-photo {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  background: linear-gradient(135deg, var(--color-peach), var(--color-terracotta));
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 253, 249, 0.4);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.placeholder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--color-white);
  font-family: var(--font-script);
  font-size: 1.2rem;
  text-align: center;
  padding: var(--space-md);
}
.placeholder-photo small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: var(--space-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- 10. PILIERS / VALEURS ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.pillar {
  text-align: center;
  padding: var(--space-md);
}
.pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--color-cream-soft);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: 1.8rem;
}
.pillar h3 {
  color: var(--color-brown);
}

/* ---------- 11. TARIFS ---------- */
.pricing-table {
  max-width: 880px;
  margin: 0 auto;
  background: var(--color-cream-soft);
  border: 1px solid rgba(197, 160, 94, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(197, 160, 94, 0.15);
  align-items: center;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row.header {
  background: var(--color-peach);
  font-family: var(--font-serif);
  color: var(--color-brown);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.pricing-name h3 {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}
.pricing-name p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-brown-soft);
}
.pricing-duration,
.pricing-price {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-gold-dark);
}

.pricing-note {
  max-width: 720px;
  margin: var(--space-md) auto 0;
  padding: var(--space-md);
  background: var(--color-cream-soft);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--color-brown-soft);
  font-size: 0.95rem;
}

/* ---------- 12. FORMULAIRE ---------- */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-cream-soft);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(197, 160, 94, 0.2);
}

.form-group {
  margin-bottom: var(--space-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-brown);
  letter-spacing: 0.03em;
}
.form-group label .required {
  color: var(--color-terracotta);
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(197, 160, 94, 0.35);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-brown);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 94, 0.15);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-feedback {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  display: none;
}
.form-feedback.success {
  background: rgba(197, 160, 94, 0.12);
  border-left: 3px solid var(--color-gold);
  color: var(--color-brown);
  display: block;
}
.form-feedback.error {
  background: rgba(212, 161, 129, 0.15);
  border-left: 3px solid var(--color-terracotta);
  color: var(--color-brown);
  display: block;
}

/* ---------- 13. INFOS CONTACT ---------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.contact-info .info-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 160, 94, 0.15);
}
.contact-info .info-card .icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}
.contact-info .info-card h4 {
  margin-bottom: 0.3rem;
  font-family: var(--font-serif);
  color: var(--color-brown);
}
.contact-info .info-card p {
  color: var(--color-brown-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- 14. FOOTER ---------- */
.site-footer {
  background: var(--color-brown);
  color: var(--color-cream);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-brand .brand-name { color: var(--color-cream); font-size: 1.5rem; }
.footer-brand .brand-tagline { color: var(--color-gold); }
.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 380px;
}
.footer-col h4 {
  color: var(--color-gold);
  font-family: var(--font-serif);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--color-cream);
  opacity: 0.85;
  font-size: 0.95rem;
}
.footer-col a:hover { opacity: 1; color: var(--color-gold); }

.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cream);
  opacity: 0.9;
  transition: all 0.3s var(--ease);
}
.social-links a:hover {
  background: var(--color-gold);
  color: var(--color-brown);
  opacity: 1;
}
.social-links svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(197, 160, 94, 0.2);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ---------- 15. ANIMATIONS AU SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 16. PAGE HEADER (pages internes) ---------- */
.page-header {
  padding: calc(var(--space-xl) + var(--space-md)) var(--space-md) var(--space-lg);
  text-align: center;
  background: linear-gradient(180deg, var(--color-peach) 0%, var(--color-cream) 100%);
  position: relative;
}
.page-header .script {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-xs);
}
.page-header h1 {
  margin-bottom: var(--space-sm);
}
.page-header p {
  color: var(--color-brown-soft);
  max-width: 680px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.05rem;
}

/* ---------- 17. ORNEMENTS DÉCORATIFS ---------- */
.ornament {
  display: block;
  text-align: center;
  color: var(--color-gold);
  font-size: 1.6rem;
  margin: var(--space-sm) auto;
  opacity: 0.75;
}

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: var(--space-lg) 0; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-cream);
    flex-direction: column;
    padding: calc(var(--space-xl) + var(--space-md)) var(--space-md) var(--space-md);
    gap: var(--space-md);
    transition: right 0.3s var(--ease);
    box-shadow: -4px 0 24px rgba(61, 43, 31, 0.1);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }

  .hero { min-height: 75vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

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

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    text-align: center;
  }
  .pricing-row.header { display: none; }
  .pricing-duration::before { content: 'Durée : '; color: var(--color-brown-soft); font-family: var(--font-sans); font-size: 0.9rem; }
  .pricing-price::before { content: 'Tarif : '; color: var(--color-brown-soft); font-family: var(--font-sans); font-size: 0.9rem; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .social-links { justify-content: center; }

  .form-card { padding: var(--space-md); }
}

@media (max-width: 480px) {
  .brand-tagline { display: none; }
  h1 { font-size: 2.2rem; }
}

/* =========================================================
   SUBLIM'&VOUS — ADAPTATION TÉLÉPHONE
   Correctif complémentaire
   Ne modifie pas le site sur ordinateur
   ========================================================= */

/* TABLETTES ET TÉLÉPHONES */

@media screen and (max-width: 768px) {

  /* ESPACEMENT GÉNÉRAL */

  html {
    scroll-padding-top: 85px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  /* BARRE DE NAVIGATION */

  .site-header {
    width: 100%;
    z-index: 1000;
  }

  .nav {
    min-height: 70px !important;
    padding: 10px 18px !important;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1001;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: min(85vw, 340px);
    max-width: 340px;
    height: 100vh;
    height: 100dvh;

    overflow-y: auto;

    padding: 95px 25px 35px;

    background: #F5EEE2;
    box-shadow: -5px 0 25px rgba(61,43,31,.12);

    transition: right .3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 12px 8px;
    font-size: 1.15rem;
  }

  .nav-links .nav-cta {
    display: flex !important;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
  }

  /* TYPOGRAPHIES
     On conserve les polices du site */

  h1, h2, h3, h4 {
    overflow-wrap: break-word;
  }

  p, li {
    overflow-wrap: break-word;
  }

  /* SECTIONS ET BLOCS */

  section {
    max-width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .about-grid,
  .pillars,
  .packages-grid,
  .practical-grid,
  .home-service-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .package-card,
  .practical-card {
    min-width: 0;
  }

  /* PHOTOS */

  .about-photo {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-photo img {
    max-width: 100%;
    object-fit: cover;
  }

  /* FORMULAIRES */

  .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .form-group {
    min-width: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .appointment-form-card {
    width: 100%;
    max-width: 100%;
    padding: 25px 18px;
  }

  .appointment-form-heading {
    max-width: 100%;
  }

  /* CALENDRIER CAL.COM */

  .sv-reservation {
    width: 100%;
    max-width: 100%;
    padding: 25px 14px;
  }

  .sv-reservation select {
    max-width: 100%;
    font-size: 16px !important;
  }

  .sv-reservation .sv-cal-frame,
  .sv-booking .sv-calendar,
  .sv-booking .sv-cal-panel {
    width: 100%;
    max-width: 100%;
    min-height: 760px;
    overflow-x: auto;
  }

  .sv-reservation iframe,
  .sv-booking iframe {
    max-width: 100%;
  }

  /* TARIFS */

  .tarif-item {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
  }

  .tarif-info {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .tarif-duration {
    text-align: left;
  }

  .tarif-price {
    text-align: right;
  }

  .soin-rituel {
    grid-template-columns: minmax(0, 1fr);
  }

  .tarif-phrase-compacte {
    white-space: normal;
  }

  /* PIED DE PAGE */

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }

}


/* PETITS TÉLÉPHONES */

@media screen and (max-width: 480px) {

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo {
    max-width: 42px;
    max-height: 42px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  /* Conserver le slogan lorsqu'il tient */

  .brand-tagline {
    display: block;
    font-size: .95rem;
  }

  /* Titres manuscrits d'origine */

  .contact-main-title,
  .tarifs-main-title {
    font-size: clamp(3.1rem, 12vw, 4rem) !important;
  }

  .appointment-form-heading h2,
  .tarifs-section-heading h2 {
    font-size: clamp(2.6rem, 10vw, 3.2rem) !important;
  }

  .contact-hero,
  .tarifs-hero {
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact-section,
  .tarifs-section,
  .home-section,
  .practical-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .appointment-form-card,
  .sv-reservation {
    padding: 22px 14px;
  }

  .form-submit .btn,
  .sv-email-button {
    max-width: 100%;
    white-space: normal;
  }

  .tarif-item-cure,
  .colorimetrie-signature {
    padding-left: 10px;
    padding-right: 10px;
  }

  .sv-reservation .sv-cal-frame {
    min-height: 790px;
  }

}

/* =====================================================
   ACCUEIL — TITRE SUBLIM'&VOUS SUR TÉLÉPHONE
   ===================================================== */

@media screen and (max-width: 480px) {

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.15 !important;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0 !important;
    max-width: 100%;
  }

}

/* ==========================================
   SUBLIM'&VOUS — PHOTOS ENTIÈRES SUR MOBILE
   ========================================== */

@media screen and (max-width: 768px) {

  /* Photos classiques */
  img:not(.brand-logo) {
    max-width: 100%;
    height: auto;
  }

  /* Photos affichées à l'intérieur d'un cadre */
  .about-photo img,
  .card img,
  .presta-photo img,
  .hero-photo img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Images utilisées comme fonds */
  .hero,
  .contact-hero,
  .tarifs-hero {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
  }

}

/* ==========================================
   ACCUEIL — PHOTO DE FOND SUR TÉLÉPHONE
   ========================================== */

.hero {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {

  body .hero {
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #F5EEE2 !important;
  }

}

/* =====================================================
   ACCUEIL — PHOTO ET TEXTE SUPERPOSÉS SUR TÉLÉPHONE
   Uniquement sur les écrans mobiles
   ===================================================== */

@media screen and (max-width: 768px) {

  body .hero {
    /* La photo reste entièrement visible dans le fond */
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;

    /* La section peut s'agrandir selon le texte */
    height: auto !important;
    min-height: 0 !important;

    /* Réduit le grand espace vide */
    padding: 1rem 15px 2rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  body .hero .hero-inner {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    gap: 0.85rem !important;
    justify-content: flex-start !important;
  }

  /* Texte de citation */
  body .hero .hero-eyebrow {
    max-width: 100% !important;
    margin: 0 auto 0.5rem !important;
    padding: 0.8rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }

  /* Titre Sublim'&Vous */
  body .hero h1 {
    width: auto !important;
    max-width: 100% !important;
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(2.1rem, 9vw, 3rem) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    transform: none !important;
    left: auto !important;
    margin: 0.2rem auto !important;
  }

  /* Texte présentant les prestations */
  body .hero .hero-baseline {
    max-width: 100% !important;
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    margin: 0 auto !important;
  }

  /* Phrase intérieure / extérieure */
  body .hero .hero-care,
  body .hero .script.hero-care {
    max-width: 100% !important;
    font-size: 1rem !important;
    padding: 0.5rem 0.9rem !important;
    margin: 0 auto !important;
  }

  /* Boutons */
  body .hero .hero-actions {
    margin-top: 0.5rem !important;
    gap: 0.7rem !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  body .hero .hero-actions .btn {
    width: auto !important;
    max-width: 100% !important;
    padding: 0.7rem 1.5rem !important;
  }

}

