/* =========================================================
   LA BELLE PARENTHÈSE — feuille de styles principale
   Prothésiste ongulaire — one-pager + blog
   Construit sur Bootstrap 5.3 (grille & utilitaires uniquement)
   ========================================================= */

/* -------------------- Design tokens -------------------- */
:root {
  /* Palette — inspirée des vernis et de la pierre naturelle,
     volontairement écartée du duo "cream + terracotta" trop vu. */
  --stone: #F3F0EA;         /* fond principal, grège chaud */
  --stone-dark: #E7E1D6;    /* fond des blocs / placeholders */
  --ink: #241F1B;           /* texte principal, brun-noir chaud */
  --ink-soft: #6B6058;      /* texte secondaire */
  --wine: #6E2A3D;          /* accent principal — laque bordeaux */
  --wine-deep: #4E1E2C;     /* hover / contraste */
  --rose: #D8B3AC;          /* accent doux — rosé poudré */
  --rose-pale: #F0E1DC;     /* fond très clair teinté */
  --white: #FFFFFF;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", sans-serif;

  --radius: 2px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
}

/* -------------------- Base -------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--stone);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-serif {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--wine-deep); }

::selection { background: var(--rose); color: var(--ink); }

/* Visible focus state — accessibilité clavier */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container-custom {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt { background-color: var(--white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
}

/* -------------------- Signature : la parenthèse -------------------- */
/* Motif ornemental récurrent qui incarne le nom de la marque :
   chaque titre de section est encadré d'une parenthèse fine et géante,
   comme une respiration graphique. */
.paren-title {
  position: relative;
  display: inline-block;
}
.paren-title::before,
.paren-title::after {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--rose);
  position: absolute;
  top: 50%;
  transform: translateY(-52%);
  font-size: 1.6em;
  line-height: 1;
  pointer-events: none;
}
.paren-title::before { content: "("; left: -0.62em; }
.paren-title::after  { content: ")"; right: -0.62em; }

.paren-mark {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--rose);
}

/* -------------------- Navigation -------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 240, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36, 31, 27, 0.08);
  padding: 2rem 0;
  transition: box-shadow 0.3s ease;
}
.site-nav.is-scrolled { box-shadow: 0 4px 20px rgba(36, 31, 27, 0.06); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}
.brand .paren-mark { font-size: 1.35rem; color: var(--wine); }
.brand:hover { color: var(--ink); }

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}
.site-footer .brand-logo { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--wine);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.btn-book {
  background: var(--wine);
  color: var(--white) !important;
  border: 1px solid var(--wine);
  padding: 0.55rem 2.2rem !important;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.btn-book::after { display: none; }
.btn-book:hover { background: var(--wine-deep); border-color: var(--wine-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
}

@media (max-width: 991.98px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--stone);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem var(--container-pad);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-toggle { display: block; }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-decor {
  position: absolute;
  top: -8%;
  right: -6%;
  width: 100%;
  max-width: 100vw;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.hero .hero-grid {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow { margin-bottom: 1.1rem; }

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 1.4rem;
}
.hero-title .paren-mark { font-size: 0.85em; }

.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2.1rem;
}

.hero-decor-flower {
  position: absolute;
  bottom: -4rem;
  right: -6rem;
  width: 250px;
  z-index: 2;
  pointer-events: none;
}

@keyframes float-updown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-decor-flower {
  animation: float-updown 4.5s ease-in-out infinite;
}

@media (max-width: 575.98px) {
  .hero-decor-flower { width: 200px; right: -2rem; bottom: -2rem; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.btn-primary-custom {
  background: var(--wine);
  color: var(--white);
  padding: 0.85rem 1.9rem;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-primary-custom:hover { background: var(--wine-deep); color: var(--white); transform: translateY(-2px); }

.btn-ghost-custom {
  color: var(--ink);
  padding: 0.85rem 0.4rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ink);
}
.btn-ghost-custom:hover { color: var(--wine); border-color: var(--wine); }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .hero-decor { display: none; }
}

/* -------------------- Placeholder photo -------------------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(110,42,61,0.06) 0 2px, transparent 2px 14px),
    var(--stone-dark);
  border: 1px solid rgba(36,31,27,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.ph-inner {
  text-align: center;
  color: var(--ink-soft);
  padding: 1rem;
}
.ph-inner svg { width: 34px; height: 34px; margin-bottom: 0.6rem; opacity: 0.55; }
.ph-inner span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual .ph { position: absolute; inset: 0; }

.article-cover-img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  display: block;
}

.article-body p.accent {
    font-size: 1.5rem;
    line-height: 150%;
}

.hero-badge {
  position: absolute;
  bottom: -1.4rem;
  left: -1.4rem;
  background: var(--white);
  border: 1px solid rgba(36,31,27,0.08);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(36,31,27,0.10);
  max-width: 220px;
}
@media (max-width: 575.98px) { .hero-badge { left: 0; bottom: -1rem; padding: 0.9rem 1.1rem; } }
.hero-badge .num { font-family: var(--font-display); font-size: 5rem; color: var(--wine); display: block; }
.hero-badge .lbl { font-size: 1.2rem; color: var(--ink-soft); }

/* -------------------- Section headers -------------------- */
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head.text-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 0.6rem; }
.section-sub { color: var(--ink-soft); margin-top: 1rem; }

