
:root {
  --bg: #f6f0e8;
  --bg-soft: #fbf7f1;
  --surface: #fffdf8;
  --text: #30180f;
  --text-soft: #5d4337;
  --line: #e8d3b1;
  --line-strong: #d3ab5d;
  --primary: #8d3217;
  --primary-strong: #6f220e;
  --gold: #d8a13d;
  --gold-deep: #b77716;
  --shadow: 0 22px 50px rgba(62, 28, 15, 0.10);
  --radius: 24px;
  --radius-small: 16px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(216,161,61,0.16), transparent 36%),
    linear-gradient(180deg, #f9f5ef 0%, #f6f0e8 100%);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 88px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.25) blur(14px);
  background: rgba(250, 245, 238, 0.86);
  border-bottom: 1px solid rgba(141, 50, 23, 0.10);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 94px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-badge {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255,255,255,0.58);
  box-shadow: inset 0 0 0 1px rgba(141,50,23,0.10);
}

.brand-badge img { width: 74px; height: auto; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 8px;
}

.brand-copy strong {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.brand-copy strong em {
  font-style: normal;
  color: var(--gold);
}

.brand-copy small {
  font-size: 1.02rem;
  color: var(--text-soft);
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  position: relative;
  font-size: 1.08rem;
  font-weight: 600;
  color: #4e362b;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.call-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.call-button {
  padding: 14px 22px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(141, 50, 23, 0.18);
}

.call-button:hover,
.button:hover,
.gallery-card:hover,
.project-shot:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(141,50,23,0.16);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  padding-top: 56px;
  padding-bottom: 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  align-items: center;
  gap: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.96rem;
}

.eyebrow-centered {
  text-align: center;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-brand h2 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  line-height: .95;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(3.3rem, 6vw, 6rem);
  max-width: 11ch;
}

.hero-text {
  margin: 18px 0 18px;
  font-size: 1.34rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 36rem;
}

.zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(141,50,23,0.10);
  border-radius: 999px;
  font-weight: 700;
  color: #54372c;
}

.zone-pill i { color: var(--gold-deep); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  font-weight: 800;
  font-size: 1.05rem;
}

.button-primary {
  background: linear-gradient(180deg, #953318 0%, #7c2813 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(141, 50, 23, 0.18);
}

.button-secondary {
  color: var(--primary);
  border: 2px solid rgba(141,50,23,0.18);
  background: rgba(255,255,255,0.72);
}

.button-block { width: 100%; }

.hero-tags {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags li {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(216,161,61,0.13);
  border: 1px solid rgba(183,119,22,0.18);
  color: #583d2d;
  font-weight: 700;
}

.hero-card {
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.18));
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  object-position: center;
}

.section-heading {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.section-heading-row {
  justify-items: stretch;
  text-align: left;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
}

.section-intro {
  margin: 0;
  font-size: 1.18rem;
  color: var(--text-soft);
  max-width: 52rem;
}

.services {
  padding-top: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 188px;
  padding: 24px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(252,247,240,0.92));
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(56, 28, 16, 0.06);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 16px;
}

.service-card i {
  font-size: 2.25rem;
  color: var(--gold);
}

.service-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #55372c;
}

.projects {
  padding-top: 56px;
}

.featured-projects {
  display: grid;
  gap: 22px;
}

.project-card {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,247,240,0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, .72fr);
  gap: 0;
}

.project-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  min-height: 355px;
}

.project-shot {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.project-shot,
.gallery-card {
  display: block;
  width: 100%;
  text-align: left;
}

.project-shot img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.project-shot:hover img,
.gallery-card:hover img {
  transform: scale(1.03);
}

.project-shot::after,
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48,24,15,0) 45%, rgba(48,24,15,0.22) 100%);
  pointer-events: none;
}

.status-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(29, 18, 13, 0.82);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-badge-after {
  background: rgba(141, 50, 23, 0.88);
}

.project-copy {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at top right, rgba(216,161,61,0.16), transparent 45%),
    linear-gradient(180deg, rgba(248,243,236,0.95), rgba(251,247,241,0.95));
}

.project-copy h3 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.project-copy p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.gallery-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  min-height: 270px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(56, 28, 16, 0.06);
  background: #fff;
}

.gallery-card img { height: 100%; object-fit: cover; }

.gallery-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.values {
  padding-top: 46px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  min-height: 132px;
  padding: 22px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(141,50,23,0.96), rgba(111,34,14,0.96));
  color: #fff;
  box-shadow: 0 18px 36px rgba(111,34,14,0.18);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.value-card i {
  font-size: 2rem;
  color: #f3c15d;
}

.value-card h3 {
  margin: 0 0 6px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.8rem;
}

