/* Spectacles 83 — direction "Carte postale Côte d'Azur vintage" (voir .impeccable/surfaces/index.md) */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/jost-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Parisienne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/parisienne-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kaushan-script-latin.woff2?v=2') format('woff2');
}

:root {
  --lagon: #1f7d95;
  --lagon-dark: #12586a;
  --corail: #e2683a;
  --corail-dark: #b8471f;
  --soleil: #f3b23e;
  --creme: #faf3e6;
  --creme-deep: #f0e2c8;
  --encre: #2b241d;
  --blanc: #fffaf0;
  --tampon: #a8382a;

  --font-display: 'Kaushan Script', cursive;
  --font-body: 'Jost', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1rem 1.75rem;
  background: var(--encre);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
}
.site-header .logo svg, .site-header .logo img { flex-shrink: 0; }
.site-header .logo span {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--soleil);
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1.2rem;
  border-right: 1px solid rgba(250,243,230,.2);
}
.header-contact a {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(250,243,230,.85);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  transition: color .15s;
}
.header-contact a:hover { color: var(--soleil); }
.header-contact a.header-phone-mobile { display: none; }
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}
.site-header nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,243,230,.85);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .15s, color .15s;
}
.site-header nav a:hover { border-color: var(--soleil); color: var(--soleil); }
.site-header nav a.nav-phone { color: var(--soleil); }

.site-header nav .nav-item { position: relative; display: flex; align-items: center; }
.site-header nav .nav-item .caret { font-size: .65em; opacity: .7; }
.site-header nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  min-width: 220px;
  background: var(--encre);
  padding: 1.1rem 0 .6rem;
  box-shadow: 0 14px 24px rgba(0,0,0,.25);
  z-index: 30;
}
.site-header nav .nav-item:last-of-type .submenu { left: auto; right: 0; }
.site-header nav .nav-item:hover .submenu,
.site-header nav .nav-item:focus-within .submenu { display: flex; }
.site-header nav .submenu a {
  padding: .55rem 1.25rem;
  text-transform: none;
  font-size: .82rem;
  letter-spacing: 0;
  border-bottom: none;
  white-space: nowrap;
}
.site-header nav .submenu a.submenu-all {
  color: var(--soleil);
  font-weight: 700;
  padding-bottom: .8rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid rgba(250,243,230,.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--creme);
  transition: transform .2s ease, opacity .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 {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--encre);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.12) sepia(.12) contrast(1.03);
}
.hero.hero--hub { min-height: 64vh; }
.hero.hero--sub { min-height: 56vh; }
.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-mosaic img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(1.12) sepia(.12) contrast(1.03);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,36,29,.05) 0%, rgba(43,36,29,.15) 45%, rgba(43,36,29,.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 1.75rem 3.5rem;
  color: var(--blanc);
}
.hero-content .container { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 10vw, 7.5rem);
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255,255,255,.22),
    0 2px 4px rgba(0,0,0,.55),
    0 10px 24px rgba(0,0,0,.4);
}
.hero-tagline {
  font-style: italic;
  font-size: 1.2rem;
  max-width: 42em;
  color: var(--creme);
}

/* Stamp-style CTA */
.stamp-cta {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 118px;
  height: 148px;
  background: var(--creme);
  color: var(--encre);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.15;
  letter-spacing: .01em;
  border: 2px solid var(--encre);
  border-radius: 3px;
  transform: rotate(4deg);
  padding: 0.6rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  -webkit-mask-image: radial-gradient(circle 4.5px at 0 0, transparent 4.3px, black 4.5px);
  mask-image:
    radial-gradient(circle 5px at 10px 0, transparent 4.7px, black 5px),
    radial-gradient(circle 5px at 10px 148px, transparent 4.7px, black 5px);
  transition: transform .2s;
}
.stamp-cta:hover { transform: rotate(0deg) scale(1.04); }
.stamp-cta small { font-weight: 500; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--corail-dark); }

/* ---------- Hero mosaïque (carte postale multi-vues) ---------- */
.hero-collage {
  padding: 3.2rem 0 1rem;
  text-align: center;
  background: var(--creme-deep);
}
.hero-collage-head { max-width: 700px; margin: 0 auto 2.4rem; }
.hero-collage .hero-title-alt {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--corail-dark);
  line-height: 1;
}
.hero-collage .hero-tagline-alt {
  font-style: italic;
  color: var(--encre);
  opacity: .82;
  font-size: 1.15rem;
  margin: .7rem 0 1.5rem;
}
.collage-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem 1.6rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.6rem;
}
.collage-photo {
  display: block;
  background: var(--blanc);
  padding: 10px 10px 12px;
  box-shadow: 0 10px 22px rgba(43,36,29,.16);
  width: 230px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.collage-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.collage-photo .cap {
  display: block;
  text-align: center;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--encre);
  opacity: .65;
  margin-top: .6rem;
}
.collage-photo:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.05) !important;
  box-shadow: 0 18px 30px rgba(43,36,29,.28);
  position: relative;
  z-index: 5;
}
.collage-photo:nth-child(1) { transform: rotate(-4deg); }
.collage-photo:nth-child(2) { transform: rotate(3deg); }
.collage-photo:nth-child(3) { transform: rotate(-2deg); }
.collage-photo:nth-child(4) { transform: rotate(4deg); }
.collage-photo:nth-child(5) { transform: rotate(-3deg); }
.collage-photo:nth-child(6) { transform: rotate(2deg); }