/* -------------------- À propos / parcours -------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-portrait .about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(36,31,27,0.10);
}
@media (max-width: 991.98px) { .about-grid { grid-template-columns: 1fr; } }

.about-portrait .ph { aspect-ratio: 3/4; }

.timeline { border-left: 1px solid rgba(36,31,27,0.14); margin-top: 0.5rem; }
.timeline-item { position: relative; padding: 0 0 2.2rem 1.8rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px; top: 0.35rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--wine);
}
.timeline-year {
  font-family: var(--font-display);
  color: var(--wine);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.timeline-item p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

.about-quote {
  margin-top: 2.5rem;
  padding-left: 1.6rem;
  border-left: 2px solid var(--rose);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
}

/* -------------------- Prestations -------------------- */
.service-card {
  background: var(--white);
  border: 1px solid rgba(36,31,27,0.08);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(36,31,27,0.08);
  border-color: rgba(110,42,61,0.25);
}
.service-icon {
  width: 96px; height: 96px;
  color: var(--wine);
  margin-bottom: 1.3rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 1rem; }
.service-price {
  font-family: var(--font-display);
  color: var(--wine);
  font-size: 1rem;
}

/* -------------------- Galerie -------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery-grid .ph { aspect-ratio: 1/1; }
.gallery-grid > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid > *:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 2/1; }
}

.gallery-grid .gallery-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

/* -------------------- Avis -------------------- */
.review-card {
  background: var(--rose-pale);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.review-stars { color: var(--wine); letter-spacing: 0.15em; margin-bottom: 1rem; font-size: 0.95rem; }
.review-card p.review-text { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 1.3rem; }
.review-author { font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

/* -------------------- Blog preview / listing -------------------- */
.blog-card { display: block; color: var(--ink); }
.blog-card .ph { aspect-ratio: 16/10; margin-bottom: 1.2rem; }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  display: block;
}
.blog-card .blog-meta { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wine); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; transition: color 0.2s ease; }
.blog-card:hover h3 { color: var(--wine); }
.blog-card p { color: var(--ink-soft); font-size: 0.96rem; }
.blog-card .read-more { font-size: 0.85rem; font-weight: 600; }

/* -------------------- CTA bandeau -------------------- */
.cta-band {
  background: var(--wine);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-band .paren-title::before,
.cta-band .paren-title::after { color: var(--rose); }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 32rem; margin: 1rem auto 2rem; }
.cta-band .btn-primary-custom { background: var(--white); color: var(--wine); }
.cta-band .btn-primary-custom:hover { background: var(--rose-pale); color: var(--wine-deep); }

/* -------------------- Infos pratiques / footer -------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 4rem 0 2rem; }
.site-footer .brand { color: var(--white); }
.site-footer .brand .paren-mark { color: var(--rose); }
.site-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--rose); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6rem; font-size: 0.94rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3rem; padding-top: 1.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; }

/* -------------------- Reveal on scroll -------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------- Blog article page -------------------- */
.article-hero { padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: 2.5rem; }
.article-hero .eyebrow { margin-bottom: 1rem; }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; }
.article-meta { color: var(--ink-soft); font-size: 0.92rem; margin-top: 1.2rem; }
.article-cover .ph { aspect-ratio: 16/8; margin-bottom: 2.5rem; }
.article-body { max-width: 44rem; margin: 0 auto; }
.article-body p { margin-bottom: 1.4rem; }
.article-body h2 { font-size: 1.55rem; margin: 2.4rem 0 1rem; }
.article-body blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  border-left: 2px solid var(--rose);
  padding-left: 1.4rem;
  margin: 2.2rem 0;
  color: var(--ink);
}

/* -------------------- Lightbox galerie -------------------- */
.gallery-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
}
.gallery-item:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(36, 31, 27, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }

/* -------------------- Bandeau promo défilant -------------------- */
.promo-bar {
  position: relative;
  height: 44px;
  max-height: 64px;
  background: var(--wine);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.promo-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: promo-scroll 20s linear infinite;
}

.promo-item {
  display: inline-flex;
  align-items: center;
  padding: 0 3rem;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.promo-item:hover { color: var(--rose-pale); }

@keyframes promo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.promo-close {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0.3rem;
}
.promo-close:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .promo-track { animation: none; }
  .promo-item + .promo-item { display: none; }
}

/* -------------------- QR code réservation -------------------- */
.qr-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(36, 31, 27, 0.08);
  text-align: center;
  padding: 0.55rem 0;
}

.qr-strip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}
.qr-strip-toggle:hover { color: var(--wine); }

.qr-panel {
  max-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 1rem;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.qr-panel.is-open { max-height: 200px; padding: 1rem; }
.qr-panel img { background: var(--white); border: 1px solid rgba(36, 31, 27, 0.1); border-radius: 4px; flex-shrink: 0; }
.qr-panel p { font-size: 0.8rem; color: var(--ink-soft); margin: 0; text-align: left; }

@media (max-width: 767.98px) {
  .qr-strip { display: none; }
}

#contact .reduce {
  font-size: 0.85em;
  color: var(--ink-soft);
}