:root {
  --bg: #f6f3ee;
  --bg-soft: #ede5d8;
  --surface: rgba(255, 248, 240, 0.72);
  --surface-strong: #fffaf4;
  --surface-dark: #161617;
  --text: #171717;
  --muted: #625d56;
  --line: rgba(23, 23, 23, 0.09);
  --line-light: rgba(255, 255, 255, 0.14);
  --accent: #d7673a;
  --accent-dark: #b64b22;
  --accent-soft: #f4ddca;
  --shadow: 0 24px 70px rgba(63, 40, 17, 0.12);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1200px;
  --reading-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 103, 58, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(236, 210, 181, 0.45), transparent 20%),
    linear-gradient(180deg, #fcf8f2 0%, #f3ede3 100%);
}

body.page-dark {
  background:
    radial-gradient(circle at top right, rgba(215, 103, 58, 0.18), transparent 20%),
    linear-gradient(180deg, #101112 0%, #181a1c 100%);
  color: #f8f4ef;
}

body.page-dark .site-header {
  background: linear-gradient(180deg, rgba(16, 17, 18, 0.9), rgba(16, 17, 18, 0.3));
}

body.page-dark .nav-shell,
body.page-dark .glass-card,
body.page-dark .glass-panel,
body.page-dark .split-copy,
body.page-dark .content-band,
body.page-dark .cta-box,
body.page-dark .service-detail,
body.page-dark .blog-post-card,
body.page-dark .contact-card,
body.page-dark .timeline-card,
body.page-dark .faq-item,
body.page-dark .article-card,
body.page-dark .stat-box,
body.page-dark .feature-box,
body.page-dark .contact-form-shell,
body.page-dark .contact-info-shell {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.page-dark .site-nav a,
body.page-dark .footer-title,
body.page-dark .site-footer a,
body.page-dark .site-footer span,
body.page-dark .site-footer p,
body.page-dark .eyebrow,
body.page-dark .card-index,
body.page-dark .card-label {
  color: #f4e5d7;
}

body.page-dark p,
body.page-dark li,
body.page-dark .lead,
body.page-dark .section-copy p,
body.page-dark .split-copy p,
body.page-dark .service-body p,
body.page-dark .mini-grid span,
body.page-dark .contact-form label,
body.page-dark .site-footer p,
body.page-dark .faq-item p,
body.page-dark .article-card p,
body.page-dark .blog-post-card p,
body.page-dark .service-detail p,
body.page-dark .feature-box p,
body.page-dark .timeline-card p,
body.page-dark .contact-card p,
body.page-dark .stat-box p {
  color: rgba(255, 244, 235, 0.82);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 76%);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.55), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 52% 72%, rgba(255, 255, 255, 0.22), transparent 28%);
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(252, 248, 242, 0.86), rgba(252, 248, 242, 0.2));
  backdrop-filter: blur(10px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.7);
  box-shadow: 0 16px 40px rgba(48, 32, 15, 0.08);
  transition: padding 180ms ease, gap 180ms ease, background 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 180ms ease, transform 180ms ease, width 180ms ease, margin 180ms ease;
  transform-origin: left center;
}

.brand-logo {
  width: 162px;
  height: auto;
  transition: width 180ms ease, opacity 180ms ease;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.09);
  background: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  opacity: 0.72;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.nav-button {
  white-space: nowrap;
}

.site-header.is-compact .nav-shell {
  padding: 10px 16px;
  gap: 14px;
}

.site-header.is-compact .brand {
  width: 0;
  margin-right: -6px;
  opacity: 0;
  transform: scale(0.86);
  pointer-events: none;
  overflow: hidden;
}

.site-header.is-compact .brand-logo {
  width: 0;
  opacity: 0;
}

.hero {
  position: relative;
}

.hero-home {
  min-height: 92vh;
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 180ms linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.78) 0%, rgba(17, 18, 20, 0.45) 44%, rgba(17, 18, 20, 0.22) 100%),
    linear-gradient(180deg, rgba(17, 18, 20, 0.28) 0%, rgba(17, 18, 20, 0.54) 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: end;
  padding: 190px 0 92px;
}

