/*
Theme Name: Gerard Tricottet Ceramiste
Theme URI: https://gerardtricottet.fr
Author: Gerard Tricottet
Description: Site professionnel pour ceramiste - galeries, boutique WooCommerce, expositions
Version: 7.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2
Text Domain: gt-ceramiste
*/

/* =============================================
   VARIABLES & RESET
============================================= */
:root {
  --clay: #8B6E52;
  --clay-light: #C4A882;
  --clay-pale: #F2EBE0;
  --earth: #5C3D2E;
  --earth-dark: #3A2519;
  --sand: #E8D5BC;
  --cream: #FAF7F2;
  --sage: #7A9E7E;
  --sage-light: #A8C4A2;
  --sage-pale: #EBF2EB;
  --sage-dark: #4A6B4E;
  --sage-deep: #2D4A30;
  --warm-gray: #9E9089;
  --text: #2C1F15;
  --text-muted: #7A6559;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 4px 16px rgba(58,37,25,0.08);
  --shadow-md: 0 12px 36px rgba(58,37,25,0.12);
  --shadow-lg: 0 24px 60px rgba(58,37,25,0.16);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; }
ul { list-style: none; }

/* =============================================
   NAVIGATION
============================================= */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.4rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(122,158,126,0.15);
  transition: padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  padding: 0.9rem 5rem;
  box-shadow: var(--shadow-sm);
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--earth-dark);
  white-space: nowrap;
}
.site-logo span {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-dark);
  font-weight: 400;
  font-style: normal;
}
.nav-wrap { display: flex; align-items: center; gap: 2.5rem; }
.main-navigation ul { display: flex; gap: 2rem; align-items: center; }
.main-navigation a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  font-weight: 400;
  position: relative;
}
.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--sage);
  transition: width var(--transition);
}
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after { width: 100%; }
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--sage-dark); }
.nav-boutique > a {
  background: var(--sage-dark) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  letter-spacing: 0.14em;
}
.nav-boutique > a::after { display: none !important; }
.nav-boutique > a:hover { background: var(--sage) !important; }

/* Sélecteur de langue */
.lang-switcher {
  display: flex; gap: 0.4rem; align-items: center;
}
.lang-btn {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border: 1px solid transparent;
  background: none;
  transition: all 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
  color: var(--sage-dark);
  border-color: rgba(122,158,126,0.4);
}
.lang-sep { color: var(--warm-gray); font-size: 0.7rem; }

/* Burger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--earth-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO PLEIN ÉCRAN
============================================= */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--sage-pale);
}

/* Formes organiques animées */
.hero-shapes {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: morphShape 10s infinite ease-in-out;
}
.shape-1 {
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: var(--sage-light);
  opacity: 0.25;
  animation-duration: 12s;
}
.shape-2 {
  width: 38vw; height: 42vw; max-width: 480px; max-height: 530px;
  background: var(--sage);
  opacity: 0.18;
  animation-duration: 9s;
  animation-direction: reverse;
}
.shape-3 {
  width: 22vw; height: 26vw; max-width: 280px; max-height: 330px;
  background: var(--clay-light);
  opacity: 0.22;
  animation-duration: 7s;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sage-dark);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--earth-dark);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--sage-dark); }
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.hero-ctas {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.9s 1.2s forwards;
  cursor: pointer;
}
.hero-scroll-line {
  width: 1px; height: 55px;
  background: var(--sage);
  animation: scrollPulse 2.2s 2s infinite;
}
.hero-scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--warm-gray);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* =============================================
   BOUTONS
============================================= */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  padding: 1.1rem 3rem;
  background: var(--sage-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,107,78,0.25);
}
.btn-outline {
  padding: 1.1rem 3rem;
  border: 1.5px solid var(--sage);
  color: var(--sage-dark);
  background: transparent;
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  padding: 1.1rem 3rem;
  background: var(--earth-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--earth); transform: translateY(-2px); }

/* =============================================
   SECTIONS — BASE
============================================= */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--sage-dark);
  display: block;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--earth-dark);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--clay); }
.section-divider {
  width: 55px; height: 1.5px;
  background: var(--sage-light);
  margin-bottom: 2rem;
}

/* PAGE HERO (pages internes) */
.page-hero {
  padding: 10rem 6rem 5rem;
  background: linear-gradient(160deg, var(--sage-pale) 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(122,158,126,0.18);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 60% 40% 55% 45%/50% 60% 40% 50%;
  background: var(--sage-light);
  opacity: 0.12;
  top: -100px; right: -100px;
  animation: morphShape 12s infinite;
}
.page-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--sage-dark);
  display: block;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--earth-dark);
  line-height: 1.0;
  position: relative;
}
.page-hero h1 em { font-style: italic; color: var(--sage); }
.page-divider {
  width: 55px; height: 1.5px;
  background: var(--sage-light);
  margin-top: 1.8rem;
}

/* =============================================
   HOMEPAGE — APERÇU GALERIES
============================================= */
.home-galeries {
  padding: 8rem 6rem;
  background: var(--cream);
}
.home-galeries-header { margin-bottom: 3.5rem; }
.home-galeries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.home-serie-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.home-serie-item img,
.home-serie-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
  display: block;
}
.home-serie-placeholder {
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
}
.home-serie-item:hover img { transform: scale(1.06); }
.home-serie-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,16,0.7) 0%, transparent 50%);
  display: flex; align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.home-serie-item:hover .home-serie-overlay { opacity: 1; }
.home-serie-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 300;
}
.home-bottom { display: flex; justify-content: center; }

