/* ---------- Design tokens ---------- */
:root {
  --cream: #F4EDE0;
  --cream-alt: #ECE3D2;
  --card-bg: #FBF8F1;
  --border: #DFD4BC;
  --dark: #2A2520;
  --dark-soft: #3B342C;
  --text-main: #2A2520;
  --text-muted: #756B5C;
  --gold: #B4863A;
  --gold-light: #D8B876;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text-main);
}

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 1em;
}
.eyebrow-light { color: var(--gold-light); }

em {
  font-style: italic;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-dark {
  background: var(--dark);
  color: var(--cream);
}
.btn-dark:hover { background: var(--dark-soft); }

.btn-outline {
  background: transparent;
  border-color: var(--dark);
  color: var(--dark);
}
.btn-outline:hover { background: rgba(42,37,32,0.06); }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-phone {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.94rem;
  font-weight: 500;
}
.main-nav a { transition: color 0.15s ease; }
.main-nav a:hover { color: var(--gold); }
.nav-phone { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dark);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.lead {
  font-size: 1.08rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 44px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.hero-media-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,134,58,0.22) 0%, rgba(180,134,58,0) 70%);
}
.hero-logo {
  position: relative;
  width: min(360px, 80%);
}

/* ---------- Section shared ---------- */
section { padding: 96px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0;
  max-width: 16ch;
}
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-intro {
  max-width: 34ch;
  margin: 0;
  text-align: right;
}
.section-head.center .section-intro {
  text-align: center;
  max-width: 56ch;
  color: var(--text-muted);
}

/* ---------- Services ---------- */
.services { background: var(--cream-alt); }

.services-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.services-content .section-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.services-content .section-intro {
  text-align: left;
  max-width: none;
}

.services-media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: stretch;
  min-height: 420px;
}
.services-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card h3 { font-size: 1.25rem; }

.service-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Boutique (dark) ---------- */
.boutique {
  background: var(--dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.boutique::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(180,134,58,0.28) 0%, rgba(180,134,58,0) 70%);
  pointer-events: none;
}

.boutique-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.boutique-text h2 { color: var(--cream); }
.boutique-text p { color: rgba(244,237,224,0.72); max-width: 42ch; }

.boutique-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(244,237,224,0.55);
}

.boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.boutique-item {
  background: rgba(244,237,224,0.05);
  border: 1px solid rgba(244,237,224,0.14);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.boutique-index {
  display: block;
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.boutique-item h4 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 6px;
}
.boutique-item p {
  font-size: 0.84rem;
  color: rgba(244,237,224,0.55);
  margin: 0;
}

/* ---------- Atelier ---------- */
.atelier-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.atelier-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 16ch; }

.atelier-gallery {
  display: grid;
  align-items: stretch;
}
.atelier-frame {
  height: 460px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(180,134,58,0.06) 0 2px, transparent 2px 14px),
    var(--card-bg);
}
.atelier-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Zone d'intervention ---------- */
.zone { background: var(--cream-alt); }

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.zone-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: left;
}
.zone-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.zone-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0 0 14px; }

.zone-more {
  max-width: 68ch;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.zone-more strong { color: var(--text-main); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 26px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 28px 20px 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-main);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--gold); }

.faq-item p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 62ch;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0 0 4px;
  color: var(--text-main);
}
.contact-sub {
  font-size: 0.84rem;
  margin: 0;
  color: var(--text-muted);
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}
.form-row input,
.form-row textarea {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text-main);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
}
.form-submit { align-self: flex-start; }

.form-feedback {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-feedback.success { color: #4E7B4A; }
.form-feedback.error { color: #B4453A; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(244,237,224,0.75);
  padding: 56px 0 20px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244,237,224,0.12);
}
.brand-footer .brand-name { color: var(--cream); }
.brand-footer .brand-tagline { color: rgba(244,237,224,0.5); }

.footer-nav {
  display: flex;
  gap: 26px;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  text-align: right;
}
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(244,237,224,0.4);
  margin: 0;
}

.footer-legal-link {
  font-size: 0.78rem;
  color: rgba(244,237,224,0.4);
  text-decoration: underline;
}
.footer-legal-link:hover { color: var(--gold-light); }