.hero-copy,
.hero-panel,
.page-hero-copy,
.page-hero-media {
  color: #fffaf5;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.card-index,
.card-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--accent-dark);
}

.hero-copy .eyebrow,
.page-hero-copy .eyebrow {
  color: #ffe0cb;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.15rem, 7vw, 6.25rem);
  line-height: 0.92;
  max-width: 10.2ch;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.56rem;
  line-height: 1.04;
}

h4 {
  font-size: 1.1rem;
}

p,
li,
span,
label,
input,
textarea,
select {
  font-size: 1rem;
  line-height: 1.7;
}

.lead {
  margin: 24px 0 0;
  max-width: 56ch;
  font-size: 1.12rem;
  color: rgba(255, 249, 242, 0.88);
}

.hero-actions,
.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span,
.tag-row span,
.strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.glass-card,
.glass-panel,
.section-copy,
.image-card,
.content-band,
.cta-box,
.service-card,
.service-detail,
.feature-box,
.timeline-card,
.faq-item,
.article-card,
.blog-post-card,
.contact-card,
.contact-form-shell,
.contact-info-shell,
.stat-box,
.split-copy,
.split-image {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-card,
.glass-panel,
.section-copy,
.image-card,
.content-band,
.cta-box,
.service-detail,
.feature-box,
.timeline-card,
.faq-item,
.article-card,
.blog-post-card,
.contact-card,
.contact-form-shell,
.contact-info-shell,
.stat-box,
.split-copy,
.split-image {
  border-radius: var(--radius-xl);
}

.glass-card,
.section-copy,
.content-band,
.cta-box,
.service-detail,
.feature-box,
.timeline-card,
.faq-item,
.article-card,
.blog-post-card,
.contact-card,
.contact-form-shell,
.contact-info-shell,
.stat-box,
.split-copy {
  padding: 34px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 251, 247, 0.14);
  color: #fffaf4;
}

.stat-card p {
  color: rgba(255, 246, 239, 0.86);
}

.stat-card h2 {
  margin-top: 12px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-grid .glass-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-grid strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
}

.mini-grid span {
  color: rgba(255, 248, 241, 0.84);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

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

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

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--line);
  color: var(--text);
}

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.section {
  padding: 52px 0;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(22, 22, 23, 0.98), rgba(33, 34, 36, 0.98)),
    url("assets/images/fond-graphique-identite-digitale.jpeg") center/cover no-repeat;
  color: #fffaf5;
}

.section-dark .section-head p,
.section-dark .service-body p,
.section-dark .text-link {
  color: rgba(255, 248, 241, 0.82);
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.strip span {
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.split-feature,
.split-layout,
.split-contact {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 26px;
  align-items: center;
}

.split-feature-immersive {
  align-items: stretch;
}

.section-copy p,
.split-copy p,
.content-band p,
.service-detail p,
.faq-item p,
.article-card p,
.blog-post-card p,
.contact-card p,
.timeline-card p,
.feature-box p,
.stat-box p {
  color: var(--muted);
}

.check-list,
.number-list,
.plain-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

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

.image-card,
.image-panel,
.split-image {
  position: relative;
  overflow: hidden;
}

.image-card img,
.image-panel img,
.split-image img,
.service-card img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card {
  min-height: 500px;
}

.image-card-cover {
  min-height: 100%;
  height: 100%;
}

.split-feature-immersive .section-copy {
  padding: 38px;
}

.split-feature-immersive .image-card-cover {
  min-height: 560px;
}

.split-feature-immersive .image-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.service-card img {
  height: 240px;
}

.service-body {
  padding: 26px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent);
}

.content-band,
.cta-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: center;
}

.page-hero {
  padding: 88px 0 34px;
}

.page-hero-content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.page-hero-copy {
  color: var(--text);
}

.page-hero-copy .lead,
.page-hero-copy p {
  color: var(--muted);
}

.page-hero-copy {
  max-width: var(--reading-width);
}

