:root {
  --ink: #231f20;
  --muted: #766c67;
  --paper: #fffaf5;
  --linen: #f5eee6;
  --rose: #b46f74;
  --moss: #6f7b63;
  --gold: #b8945e;
  --deep: #38292b;
  --shadow: 0 24px 70px rgba(47, 35, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(24, 20, 18, 0.72), rgba(24, 20, 18, 0));
}

.site-header.solid,
.portfolio-page .site-header {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 250, 245, 0.92);
  border-bottom: 1px solid rgba(56, 41, 43, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 190px;
  font-weight: 800;
}

.brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  grid-template-columns: 1fr; /* Passage sur une seule colonne */
  align-items: center; /* Centre verticalement le titre et le panneau */
  justify-items: center; /* Centre horizontalement le contenu */
  text-align: center; /* Aligne le texte au milieu */
  gap: 40px;
  padding: 140px clamp(20px, 5vw, 72px) 60px;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: heroFade 18s infinite;
  transform: scale(1);
}

.hero-bg-one {
  opacity: 1;
  animation-delay: 0s;
}

.hero-bg-two {
  animation-delay: 6s;
}

.hero-bg-three {
  animation-delay: 12s;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(26, 21, 19, 0.78), rgba(26, 21, 19, 0.34) 48%, rgba(26, 21, 19, 0.7)),
    linear-gradient(0deg, rgba(26, 21, 19, 0.72), rgba(26, 21, 19, 0.02) 48%);
}

@keyframes heroFade {
  0%, 38%, 100% { opacity: 0; }
  5%, 32% { opacity: 1; }
}

.hero-content,
.services-panel {
  position: relative;
  z-index: 2;
}

.hero-overlay,
.hero-bg {
  pointer-events: none;
}

.services-panel,
.services-panel a,
.services-panel button {
  pointer-events: auto;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f1d6c8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--rose);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(1.1rem, 3vw, 3.7rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h3 {
  font-size: 1.55rem;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
    display: inline-flex; /* S'adapte au contenu */
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0 0; /* Reset les marges latérales à 0 */
  justify-content: center; /* Aligne les boutons parfaitement au centre */
  align-items: center; /* Aligne les boutons sur une même ligne horizontale */
  width: 100%; /* Force le centrage par rapport à la largeur totale */
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.gallery-item:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--rose);
  box-shadow: 0 14px 32px rgba(180, 111, 116, 0.38);
}

.button.primary.light {
  color: var(--deep);
  background: #fff;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.services-panel {
  width: min(560px, 90vw);
  align-self: center;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 800;
}