/* =============================================
   GALERIES — LISTE DES SÉRIES
============================================= */
.galeries-page { padding: 4rem 6rem 8rem; }
.galeries-intro {
  max-width: 650px;
  margin-bottom: 4rem;
}
.galeries-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.serie-card {
  cursor: pointer;
  border: 0.5px solid rgba(122,158,126,0.2);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.serie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.serie-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--sage-pale);
}
.serie-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.serie-card:hover .serie-thumb img { transform: scale(1.07); }
.serie-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.serie-morph {
  width: 100px; height: 115px;
  background: var(--sage-light);
  border-radius: 60% 40% 55% 45%/50% 60% 40% 50%;
  animation: morphShape 9s infinite;
  opacity: 0.7;
}
.serie-num {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  background: var(--sage-dark);
  color: var(--white);
  padding: 0.2rem 0.6rem;
}
.serie-body {
  padding: 1.2rem 1.4rem 1.3rem;
  border-top: 0.5px solid rgba(122,158,126,0.12);
}
.serie-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--earth-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}
.serie-title span { color: var(--sage); font-size: 1rem; }
.serie-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* =============================================
   GALERIE DÉTAIL (single serie)
============================================= */
.galerie-detail { padding: 3rem 6rem 8rem; }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: none;
  border: none;
  padding: 0.5rem 0;
  margin-bottom: 2.5rem;
  transition: color var(--transition);
  text-decoration: none;
}
.back-btn:hover { color: var(--sage); }
.galerie-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--earth-dark);
  margin-bottom: 0.5rem;
}
.galerie-detail-title em { font-style: italic; color: var(--sage); }
.galerie-detail-desc {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.85;
  margin-top: 0.5rem;
  max-width: 600px;
}

/* Masonry */
.masonry {
  columns: 3;
  column-gap: 1.3rem;
  margin-top: 3rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.3rem;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--transition);
  object-fit: cover;
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-caption {
  position: absolute; inset: 0;
  background: rgba(15,28,16,0);
  display: flex; align-items: flex-end;
  padding: 1.2rem;
  transition: background var(--transition);
}
.masonry-item:hover .masonry-caption {
  background: rgba(15,28,16,0.38);
}
.masonry-caption span {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition);
}
.masonry-item:hover .masonry-caption span { opacity: 1; }

/* Message ajout photos */
.add-photos-guide {
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  padding: 2.5rem 3rem;
  margin-top: 2rem;
}
.add-photos-guide h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--earth-dark);
  margin-bottom: 1.5rem;
}
.add-photos-guide ol {
  padding-left: 1.5rem;
  line-height: 2.8;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
}
.add-photos-guide li strong { color: var(--sage-dark); }

/* =============================================
   LIGHTBOX
============================================= */
.gt-lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 18, 9, 0.96);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.gt-lightbox.open { opacity: 1; pointer-events: all; }
.gt-lb-wrap {
  position: relative;
  display: flex; align-items: center;
  gap: 1.5rem;
  max-width: 95vw;
}
.gt-lb-img-wrap {
  position: relative;
}
#gt-lb-img {
  max-height: 88vh;
  max-width: 80vw;
  object-fit: contain;
  display: block;
}
.gt-lb-close {
  position: absolute;
  top: -3rem; right: 0;
  background: none;
  border: 1.5px solid rgba(168,196,162,0.4);
  color: var(--sage-light);
  width: 42px; height: 42px;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.gt-lb-close:hover { background: rgba(168,196,162,0.15); }
.gt-lb-nav {
  background: none;
  border: 1.5px solid rgba(168,196,162,0.3);
  color: var(--sage-light);
  width: 50px; height: 50px;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.gt-lb-nav:hover { background: rgba(168,196,162,0.12); }
.gt-lb-counter {
  position: absolute;
  bottom: -2.5rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(168,196,162,0.6);
  letter-spacing: 0.15em;
  white-space: nowrap;
}

/* =============================================
   WOOCOMMERCE — BOUTIQUE
============================================= */
/* Intro boutique */
.boutique-wrap { padding: 3rem 6rem 8rem; }
.boutique-intro {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.boutique-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
}

/* Grille produits */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product {
  border: 0.5px solid rgba(122,158,126,0.18);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* Double image hover */
.gt-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--sage-pale);
  height: 300px;
}
.gt-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.2rem;
  transition: opacity 0.45s ease, transform 0.6s var(--transition);
}
.gt-img-primary { opacity: 1; transform: scale(1); z-index: 2; }
.gt-img-secondary { opacity: 0; transform: scale(1.04); z-index: 1; }
.woocommerce ul.products li.product:hover .gt-img-primary { opacity: 0; transform: scale(1.04); }
.woocommerce ul.products li.product:hover .gt-img-secondary { opacity: 1; transform: scale(1); }

/* Badge disponibilité */
.gt-badge {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  z-index: 3;
}
.gt-badge-dispo { background: rgba(122,158,126,0.22); color: var(--sage-dark); }
.gt-badge-vendu { background: rgba(58,37,25,0.12); color: var(--earth); }
.gt-badge-reserve { background: rgba(196,168,130,0.22); color: var(--clay); }

/* Infos produit */
.gt-product-body {
  padding: 1.2rem 1.4rem 1.4rem;
  border-top: 0.5px solid rgba(122,158,126,0.12);
}
.gt-product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--earth-dark);
  margin-bottom: 0.7rem;
  display: block;
}
.gt-product-specs {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid rgba(122,158,126,0.1);
}
.gt-spec {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
}
.gt-spec-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.gt-spec-val {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}
.gt-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.woocommerce ul.products li.product .price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--sage-dark);
  line-height: 1;
}
.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
  font-size: 1rem;
  vertical-align: super;
}
.gt-voir-btn {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  background: var(--sage-dark);
  color: var(--white);
  border: none;
  transition: background var(--transition);
}
.gt-voir-btn:hover { background: var(--sage); }
.gt-vendu-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  border: 0.5px solid var(--warm-gray);
  padding: 0.4rem 0.9rem;
  opacity: 0.7;
}

/* Cacher éléments WooCommerce inutiles */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-breadcrumb,
.woocommerce form.cart,
.woocommerce #reviews,
.woocommerce .related.products,
.woocommerce-notices-wrapper,
.woocommerce-message { display: none !important; }