.page-hero-media,
.split-image,
.image-panel {
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.page-hero-media::after,
.split-image::after,
.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-row span {
  background: var(--accent-soft);
}

.service-detail-grid,
.timeline-grid,
.faq-grid,
.blog-grid,
.contact-grid,
.stats-grid,
.feature-grid {
  display: grid;
  gap: 20px;
}

.service-detail-grid {
  grid-template-columns: repeat(3, 1fr);
}

.timeline-grid,
.stats-grid,
.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-grid,
.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-detail h3,
.faq-item h3,
.article-card h3,
.blog-post-card h3,
.feature-box h3,
.contact-card h3,
.timeline-card h3 {
  margin-top: 8px;
}

.service-premium-band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: stretch;
}

.service-premium-copy {
  padding: 38px;
}

.service-premium-copy p {
  color: var(--muted);
}

.service-highlight-grid {
  display: grid;
  gap: 16px;
}

.service-highlight-item {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.service-highlight-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.service-editorial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-editorial-strip .stat-box {
  min-height: 100%;
}

.service-note {
  max-width: var(--reading-width);
}

.article-card img,
.blog-post-card img {
  border-radius: 20px;
  margin-bottom: 18px;
  height: 220px;
  object-fit: cover;
}

.stats-grid .stat-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.contact-form-shell form {
  display: grid;
  gap: 16px;
}

.contact-form-shell label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form-shell input,
.contact-form-shell textarea,
.contact-form-shell select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  color: var(--text);
}

.contact-form-shell textarea {
  resize: vertical;
}

.site-footer {
  padding: 38px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 248, 240, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.footer-logo {
  width: 132px;
  margin-bottom: 14px;
}

.footer-title {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.site-footer a,
.site-footer span,
.site-footer p {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--muted);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.reveal-on-scroll {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 350ms ease;
}

.project-card.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-parallax] {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.project-grid {
  display: grid;
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.project-card-media {
  min-height: 320px;
  overflow: hidden;
  border-radius: 24px;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px 4px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(63, 40, 17, 0.16);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.project-meta span,
.wpforms-code {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 800;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.duplicate-note {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(23, 23, 23, 0.14);
  color: var(--muted);
}

.wpforms-placeholder {
  display: grid;
  gap: 16px;
}

.wpforms-code {
  width: fit-content;
  font-family: "Space Grotesk", sans-serif;
}

body.page-dark .header-phone {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff4eb;
}

body.page-dark .project-card,
body.page-dark .duplicate-note {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.page-dark .project-meta span,
body.page-dark .wpforms-code {
  background: rgba(255, 255, 255, 0.08);
  color: #fff4eb;
}

body.page-dark .service-highlight-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

body.page-dark .service-premium-copy p,
body.page-dark .service-highlight-item p {
  color: rgba(255, 244, 235, 0.82);
}

@media (max-width: 1080px) {
  .hero-content,
  .page-hero-content,
  .split-feature,
  .split-layout,
  .split-contact,
  .service-premium-band,
  .card-grid-2,
  .card-grid-3,
  .card-grid-4,
  .service-detail-grid,
  .timeline-grid,
  .stats-grid,
  .feature-grid,
  .faq-grid,
  .blog-grid,
  .contact-grid,
  .service-editorial-strip,
  .content-band,
  .cta-box,
  .footer-grid,
  .strip {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    border-radius: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-hero-media,
  .image-card,
  .image-panel,
  .split-image,
  .project-card-media {
    min-height: 320px;
  }

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

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

  .site-header {
    position: static;
  }

  .mini-grid,
  .hero-actions,
  .button-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .header-actions,
  .project-actions {
    flex-direction: column;
  }

  .button,
  .nav-button,
  .header-phone {
    width: 100%;
  }

  .hero-content {
    padding: 120px 0 56px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }
}
[class*="zoom-scroll"] {
  will-change: transform;
  transform-origin: center center;
}

.zoom-scroll-soft,
.zoom-scroll-medium,
.zoom-scroll-strong {
  transition: transform 180ms linear;
}
