/* =========================================
   SAY cHEESE — Design System
   Palette : fond sombre, or, crème, vert profond
   ========================================= */

:root {
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --dark:       #0E0E0E;
  --dark-2:     #161616;
  --dark-3:     #1F1F1F;
  --dark-4:     #2A2A2A;
  --cream:      #F5F0E8;
  --cream-muted:#B8B0A0;
  --green:      #2C3E2D;
  --white:      #FFFFFF;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:     0 8px 40px rgba(0,0,0,0.5);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* CONTAINER */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* SECTIONS */
section { padding: 100px 0; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h2 em { font-style: italic; color: var(--gold); }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-desc {
  max-width: 580px;
  color: var(--cream-muted);
  font-size: 1.05rem;
  margin-top: 16px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245,240,232,0.35);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(255,255,255,0.06);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 11px 22px;
  font-size: 0.85rem;
  margin-top: 20px;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-full { width: 100%; justify-content: center; }

/* =========================================
   REVEAL ANIMATION
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVBAR
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
  display: flex;
  align-items: center;
}
.logo span { color: var(--gold); }
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cream); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--dark) !important;
}
.nav-links .nav-cta:hover { background: var(--gold-light); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-bg img.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,14,14,0.85) 0%,
    rgba(14,14,14,0.55) 60%,
    rgba(14,14,14,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-content h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.8);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-indicator span {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(10px); opacity: 0.3; }
}

/* =========================================
   ABOUT
   ========================================= */
#about {
  background: var(--dark-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  aspect-ratio: 4/5;
  max-height: 580px;
}

.about-image img {
  border-radius: var(--radius-lg);
  height: 100%;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--dark);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: var(--shadow);
  max-width: 200px;
}

.badge-icon { font-size: 1.5rem; flex-shrink: 0; }

.about-text h2 { margin-bottom: 6px; }
.about-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.about-text p { color: var(--cream-muted); margin-bottom: 14px; line-height: 1.75; }
.about-text strong { color: var(--cream); font-weight: 600; }

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-4);
}
.stat { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label { font-size: 0.78rem; color: var(--cream-muted); }

/* =========================================
   ATELIERS
   ========================================= */
#ateliers { background: var(--dark); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-label { justify-content: center; }
.section-header .section-desc { margin: 0 auto; text-align: center; }

.ateliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.atelier-card {
  background: var(--dark-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-4);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.atelier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-image img { transition: transform 0.6s ease; }
.atelier-card:hover .card-image img { transform: scale(1.05); }

.card-number {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 4px;
}

.card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.card-body > p { color: var(--cream-muted); font-size: 0.9rem; line-height: 1.65; }

.card-details {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card-details li { font-size: 0.83rem; color: var(--cream-muted); }

.age-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 4px;
  font-family: var(--font-sans);
  vertical-align: middle;
}

/* =========================================
   RÉFÉRENCES
   ========================================= */
#references { background: var(--dark-2); padding: 72px 0; }

.refs-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 48px;
}

.ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.ref-logo:hover { opacity: 1; }
.ref-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* =========================================
   PHOTO STRIP
   ========================================= */
.photo-strip {
  display: flex;
  height: 220px;
  overflow: hidden;
  gap: 4px;
}
.photo-strip img {
  flex: 1;
  min-width: 0;
  transition: flex 0.5s ease;
}
.photo-strip img:hover { flex: 2; }

/* =========================================
   TARIFS
   ========================================= */
#tarifs {
  background: var(--green);
}

.tarifs-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tarifs-text h2 { color: var(--cream); margin-bottom: 20px; }
.tarifs-text p { color: rgba(245,240,232,0.75); margin-bottom: 14px; line-height: 1.75; }
.tarifs-text .btn-primary { margin-top: 10px; }

.tarifs-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tarif-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: background var(--transition);
}
.tarif-card:hover { background: rgba(255,255,255,0.11); }
.tarif-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.tarif-card h4 { color: var(--gold); margin-bottom: 4px; }
.tarif-card p { font-size: 0.88rem; color: rgba(245,240,232,0.7); line-height: 1.55; margin: 0; }

/* =========================================
   QUOTE BAND
   ========================================= */
.quote-band {
  background: var(--gold);
  padding: 56px 24px;
  text-align: center;
}

.quote-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
}

.quote-mark {
  font-size: 4rem;
  line-height: 0;
  vertical-align: -1.4rem;
  opacity: 0.25;
  margin-right: 4px;
}

cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0.65;
}

/* =========================================
   CONTACT
   ========================================= */
#contact { background: var(--dark-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 { margin-bottom: 16px; }
.contact-text > p { color: var(--cream-muted); line-height: 1.75; margin-bottom: 32px; }

.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}
.contact-link:hover { opacity: 0.75; }
.contact-zone {
  font-size: 0.88rem;
  color: var(--cream-muted);
  margin: 0;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-muted);
  letter-spacing: 0.04em;
}

input, select, textarea {
  background: var(--dark-3);
  border: 1.5px solid var(--dark-4);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
input::placeholder, textarea::placeholder { color: var(--dark-4); filter: brightness(2); opacity: 1; }
select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23B8B0A0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea { resize: vertical; min-height: 110px; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--cream-muted);
  margin-top: -6px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-3);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.logo-footer { font-size: 1.5rem; }
.logo-img-footer { height: 42px; }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--cream-muted);
}

.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: var(--cream-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(184,176,160,0.5);
  margin-top: 8px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .about-grid, .tarifs-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-height: 420px; }
  .ateliers-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  #navbar { padding: 16px 20px; }
  #navbar.scrolled { padding: 12px 20px; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .burger { display: flex; z-index: 1100; }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(14,14,14,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links a { font-size: 1.2rem; }

  .hero-content { padding: 0 24px; }

  .ateliers-grid { grid-template-columns: 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-row { grid-template-columns: 1fr; }

  .about-badge { right: 10px; bottom: -16px; }
  .photo-strip { height: 140px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .about-stats { gap: 16px; flex-wrap: nowrap; justify-content: center; }
  .about-stats .stat-number { font-size: 1.2rem; }
  .about-stats .stat-label { font-size: 0.7rem; }
  .tarifs-inner { gap: 40px; }
  .about-badge {
    bottom: 16px;
    top: auto;
    left: 16px;
    right: auto;
    font-size: 0.7rem;
    padding: 10px 12px;
    max-width: 160px;
  }
}