/* ---------- Mentions légales ---------- */
.legal { padding: 64px 0 96px; }
.legal-inner { max-width: 760px; }
.legal-inner h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 40px;
}
.legal-block { margin-bottom: 36px; }
.legal-block h2 {
  font-size: 1.15rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.legal-block p, .legal-block li { color: var(--text-muted); }
.legal-block ul {
  margin: 0;
  padding-left: 20px;
}
.legal-block li { margin-bottom: 6px; }
.legal-block a { color: var(--gold); text-decoration: underline; }
.legal-block a:hover { color: var(--dark); }

/* ---------- Bandeau cookies ----------
   Nommage volontairement non générique (zapd-notice*) : les listes de
   filtres des bloqueurs de pub (ex. EasyList Cookie List) ciblent et
   masquent automatiquement les éléments nommés "cookie-banner",
   "cookie-consent", etc. Un nom lié à la marque évite ce masquage. */
.zapd-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--dark);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.zapd-notice.visible { transform: translateY(0); }

.zapd-notice-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}

.zapd-notice p {
  margin: 0;
  color: rgba(244,237,224,0.75);
  font-size: 0.9rem;
  max-width: 640px;
  flex: 1 1 320px;
}
.zapd-notice a { color: var(--gold-light); text-decoration: underline; }

.zapd-notice-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-notice { padding: 10px 20px; font-size: 0.85rem; }
.zapd-notice .btn-outline {
  border-color: rgba(244,237,224,0.35);
  color: rgba(244,237,224,0.9);
}
.zapd-notice .btn-outline:hover { background: rgba(244,237,224,0.08); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay.active { display: flex; }

.modal {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  padding: 40px 34px 34px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: modal-in 0.2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal .eyebrow { text-align: center; }
.modal h3 { font-size: 1.4rem; }
.modal p { font-size: 0.96rem; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
}
.modal-close:hover { background: rgba(42,37,32,0.06); }

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { order: -1; min-height: 240px; }
  .hero-logo { width: min(260px, 60%); }
  .hero-text h1 { max-width: none; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .section-intro { text-align: left; max-width: none; }

  .services-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-media { order: -1; min-height: 260px; }

  .boutique-inner { grid-template-columns: 1fr; gap: 40px; }

  .atelier-inner { grid-template-columns: 1fr; gap: 40px; }
  .atelier-frame { height: 320px; }

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

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

/* Mobile nav */
@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child { border-bottom: none; }
  .nav-phone {
    display: block;
    color: var(--gold);
    font-weight: 700;
  }

  .nav-toggle { display: flex; flex-shrink: 0; }
  .header-actions { gap: 10px; }
  .btn-phone { padding: 10px 14px; font-size: 0.82rem; }
}

/* En dessous de 480px : le numéro passe uniquement dans le menu mobile,
   pour garantir que le header ne déborde jamais horizontalement. */
@media (max-width: 480px) {
  .btn-phone { display: none; }
}

/* Small tablet / large phone */
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }

  .brand-tagline { display: none; }

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

  .hero-stats { flex-direction: column; gap: 18px; }

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

  .atelier-frame { height: 240px; }

  .faq-item { padding: 4px 18px; }
  .faq-item summary { padding: 16px 24px 16px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-contact { align-items: flex-start; text-align: left; }
  .footer-nav { flex-wrap: wrap; gap: 16px 22px; }

  .modal { padding: 32px 22px 26px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }

  .zapd-notice-inner { flex-direction: column; align-items: stretch; max-height: 80vh; overflow-y: auto; }
  .zapd-notice p { flex: none; max-width: none; }
  .zapd-notice-actions { flex-direction: column; }
  .zapd-notice-actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 0.82rem; }
  .brand-logo { width: 34px; height: 34px; }
  .header-actions { gap: 6px; }
}

/* =========================================================
   ANIMATIONS (Motion) — état initial masqué, animé par animations.js.
   La classe .js n'est posée que si JS tourne et si l'utilisateur
   n'a pas demandé "prefers-reduced-motion", donc le contenu reste
   visible par défaut sans JS ou avec mouvement réduit.
   ========================================================= */
.js .hero-text > *,
.js .hero-media,
.js .section-head,
.js .service-card,
.js .boutique-item,
.js .atelier-frame,
.js .boutique-text > *,
.js .atelier-text > *,
.js .zone-card,
.js .faq-item,
.js .contact-card,
.js .contact-form {
  opacity: 0;
}