.panel-heading strong {
  color: #ffe9d8;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-cloud span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-shell,
.portfolio-hero,
.portfolio-toolbar,
.gallery-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.intro-band {
  background: var(--linen);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(64px, 8vw, 110px) 0;
}

.intro-text {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: clamp(64px, 8vw, 110px) 0 36px;
}

.story-block,
.detail {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(60, 42, 34, 0.08);
}

.story-block {
  padding: 28px;
}

.number {
  color: var(--gold);
  font-weight: 900;
}

.story-block p,
.detail li,
.cta-copy p,
.portfolio-hero p,
.portfolio-toolbar span {
  color: var(--muted);
  line-height: 1.75;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  padding-bottom: clamp(70px, 8vw, 120px);
}

.detail {
  padding: clamp(28px, 4vw, 46px);
}

.detail.accent {
  color: #fff;
  background: var(--deep);
}

.detail.accent li {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #765457);
}

.cta-copy {
  max-width: 720px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: #fff;
  font-weight: 700;
}

.site-footer span {
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.portfolio-hero {
  padding: clamp(62px, 8vw, 108px) 0 34px;
}

.portfolio-hero h1 {
  color: var(--deep);
  font-size: clamp(2.8rem, 6vw, 5.9rem);
}

.portfolio-hero p {
  max-width: 680px;
  font-size: 1.08rem;
}

.portfolio-toolbar {
  position: sticky;
  top: 72px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  background: rgba(255, 250, 245, 0.9);
  backdrop-filter: blur(18px);
}

.portfolio-toolbar strong,
.portfolio-toolbar span {
  display: block;
}

.filter-button {
  min-height: 38px;
  border: 1px solid rgba(56, 41, 43, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--deep);
  background: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  color: #fff;
  background: var(--deep);
}

.filter-button-video {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-left: 8px;
  padding-inline: 18px;
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
  box-shadow: 0 8px 20px rgba(180, 111, 116, 0.2);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.filter-button-video:hover,
.filter-button-video:focus-visible {
  color: #fff;
  background: #a45e64;
  box-shadow: 0 11px 24px rgba(180, 111, 116, 0.3);
  transform: translateY(-2px);
}

.filter-button-video.active {
  color: #fff;
  border-color: var(--deep);
  background: var(--deep);
  box-shadow: 0 10px 24px rgba(56, 41, 43, 0.22);
}

.filter-play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

  .gallery-shell {
  padding: 18px 0 86px;
  }

.video-showcase {
  width: 100%;
  padding: clamp(34px, 6vw, 76px) 0 24px;
}

.video-showcase-header {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.video-showcase h2 {
  max-width: 720px;
  color: var(--deep);
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.video-showcase-intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.video-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.video-main-column,
.video-playlist-panel {
  min-width: 0;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.video-caption span,
.video-count {
  color: var(--rose);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-playlist-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(56, 41, 43, .12);
  background: rgba(245, 238, 230, .58);
  box-shadow: 0 18px 50px rgba(60, 42, 34, .08);
}

.video-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.video-panel-heading .eyebrow { margin-bottom: 8px; }
.video-panel-heading h3 { color: var(--deep); font-size: clamp(1.35rem, 2vw, 1.7rem); }
.video-panel-copy { margin: 14px 0 20px; color: var(--muted); line-height: 1.65; font-size: .9rem; }
.video-frame-playlist { border-radius: 5px; box-shadow: none; }
.video-playlist-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--deep);
  border-bottom: 1px solid var(--gold);
  font-size: .84rem;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}
.video-playlist-link:hover,
.video-playlist-link:focus-visible { color: var(--rose); border-color: var(--rose); }

@media (max-width: 760px) {
  .video-experience { grid-template-columns: 1fr; }
  .video-playlist-panel { padding: 22px; }
}

@media (max-width: 600px) {
  .video-showcase { padding-top: 28px; }
  .video-panel-heading { flex-direction: column; gap: 10px; }
}

.film-experience {
  margin-top: clamp(70px, 10vw, 128px);
  padding: clamp(48px, 7vw, 88px) 0 clamp(70px, 10vw, 118px);
  border-top: 1px solid rgba(56, 41, 43, .14);
  text-align: center;
}
.film-experience-header { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 58px); }
.film-experience-header h2 { max-width: 720px; margin: 0 auto; color: var(--deep); font-size: clamp(2rem, 4vw, 3.8rem); }
.film-experience-header > p:last-child { max-width: 650px; margin: 20px auto 0; color: var(--muted); line-height: 1.8; }
.film-experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 920px; margin: 0 auto; border: 1px solid rgba(56, 41, 43, .12); background: rgba(56, 41, 43, .12); }
.film-experience-card { min-height: 190px; padding: clamp(24px, 4vw, 38px); background: var(--linen); text-align: left; }
.film-experience-number { display: block; margin-bottom: 22px; color: var(--rose); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.film-experience-card h3 { margin-bottom: 12px; color: var(--deep); font-size: clamp(1.25rem, 2vw, 1.65rem); }
.film-experience-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.film-experience-note { margin: 28px auto 24px; color: var(--muted); font-size: .9rem; font-style: italic; }
.film-experience-link {
  display: flex;
  width: min(100%, 420px);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin: 30px auto 0;
  padding: 15px 24px;
  border: 1px solid rgba(180, 111, 116, 0.42);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 245, 0.72);
  box-shadow: 0 12px 30px rgba(60, 42, 34, 0.08);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

.film-experience-link:hover,
.film-experience-link:focus-visible {
  color: var(--rose);
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 16px 34px rgba(60, 42, 34, 0.12);
  text-decoration: none;
  transform: translateY(-2px);
  }
.film-experience-link:hover,
.film-experience-link:focus-visible {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .film-experience { margin-top: 58px; padding-top: 48px; }
  .film-experience-grid { grid-template-columns: 1fr; }
  .film-experience-card { min-height: auto; }
}

  [hidden] { display: none !important; }

/* Blog éditorial : images conservées dans leurs proportions naturelles. */
.blog-intro { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: clamp(72px, 10vw, 140px) 0 56px; text-align: center; }
.blog-intro h1 { max-width: 760px; margin: 0 auto 22px; color: var(--deep); font-size: clamp(2.8rem, 6vw, 5.4rem); }
.blog-intro > p:last-child { max-width: 620px; margin: 0 auto; color: var(--muted); line-height: 1.8; }
.blog-grid { width: min(1180px, calc(100% - 40px)); margin: 0 auto 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { overflow: hidden; border: 1px solid rgba(56,41,43,.1); background: #fff; box-shadow: 0 18px 50px rgba(60,42,34,.08); }
.blog-card-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); }
.blog-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 500ms ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.035); }
.blog-card-body { padding: 24px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--rose); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-card h2 { margin: 14px 0 12px; color: var(--deep); font-size: 1.65rem; line-height: 1.15; }
.blog-card-body > p:not(.blog-meta) { color: var(--muted); line-height: 1.7; }
.blog-read-more { display: inline-block; margin-top: 14px; color: var(--deep); font-weight: 800; border-bottom: 1px solid var(--gold); }
.blog-article { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 110px; }
.blog-back { color: var(--rose); font-weight: 800; }
.blog-article-header { max-width: 820px; padding: 70px 0 36px; }
.blog-article-header h1 { margin: 12px 0 20px; color: var(--deep); font-size: clamp(3rem, 7vw, 6.6rem); }
.blog-lead { max-width: 680px; color: var(--muted); font-size: 1.2rem; line-height: 1.8; }
.blog-article-cover { margin: 0 calc(50% - 50vw) 62px; background: var(--linen); }
.blog-article-image { display: block; width: 100%; max-height: 78vh; object-fit: contain; }
.blog-article-content { max-width: 720px; margin: 0 auto; }
.blog-article-content section { margin: 0 0 58px; }
.blog-article-content h2 { margin-bottom: 18px; color: var(--deep); font-size: clamp(2rem, 4vw, 3.4rem); }
.blog-article-content p { color: var(--muted); font-size: 1.06rem; line-height: 1.9; }
.blog-inline-image { margin: 34px 0 0; }
.blog-inline-image-offset { margin-left: 9%; margin-right: -18%; }
.blog-inline-image img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; background: var(--linen); }
.blog-inline-image figcaption { margin-top: 10px; color: var(--muted); font-size: .8rem; font-style: italic; }
.blog-article-cta { margin: 86px 0 70px; padding: clamp(32px, 6vw, 64px); color: #fff; background: var(--deep); }
.blog-article-cta h2 { max-width: 620px; margin-bottom: 14px; font-size: clamp(2.2rem, 5vw, 4.3rem); }
.blog-article-cta > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.76); line-height: 1.8; }
.blog-related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-related a { display: grid; gap: 12px; padding: 20px; border: 1px solid rgba(56,41,43,.12); background: #fff; transition: transform 180ms ease, border-color 180ms ease; }
.blog-related a:hover { transform: translateY(-3px); border-color: var(--rose); }
.blog-related span, .blog-related em { color: var(--rose); font-size: .72rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-related strong { color: var(--deep); font-family: "Playfair Display", serif; font-size: 1.3rem; line-height: 1.15; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } .blog-related > div { grid-template-columns: 1fr; } .blog-inline-image-offset { margin-left: 0; margin-right: 0; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; width: min(100% - 28px, 560px); } .blog-intro { width: min(100% - 28px, 680px); padding-top: 62px; } .blog-article { width: min(100% - 28px, 720px); padding-top: 32px; } .blog-article-header { padding-top: 50px; } .blog-article-cover { margin-inline: -14px; } .blog-article-content p { font-size: 1rem; } }

.load-more {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  padding: 12px 22px;
  border: 1px solid rgba(56, 41, 43, 0.14);
  border-radius: 999px;
  color: var(--deep);
  background: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(55, 39, 34, 0.08);
  cursor: pointer;
}

.load-more:disabled {
  cursor: default;
  opacity: 0.62;
}

.masonry-gallery {
  columns: 4 230px;
  column-gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #eadfd6;
  box-shadow: 0 14px 35px rgba(55, 39, 34, 0.1);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background: rgba(35, 31, 32, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.lightbox {
  width: min(1100px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(23, 18, 17, 0.96);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(18, 14, 13, 0.72);
}

.lightbox figure {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 48px;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  margin: auto;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
}

.lightbox-nav {
  top: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 14px;
}

.lightbox-nav.next {
  right: 14px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .story-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: end;
    min-height: auto;
    padding-top: 120px;
  }

  .services-panel {
    align-self: auto;
  }

  .portfolio-toolbar {
  align-items: flex-start;
  flex-direction: column;
  }

  .filter-row {
  width: 100%;
  }

  .filter-button-video {
  margin-left: 0;
  }
  }

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
    color: var(--ink);
    background: rgba(255, 250, 245, 0.94);
    border-bottom: 1px solid rgba(56, 41, 43, 0.1);
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 32px 18px 24px;
    gap: 18px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(26, 21, 19, 0.82), rgba(26, 21, 19, 0.2));
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.2rem);
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button {
    min-height: 44px;
    padding: 11px 18px;
  }

  .services-panel {
    padding: 16px;
  }

  .section-shell,
  .portfolio-hero,
  .portfolio-toolbar,
  .gallery-shell {
    width: min(100% - 28px, 1180px);
  }

  .service-cloud {
    max-height: 260px;
    overflow: auto;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox figure {
    padding: 56px 18px 22px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

/* --- COMPLÉMENT STYLES CONTACT MODAL & ASIDE CONTACT --- */

/* Reset bouton de navigation pour conserver l'esthétique existante */
/* --- COMPLÉMENT STYLES CONTACT MODAL & ASIDE CONTACT --- */

/* Applique des styles d'initialisation par défaut aux éléments <button> */
button.button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  cursor: pointer;
   margin: 0; 
}

/* Reset uniquement le bouton spécifique de la navigation */
button.nav-cta {
  background: transparent;
  border: 1px solid currentColor;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-block;
  transition: background 180ms ease, color 180ms ease;
}

button.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-block;
  transition: background 180ms ease, color 180ms ease;
}

button.nav-cta:hover {
  background: rgba(255, 255, 255, 0.15);
}

.site-header.solid button.nav-cta:hover,
.portfolio-page .site-header button.nav-cta:hover {
  background: var(--linen);
}

/* Nouveau panneau latéral de contact */
.sidebar-contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  height: 100%;
}