/* =============================================
   SINGLE PRODUIT
============================================= */
.single-product-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  padding: 9rem 6rem 7rem;
}
.product-gallery-col { position: sticky; top: 8rem; }
.product-main-img-wrap {
  position: relative;
  background: var(--sage-pale);
  overflow: hidden;
  cursor: zoom-in;
  margin-bottom: 1rem;
}
.product-main-img-wrap img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  padding: 2rem;
  display: block;
  transition: transform 0.5s var(--transition);
}
.product-main-img-wrap:hover img { transform: scale(1.03); }
.product-thumbnails {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.product-thumb {
  width: 78px; height: 78px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.product-thumb:hover { border-color: var(--sage-light); }
.product-thumb.active { border-color: var(--sage-dark); }
.product-info-col { padding-top: 0.5rem; }
.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}
.product-back-link:hover { color: var(--sage); }
.product-name {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--earth-dark);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.product-short-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.8rem;
}
.product-price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--sage-dark);
  margin-bottom: 2rem;
  display: block;
}
.product-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
}
.product-meta-table td {
  padding: 0.75rem 0;
  border-bottom: 0.5px solid rgba(122,158,126,0.15);
  font-size: 1rem;
  vertical-align: top;
}
.product-meta-table td:first-child {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  width: 140px;
  padding-right: 1rem;
}
.product-meta-table td:last-child {
  color: var(--text-muted);
  font-weight: 300;
}
.product-cta-btn {
  display: block;
  width: 100%;
  padding: 1.2rem;
  background: var(--sage-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  margin-top: 0.5rem;
}
.product-cta-btn:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,107,78,0.25);
}
.product-vendu-notice {
  display: block;
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--warm-gray);
  color: var(--warm-gray);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0.7;
}

/* =============================================
   MODAL COMMANDE
============================================= */
.gt-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(8,18,9,0.88);
  z-index: 9998;
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.gt-modal.open { display: flex; }
.gt-modal-box {
  background: var(--sage-deep);
  padding: 3.5rem;
  max-width: 540px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.gt-modal-close {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  background: none;
  border: 1.5px solid rgba(168,196,162,0.35);
  color: var(--sage-light);
  width: 40px; height: 40px;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.gt-modal-close:hover { background: rgba(168,196,162,0.15); }
.gt-modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.gt-modal-product {
  font-size: 1rem;
  color: var(--sage-light);
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.gt-modal-msg {
  display: none;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.gt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gt-form-group { margin-bottom: 1.4rem; }
.gt-form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.6rem;
}
.gt-form-group input,
.gt-form-group textarea,
.gt-form-group select {
  width: 100%;
  background: rgba(250,247,242,0.07);
  border: 1px solid rgba(168,196,162,0.28);
  padding: 1rem 1.2rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.gt-form-group input:focus,
.gt-form-group textarea:focus,
.gt-form-group select:focus { border-color: var(--sage-light); }
.gt-form-group input::placeholder,
.gt-form-group textarea::placeholder { color: rgba(250,247,242,0.3); }
.gt-form-group textarea { height: 95px; resize: none; }
.gt-form-group select option { background: var(--sage-deep); color: var(--white); }
.gt-modal-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}
.gt-modal-submit:hover { background: var(--sage-light); }
.gt-modal-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* =============================================
   EXPOSITIONS
============================================= */
.expositions-wrap { padding: 4rem 6rem 8rem; }
.expo-filters {
  display: flex; gap: 0.7rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.expo-filter-btn {
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(122,158,126,0.3);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.expo-filter-btn.active,
.expo-filter-btn:hover {
  background: var(--sage-dark);
  color: var(--white);
  border-color: var(--sage-dark);
}
.expo-list { display: flex; flex-direction: column; }
.expo-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 0.5px solid rgba(122,158,126,0.15);
  transition: background var(--transition);
}
.expo-item.hidden { display: none; }
.expo-year {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--sage-light);
  line-height: 1;
}
.expo-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--earth-dark);
  margin-bottom: 0.4rem;
}
.expo-lieu {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 0.25rem;
}
.expo-dates {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
}
.expo-status {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  white-space: nowrap;
  align-self: start;
  margin-top: 0.5rem;
}
.status-encours { background: rgba(122,158,126,0.2); color: var(--sage-dark); }
.status-avenir  { background: rgba(196,168,130,0.2); color: var(--clay); }
.status-passe   { background: rgba(158,144,137,0.1); color: var(--warm-gray); }

/* =============================================
   ARTISTE
============================================= */
.artiste-wrap { padding: 4rem 6rem 8rem; }
.artiste-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
  margin-bottom: 6rem;
}
.artiste-portrait-col { position: relative; }
.portrait-img-wrap {
  width: 100%;
  height: 580px;
  overflow: hidden;
}
.portrait-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.portrait-placeholder {
  width: 100%; height: 580px;
  background: linear-gradient(145deg, var(--sage-pale), #C8DFC4);
  position: relative; overflow: hidden;
}
.portrait-shape-anim {
  position: absolute;
  width: 280px; height: 300px;
  background: var(--sage);
  border-radius: 50% 40% 60% 40%/60% 50% 50% 40%;
  bottom: 20px; right: -40px;
  opacity: 0.45;
  animation: morphShape 10s infinite;
}
.artiste-badge {
  position: absolute;
  top: 3rem; left: -2.5rem;
  background: var(--sage-dark);
  color: var(--white);
  padding: 1.8rem 2.2rem;
  text-align: center;
  z-index: 2;
}
.badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-top: 0.3rem;
}
.artiste-bio-col { padding-top: 1rem; }
.artiste-bio-col p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 2.1;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.artiste-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.8rem 0;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(122,158,126,0.2);
  border-bottom: 1px solid rgba(122,158,126,0.2);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--sage-dark);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 0.35rem;
  display: block;
}
.artiste-quote {
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  padding: 2.5rem 3rem;
  margin: 5rem 0;
}
.artiste-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  font-style: italic;
  color: var(--earth-dark);
  line-height: 1.6;
}
.artiste-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-style: normal;
}
.formations-section { margin-top: 4rem; }
.formations-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--earth-dark);
  margin-bottom: 2.5rem;
}
.formations-title em { font-style: italic; color: var(--sage); }
.timeline {
  border-left: 1.5px solid var(--sage-light);
  padding-left: 2.5rem;
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.75rem; top: 0.35rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sage);
  border: 2.5px solid var(--cream);
  box-shadow: 0 0 0 2px var(--sage-light);
}
.timeline-year {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.35rem;
  display: block;
  font-weight: 500;
}
.timeline-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--earth-dark);
  margin-bottom: 0.2rem;
}
.timeline-place { font-size: 1rem; color: var(--text-muted); }

