@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&display=swap');

/* --------------------------------------------------
   VARIABLES — Sahel Vibrant
   Crème chaud, indigo profond en couleur de marque secondaire, orange
   coucher de soleil comme accent principal (le seul que la personnalisation
   de marque, E36, réécrit à la volée). Formes rondes partout.
-------------------------------------------------- */
:root {
  --bg: #fff9f3;
  --bg-alt: #fdf0e4;
  --surface: #ffffff;
  --text: #241b33;
  --muted: #786e8a;

  --accent: #ff7a3d;
  --accent-dark: #d95f26;
  --accent-soft: rgba(255, 122, 61, 0.14);

  --indigo: #4a2e83;
  --indigo-soft: rgba(74, 46, 131, 0.08);

  --border: #f0e0cf;

  --radius: 20px;
  --radius-pill: 999px;
  --shadow: 0 22px 45px rgba(74, 46, 131, 0.14);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------
   RESET
-------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--indigo);
  margin: 0 0 0.6rem;
}

a {
  color: var(--indigo);
  text-decoration: none;
}

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

[id] { scroll-margin-top: 84px; }

/* --------------------------------------------------
   LAYOUT
-------------------------------------------------- */
.sh-container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}

.sh-container--narrow {
  max-width: 760px;
}

.sh-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 0.5rem;
}

/* --------------------------------------------------
   EN-TÊTE — logo + nav en pilules
-------------------------------------------------- */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 249, 243, 0.94);
  backdrop-filter: blur(6px);
}

.sh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.sh-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--indigo);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sh-logo__image {
  height: 38px;
  max-width: 170px;
  object-fit: contain;
}

.sh-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  box-shadow: 0 6px 18px rgba(74, 46, 131, 0.08);
}

.sh-nav-toggle {
  display: none;
}

.sh-nav-toggle__label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.sh-nav-toggle__label span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  margin: 0 auto;
  background: var(--indigo);
}

.sh-nav__link {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.sh-nav__link:hover {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.btn-nav {
  background: var(--accent);
  color: #ffffff !important;
}

.btn-nav:hover {
  background: var(--accent-dark);
  color: #ffffff !important;
}

.sh-nav__dropdown {
  position: relative;
}

.sh-nav__dropdown > summary {
  cursor: pointer;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  list-style: none;
  color: var(--text);
}

.sh-nav__dropdown > summary::-webkit-details-marker {
  display: none;
}

.sh-nav__dropdown > summary::after {
  content: " \25BE";
  font-size: 0.75em;
}

.sh-nav__dropdown[open] > summary,
.sh-nav__dropdown > summary:hover {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.sh-nav__dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0.6rem 0 0;
  padding: 0.6rem 0;
  list-style: none;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 190px;
  max-width: 80vw;
  z-index: 20;
}

.sh-nav__dropdown-list li a {
  display: block;
  padding: 0.55rem 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  font-weight: 500;
}

.sh-nav__dropdown-list li a:hover {
  background: var(--indigo-soft);
  color: var(--indigo);
}

/* --------------------------------------------------
   HERO — asymétrique, forme organique + titre XXL
-------------------------------------------------- */
.sh-hero {
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.sh-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}

.sh-hero__blob {
  aspect-ratio: 1 / 1;
  border-radius: 62% 38% 34% 66% / 58% 32% 68% 42%;
  overflow: hidden;
  background: var(--indigo-soft);
  box-shadow: var(--shadow);
}

.sh-hero__blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-hero__text h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 1rem;
}

.sh-hero__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 30rem;
  margin: 0 0 1.5rem;
}

.sh-hero__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.75rem;
}

.sh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  vertical-align: middle;
}

.sh-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */
.sh-section {
  padding: 4.5rem 0;
}

.sh-section--alt {
  background: var(--bg-alt);
}

.sh-section h2 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

.sh-lede {
  font-size: 1.02rem;
  color: var(--text);
}

.sh-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.sh-prose {
  color: var(--text);
}

.sh-back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.sh-back-link:hover {
  color: var(--indigo);
}

/* --------------------------------------------------
   À PROPOS
-------------------------------------------------- */
.sh-facts {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 0;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
}

.sh-facts dt {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.sh-facts dd {
  margin: 0.25rem 0 0;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--indigo);
}

