/*
Theme Name: LOCBOOTH Galerie
Theme URI: https://locbooth-galerie.fr/
Author: LOCBOOTH
Description: Thème WordPress simple et élégant pour un site de galeries privées clients LOCBOOTH.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: locbooth-galerie
*/

:root {
  --lb-black: #111111;
  --lb-black-soft: #1b1b1b;
  --lb-gold: #c9a227;
  --lb-gold-soft: #eadba1;
  --lb-cream: #f8f6f0;
  --lb-white: #ffffff;
  --lb-text: #252525;
  --lb-muted: #6d6d6d;
  --lb-border: rgba(201, 162, 39, 0.25);
  --lb-radius: 24px;
  --lb-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--lb-text);
  background: var(--lb-cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.lb-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.lb-header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lb-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--lb-white);
  letter-spacing: 0.05em;
}

.lb-brand strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.lb-brand span {
  color: var(--lb-gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lb-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--lb-white);
  font-size: 0.95rem;
}

.lb-nav a {
  color: var(--lb-white);
  text-decoration: none;
  opacity: 0.86;
}

.lb-nav a:hover,
.lb-nav a:focus {
  color: var(--lb-gold-soft);
  opacity: 1;
}

.lb-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 162, 39, 0.25), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(135deg, #0d0d0d 0%, #1d1d1d 55%, #111111 100%);
  color: var(--lb-white);
}

.lb-hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.28);
}

.lb-hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 56px;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.lb-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--lb-border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--lb-gold-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lb-hero h1 {
  margin: 22px 0 18px;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  letter-spacing: -0.06em;
}

.lb-hero p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.lb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.lb-button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--lb-gold);
  color: #111111 !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.25);
  cursor: pointer;
}

.lb-button:hover,
.lb-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.lb-button-secondary {
  color: var(--lb-white) !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.lb-button-outline {
  color: var(--lb-white) !important;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: none;
}

.lb-gallery-access {
  padding-bottom: 0;
}

.lb-callout-light {
  background: var(--lb-white);
  color: var(--lb-text);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.lb-callout-light h2 {
  color: var(--lb-black);
}

.lb-callout-light p {
  color: var(--lb-muted);
}

.lb-eyebrow-dark {
  color: var(--lb-black);
  background: var(--lb-cream);
  border-color: rgba(201, 162, 39, 0.34);
  margin-bottom: 16px;
}

.lb-preview-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--lb-radius);
  padding: 18px;
  box-shadow: var(--lb-shadow);
}

.lb-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lb-photo-tile {
  min-height: 145px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.9), rgba(248, 246, 240, 0.9)),
    radial-gradient(circle at 30% 20%, #ffffff, transparent 35%);
  position: relative;
  overflow: hidden;
}

.lb-photo-tile:nth-child(2) {
  transform: translateY(26px);
  background:
    linear-gradient(135deg, rgba(248, 246, 240, 0.95), rgba(201, 162, 39, 0.72)),
    radial-gradient(circle at 65% 25%, #ffffff, transparent 34%);
}

.lb-photo-tile:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(35, 35, 35, 0.16)),
    radial-gradient(circle at 35% 30%, rgba(201, 162, 39, 0.8), transparent 30%);
}

.lb-photo-tile:nth-child(4) {
  transform: translateY(26px);
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.55), rgba(17, 17, 17, 0.95)),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.8), transparent 28%);
}

.lb-preview-note {
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.lb-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.lb-section h2,
.lb-page h1,
.lb-entry h1,
.lb-entry h2 {
  margin: 0 0 18px;
  color: var(--lb-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.lb-section-intro {
  max-width: 760px;
  color: var(--lb-muted);
  font-size: 1.08rem;
}

.lb-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.lb-step {
  min-height: 230px;
  padding: 28px;
  border-radius: var(--lb-radius);
  background: var(--lb-white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.lb-step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--lb-black);
  color: var(--lb-gold-soft);
  font-weight: 800;
}

.lb-step h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
}

.lb-step p {
  margin: 0;
  color: var(--lb-muted);
}

.lb-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border-radius: calc(var(--lb-radius) + 8px);
  padding: clamp(28px, 5vw, 52px);
  background: var(--lb-black);
  color: var(--lb-white);
  overflow: hidden;
  position: relative;
}

.lb-callout::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -80px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.16);
}