/* =============================================
   CONTACT
============================================= */
.contact-page-wrap {
  background: var(--sage-deep);
  padding: 5rem 6rem 8rem;
}
.contact-page-wrap .section-eyebrow { color: var(--sage-light); }
.contact-page-wrap .section-title { color: var(--white); }
.contact-page-wrap .section-title em { color: var(--sage-light); }
.contact-page-wrap .section-divider { background: var(--sage); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  margin-top: 4rem;
}
.contact-info-text {
  font-size: 1rem;
  color: rgba(250,247,242,0.65);
  line-height: 1.95;
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.contact-detail-list { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-detail-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-detail-icon {
  width: 42px; height: 42px;
  border: 1.5px solid rgba(168,196,162,0.38);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 18px; height: 18px;
  stroke: var(--sage-light);
  fill: none; stroke-width: 1.5;
}
.contact-detail-text {
  font-size: 1rem;
  color: rgba(250,247,242,0.7);
  padding-top: 0.6rem;
  font-weight: 300;
}
.contact-form .form-group { margin-bottom: 1.6rem; }
.contact-form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.7rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(250,247,242,0.07);
  border: 1px solid rgba(168,196,162,0.28);
  padding: 1.1rem 1.3rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(250,247,242,0.3); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--sage-light); }
.contact-form textarea { height: 145px; resize: none; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.contact-submit:hover { background: var(--sage-light); }
#contact-msg {
  display: none;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--sage-deep);
  border-top: 1px solid rgba(168,196,162,0.15);
  padding: 2.8rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(250,247,242,0.38);
  letter-spacing: 0.08em;
}
.footer-links {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.footer-links a {
  color: var(--sage-light);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

/* =============================================
   SCROLL REVEAL
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes morphShape {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%     { border-radius: 40% 60% 45% 55% / 60% 40% 55% 45%; }
  66%     { border-radius: 55% 45% 60% 40% / 45% 55% 60% 40%; }
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%     { transform: scaleY(0.55); opacity: 0.4; }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1200px) {
  .site-header,
  .galeries-page, .galerie-detail, .expositions-wrap,
  .artiste-wrap, .contact-page-wrap, .home-galeries,
  .boutique-wrap, .single-product-wrap, .site-footer { padding-left: 3rem; padding-right: 3rem; }
  .page-hero { padding: 9rem 3rem 4.5rem; }
  .artiste-grid { gap: 4rem; }
}
@media (max-width: 1024px) {
  .site-header,
  .galeries-page, .galerie-detail, .expositions-wrap,
  .artiste-wrap, .contact-page-wrap, .home-galeries,
  .boutique-wrap, .site-footer { padding-left: 2.5rem; padding-right: 2.5rem; }
  .page-hero { padding: 8.5rem 2.5rem 4rem; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .single-product-wrap { grid-template-columns: 1fr; gap: 3rem; padding: 8rem 2.5rem 5rem; }
  .product-gallery-col { position: static; }
  .artiste-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .artiste-badge { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .home-galeries-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .expo-item { grid-template-columns: 100px 1fr; gap: 1.5rem; }
  .expo-status { grid-column: 2; }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  .site-header { padding: 1.2rem 1.5rem; }
  .site-header.scrolled { padding: 0.85rem 1.5rem; }
  .main-navigation { display: none; }
  .main-navigation.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--cream);
    z-index: 1000;
    justify-content: center; align-items: center;
  }
  .main-navigation.open ul { flex-direction: column; align-items: center; gap: 2.5rem; }
  .main-navigation.open a { font-size: 1.1rem; }
  .lang-switcher { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .home-galeries-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .series-grid { grid-template-columns: 1fr 1fr; }
  .artiste-stats { grid-template-columns: 1fr 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
  .gt-form-row,
  .contact-form .form-row { grid-template-columns: 1fr; }
  .galeries-page, .galerie-detail, .expositions-wrap,
  .artiste-wrap, .contact-page-wrap, .home-galeries,
  .boutique-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
  .page-hero { padding: 7.5rem 1.5rem 3.5rem; }
  .expo-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .expo-year { font-size: 2rem; }
  .gt-lb-nav { width: 40px; height: 40px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .series-grid { grid-template-columns: 1fr; }
  .gt-modal-box { padding: 2rem 1.5rem; }
}

/* ── Expo liste — miniature affiche ── */
.expo-item { cursor: pointer; }
.expo-thumb { width: 90px; height: 120px; overflow: hidden; flex-shrink: 0; }
.expo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.expo-item:hover .expo-thumb img { transform: scale(1.05); }
.expo-short-desc { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; margin-top: 0.3rem; line-height: 1.7; }
.expo-voir { display: inline-block; margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-dark); transition: color 0.3s; }
.expo-item:hover .expo-voir { color: var(--sage); }

@media(max-width:768px) {
  main[style*="padding:3rem 6rem"] { padding: 2rem 1.5rem 5rem !important; }
  main[style*="padding:3rem 6rem 7rem"] { padding: 2rem 1.5rem 5rem !important; }
}

/* ── Home serie — başlık her zaman görünsün ── */
.home-serie-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,16,0.75) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 1.8rem;
  opacity: 1 !important;
}
.home-serie-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 300;
  letter-spacing: 0.05em;
}
.home-oeuvres { background: var(--sage-pale); }