/* --------------------------------------------------
   CARTES — coins très ronds, petit point coloré
-------------------------------------------------- */
.sh-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.sh-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(74, 46, 131, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sh-card::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.sh-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.sh-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  padding-right: 1.25rem;
}

.sh-card p {
  margin: 0;
  color: var(--muted);
}

.sh-card__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.85rem;
}

.sh-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.sh-card__price {
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--accent-dark);
  margin: 0.4rem 0;
}

.sh-card__date {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}

/* --------------------------------------------------
   GRILLE (galerie / réalisations)
-------------------------------------------------- */
.sh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.sh-grid__item {
  display: block;
  border-radius: var(--radius);
  padding: 0.75rem;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(74, 46, 131, 0.06);
  transition: transform 0.2s ease;
}

.sh-grid__item:hover {
  transform: translateY(-5px);
}

.sh-grid__item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.5rem;
}

.sh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.sh-lightbox:target {
  opacity: 1;
  visibility: visible;
}

.sh-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 27, 51, 0.9);
}

.sh-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
}

.sh-lightbox__content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

.sh-lightbox__content figcaption {
  color: #ffffff;
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 600;
}

.sh-lightbox__close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

/* --------------------------------------------------
   PAGES DE DÉTAIL
-------------------------------------------------- */
.sh-detail__cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.sh-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.sh-detail__gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --------------------------------------------------
   PUCES
-------------------------------------------------- */
.sh-chip {
  display: inline-block;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.sh-chip--muted {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.sh-chip--tag {
  margin: 0.15rem 0.3rem 0.15rem 0;
}

.sh-chip--type {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------
   CONTACT
-------------------------------------------------- */
.sh-contact-info {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sh-contact-info a {
  color: var(--indigo);
  font-weight: 600;
}

.sh-contact-info a:hover {
  text-decoration: underline;
}

.sh-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sh-alert {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.sh-alert--ok {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.sh-alert--error {
  background: rgba(200, 60, 60, 0.1);
  color: #a83232;
}

.sh-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
}

.sh-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 0.7rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.sh-social-link:hover {
  background: var(--accent);
  color: #ffffff;
}

.sh-map-embed {
  margin: 0 0 1.75rem;
}

.sh-map-embed iframe {
  width: 100%;
  height: 280px;
  border: none;
  border-radius: var(--radius);
  display: block;
}

.sh-map-embed-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo);
}

.sh-map-embed-link:hover {
  text-decoration: underline;
}

.sh-form {
  max-width: 480px;
}

.sh-form h3 {
  font-size: 1.3rem;
}

.sh-form > p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.sh-form__row {
  margin-bottom: 1.1rem;
}

.sh-form__row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.sh-form__row input,
.sh-form__row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.sh-form__row input:focus,
.sh-form__row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* --------------------------------------------------
   BOUTONS — pilules pleines
-------------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}

.btn-secondary:hover {
  background: var(--indigo);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------
   PIED DE PAGE
-------------------------------------------------- */
.sh-footer {
  padding: 2rem 0;
  background: var(--indigo);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.sh-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sh-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
}

.sh-footer__links a {
  color: rgba(255, 255, 255, 0.85);
}

.sh-footer__links a:hover {
  color: var(--accent);
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {
  .sh-hero__inner {
    grid-template-columns: 1fr;
  }

  .sh-hero__blob {
    max-width: 260px;
    margin: 0 auto;
  }

  .sh-hero__text {
    text-align: center;
  }

  .sh-hero__meta,
  .sh-hero__actions {
    justify-content: center;
  }

  .sh-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .sh-nav-toggle__label {
    display: flex;
  }

  .sh-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 5%;
    right: 5%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .sh-nav-toggle:checked ~ .sh-nav {
    display: flex;
  }

  .sh-nav__link,
  .sh-nav__dropdown > summary {
    padding: 0.85rem 1rem;
  }

  .sh-nav__dropdown {
    width: 100%;
  }

  .sh-nav__dropdown-list {
    position: static;
    max-width: none;
    margin: 0;
    box-shadow: none;
    background: var(--indigo-soft);
  }

  .sh-footer__inner {
    justify-content: center;
    text-align: center;
  }

  .sh-footer__links {
    justify-content: center;
  }
}