.sidebar-contact-container h3 {
  margin: 0 0 2px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  line-height: 1.1;
}

.service-tagline,
.service-area {
  margin: 0;
}

.service-tagline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
}

.service-area {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.65;
}

.phone-link {
  margin: 4px 0 2px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.phone-link a {
  color: #ffe9d8;
  transition: color 180ms ease;
}

.phone-link a:hover {
  color: #fff;
}

  /* Avis clients de la carte de contact */
  .sidebar-contact-container > .button {
  min-width: 190px;
  margin-top: 2px;
  }
  
  .sidebar-contact-container .hero-actions {
  width: 100%;
  margin: 8px 0 0;
  }
  
  .sidebar-contact-container .hero-actions .button {
  min-width: 220px;
  }
  
  .contact-card-action-width {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  }

  .sidebar-contact-container > .button.contact-card-action-width,
  .sidebar-contact-container .hero-actions {
  width: 100%;
  }
  
  .review-badges {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  gap: 8px;
  margin: 4px 0 2px;
  }

  .review-badges a {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  }

  .review-badges + .hero-actions {
  width: 100%;
  }
  
  .review-badge {
  flex: 1 1 0;
  min-width: 0;
  min-height: 64px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 7px;
  color: var(--ink);
  background: #fffaf5;
  border: 1px solid rgba(56, 41, 43, 0.1);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
  }
  
  .review-badge:hover,
  .review-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
  }
  
  .badge-reco {
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  }
  
  .badge-brand {
  margin: 2px 0;
  font-size: 0.93rem;
  font-weight: 800;
  color: #ea5455;
  white-space: nowrap;
  }
  
  .google-brand {
  color: #4285f4;
  }
  
  .google-brand > span {
  background: linear-gradient(90deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  }
  
  .badge-stars {
  font-size: 0.75rem;
  color: #ffb400;
  letter-spacing: 1px;
  line-height: 1;
  }
  

/* Styles pour le dialogue du formulaire de contact */
.contact-dialog {
  width: min(520px, calc(100% - 28px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-dialog::backdrop {
  background: rgba(18, 14, 13, 0.72);
  backdrop-filter: blur(4px);
}

.contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(56, 41, 43, 0.15);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease;
}

.contact-close:hover {
  background-color: var(--linen);
}

.contact-form-container {
  padding: clamp(24px, 5vw, 40px);
}

.contact-form-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--deep);
  margin-bottom: 24px;
  text-align: center;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
#captchaInput {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(56, 41, 43, 0.18);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 180ms ease;
}

.form-group input:focus,
.form-group textarea:focus,
#captchaInput:focus {
  outline: none;
  border-color: var(--rose);
}