/* =============================================
   LIGHTBOX — MOBILE FIX
============================================= */
.gt-lightbox {
  padding: 1rem;
}
.gt-lb-wrap {
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 100vw;
  width: 100%;
}
.gt-lb-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#gt-lb-img {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
/* Fermer en haut à droite */
.gt-lb-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10001;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  background: rgba(15,28,16,0.8);
  border: 1.5px solid rgba(168,196,162,0.5);
}
/* Flèches en bas, côte à côte */
.gt-lb-nav {
  position: fixed;
  bottom: 2rem;
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  background: rgba(15,28,16,0.85);
  border: 1.5px solid rgba(168,196,162,0.4);
  z-index: 10001;
}
.gt-lb-nav:hover {
  background: rgba(74,107,78,0.8);
}
#gt-lb-prev { left: calc(50% - 65px); }
#gt-lb-next { left: calc(50% + 10px); }
.gt-lb-counter {
  position: fixed;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  color: rgba(168,196,162,0.8);
  letter-spacing: 0.15em;
  z-index: 10001;
}
/* Swipe zone */
.gt-lb-img-wrap {
  touch-action: pan-y;
}

/* =============================================
   MENU MOBILE — FIX TRANSPARENT
============================================= */
.main-navigation.open {
  background: var(--cream) !important;
  opacity: 1 !important;
}
.main-navigation.open ul {
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
}
.main-navigation.open a {
  font-size: 1.1rem;
  color: var(--earth-dark) !important;
  opacity: 1 !important;
}
.main-navigation.open .nav-boutique > a {
  background: var(--sage-dark) !important;
  color: var(--white) !important;
  padding: 0.7rem 2rem !important;
}
/* MENU MOBILE — tam ekran fix */
.main-navigation.open {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background: var(--cream) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  overflow-y: auto !important;
}
.main-navigation.open ul {
  flex-direction: column !important;
  align-items: center !important;
  gap: 2.5rem !important;
  padding: 2rem !important;
}
.main-navigation.open a {
  font-size: 1.2rem !important;
  color: var(--earth-dark) !important;
  letter-spacing: 0.18em !important;
}
.main-navigation.open .nav-boutique > a {
  background: var(--sage-dark) !important;
  color: var(--white) !important;
  padding: 0.7rem 2.5rem !important;
}
/* Kapatma butonu menü üstünde */
.nav-toggle {
  z-index: 10000 !important;
}
html.gt-intro-skip #gt-intro { display: none !important; }

#gt-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Clay blobs — centered in CSS, GSAP pushes them to corners */
.gt-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  will-change: transform, opacity, border-radius;
  pointer-events: none;
}
#gt-blob-tl { background: var(--clay-light); }
#gt-blob-tr { background: var(--sage-light); }
#gt-blob-bl { background: var(--sand); }
#gt-blob-br { background: var(--clay); opacity: 0.82; }

/* Vase SVG */
.gt-vase-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(120px, 18vw, 200px);
  pointer-events: none;
}
.gt-vase-wrap svg { width: 100%; overflow: visible; }

#gt-vase-path {
  fill: var(--clay-pale);
  stroke: var(--clay);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Artist name */
.gt-intro-name {
  position: absolute;
  bottom: 18%;
  left: 0; right: 0;
  text-align: center;
  pointer-events: none;
}
.gt-intro-first {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--earth-dark);
  letter-spacing: 0.08em;
  line-height: 1;
}
.gt-intro-last {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--sage-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}
.gt-intro-sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 1rem;
}

/* Skip button */
.gt-intro-skip-btn {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  background: none;
  border: 1px solid rgba(92,61,46,0.22);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.gt-intro-skip-btn:hover {
  border-color: var(--clay);
  color: var(--clay);
}

/* =============================================
   CUSTOM CURSOR
============================================= */
@media (hover: hover) and (pointer: fine) {
  body,
  a, button, [role="button"],
  .masonry-item, .serie-card, .home-serie-item,
  .expo-item, .product-thumb,
  .woocommerce ul.products li.product { cursor: none; }
}

.gt-cursor {
  width: 10px;
  height: 10px;
  background: var(--clay);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  mix-blend-mode: multiply;
}

.gt-cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(139, 110, 82, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99997;
  will-change: transform;
}

/* Hide cursor on touch devices */
@media (hover: none), (pointer: coarse) {
  .gt-cursor, .gt-cursor-ring { display: none !important; }
}

/* =============================================
   GRAIN TEXTURE OVERLAY
============================================= */
.gt-grain {
  position: fixed;
  inset: 0;
  z-index: 9996;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* =============================================
   ENHANCED HOVER EFFECTS
============================================= */

/* Serie cards — richer reveal */
.serie-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,168,130,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.serie-card:hover::after { opacity: 1; }

/* Masonry items — subtle vignette on hover */
.masonry-item::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1.5px rgba(139,110,82,0);
  transition: box-shadow 0.4s;
  z-index: 1;
  pointer-events: none;
}
.masonry-item:hover::before {
  box-shadow: inset 0 0 0 1.5px rgba(139,110,82,0.35);
}

/* Home gallery items — always show name (improved) */
.home-serie-overlay {
  opacity: 1 !important;
  background: linear-gradient(to top, rgba(15,28,16,0.72) 0%, rgba(15,28,16,0.08) 45%, transparent 70%);
}

/* Product cards */
.woocommerce ul.products li.product::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.woocommerce ul.products li.product:hover::after { transform: scaleX(1); }
.woocommerce ul.products li.product { position: relative; overflow: hidden; }

/* Expo items — hover accent */
.expo-item {
  position: relative;
  transition: background var(--transition), padding-left 0.3s;
}
.expo-item:hover { background: rgba(235,242,235,0.5); padding-left: 0.6rem; }

/* =============================================
   SMOOTH IMAGE LOADING — skeleton shimmer
============================================= */
.masonry-item img,
.serie-thumb img,
.gt-img-wrap img {
  background: linear-gradient(90deg, var(--sand) 25%, var(--clay-pale) 50%, var(--sand) 75%);
  background-size: 400% 100%;
}

/* =============================================
   REFINED TYPOGRAPHY SPACING
============================================= */
.artiste-bio-col p { margin-bottom: 1.6rem; }

.page-hero h1 { letter-spacing: -0.01em; }

/* Slightly warmer headings */
.section-title em,
.page-hero h1 em { color: var(--clay); }

/* =============================================
   RESPONSIVE — intro
============================================= */
@media (max-width: 768px) {
  .gt-blob { width: 110px; height: 110px; }
  .gt-intro-skip-btn { bottom: 1.2rem; right: 1.2rem; }
  .gt-intro-name { bottom: 14%; }
}
.reveal {
  /* Keep opacity:0 as initial state; GSAP drives the rest */
  opacity: 0;
  transform: translateY(32px);
  /* Remove CSS transition — GSAP handles it */
  transition: none;
  will-change: opacity, transform;
}
/* When JS is disabled or GSAP fails, show everything */
.no-js .reveal,
html.gt-intro-skip .reveal { opacity: 1 !important; transform: none !important; }

/* ── 2. INTRO OVERLAY ──────────────────────────────── */

/* Instantly hide intro for return visitors */
html.gt-intro-skip #gt-intro { display: none !important; }

#gt-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Clay blobs: positioned at CSS center (50%/50%);
   GSAP pushes them to corners via x/y transforms   */
.gt-blob {
  position: absolute;
  top: 50%; left: 50%;
  width: 160px; height: 160px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  will-change: transform, opacity, border-radius;
  pointer-events: none;
}
#gt-blob-tl { background: var(--clay-light); }
#gt-blob-tr { background: var(--sage-light); }
#gt-blob-bl { background: var(--sand); }
#gt-blob-br { background: var(--clay); opacity: 0.82; }

/* Three.js canvas */
#gt-hero3d-canvas {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width:  clamp(280px, 42vmin, 440px);
  height: clamp(280px, 42vmin, 440px);
  pointer-events: none;
  display: block;
}