.value-card p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: start;
}

.about-copy p:not(.eyebrow) {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-soft);
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: #53372b;
  font-weight: 600;
}

.check-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold-deep);
}

.about-panel,
.contact-card,
.contact-brand {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,247,240,0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 0 0 12px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.about-panel p {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.5;
}

.social-links {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.social-links a,
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  font-weight: 700;
  color: #583a2d;
}

.social-links .fa-facebook-f,
.social-pill.facebook i {
  color: #1877f2;
}

.social-links .fa-instagram,
.social-pill.instagram i {
  color: #d62976;
}

.contact {
  padding-top: 34px;
}

.contact-grid {
  grid-template-columns: 1.05fr .9fr .9fr;
}

.contact-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}

.contact-badge {
  width: 110px;
  height: 110px;
  flex-basis: 110px;
}

.contact-badge img { width: 92px; }

.contact-brand h2 {
  font-size: 3.6rem;
}

.contact-brand p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-line i,
.contact-note,
.contact-card .eyebrow {
  color: var(--primary);
}

.contact-note {
  margin: 10px 0 0;
  font-weight: 700;
}

.contact-card-social {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer {
  padding: 22px 0 30px;
}

.footer-inner {
  border-top: 1px solid rgba(141,50,23,0.10);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: #6c4d40;
  font-size: 0.98rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 15, 11, 0.84);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  width: min(1080px, calc(100vw - 44px));
  max-height: calc(100vh - 80px);
  display: grid;
  gap: 12px;
}

.lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 22px;
  background: #0f0a08;
}

.lightbox figcaption {
  text-align: center;
  color: #fff;
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 2px;
    background: rgba(251,247,241,0.97);
    border: 1px solid rgba(141,50,23,0.12);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(141,50,23,0.06);
  }

  .site-nav a::after { display: none; }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .call-button { display: none; }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .project-card-featured {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 34px; }

  .services-grid,
  .gallery-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-pair { min-height: 270px; }
  .project-copy { padding: 22px; }

  .contact-brand h2 { font-size: 3rem; }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .section { padding: 72px 0; }

  .brand-badge {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    flex-basis: 68px;
  }

  .brand-badge img { width: 56px; }

  .brand-copy strong { font-size: 2.2rem; }
  .brand-copy small { font-size: 0.88rem; }

  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-text { font-size: 1.13rem; }
  .hero-card { border-radius: 24px; }

  .services-grid,
  .gallery-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-card { min-height: 148px; }

  .project-pair {
    grid-template-columns: 1fr;
  }

  .project-shot {
    min-height: 240px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 3rem;
  }

  .project-copy h3 {
    font-size: 2rem;
  }

  .contact-brand,
  .about-panel,
  .contact-card {
    padding: 22px;
  }

  .contact-badge {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
  }

  .contact-badge img { width: 68px; }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}


/* Renfort responsive sans toucher au design desktop */
.header-inner > *,
.hero-grid > *,
.project-card-featured > *,
.about-grid > *,
.contact-grid > *,
.brand,
.brand-copy,
.contact-line,
.social-links a,
.social-pill {
  min-width: 0;
}

.zone-pill span,
.contact-line span,
.social-links span,
.social-pill span {
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .brand {
    gap: 10px;
  }

  .brand-copy {
    gap: 6px;
  }

  .brand-copy strong {
    font-size: clamp(1.9rem, 8.5vw, 2.2rem);
    line-height: 0.92;
  }

  .brand-copy small {
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .zone-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .contact-brand {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-brand h2 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .contact-line {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 1.05rem;
  }

  .social-links a,
  .social-pill {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 82px;
    gap: 10px;
  }

  .brand-badge {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    border-radius: 16px;
  }

  .brand-badge img {
    width: 50px;
  }

  .brand-copy strong {
    font-size: clamp(1.65rem, 8vw, 1.95rem);
  }

  .brand-copy small {
    font-size: 0.76rem;
  }

  .contact-brand,
  .about-panel,
  .contact-card {
    padding: 20px;
  }

  .contact-badge {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .contact-badge img {
    width: 62px;
  }
}

@media (max-width: 400px) {
  .container {
    width: min(var(--container), calc(100% - 18px));
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .section-heading h2,
  .about-copy h2,
  .contact-brand h2 {
    font-size: clamp(2.25rem, 11vw, 2.8rem);
  }

  .project-copy h3 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* Ajustement fin du H1 hero quand le visuel passe sous le texte */
@media (max-width: 1080px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 5.8vw, 4.8rem);
    text-wrap: balance;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2.65rem, 10vw, 3.95rem);
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.25rem);
  }
}