/* Zone Captcha */
.captcha-container {
  background: var(--linen);
  padding: 14px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.captcha-container label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 8px 12px;
  border: 1px solid rgba(56, 41, 43, 0.15);
  border-radius: 6px;
}

#captchaQuestion {
  font-weight: 700;
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--deep);
}

.refresh-captcha {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease;
}

.refresh-captcha:hover {
  background-color: var(--linen);
}

.form-submit {
  border: none;
  cursor: pointer;
  margin-top: 12px;
}

/* Notifications de retour utilisateur */
.form-feedback {
  margin-top: 14px;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-feedback.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* --- MODAL MENTIONS LÉGALES & RGPD --- */
.legal-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: 80vh;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.legal-dialog::backdrop {
  background: rgba(18, 14, 13, 0.72);
  backdrop-filter: blur(4px);
}

.legal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(56, 41, 43, 0.15);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease;
  z-index: 10;
}

.legal-close:hover {
  background-color: var(--linen);
}

.legal-container {
  padding: clamp(24px, 5vw, 40px);
  overflow-y: auto;
  max-height: 80vh;
}

.legal-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--deep);
  margin-bottom: 24px;
  text-align: center;
}

.legal-container section {
  margin-bottom: 24px;
}

.legal-container h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  color: var(--deep);
  margin-bottom: 8px;
}