/* Artist name reveal */
.gt-intro-name {
  position: absolute;
  bottom: 17%; left: 0; right: 0;
  text-align: center;
  pointer-events: none;
}
.gt-intro-first {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--earth-dark);
  letter-spacing: 0.08em;
  line-height: 1;
}
.gt-intro-last {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--sage-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}
.gt-intro-sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 1rem;
}
.gt-intro-skip-btn {
  position: absolute;
  bottom: 2rem; right: 2.5rem;
  background: none;
  border: 1px solid rgba(92,61,46,0.22);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.gt-intro-skip-btn:hover { border-color: var(--clay); color: var(--clay); }

/* ── 3. CUSTOM CURSOR ──────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body,
  a, button, [role="button"],
  .masonry-item, .serie-card, .home-serie-item,
  .expo-item, .product-thumb,
  .woocommerce ul.products li.product { cursor: none; }
}
.gt-cursor {
  width: 10px; height: 10px;
  background: var(--clay);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  mix-blend-mode: multiply;
}
.gt-cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(139,110,82,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 99997;
  will-change: transform;
}
@media (hover: none), (pointer: coarse) {
  .gt-cursor, .gt-cursor-ring { display: none !important; }
}

/* ── 4. GRAIN TEXTURE ──────────────────────────────── */
.gt-grain {
  position: fixed; inset: 0;
  z-index: 9996; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ══ 1. REVEAL BUG FIX ══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: none;
  will-change: opacity, transform;
}
html.gt-intro-skip .reveal,
.no-js .reveal { opacity: 1 !important; transform: none !important; }


/* ══ 2. INTRO OVERLAY — ALL DEVICES ════════════════
   Canvas animation enabled on mobile too.
   Blobs are CSS-only so always work.                */
html.gt-intro-skip #gt-intro { display: none !important; }

#gt-intro {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.gt-blob {
  position: absolute; top: 50%; left: 50%;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  will-change: transform, opacity, border-radius;
  pointer-events: none;
}
/* Desktop blob size */
.gt-blob { width: 155px; height: 155px; }

#gt-blob-tl { background: var(--clay-light); }
#gt-blob-tr { background: var(--sage-light); }
#gt-blob-bl { background: var(--sand); }
#gt-blob-br { background: var(--clay); opacity: .82; }

/* 2D canvas — full viewport, transparent bg */
#gt-intro2d-canvas {
  position: absolute; inset: 0;
  pointer-events: none; display: block;
  /* mobile: scale down the ceramic form visually via CSS */
}

/* Artist name */
.gt-intro-name {
  position: absolute; bottom: 16%; left: 0; right: 0;
  text-align: center; pointer-events: none;
}
.gt-intro-first {
  display: block; font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 3.8rem); font-weight: 300;
  color: var(--earth-dark); letter-spacing: .08em; line-height: 1;
}
.gt-intro-last {
  display: block; font-family: var(--font-serif);
  font-size: clamp(1.2rem, 4vw, 2.8rem); font-weight: 300; font-style: italic;
  color: var(--sage-dark); letter-spacing: .18em; text-transform: uppercase;
}
.gt-intro-sub {
  display: block; font-size: .62rem; letter-spacing: .45em;
  text-transform: uppercase; color: var(--warm-gray); margin-top: .9rem;
}
.gt-intro-skip-btn {
  position: absolute; bottom: 1.8rem; right: 2rem;
  background: none; border: 1px solid rgba(92,61,46,.2); color: var(--text-muted);
  font-family: var(--font-sans); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; padding: .4rem .9rem; cursor: pointer; transition: all .2s;
  /* visible on mobile too */
  display: block;
}
.gt-intro-skip-btn:hover { border-color: var(--clay); color: var(--clay); }

/* Mobile intro adjustments */
@media (max-width: 768px) {
  .gt-blob { width: 100px; height: 100px; }
  .gt-intro-name { bottom: 12%; }
  .gt-intro-skip-btn { bottom: 1.2rem; right: 1.2rem; font-size: .62rem; }
}