/* ---------- Intro ---------- */
.intro {
  padding: 4rem 0 3rem;
  text-align: center;
}
.intro .container { max-width: 900px; }
.intro p { font-size: 1.1rem; margin: 0 0 1rem; }
.intro .lead {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--lagon-dark);
  margin-bottom: 1.2rem;
}

/* ---------- Catalogue grid (panneaux compartimentés) ---------- */
.catalogue {
  padding: 1rem 0 4rem;
}
.catalogue h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--corail-dark);
  margin-bottom: 2rem;
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 4px;
  background: var(--encre);
  border: 4px solid var(--encre);
}
.panel {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--blanc);
  background: var(--lagon-dark);
  grid-column: span 3;
}
.panel.large { grid-column: span 4; grid-row: span 2; }
.panel.small { grid-column: span 2; grid-row: span 2; }
.panel.wide { grid-column: span 6; }
.panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  filter: saturate(1.1) sepia(.08);
}
.panel:hover img { transform: scale(1.06); }
.panel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,36,29,0) 40%, rgba(43,36,29,.85) 100%);
}
.panel-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem;
}
.panel-label .cat {
  font-family: var(--font-display);
  font-size: 1.7rem;
  display: block;
  text-shadow:
    0 1px 0 rgba(255,255,255,.2),
    0 2px 3px rgba(0,0,0,.5),
    0 6px 14px rgba(0,0,0,.4);
}
.panel-label .sub {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--soleil);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* ---------- Sous-catégorie grid (pages catégorie) ---------- */
.subcats { padding: 1rem 0 4rem; }
.subcats .panel-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
.subcats .panel { grid-column: span 1; }
.subcats--triple .panel-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.subcats--triple .panel.full { grid-column: 1 / -1; }
/* Grille adaptative : 2 colonnes tant qu'il y a 4 cartes ou moins (2x2 bien
   plein), passe automatiquement à 3 colonnes dès une 5e carte — pas besoin de
   retoucher le CSS à chaque nouvelle catégorie ajoutée. */
.subcats--flow .panel-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.subcats--flow .panel {
  flex: 1 1 calc(50% - 4px);
  max-width: calc(50% - 4px);
  height: 320px;
}
.subcats--flow .panel-grid:has(.panel:nth-child(5)) .panel {
  flex: 1 1 calc(33.333% - 4px);
  max-width: calc(33.333% - 4px);
  height: 260px;
}

/* ---------- Liste de prestations ---------- */
.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem 2rem;
}
.feature-list li {
  position: relative;
  font-size: 1.15rem;
}

/* ---------- Carousel / diaporama ---------- */
.carousel {
  position: relative;
  max-width: 620px;
  margin: 2rem auto 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(43,36,29,.18);
  background: var(--encre);
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,243,230,.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: .9rem;
  cursor: pointer;
  color: var(--encre);
  z-index: 2;
}
.carousel-btn:hover { background: var(--blanc); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  flex-wrap: wrap;
  padding: 0 40px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250,243,230,.5);
  cursor: pointer;
  border: none;
  padding: 0;
}
.carousel-dot.active { background: var(--blanc); }

/* ---------- Galerie mosaïque + lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 8px;
  margin-top: 2rem;
}
.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(43,36,29,0);
  transition: background .2s ease;
}
.gallery-item:hover::after { background: rgba(43,36,29,.12); }
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20,16,12,.94);
  padding: 4rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 3px solid var(--soleil);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transition: opacity .5s ease;
}
.lightbox img.fade-out { opacity: 0; }
.lightbox-close {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--creme);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,243,230,.15);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--creme);
}
.lightbox-nav:hover { background: rgba(250,243,230,.3); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--creme);
  opacity: .65;
  font-size: .82rem;
  letter-spacing: .04em;
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb {
  padding: .9rem 0;
  font-size: .82rem;
}
.breadcrumb a { color: var(--lagon-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .5; margin: 0 .4rem; }

/* ---------- Bande CTA ---------- */
.stats-bar {
  background: var(--encre);
  padding: 2.4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--soleil);
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(250,243,230,.75);
  margin-top: .5rem;
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