.legal-container p,
.legal-container li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.legal-container a {
  color: var(--rose);
  text-decoration: underline;
}

.legal-container ul {
  padding-left: 20px;
  margin-top: 8px;
}

/* Bouton du pied de page */
button.legal-trigger-btn {
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: color 180ms ease;
}

button.legal-trigger-btn:hover {
  color: var(--ink);
}

/* Notice RGPD intégrée au formulaire de contact */
.contact-rgpd-notice {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0 0;
  text-align: left;
}

/* Mise en valeur des prestations et appels au contact */
.services-panel {
  width: min(100%, 570px);
  padding: 30px 38px;
}

.service-area {
  margin: -5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
}

.portfolio-button {
  min-width: 230px;
  color: var(--deep);
  background: #fff;
  box-shadow: 0 14px 32px rgba(10, 7, 6, 0.22);
}

.offer-heading {
  max-width: 660px;
  padding: 24px 0 30px;
}

.offer-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.details-grid {
  padding-bottom: 26px;
}

.detail {
  border: 1px solid rgba(56, 41, 43, 0.08);
}

.check-list li {
  padding: 0 0 14px 28px;
  border-bottom: 1px solid rgba(56, 41, 43, 0.1);
}

.check-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail.accent .check-list li {
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-option-link {
  display: inline-block;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-option-link:hover,
.contact-option-link:focus-visible {
  color: var(--linen);
  transform: translateX(4px);
}

.questions-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 22px 0 clamp(70px, 8vw, 120px);
  padding: clamp(30px, 5vw, 58px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #765457);
  box-shadow: var(--shadow);
}

.questions-card h2 {
  max-width: 600px;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.questions-card p:not(.eyebrow) {
  max-width: 630px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.questions-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.questions-actions {
  flex-direction: column;
  align-items: stretch;
  min-width: 210px;
}

.phone-button {
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.cta-actions .button.secondary {
  min-width: 174px;
}

@media (max-width: 980px) {
  .questions-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .questions-actions {
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 680px) {
  .services-panel {
    padding: 22px;
  }

  .portfolio-button,
  .questions-actions .button,
  .phone-button {
    width: 100%;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    width: 100%;
  }
}

/* --- JOURNAL --- */
.blog-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(120px, 14vw, 180px) 0 96px;
}

.blog-intro {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 82px);
}

.blog-intro h1 {
  color: var(--deep);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.blog-intro > p:last-child {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(56, 41, 43, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(60, 42, 34, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(60, 42, 34, 0.14);
}

.blog-card-image,
.blog-article-cover {
  display: block;
  overflow: hidden;
  background: var(--linen);
}

.blog-card-image { aspect-ratio: 1.35; }
.blog-card-image img,
.blog-article-image { display: block; width: 100%; height: 100%; object-fit: cover; }

.blog-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 230px;
  place-items: center;
  color: rgba(56, 41, 43, 0.56);
  background: linear-gradient(135deg, #eadfd6, #f7eee7 50%, #dfc6bd);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
}

.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 16px; color: var(--muted); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.blog-meta span { color: var(--rose); }
.blog-card h2 { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.blog-card h2 a:hover { color: var(--rose); }
.blog-card-body > p:not(.blog-meta) { margin: 16px 0 24px; color: var(--muted); line-height: 1.7; }
.blog-read-more { margin-top: auto; color: var(--deep); font-weight: 800; }
.blog-read-more:hover { color: var(--rose); }
.blog-empty { color: var(--muted); }

.blog-article { max-width: 940px; margin: 0 auto; }
.blog-back { display: inline-block; margin-bottom: 50px; color: var(--muted); font-weight: 800; }
.blog-back:hover { color: var(--rose); }
.blog-article-header { max-width: 820px; margin-bottom: 42px; }
.blog-article-header h1 { color: var(--deep); font-size: clamp(2.8rem, 6vw, 5.7rem); }
.blog-lead { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 1.15rem; line-height: 1.8; }
.blog-article-cover { aspect-ratio: 1.9; margin-bottom: 54px; border-radius: 8px; }
.blog-article-cover .blog-image-placeholder { min-height: 340px; }
.blog-article-content { max-width: 700px; margin: 0 auto; }
.blog-article-content section + section { margin-top: 42px; }
.blog-article-content h2 { color: var(--deep); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.blog-article-content p { color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.blog-article-cta { margin-top: 70px; padding: clamp(30px, 5vw, 58px); border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--deep), #765457); }
.blog-article-cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.blog-article-cta p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.78); line-height: 1.75; }

@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .blog-shell { width: min(100% - 28px, 1180px); padding-top: 56px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-inline-image img { max-height: 380px; }
  .blog-article-cover { margin-bottom: 38px; }
  .blog-article-cover .blog-image-placeholder { min-height: 240px; }
  .blog-article-cta { margin-top: 48px; }
}

/* --- ACCUEIL : hiérarchie premium et composition cinématographique --- */
.home-page .site-header {
  min-height: 82px;
  padding: 18px clamp(24px, 5vw, 76px);
}

.brand { min-width: 220px; gap: 3px; }
.brand span { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.brand small { font-size: 0.76rem; letter-spacing: 0.02em; }

.main-nav {
  gap: clamp(16px, 2.4vw, 32px);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  letter-spacing: 0.01em;
}

.main-nav {
  gap: clamp(14px, 2.4vw, 30px);
}

.main-nav a { opacity: 0.94; transition: opacity 180ms ease, color 180ms ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: #ffe9d8; opacity: 1; }
.nav-cta { min-height: 46px; padding: 12px 20px; }

.hero {
  min-height: 100svh;
  grid-template-rows: auto auto;
  align-content: center;
  gap: clamp(40px, 6vh, 72px);
  padding: clamp(134px, 16vh, 178px) clamp(20px, 5vw, 72px) clamp(58px, 8vh, 94px);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(26, 21, 19, 0.86), rgba(26, 21, 19, 0.4) 52%, rgba(26, 21, 19, 0.74)),
    linear-gradient(0deg, rgba(26, 21, 19, 0.84), rgba(26, 21, 19, 0.08) 56%);
}

.hero-content { max-width: min(960px, 94vw); padding-bottom: 0; }
.hero-content .eyebrow { margin-bottom: 22px; font-size: clamp(0.78rem, 1.1vw, 0.94rem); letter-spacing: 0.18em; }
.hero-content h1 {
  max-width: 960px;
  font-size: clamp(3rem, 5.7vw, 5rem);
  line-height: 0.99;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0,0,0,.28);
}

.services-panel {
  width: min(520px, 94vw);
  padding: clamp(34px, 4.5vw, 50px);
  border-radius: 18px;
  border-color: rgba(255,255,255,.34);
  background: rgba(40, 29, 27, .42);
  box-shadow: 0 28px 90px rgba(20, 12, 10, .32);
}

.sidebar-contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.sidebar-contact-container h3 { font-size: clamp(1.65rem, 2.4vw, 2rem); }
.service-area { margin: 0; color: rgba(255,255,255,.9); font-size: clamp(.98rem, 1.4vw, 1.08rem); line-height: 1.65; }
.phone-link { margin: 0; font-size: clamp(1.12rem, 1.8vw, 1.28rem); font-weight: 800; letter-spacing: .03em; }
.services-panel .button { min-height: 56px; padding-inline: 32px; font-size: .98rem; }
.mariages-badge-container { width: 100%; margin-top: 4px; }
.mariages-badge { min-height: 66px; padding: 13px 18px; }
.hero-actions { margin-top: 7px; }
.portfolio-button { min-height: 56px; padding-inline: 32px; font-size: 1rem; }

@media (max-width: 980px) {
  .hero { gap: 38px; padding-top: 130px; }
  .hero-content h1 { font-size: clamp(2.7rem, 6.4vw, 4.4rem); }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: center;
    flex-direction: row;
    min-height: 70px;
    padding: 14px 18px;
    color: #fff;
    background: linear-gradient(to bottom, rgba(24,20,18,.76), transparent);
  }
  .brand { min-width: 0; }
  .brand span { font-size: 1.28rem; }
  .brand small { font-size: .62rem; }
  .main-nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; font-size: .83rem; }
  .main-nav a { display: none; }
  .main-nav a[href="portfolio.html"], .main-nav a[href="blog.html"] { display: inline-block; }
  .nav-cta { min-height: 42px; padding: 9px 12px; font-size: .78rem; }
  .hero {
    min-height: max(100svh, 760px);
    align-content: center;
    gap: 30px;
    padding: 112px 16px 48px;
  }
  .hero-bg { background-position: 58% center; }
  .hero-content { max-width: 94vw; }
  .hero-content .eyebrow { margin-bottom: 14px; font-size: .68rem; letter-spacing: .13em; }
  .hero-content h1 { font-size: clamp(2.25rem, 10.5vw, 3rem); line-height: 1.05; }
  .services-panel { width: min(400px, 92vw); padding: 26px 20px; }
  .sidebar-contact-container { gap: 13px; }
  .services-panel .button, .portfolio-button { width: 100%; }
}

@media (max-width: 360px) {
  .site-header { align-items: flex-start; }
  .main-nav { max-width: 160px; gap: 6px 10px; }
  .main-nav a[href="portfolio.html"], .main-nav a[href="blog.html"] { font-size: .75rem; }
  .nav-cta { font-size: .7rem; padding-inline: 10px; }
  .hero { min-height: max(100svh, 780px); padding-top: 118px; }
  .hero-content h1 { font-size: 2.1rem; }
}

/* Hero-only finishing touches, scoped to the homepage. */
.home-page .sidebar-contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.home-page .sidebar-contact-container .mariages-badge-container,
.home-page .sidebar-contact-container .hero-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
}
.home-page .sidebar-contact-container .button,
.home-page .sidebar-contact-container .mariages-badge {
  width: min(100%, 300px);
}
.home-page .hero-content .eyebrow,
.home-page .services-panel h3,
.home-page .services-panel .button,
.home-page .portfolio-button { text-transform: uppercase; }
.home-page .hero-content .eyebrow { font-weight: 600; }
.home-page .services-panel { width: min(580px, 92vw); }
.home-page .sidebar-contact-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-page .sidebar-contact-container h3,
.home-page .sidebar-contact-container .service-area,
.home-page .sidebar-contact-container .phone-link,
.home-page .mariages-badge-container { grid-column: 1 / -1; }
.home-page .sidebar-contact-container .button,
.home-page .hero-actions { width: 100%; }
.home-page .hero-actions { margin-top: 0; }
.home-page .services-panel .button,
.home-page .portfolio-button { width: 100%; }

@media (max-width: 680px) {
  .home-page .sidebar-contact-container { grid-template-columns: 1fr; }
  .home-page .sidebar-contact-container .button,
  .home-page .hero-actions { grid-column: 1; }
  .home-page .services-panel { width: min(400px, 92vw); }
}