/* ══ 3. CURSOR + GRAIN ════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {
  body, a, button, [role="button"],
  .series-row, .masonry-item, .serie-card,
  .home-serie-item, .expo-item, .product-thumb,
  .gallery-item, .oeuvre-item,
  .woocommerce ul.products li.product { cursor: none; }
}
.gt-cursor {
  width: 10px; height: 10px; background: var(--clay);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998; will-change: transform; mix-blend-mode: multiply;
}
.gt-cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(139,110,82,.5);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99997; will-change: transform;
}
@media (hover: none), (pointer: coarse) { .gt-cursor, .gt-cursor-ring { display: none !important; } }

.gt-grain {
  position: fixed; inset: 0; z-index: 9996; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px;
}


/* ══ 4. HERO ══════════════════════════════════════════
   FIX 1: TRICOTTET in uppercase
   FIX 2: "Défiler" removed — arrow only
   FIX 3: Mobile centering enforced               */

.hero-title { display: none; }   /* hide old title if present */

.hero-title-v2 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.htv2-first {
  display: block; font-style: italic;
  color: var(--earth-dark);
}
.htv2-last {
  display: block; font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000000;
  font-weight: 400;
}

/* Scroll arrow — no text */
.hero-scroll-arrow {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  background: none; border: none;
  color: var(--sage-dark); cursor: pointer;
  opacity: 0; animation: fadeUp 0.8s 1.2s forwards;
  padding: .5rem; transition: opacity .3s, transform .3s;
}
.hero-scroll-arrow:hover {
  opacity: .6 !important;
  transform: translateX(-50%) translateY(3px);
}
/* Hide the old .hero-scroll if it's in the DOM */
.hero-scroll { display: none !important; }

/* ── Mobile hero centering fix ── */
.hero-fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 780px;
  padding: 0 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
/* Clip shapes so they never push the flex container */
.hero-shapes {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 768px) {
  .hero-fullscreen { min-height: 100svh; padding: 0; }
  .hero-content {
    padding: 0 1.2rem;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-title-v2 { font-size: clamp(2.6rem, 11vw, 4.2rem); width: 100%; text-align: center; }
  .htv2-first, .htv2-last { text-align: center; }
  .hero-ctas { flex-direction: column; align-items: center; width: 100%; }
  .hero-ctas .btn { width: 100%; max-width: 280px; text-align: center; }
  .hero-scroll-arrow { bottom: 1.5rem; }
  /* Smaller shapes on mobile so they don't displace content */
  .shape-1 { width: 72vw !important; height: 72vw !important; }
  .shape-2 { width: 50vw !important; height: 55vw !important; }
  .shape-3 { width: 30vw !important; height: 36vw !important; }
}


/* ══ 5. OEUVRES FRAME ═════════════════════════════════ */
.home-oeuvres { padding: 7rem 0; background: var(--cream); }
.oeuvres-frame {
  max-width: 1380px; margin: 0 auto; padding: 4rem 6rem;
  border-top: .5px solid rgba(139,110,82,.22);
  border-bottom: .5px solid rgba(139,110,82,.22);
}
.oeuvres-header { margin-bottom: 3.5rem; }
.oeuvres-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-bottom: 3.5rem;
}
.oeuvre-item {
  padding: 0 2.2rem; cursor: pointer;
  border-right: .5px solid rgba(139,110,82,.16);
  transition: opacity .3s;
}
.oeuvre-item:first-child { padding-left: 0; }
.oeuvre-item:last-child  { padding-right: 0; border-right: none; }
.oeuvre-item:hover { opacity: .88; }
.oeuvre-visual {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; margin-bottom: 1.4rem; background: var(--sage-pale);
}
.oeuvre-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.oeuvre-item:hover .oeuvre-visual img { transform: scale(1.04); }
.oeuvre-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
}
.oeuvre-year {
  position: absolute; top: .8rem; right: .8rem;
  background: #000; color: #fff;
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .22rem .65rem; z-index: 2;
}
.oeuvre-caption { padding: 0 .2rem; }
.oeuvre-title {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 300;
  color: var(--earth-dark); margin-bottom: .3rem;
}
.oeuvre-desc  { font-size: .78rem; color: var(--text-muted); font-weight: 300; margin-bottom: .5rem; }
.oeuvre-link-hint {
  display: block; font-size: .67rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--clay);
  opacity: 0; transition: opacity .3s;
}
.oeuvre-item:hover .oeuvre-link-hint { opacity: 1; }
.oeuvres-footer { display: flex; justify-content: center; margin-top: .5rem; }

@media (max-width: 900px) {
  .oeuvres-frame { padding: 3rem 1.5rem; }
  .oeuvres-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .oeuvre-item   {
    padding: 0; border-right: none;
    border-bottom: .5px solid rgba(139,110,82,.14);
    padding-bottom: 2.5rem;
  }
  .oeuvre-item:last-child { border-bottom: none; padding-bottom: 0; }
}


/* ══ 6. SERIES GALLERY — card grid ════════════════════
   Same visual language as the boutique:
   clean square/portrait card, thumbnail fills the card,
   number badge (top-right), title + meta below,
   dark overlay + title on hover.                      */

.sg-wrap {
  padding: 3rem 5rem 9rem;
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

/* Card */
.sg-card {
  text-decoration: none; color: inherit; display: block;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.sg-card:hover { transform: translateY(-6px); }

/* Image */
.sg-card__img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;                    /* portrait — matches boutique */
  background: var(--sage-pale);
}
.sg-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.sg-card:hover .sg-card__img-wrap img { transform: scale(1.05); }

.sg-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
}

/* Series number badge — like boutique status badge */
.sg-card__num {
  position: absolute; top: .85rem; right: .85rem;
  background: rgba(15,12,8,.75); color: rgba(255,255,255,.85);
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .22rem .65rem; z-index: 2; backdrop-filter: blur(4px);
}