.cta-band {
  background: var(--lagon-dark);
  color: var(--blanc);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: 2.3rem; margin-bottom: .6rem; }
.cta-band p { opacity: .9; margin-bottom: 1.4rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.btn {
  display: inline-block;
  background: var(--soleil);
  color: var(--encre);
  text-decoration: none;
  font-weight: 700;
  padding: .8rem 1.8rem;
  border-radius: 3px;
  letter-spacing: .02em;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); }

/* ---------- Zone d'intervention ---------- */
.zone {
  background: var(--creme);
  padding: 3.5rem 0;
  text-align: center;
}
.zone h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--lagon-dark);
  margin-bottom: .5rem;
}
.zone .sub-h { color: var(--encre); opacity: .75; margin-bottom: 1.8rem; }
.town-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  max-width: 820px;
  margin: 0 auto;
}
.town-pill {
  background: var(--blanc);
  border: 1px solid var(--creme-deep);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .85rem;
  color: var(--encre);
}
.zone-more { margin-top: 1.6rem; font-size: .9rem; opacity: .75; }

/* ---------- Partenaires ---------- */
.partners {
  background: var(--creme-deep);
  padding: 3.5rem 0;
}
.partners h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--lagon-dark);
  margin-bottom: .5rem;
}
.partners .sub-h { text-align: center; color: var(--encre); opacity: .75; margin-bottom: 2rem; }
.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.partner-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: var(--blanc);
  border: 1px solid var(--creme-deep);
  border-radius: 6px;
  padding: 1.3rem;
  text-decoration: none;
  color: var(--encre);
  box-shadow: 0 6px 18px rgba(43,36,29,.08);
  transition: transform .15s, box-shadow .15s;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(43,36,29,.14); }
.partner-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--soleil); }
.partner-card .name { font-family: var(--font-display); font-size: 1.6rem; color: var(--corail-dark); }
.partner-card .role { font-size: .85rem; opacity: .8; margin: .2rem 0 .4rem; }
.partner-card .go { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lagon-dark); }

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}
.artist-card {
  background: var(--blanc);
  border: 1px solid var(--creme-deep);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(43,36,29,.08);
}
.artist-card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.artist-card .artist-body { padding: 1.1rem 1.3rem 1.4rem; }
.artist-card .artist-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--corail-dark); margin-bottom: .35rem; }
.artist-card p { font-size: .88rem; line-height: 1.55; color: var(--encre); opacity: .85; margin: 0; }
.artist-card .artist-link { display: inline-block; margin-top: .6rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lagon-dark); text-decoration: none; }
.intro .artist-note { text-align: center; opacity: .75; font-size: .9rem; margin: 3rem 0 0; }

/* ---------- Grille de formules tarifées ---------- */
.pricing-section { padding: 1rem 0 3.5rem; text-align: center; }
.pricing-section h2 { font-family: var(--font-display); font-size: 2rem; color: var(--lagon-dark); margin-bottom: 1.2rem; }
.pricing-section .chapo { max-width: 700px; margin: 0 auto 2.2rem; opacity: .85; font-size: 1.05rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  text-align: left;
}
.pricing-card {
  background: var(--blanc);
  border: 1px solid var(--creme-deep);
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 18px rgba(43,36,29,.08);
  display: flex;
  flex-direction: column;
}
.pricing-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--corail-dark); margin: 0 0 .5rem; }
.pricing-card p { font-size: .92rem; line-height: 1.5; opacity: .85; margin: 0 0 1rem; flex: 1; }
.pricing-price {
  font-weight: 700;
  color: var(--lagon-dark);
  font-size: 1.02rem;
  border-top: 1px dashed var(--creme-deep);
  padding-top: .7rem;
  margin-top: auto;
}
.pricing-note { max-width: 820px; margin: 2.2rem auto 0; text-align: justify; opacity: .9; }

/* ---------- Encart pratique ---------- */
.practical-box {
  background: var(--creme-deep);
  border-radius: 8px;
  padding: 1.4rem 1.7rem;
  margin-top: 1.6rem;
  text-align: left;
}
.practical-box ul { margin: 0; padding-left: 1.2rem; }
.practical-box li { margin-bottom: .5rem; font-size: .95rem; }
.practical-box li:last-child { margin-bottom: 0; }

