:root {
  --primary: #9535AF;
  --primary-light: #faedfd;
  --text: #222222;
  --text-muted: #666666;
  --bg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 80px; /* Ajustable selon ton logo */
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* BOUTON BURGER */

.nav-toggle {
  display: none; /* on le montre seulement en mobile */
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: #333;
  display: block;
}

/* HERO */

.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero-text {
  max-width: 480px;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* SECTION A PROPOS */

.section-about {
  padding: 4rem 0 2rem; /* moins de padding en bas */
  background: #ffffff;
  position: relative;
  overflow: visible;     /* important pour laisser dépasser l'image */
}

.about-inner {
  display: flex;
  align-items: flex-start; /* l'image partira un peu plus bas que le texte */
  gap: 3rem;
}

.about-text {
  flex: 1.3;
}

.about-text h2 {
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.about-intro {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-list {
  margin: 0 0 1.5rem 0;
  padding-left: 1.2rem;
}

.about-list li {
  margin-bottom: 0.4rem;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -50px;   /* fait descendre l'image sous la limite blanche */
}

.about-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

/* SECTION SERVICES */

.section-services {
  padding: 4rem 0 4.5rem;
  background: var(--primary-light); /* fond doux pour bien séparer */
}

.services-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.services-header {
  max-width: 640px;
}

.services-header h2 {
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.services-header p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Grille des cartes */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

/* Image de la carte */

.service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Texte de la carte */

.service-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.service-body h3 {
  font-size: 1.1rem;
  margin: 0;
}

.service-body p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-muted);
}

.service-link {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.service-link:hover {
  text-decoration: underline;
}

.service-body .btn-primary {
  margin-top: auto;
}


.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 10px 20px rgba(149, 53, 175, 0.25);
}

.btn-primary:hover {
  background: #7b2c8b;
  transform: translateY(-1px);
  box-shadow: 0 15px 25px rgba(149, 53, 175, 0.3);
}

/* --- Page Mentions légales --- */

.mentions-hero {
  position: relative;
  padding: 4rem 0 4.5rem;
  background-image:
    linear-gradient(to bottom, rgba(34, 16, 37, 0.7), rgba(34, 16, 37, 0.5)),
    url("../images/mentions-hero.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  margin-bottom: 0;
}

.mentions-hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.mentions-hero-inner {
  position: relative;
  max-width: 680px;
}

.mentions-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.mentions-hero p {
  max-width: 520px;
  line-height: 1.6;
}

/* Section principale */

.legal-section {
  padding: 40px 0 80px;
  background: #faf6fc;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Sommaire */

.legal-toc {
  position: sticky;
  top: 90px;
  align-self: flex-start;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.legal-toc-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.8rem;
  color: #7a5f8e;
}

/* Hugo génère un <nav><ul>...</ul></nav> pour TableOfContents  */
.legal-toc-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.legal-toc-content li {
  margin-bottom: 0.35rem;
}

.legal-toc-content a {
  text-decoration: none;
  color: #4a3a58;
}

.legal-toc-content a:hover {
  text-decoration: underline;
}

/* Carte de contenu */

.legal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2.2rem 2.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  line-height: 1.7;
  font-size: 1rem;
  color: #30263a;
}

.legal-card h2 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.legal-card h3 {
  font-size: 1.1rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.legal-card p,
.legal-card li {
  margin-bottom: 0.6rem;
}

.legal-card a {
  color: var(--primary);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}


/* FOOTER */

.footer-modern {
  background: linear-gradient(135deg, #9535af, #7b2e96);
  padding: 0.5rem 0 1rem;
  color: white;
  font-family: inherit;
}

.footer-top {
  padding-bottom: 0.5rem;
}

.footer-top-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.footer-col {
  flex: 1;
}

.footer-logo {
  width: 200px;
}

.footer-brand {
  font-weight: 700;
  margin: 0.5rem 0 0;
}

.footer-tag {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

.footer-social a span {
  background: white;
  color: #9535af;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255,255,255,0.3);
}

.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 0.2rem 0;
}

.footer-col a {
  color: white;
  opacity: 0.85;
  text-decoration: none;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  opacity: 0.8;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
}

/* HERO BOUTIQUE */

.shop-hero {
  position: relative;
  padding: 4rem 0 4.5rem;
  background-image:
    linear-gradient(to bottom, rgba(34, 16, 37, 0.7), rgba(34, 16, 37, 0.5)),
    url("../images/boutique-hero.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  margin-bottom: 0;
}

.shop-hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.shop-hero-inner {
  position: relative;
  max-width: 680px;
}

.shop-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.shop-hero p {
  max-width: 520px;
  line-height: 1.6;
}


/* SECTION PRODUITS / BOUTIQUE */

.shop-section {
  padding: 3.5rem 0 4rem;
  background: #f7f0fa;
}

.shop-header {
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.shop-header h2 {
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.shop-header p {
  color: var(--text-muted);
  line-height: 1.5;
}

.shop-search-inner {
  padding: 0rem 0 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  max-width: 900px;
}

.shop-search-label {
  font-size: 1rem;
  font-weight: 600;
  color: #5c4b68;
  padding: 0.7rem 0 0;
}

.shop-search-input {
  width: 600px;
  border-radius: 999px;
  border: 1px solid #d5c6e8;
  padding: 0.6rem 1rem;
  font: inherit;
  outline: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.shop-search-input:focus {
  border-color: #9535af;
  box-shadow: 0 0 0 2px rgba(149, 53, 175, 0.2);
}

/* Grille des produits */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* Carte produit */

.product-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

/* Image + badge */

.product-image {
  position: relative;
  overflow: hidden;
}

/* Slides */

.product-image-slide {
  display: none;
  height: 360px;
}

.product-image-slide.is-active {
  display: block;
}

.product-image-slide img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------------------------------------------------
   SLIDER IMAGE + VIDEO (CARDS PRODUITS)
--------------------------------------------------------- */

.product-image-slide {
  position: relative;
  width: 100%;
}

.product-image-slide img,
.product-image-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Badge “Vidéo” en haut à gauche */
.product-video-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

/* ---------------------------------------------------------
   LIGHTBOX : IMAGE + VIDEO
--------------------------------------------------------- */

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(128, 127, 127, 0.85);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.image-lightbox.is-visible {
  display: flex;
}

.image-lightbox-dialog {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
}

.image-lightbox-inner img,
.image-lightbox-inner video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
}

.image-lightbox-close,
.image-lightbox-prev,
.image-lightbox-next {
  position: absolute;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 999999;
}

.image-lightbox-close {
  top: -10px;
  right: -10px;
}

.image-lightbox-prev {
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
}

.image-lightbox-next {
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
}


/* --- Dots (plus gros, plus espacés, zone de clic améliorée) --- */

.product-image-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;    /* + d'espacement */
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.product-dot {
  width: 12px;         /* taille du point */
  height: 12px;
  border-radius: 999px;
  border: none;
  flex-shrink: 0;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.5);
  transition: all 0.15s ease;

  /* zone de clic améliorée (hitbox plus grande) */
  padding: 0;
}

.product-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.product-dot.is-active {
  width: 14px;
  height: 14px;
  background: #ffffff;
}

/* Dot pour vidéo : triangle "Play" */
.product-dot-video {
  width: 0;
  height: 0;
  background: none !important;
  border-radius: 0;
  border-left: 10px solid #bbb;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateX(2px); /* petit ajustement visuel */
}

.product-dot-video:hover {
  border-left-color: #ffffff;
}

.product-dot-video.is-active {
  border-left-color: #ffffff;
}

/* Pour que le badge reste au-dessus des points */

.product-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}


/* Corps */

.product-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 1.6rem;
}

.product-resume {
  font-size: 1rem;
  font-style: italic;
  color: #6b4b7a;
  line-height: 1.3;
  margin: 0.75rem 0 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid #c38bd4; /* un violet pastel */
}

/* Meta (dimensions, état…) */

.product-meta {
  margin: 0.5rem 0 0.5rem;
}

.product-meta-row {
  display: flex;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-meta-row dt {
  font-weight: 600;
}

.product-meta-row dd {
  margin: 0;
}

/* Finition déroulante */

.product-finition {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-finition-label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}


.product-finition-text {
  margin-top: 0.4rem;
  line-height: 1.25;
}

/* Bas de carte */

.product-bottom {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price {
  font-weight: 700;
  font-size: 1.8rem;
}

/* Bouton adapté à la carte produit */

.btn-product {
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
}

/* LIGHTBOX IMAGE PRODUIT */

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(900px, 95vw);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-inner {
  background: #ffffff;
  border-radius: 18px;
  padding: 0.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.image-lightbox-inner img {
  max-width: 80vw;
  max-height: 75vh;
  display: block;
  border-radius: 14px;
}

/* Bouton fermer */

.image-lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #333;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Flèches */

.image-lightbox-prev,
.image-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-prev {
  left: -20px;
}

.image-lightbox-next {
  right: -20px;
}

.image-lightbox-prev:hover,
.image-lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Curseur "zoom" sur les slides */

.product-image-slide img {
  cursor: zoom-in;
}

/* HERO REALISATIONS */

.works-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url('../images/realisations-hero.jpg'); /* à remplacer */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Overlay pour lisibilité du texte */
.works-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.55)
  );
  z-index: 1;
}

.works-hero-inner {
  position: relative;
  max-width: 680px;
  z-index: 2;
  color: #fff;
}

.works-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fff;
}

.works-hero p {
  max-width: 650px;
  line-height: 1.55;
  margin: 0;
  color: #f5f5f5;
}

/* SECTION REALISATIONS */

.works-section {
  padding: 3.5rem 0 4rem;
  background: #ffffff;
}

.works-header {
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.works-header h2 {
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.works-header p {
  color: var(--text-muted);
  line-height: 1.7;
}


/* Bas de carte */

.work-bottom {
  margin-top: auto;
  padding-top: 1rem;
}

.btn-secondary.work-btn {
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #ffffff;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-secondary.work-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(149, 53, 175, 0.24);
  transform: translateY(-1px);
}


/* SECTION TEMOIGNAGES */
.real-section {
  padding: 3rem 0;
}

.real-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0rem;
  padding: 1rem 1rem;
  border-radius: 28px;
}

.real-row.reverse {
  flex-direction: row-reverse;
}

.real-row.has-bg {
  background: var(--primary-light);
}

/* IMAGE AVEC EFFET FLECHE */
.real-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  clip-path: polygon(
    0 0,
    80% 0,
    100% 50%,
    80% 100%,
    0 100%
  );
}

.real-row.reverse .real-image img {
  clip-path: polygon(
    20% 0,
    100% 0,
    100% 100%,
    20% 100%,
    0 50%
  );
}

.real-image {
  flex: 0 0 60%; /* l’image prend 60% */
}

/* TEXTE */
.real-text {
  flex: 0 0 40%;
}

.real-texte {
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 0.7rem;
}

.real-auteur {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.real-row.reverse .real-text {
  padding-left: 2rem;
  padding-right: 0;
}

/* Animation fade-in pour l'image flèche */
.real-image.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.real-image.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO CONTACT */

.contact-hero {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(to bottom, rgba(34, 16, 37, 0.5), rgba(34, 16, 37, 0.6)),
    url("../images/contact-hero.jpg"); /* à créer */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0; /* on garde pour cohérence, pas forcément utile ici */
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 650px;
}

.contact-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.contact-hero p {
  line-height: 1.6;
  color: #f7f7f7;
}


/* SECTION CONTACT */

.contact-section {
  padding: 3rem 0 4rem;
  background: #ffffff;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.contact-block {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.8rem 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.contact-block h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.contact-intro {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* Liste de coordonnées */

.contact-list {
  margin: 0 0 1.5rem;
}

.contact-row {
  display: flex;
  gap: 0.6rem;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.contact-row dt {
  font-weight: 600;
  min-width: 90px;
}

.contact-row dd {
  margin: 0;
}

.contact-row a {
  color: inherit;
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* Réseaux sociaux */

.contact-social p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.contact-social-icons {
  display: flex;
  gap: 0.6rem;
}

.contact-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f2e4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(149, 53, 175, 0.25);
}

/* Formulaire */

.contact-form-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  border-radius: 12px;
  border: 1px solid #e0d4ef;
  padding: 0.6rem 0.75rem;
  font: inherit;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(149, 53, 175, 0.35);
}

.contact-submit {
  margin-top: 0.6rem;
}

.contact-small {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}


/* RESPONSIVE */

@media (max-width: 1024px) and (min-width: 769px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem; 
  }

  .main-nav {
    position: absolute;
    top: 70px; /* hauteur du header */
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    display: none;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.5rem;
  }

  .main-nav.is-open {
    display: block;
  }

  /* Afficher le burger */
  .nav-toggle {
    display: inline-flex;
    margin-right: 0.5rem; 
  }

  .hero {
    min-height: 40vh;
  }

  .hero-text {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-image {
    background-attachment: scroll;
  }

  .section-about {
    padding: 3rem 0 3.5rem;
  }

  .about-inner {
    flex-direction: column;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
    margin-bottom: -70px; 
  }

  .about-text h2 {
    font-size: 1.4rem;
  }

  .section-services {
    padding: 3rem 0 3.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-image img {
    height: 220px;
  }

  .shop-hero {
    padding: 3rem 0 3.5rem;
  }

  .shop-hero h1 {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image img {
    height: 420px;
  }

  .product-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-product {
    width: 100%;
    text-align: center;
  }

    .works-hero {
    padding: 2.8rem 0 3.2rem;
  }

  .works-hero h1 {
    font-size: 1.7rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-image img {
    height: 220px;
  }

  /* Pile verticale : image en haut, texte en bas */
  .real-row,
  .real-row.reverse {
    flex-direction: column;
    align-items: stretch;
    padding: 1.4rem 1.2rem;
  }

  .real-image {
    width: 100%;
  }

  .real-text {
    width: 100%;
    padding: 1rem 0 0;
  }

    /* Flèche vers le bas pour toutes les images de réalisations */
  .real-image .product-image-slide img {
    height: 380px; /* un peu moins haut sur mobile */
    clip-path: polygon(
      0 0,
      100% 0,
      100% 90%,
      50% 100%,
      0 90%
    );
  }

  /* On annule la variante reverse sur mobile */
  .real-row.reverse .real-image .product-image-slide img {
    clip-path: polygon(
      0 0,
      100% 0,
      100% 90%,
      50% 100%,
      0 90%
    );
  }

  .contact-hero {
    height: 230px;
  }

  .contact-hero h1 {
    font-size: 1.9rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-block {
    padding: 1.4rem 1.4rem;
  }

  .footer-top-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .legal-hero {
    padding: 70px 0 40px;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    margin-bottom: 1rem;
  }

  .legal-card {
    padding: 1.6rem 1.4rem;
    border-radius: 18px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 0 8px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    font-size: 1.6rem;
  }
  .shop-search-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-search-input {
    width: 100%;
  }
}