/* Hover overlay — sweeps up from bottom */
.sg-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(15,12,8,.78) 0%,
    rgba(15,12,8,.25) 45%,
    transparent 72%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.6rem 1.4rem;
  opacity: 0; transform: translateY(4px);
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}
.sg-card:hover .sg-card__overlay { opacity: 1; transform: translateY(0); }

.sg-card__overlay-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300; color: #fff;
  display: block; margin-bottom: .5rem; line-height: 1.15;
}
.sg-card__overlay-link {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay-light); display: block;
}

/* Caption below image */
.sg-card__caption {
  padding: .9rem .1rem .5rem;
  border-bottom: .5px solid rgba(139,110,82,.15);
}
.sg-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 300; color: var(--earth-dark);
  margin-bottom: .2rem;
}
.sg-card__meta {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--warm-gray); font-weight: 300;
}

/* Empty state */
.sg-empty { padding: 4rem 0; color: var(--text-muted); }
.sg-empty p  { font-size: 1rem; font-weight: 500; color: var(--earth-dark); margin-bottom: 1.2rem; }
.sg-empty ol { padding-left: 1.6rem; line-height: 3; }

/* Responsive */
@media (max-width: 1100px) {
  .sg-wrap { padding: 2.5rem 3rem 7rem; }
  .sg-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}
@media (max-width: 640px) {
  .sg-wrap { padding: 2rem 1.2rem 5rem; }
  .sg-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .sg-card__overlay { display: none; }
}
@media (max-width: 400px) {
  .sg-grid { grid-template-columns: 1fr; }
}


/* ══ 7. SERIE DETAIL — masonry, NO cropping ══════════
   Ceramics sit on white/light backgrounds.
   We use contain + padding so the full piece is visible.
   The masonry caption appears on hover.               */

.serie-detail-wrap { padding: 3rem 5rem 8rem; }
.serie-detail-header { margin-bottom: 3rem; }
.serie-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; color: var(--earth-dark);
}
.serie-detail-title em { font-style: italic; color: var(--clay); margin-left: .4rem; }
.serie-detail-desc {
  font-size: 1rem; color: var(--text-muted); font-weight: 300;
  line-height: 1.9; max-width: 600px; margin-top: .6rem;
}

/* Serie masonry — contain so nothing is cropped */
.serie-masonry-item img {
  object-fit: contain !important;   /* override masonry default cover */
  background: var(--cream);         /* neutral bg for transparent/white photos */
  padding: .5rem;                   /* small breathing room */
}
/* Masonry columns on serie detail */
#gt-masonry { columns: 3; column-gap: 1.2rem; margin-top: 2.5rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1.2rem; }

@media (max-width: 900px) {
  .serie-detail-wrap { padding: 2rem 2rem 6rem; }
  #gt-masonry { columns: 2; }
}
@media (max-width: 560px) {
  .serie-detail-wrap { padding: 2rem 1.2rem 5rem; }
  #gt-masonry { columns: 1; }
}


/* ══ 8. EXPOSITION AMBIENT GALLERY ═══════════════════ */
.expo-detail-wrap { padding: 3rem 5rem 8rem; }
.expo-detail-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
.expo-detail-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 5rem; align-items: start; margin-bottom: 5rem;
}
.expo-detail-poster img {
  width: 100%; display: block;
  box-shadow: 0 12px 40px rgba(58,37,25,.13);
}
.expo-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--earth-dark);
  margin-bottom: 1.5rem;
}
.expo-detail-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.expo-table-label {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--warm-gray); width: 120px;
  padding: .75rem 1rem .75rem 0;
  border-bottom: .5px solid rgba(122,158,126,.15);
}
.expo-table-value {
  font-size: 1rem; color: var(--text-muted); font-weight: 300;
  padding: .75rem 0; border-bottom: .5px solid rgba(122,158,126,.15);
}
.expo-detail-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.9; font-weight: 300; }

.expo-ambiance { margin-top: 2rem; }
.expo-ambiance-header { margin-bottom: 2.5rem; }
.expo-ambiance-title {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 300; color: var(--earth-dark);
}
.expo-ambiance-title em { font-style: italic; color: var(--clay); }

.expo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3;
  background: var(--sage-pale);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0; background: rgba(58,37,25,0);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s; color: white;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(58,37,25,.22); }
.gallery-item-overlay svg { opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; }

.expo-add-guide, .add-photos-guide {
  background: var(--sage-pale); border-left: 3px solid var(--sage);
  padding: 2.2rem 2.8rem; margin-top: 2rem;
}
.expo-add-guide h3, .add-photos-guide h3 {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 300;
  color: var(--earth-dark); margin-bottom: 1.2rem;
}
.expo-add-guide ol, .add-photos-guide ol {
  padding-left: 1.4rem; line-height: 2.8; font-size: .95rem;
  color: var(--text-muted); font-weight: 300;
}

@media (max-width: 768px) {
  .expo-detail-wrap { padding: 2rem 1.5rem 5rem; }
  .expo-detail-grid { grid-template-columns: 1fr; gap: 3rem; }
}


/* ══ 9. MISC ══════════════════════════════════════════ */

/* Always show home gallery overlay names */
.home-serie-overlay {
  opacity: 1 !important;
  background: linear-gradient(to top, rgba(15,28,16,.72) 0%, rgba(15,28,16,.08) 45%, transparent 70%);
}

/* Expo item hover accent */
.expo-item {
  border-left: 3px solid transparent;
  transition: border-color .3s, padding-left .3s, background .3s;
}
.expo-item:hover { border-left-color: var(--sage); padding-left: .5rem; background: rgba(235,242,235,.5); }

/* Masonry border trace on hover */
.masonry-item { position: relative; }
.masonry-item::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 rgba(139,110,82,0);
  transition: box-shadow .4s; pointer-events: none; z-index: 1;
}
.masonry-item:hover::after { box-shadow: inset 0 0 0 1.5px rgba(139,110,82,.38); }