/* ---------- Formulaire (devis) ---------- */
.form-card {
  background: var(--blanc);
  border: 1px solid var(--creme-deep);
  box-shadow: 0 10px 24px rgba(43,36,29,.1);
  padding: 2.2rem;
}
.hp-field { position: absolute; left: -9999px; }
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.3rem;
}
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}
.form-row label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--encre);
  opacity: .7;
  margin-bottom: .4rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  font-size: .98rem;
  color: var(--encre);
  background: var(--creme);
  border: 1px solid var(--creme-deep);
  border-radius: 3px;
  padding: .65rem .8rem;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--lagon);
}
.form-row textarea { resize: vertical; }
.alert {
  padding: 1rem 1.2rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
  font-size: .92rem;
  line-height: 1.5;
}
.alert-success { background: #e4f3e0; color: #2e5c24; border-left: 4px solid #4c9a3a; }
.alert-error { background: #fbe4e0; color: #8a2f1c; border-left: 4px solid var(--corail-dark); }

/* ---------- Association (verso carte postale) ---------- */
.assoc {
  padding: 3.5rem 0;
}
.assoc .container { max-width: 760px; }
.assoc-card {
  background: var(--blanc);
  border: 1px solid var(--creme-deep);
  border-left: 4px solid var(--corail);
  padding: 1.8rem 2rem;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--encre);
  opacity: .92;
}
.assoc-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lagon-dark);
  margin-bottom: .8rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--encre);
  color: var(--creme);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr .9fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250,243,230,.15);
}
.footer-grid .brand { font-family: var(--font-display); font-size: 2.1rem; color: var(--soleil); }
.footer-grid p, .footer-grid a { color: rgba(250,243,230,.85); text-decoration: none; font-size: .92rem; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--creme); opacity: .6; margin-bottom: .7rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-social { display: flex; gap: .9rem; margin-top: 1rem; }
.footer-social a { color: rgba(250,243,230,.85); display: inline-flex; transition: color .15s; }
.footer-social a:hover { color: var(--soleil); }
.footer-bottom {
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(250,243,230,.5);
}
.footer-bottom a { text-decoration: underline; }
.footer-bottom a:hover { color: rgba(250,243,230,.85); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .header-contact a.header-phone-mobile { display: flex; }
  .nav-phone { display: none; }
  .nav-toggle { order: 1; }
  .header-contact {
    order: 2;
    flex-basis: 100%;
    justify-content: center;
    padding-right: 0;
    border-right: none;
    margin-top: .4rem;
  }
  .hero-mosaic { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery-item.large { grid-column: span 2; grid-row: span 2; }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .panel, .panel.large, .panel.small, .panel.wide { grid-column: span 2; grid-row: span 1; }
  .subcats .panel-grid { grid-template-columns: 1fr; }
  .subcats .panel { grid-column: span 1; }
  .subcats--flow .panel { flex: 1 1 100%; max-width: 100%; height: 260px; }
  .feature-list { grid-template-columns: 1fr; }
  .partner-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stamp-cta { position: static; margin-top: 1rem; transform: rotate(-2deg); }
  .hero-content .container { align-items: center; text-align: center; }
  .hero, .hero.hero--hub, .hero.hero--sub { min-height: 66vh; }
  .nav-toggle { display: flex; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--encre);
    padding: 1rem 1.75rem 1.5rem;
    box-shadow: 0 14px 24px rgba(0,0,0,.25);
  }
  .site-header nav.nav-open { display: flex; }
  .site-header nav > a { width: 100%; }
  /* En mobile, :hover n'existe pas : le sous-menu s'affiche en accordéon (statique,
     dans le flux) via la classe .submenu-open ajoutée par main.js au tap, pas en
     dropdown flottant comme sur desktop. */
  .site-header nav .nav-item {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .site-header nav .submenu {
    display: none;
    position: static;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    width: 100%;
    padding: .3rem 0 .2rem 1rem;
  }
  .site-header nav .nav-item.submenu-open .submenu { display: flex; }
}
/* Bascule en menu hamburger dès que le nav passe sur 2 lignes (détecté en JS, voir
   main.js) — plus robuste qu'un seuil de largeur fixe qui se désynchronise à chaque
   ajout/retrait de catégorie dans le menu. */
.site-header.nav-compact .nav-toggle { display: flex; }
.site-header.nav-compact nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background: var(--encre);
  padding: 1rem 1.75rem 1.5rem;
  box-shadow: 0 14px 24px rgba(0,0,0,.25);
}
.site-header.nav-compact nav.nav-open { display: flex; }
.site-header.nav-compact nav > a { width: 100%; }
.site-header.nav-compact .nav-item {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.site-header.nav-compact .submenu {
  display: none;
  position: static;
  box-shadow: none;
  background: transparent;
  min-width: 0;
  width: 100%;
  padding: .3rem 0 .2rem 1rem;
}
.site-header.nav-compact .nav-item.submenu-open .submenu { display: flex; }
@media (max-width: 600px) {
  .hero, .hero.hero--hub, .hero.hero--sub { min-height: 52vh; }
  .collage-photo { width: 150px; }
  .collage-photo img { height: 118px; }
  .two-cols { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
}

/* ---------- Bouton retour en haut ---------- */
#backToTop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--corail);
  color: var(--blanc);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(43,36,29,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, background .15s;
  z-index: 40;
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--corail-dark); }