.lb-callout > * {
  position: relative;
  z-index: 1;
}

.lb-callout h2 {
  color: var(--lb-white);
}

.lb-callout p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.lb-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.lb-info-card {
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.lb-info-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.lb-info-card p,
.lb-info-card li {
  color: var(--lb-muted);
}

.lb-footer {
  background: var(--lb-black);
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
}

.lb-footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lb-footer strong {
  color: var(--lb-white);
}

.lb-footer a {
  color: var(--lb-gold-soft);
  text-decoration: none;
}

.lb-page {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 84px;
}

.lb-entry {
  background: var(--lb-white);
  border-radius: var(--lb-radius);
  padding: clamp(24px, 5vw, 54px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.lb-entry .wp-block-gallery {
  margin-top: 28px;
  margin-bottom: 28px;
}

.lb-entry input[type="password"],
.lb-entry input[type="text"] {
  width: min(100%, 360px);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 1rem;
}

.post-password-form {
  padding: 24px;
  border-radius: var(--lb-radius);
  background: var(--lb-cream);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.post-password-form label {
  display: block;
  margin: 18px 0 12px;
  font-weight: 700;
}

.post-password-form input[type="submit"] {
  margin-left: 8px;
}

.alignwide {
  max-width: 1120px;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (max-width: 860px) {
  .lb-header-inner {
    min-height: 66px;
  }

  .lb-nav {
    display: none;
  }

  .lb-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 64px 0;
  }

  .lb-preview-card {
    max-width: 440px;
  }

  .lb-steps,
  .lb-info-grid {
    grid-template-columns: 1fr;
  }

  .lb-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .lb-photo-tile {
    min-height: 112px;
  }

  .lb-section {
    padding: 58px 0;
  }

  .post-password-form input[type="submit"] {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}


.lb-gallery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.lb-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  padding: 26px;
  border-radius: var(--lb-radius);
  background: var(--lb-cream);
  border: 1px solid rgba(17, 17, 17, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lb-gallery-item:hover,
.lb-gallery-item:focus {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.45);
  background: var(--lb-white);
}

.lb-gallery-item h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lb-gallery-meta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(201, 162, 39, 0.16);
  color: var(--lb-black);
  font-size: 0.86rem;
  font-weight: 700;
}

.lb-gallery-desc {
  margin: 0;
  color: var(--lb-muted);
}

.lb-empty-state {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--lb-radius);
  background: var(--lb-cream);
  border: 1px dashed rgba(17, 17, 17, 0.18);
  color: var(--lb-muted);
}

@media (max-width: 860px) {
  .lb-gallery-list {
    grid-template-columns: 1fr;
  }
}


.lb-manual-links {
  margin-top: 30px;
  margin-bottom: 38px;
  padding: 28px;
  border-radius: var(--lb-radius);
  background: var(--lb-cream);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.lb-manual-links h2,
.lb-manual-links h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.lb-manual-links .wp-block-buttons {
  margin-top: 18px;
  margin-bottom: 18px;
}

.lb-section-heading-inline {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.lb-section-heading-inline h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.lb-section-heading-inline p {
  margin: 0;
  color: var(--lb-muted);
}


.lb-page-intro {
  color: var(--lb-muted);
  font-size: 1.08rem;
  max-width: 820px;
}

.lb-editable-content {
  margin-top: 30px;
  margin-bottom: 42px;
  padding: 30px;
  border-radius: var(--lb-radius);
  background: var(--lb-cream);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.lb-editable-content > *:first-child {
  margin-top: 0;
}

.lb-editable-content > *:last-child {
  margin-bottom: 0;
}

.lb-editable-content .wp-block-buttons {
  margin-top: 18px;
  margin-bottom: 18px;
}

.lb-entry-galleries .wp-block-button__link {
  background: var(--lb-gold);
  color: var(--lb-black);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  text-decoration: none;
}

.lb-entry-galleries .wp-block-button__link:hover,
.lb-entry-galleries .wp-block-button__link:focus {
  filter: brightness(0.96);
}
