/* =========================================
   VARIABLES
========================================= */

:root {
  --background: #f7f4ef;
  --surface: #ece6dd;
  --text: #181818;
  --secondary-text: #6d6d6d;
  --accent: #a67c52;
  --border: #cdc6bc;
  --dark: #181818;
  --light: #f7f4ef;
}

/* =========================================
   RÉINITIALISATION
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

section,
footer {
  scroll-margin-top: 95px;
}


/* =========================================
   ACCESSIBILITÉ
========================================= */

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* =========================================
   EN-TÊTE
========================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 60px;
  height: 72px;
  background-color: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  position: relative;
  font-size: 13px;
  text-decoration: none;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.navigation a:hover::after {
  width: 100%;
}

/* =========================================
   ÉLÉMENTS COMMUNS
========================================= */

.section {
  padding: 110px 60px;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--text);
}

.section-heading p,
.section-heading span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
/* =========================================
   HERO
========================================= */


.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  gap: 120px;
  min-height: auto;
  padding: 70px 70px 80px;
}
.hero-left {
    margin-top: -60px;
}
.hero-portrait {
    width: 340px;
    aspect-ratio: 4 / 5;
    margin: 20px 0 40px 70px;
    overflow: hidden;
}
.hero-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .8s ease;
}

.hero-portrait:hover img {
    transform: scale(1.02);
}
.eyebrow {
  margin-bottom: 40px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(92px, 10vw, 170px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -8px;
  color: var(--accent);
    color: #8f6742;
}

.hero-right {
  max-width: 520px;
  margin-bottom: 25px;
}

.hero-intro {
  margin-bottom: 35px;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.1;
}

.hero-text {
  margin-bottom: 45px;
  color: #666666;
  font-size: 17px;
  line-height: 1.9;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 34px;
  border: 1px solid var(--text);
  color: var(--text);
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.35s;
}

.primary-button:hover {
  background-color: var(--text);
  color: var(--light);
  transform: translateY(-3px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 70px;
  bottom: 0;
  left: 70px;
  height: 1px;
  background-color: #d7d0c6;
}

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

.process-step {
  min-height: 310px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.step-number {
  display: block;
  margin-bottom: 60px;
  color: var(--accent);
  font-size: 12px;
}

.process-step h2 {
  margin-bottom: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 500;
}

.process-step p {
  color: var(--secondary-text);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================
   EXPERTISES
========================================= */

.expertises {
  background-color: var(--dark);
  color: var(--light);
}

.expertises .section-heading {
  border-color: var(--light);
}

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

.expertise-card {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 30px;
  padding: 45px 0;
  border-bottom: 1px solid #484848;
}

.expertise-card:nth-child(odd) {
  padding-right: 45px;
  border-right: 1px solid #484848;
}

.expertise-card:nth-child(even) {
  padding-left: 45px;
}

.expertise-number {
  color: var(--accent);
  font-size: 12px;
}

.expertise-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 500;
}

.expertise-card li {
  margin-bottom: 9px;
  color: #bdbdbd;
  font-size: 14px;
}

/* =========================================
   PROJETS
========================================= */

.project {
  margin-bottom: 110px;
}

.project:last-child {
  margin-bottom: 0;
}

.project-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 550px;
  margin-bottom: 30px;
  padding: 35px;
  overflow: hidden;
  background-color: var(--surface);
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
}

.project-image span {
  position: relative;
  z-index: 2;
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(58px, 8vw, 120px);
  line-height: 0.8;
}

.project-image-one {
  background: linear-gradient(135deg, #745b4e, #d4b7a4);
}

.project-image-two {
  background: linear-gradient(135deg, #af704f, #f0d1ba);
}

.project-image-three {
  background: linear-gradient(135deg, #4d5c5b, #b8c4bb);
}

.project-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.project-title p {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-title h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
}

.project-summary > p {
  max-width: 600px;
  margin-bottom: 26px;
  color: var(--secondary-text);
  font-size: 17px;
  line-height: 1.8;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.project-tags li {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 11px;
}

/* =========================================================
   SECTION CRÉATIONS
========================================================= */

.creations {
  width: 100%;
  padding: 120px 24px;
  overflow: hidden;
  background: var(--background);
}

.creations .section-container,
.creations-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.creation-list {
  display: flex;
  flex-direction: column;
  gap: 140px;
  width: 100%;
  margin-top: 80px;
}

.creation-item {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  text-decoration: none;
}

.creation-item:nth-child(even) {
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
}

.creation-item:nth-child(even) .creation-gallery,
.creation-item:nth-child(even) .phone-gallery {
  order: 2;
}

.creation-item:nth-child(even) .creation-text {
  order: 1;
}

.creation-item,
.creation-item:hover,
.creation-item:focus {
  transform: none;
}

.creation-item::before,
.creation-item::after {
  display: none;
}

.creation-text {
  position: relative;
  z-index: 2;
}

.creation-text h2 {
  margin: 0 0 18px;
  color: #201d19;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.95;
}

.creation-text p {
  max-width: 380px;
  margin: 0;
  color: #706a62;
  font-size: 15px;
  line-height: 1.8;
}

.creation-gallery {
  position: relative;
  width: 100%;
  height: 610px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eeeae4;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(35, 29, 22, 0.055);
}

.creation-gallery img {
  display: block;
  max-width: 100%;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}

/* 01 — Communication visuelle */

.creation-gallery-three {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 220px minmax(0, 1fr);
  gap: 18px;
  height: 720px;
  padding: 22px;
  background: #ffffff;
}

.creation-gallery-three .creation-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

.creation-gallery-three .creation-visual img {
  display: block;
  width: auto;
  height: 92%;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: none;
  transition: none;
  animation: none;
}

.creation-visual-coca {
  grid-column: 1 / -1;
  grid-row: 1;
}

.creation-visual-coca img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.creation-visual-stelo {
  grid-column: 1;
  grid-row: 2;
}

.creation-gallery-three .creation-visual-stelo img {
  width: auto;
  height: 88%;

  max-width: 100%;
  max-height: 88%;

  object-fit: contain;
}

.creation-visual-teaser {
  grid-column: 2;
  grid-row: 2;
}

/* Le nouveau PNG Teaser est recadré : légère réduction pour équilibrer Stelo. */
.creation-gallery-three .creation-visual-teaser img,
.creation-gallery-three .creation-visual-teaser img:hover {
  width: auto;
  height: 76%;
  max-width: 100%;
  max-height: 76%;

  object-fit: contain;
  object-position: center;

  transform: none;
  transition: none;
  animation: none;
}
/* 02 — Packaging */

.creation-gallery-single {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 6vw, 75px);
  background: #ffffff;
}

.creation-gallery-single img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 03 — Création éditoriale */

.creation-gallery-two {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #ffffff;
}

.creation-gallery-two img {
  position: absolute;
  width: min(42%, 360px);
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.creation-gallery-two img:nth-child(1) {
  top: 4%;
  left: 12%;
}

.creation-gallery-two img:nth-child(2) {
  top: 28%;
  right: 12%;
}

.creation-gallery-two img:hover {
  transform: translateY(-5px);
}

/* 04 — Photographie */

.creation-gallery-photo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  background: #ffffff;
}

.creation-gallery-photo img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
}

.creation-gallery-photo img:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.creation-gallery-photo img:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.creation-gallery-photo img:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

/* 05 — Vidéos */

.creation-video-item {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
}

.phone-gallery {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(28px, 5vw, 65px);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 18px 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phone-project {
  width: min(255px, 43%);
  margin: 0;
  text-align: center;
}

.phone-project > p {
  margin: 18px 0 0;
  color: #645e56;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.8;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 38px;
  background: #111111;
  box-shadow: 0 28px 55px rgba(26, 23, 19, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.phone-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 33px;
  object-fit: contain;
  object-position: center;
  background: #f3f0eb;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 70px;
  height: 20px;
  border-radius: 20px;
  background: #111111;
  transform: translateX(-50%);
  pointer-events: none;
}

.phone-speaker::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #292929;
}

/* 06 — Cartes d’invitation */

.creation-gallery-invitation {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.creation-gallery-invitation img {
  position: absolute;
  width: min(57%, 410px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  box-shadow: 0 24px 55px rgba(34, 29, 24, 0.13);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.creation-gallery-invitation img:nth-child(1) {
  left: 9%;
  bottom: 10%;
  z-index: 2;
  transform: rotate(-6deg);
}

.creation-gallery-invitation img:nth-child(2) {
  top: 9%;
  right: 8%;
  z-index: 3;
  transform: rotate(5deg);
}

.creation-gallery-invitation img:nth-child(1):hover {
  z-index: 5;
  transform: rotate(-3deg) translateY(-4px);
}

.creation-gallery-invitation img:nth-child(2):hover {
  z-index: 5;
  transform: rotate(2deg) translateY(-4px);
}

.creation-list a,
.creation-list a:visited,
.creation-list a:hover,
.creation-list a:focus {
  color: inherit;
  text-decoration: none;
}

.creation-list .creation-item {
  cursor: default;
}

.creation-list .creation-item::before,
.creation-list .creation-item::after,
.creation-list .creation-gallery::before,
.creation-list .creation-gallery::after {
  pointer-events: none;
}

/* Créations — tablette */

@media (max-width: 980px) {
  .creations {
    padding: 95px 22px;
  }

  .creation-list {
    gap: 105px;
    margin-top: 65px;
  }

  .creation-item,
  .creation-item:nth-child(even),
  .creation-video-item {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .creation-item:nth-child(even) .creation-gallery,
  .creation-item:nth-child(even) .phone-gallery,
  .creation-item:nth-child(even) .creation-text {
    order: initial;
  }

  .creation-gallery {
    height: 560px;
  }

  .creation-gallery-three {
    height: 720px;
  }

  .creation-text {
    max-width: 620px;
  }

  .creation-text p {
    max-width: 500px;
  }

  .phone-gallery {
    gap: 42px;
  }

  .phone-project {
    width: min(235px, 43%);
  }
}

/* Créations — mobile */

@media (max-width: 680px) {
  .creations {
    padding: 75px 16px;
  }

  .creation-list {
    gap: 85px;
    margin-top: 50px;
  }

  .creation-item,
  .creation-item:nth-child(even),
  .creation-video-item {
    width: 100%;
    gap: 30px;
  }

  .creation-gallery {
    width: 100%;
    height: 470px;
  }

  .creation-text h2 {
    font-size: 40px;
  }

  .creation-gallery-three {
    grid-template-rows: minmax(150px, 0.7fr) minmax(0, 1.3fr);
    gap: 10px;
    height: 540px;
    padding: 10px;
  }

  .creation-gallery-three .creation-visual-teaser img {
    height: 84%;
    max-width: 84%;
    max-height: 84%;
  }

  .creation-gallery-photo {
    gap: 8px;
    padding: 8px;
  }

  .creation-gallery-single {
    padding: 25px;
  }

  .creation-gallery-two {
    min-height: 470px;
  }

  .creation-gallery-two img {
    width: 44%;
    border-radius: 8px;
  }

  .creation-gallery-two img:nth-child(1) {
    top: 6%;
    left: 6%;
  }

  .creation-gallery-two img:nth-child(2) {
    top: 29%;
    right: 6%;
  }

  .creation-gallery-invitation img {
    width: 64%;
    max-height: 76%;
  }

  .creation-gallery-invitation img:nth-child(1) {
    left: 4%;
  }

  .creation-gallery-invitation img:nth-child(2) {
    right: 4%;
  }

  .phone-gallery {
    gap: 14px;
    padding: 10px 0;
  }

  .phone-project {
    width: calc(50% - 7px);
    max-width: 205px;
  }

  .phone-frame {
    padding: 3px;
    border-radius: 30px;
  }

  .phone-frame video {
    border-radius: 27px;
  }

  .phone-speaker {
    top: 9px;
    width: 56px;
    height: 17px;
  }

  .phone-speaker::after {
    top: 6px;
    right: 8px;
    width: 5px;
    height: 5px;
  }

  .phone-project > p {
    margin-top: 13px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 420px) {
  .creation-gallery {
    height: 410px;
  }

  .creation-gallery-three {
    grid-template-rows: minmax(120px, 0.65fr) minmax(0, 1.35fr);
    height: 470px;
  }

  .phone-gallery {
    gap: 10px;
  }

  .phone-project {
    width: calc(50% - 5px);
    max-width: none;
  }

  .phone-frame {
    border-radius: 25px;
  }

  .phone-frame video {
    border-radius: 22px;
  }

  .phone-speaker {
    top: 8px;
    width: 48px;
    height: 15px;
  }
}

/* =========================================
   MA VISION
========================================= */

.about {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  padding: 120px 60px;
  background-color: var(--dark);
  color: var(--light);
}

.about-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-content h2 {
  max-width: 850px;
  margin-bottom: 70px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(65px, 9vw, 140px);
  font-weight: 500;
  line-height: 0.78;
}

.about-text {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-text p {
  color: #bdbdbd;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================================
   CONTACT
========================================= */

.footer {
  padding: 110px 60px 35px;
}

.footer-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  margin-bottom: 90px;
}

.footer-heading > p {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(70px, 10vw, 150px);
  font-weight: 500;
  line-height: 0.78;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 300px;
  margin-bottom: 100px;
}

.footer-links a {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(22px, 3vw, 42px);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
  color: var(--secondary-text);
  font-size: 12px;
}

.footer-bottom a {
  text-decoration: none;
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1050px) {
  .navigation {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero h1 {
    letter-spacing: -5px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-card {
    grid-template-columns: 50px 1fr;
  }
  .expertise-card ul {
    grid-column: 2;
  }
.about-text {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 750px) {
  .header {
    position: relative;
    align-items: flex-start;
    padding: 20px;
  }
  .navigation {
    display: none;
  }
  .section {
    padding: 75px 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 80px;
    min-height: auto;
    padding: 110px 24px 80px;
  }
  .hero h1 {
    font-size: 92px;
    line-height: 0.75;
    letter-spacing: -5px;
  }
  .hero-right {
    max-width: 100%;
  }
  .hero-intro {
    font-size: 36px;
  }
  .hero::after {
    right: 24px;
    left: 24px;
  }
  .eyebrow {
    margin-bottom: 40px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    min-height: auto;
  }
  .step-number {
    margin-bottom: 30px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .expertise-card,
  .expertise-card:nth-child(odd),
  .expertise-card:nth-child(even) {
    grid-template-columns: 45px 1fr;
    padding: 35px 0;
    border-right: none;
  }
  .expertise-card ul {
    grid-column: 2;
  }
  .project {
    margin-bottom: 80px;
  }
  .project-image {
    min-height: 370px;
    padding: 22px;
  }
  .project-information {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .project-title h2 {
    font-size: 48px;
  }
.about {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 85px 28px;
  }
  .about-label {
    max-width: 130px;
  }
  .about-content h2 {
    margin-bottom: 50px;
    font-size: 76px;
  }
  .about-content h2 {
    overflow-wrap: break-word;
    hyphens: auto;
}
  .footer {
    padding: 85px 22px 30px;
  }
  .footer-heading {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .footer-heading h2 {
    font-size: 82px;
  }
  .footer-links {
    margin-left: 0;
    margin-bottom: 75px;
  }
  .footer-links a {
    font-size: 24px;
    word-break: break-word;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================
   CARTE PROJET CLIQUABLE
========================================= */

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-link .project-image {
  transition: transform 0.4s ease;
}

.project-link:hover .project-image {
  transform: scale(0.99);
}

/* =========================================
   PAGE LOVE.JOYZ
========================================= */

.case-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 140px 40px 100px;
}

.case-category {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.case-hero h1 {
  margin-bottom: 36px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(72px, 10vw, 145px);
  font-weight: 500;
  line-height: 0.85;
}

.case-description {
  max-width: 760px;
  color: #5f5f5f;
  font-size: 19px;
  line-height: 1.9;
}

/* =========================================
   RÉALISATIONS
========================================= */

.case-realisation {
  padding: 100px 60px;
  border-top: 1px solid var(--border);
}

.case-realisation h2 {
  margin-bottom: 50px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 500;
}

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

.realisation-grid article {
  padding: 32px;
  border: 1px solid var(--border);
}

.realisation-grid h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.realisation-grid p {
  color: var(--secondary-text);
  line-height: 1.8;
}

/* =========================================
   GALERIE LOVE.JOYZ
========================================= */

.case-gallery {
  padding: 110px 60px;
  background-color: var(--background);
  border-top: 1px solid #d8d1c7;
}

.case-section-heading {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

.case-section-heading > p {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.case-section-heading h2 {
  max-width: 820px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 500;
  line-height: 0.95;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #ddd6cc;
}

.gallery-card-wide {
  grid-column: 1 / -1;
}

.gallery-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 18px;
  overflow: hidden;
  background-color: #ffffff;
}

.gallery-image-logo {
    height: 420px;
    min-height: 420px;
    padding: 30px;
}

.gallery-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}
/* Ajustement spécifique du logo */

.gallery-image-logo img {
    width: auto;
    height: 300px;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.gallery-card:hover img {
  transform: scale(1.015);
}

.gallery-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 22px;
  border-top: 1px solid #eee8df;
}

.gallery-card figcaption span {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gallery-card figcaption strong {
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

/* =========================================
   CARROUSEL INSTAGRAM
========================================= */

.instagram-carousel {
  grid-column: 1 / -1;
  margin-top: 40px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  min-height: 480px;
  padding: 30px;
  overflow: hidden;
  background-color: #ffffff;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image {
  position: absolute;
  inset: 24px;
  display: none;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  max-height: 100%;
  object-fit: contain;
}

.carousel-image.active {
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(24, 24, 24, 0.85);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-left {
  left: 28px;
}

.carousel-arrow-right {
  right: 28px;
}

.carousel-indicator {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 8px 12px;
  background-color: rgba(24, 24, 24, 0.8);
  color: #ffffff;
  font-size: 12px;
}

/* =========================================
   OUTILS MOBILISÉS ET COMPÉTENCES ACQUISES
========================================= */

.case-tools,
.case-learning {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 85px 60px;
  border-top: 1px solid var(--border);
}
.case-tools h2,
.case-learning h2 {
  display: block;
  max-width: 760px;
  margin: 0 0 32px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 4.8vw, 66px);
  font-weight: 500;
  line-height: 0.95;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  margin: 0;
  padding: 0;
}

.tools-list li {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: transparent;
  font-size: 13px;
  font-weight: 500;
}

.case-learning p {
  display: block;
  max-width: 760px;
  margin: 0;
  color: var(--secondary-text);
  font-size: 18px;
  line-height: 1.85;
}

/* =========================================
   PAGE LOVE.JOYZ — MOBILE
========================================= */

@media (max-width: 750px) {
  .case-hero {
    padding: 90px 22px 70px;
  }
  .case-hero h1 {
    font-size: 72px;
    line-height: 0.9;
  }
  .case-description {
    font-size: 17px;
  }
  .case-realisation,
  .case-gallery {
    padding: 75px 22px;
  }
  .realisation-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .case-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 45px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .gallery-card-wide,
  .instagram-carousel {
    grid-column: auto;
  }
  .gallery-image,
  .gallery-image-logo {
    min-height: auto;
    padding: 16px;
  }
  .gallery-image img {
    height: auto;
    max-height: none;
  }
  .gallery-card figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .gallery-card figcaption strong {
    text-align: left;
  }
  .carousel-container {
    height: 380px;
    min-height: 380px;
    padding: 14px;
  }
  .carousel-slides {
    height: 100%;
  }
  .carousel-image {
    inset: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
  }
  .carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
  .carousel-arrow-left {
    left: 16px;
  }
  .carousel-arrow-right {
    right: 16px;
  }
  .carousel-indicator {
    right: 10px;
    bottom: 10px;
  }
  .gallery-image-charte {
    height: 380px;
    min-height: 380px;
    padding: 14px;
}
.gallery-image-charte img {
    width: auto;
    height: 340px;
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
}
  .case-tools,
  .case-learning {
    width: 100%;
    padding: 65px 22px;
  }
  .case-tools h2,
  .case-learning h2 {
    margin-bottom: 24px;
    font-size: 40px;
  }
  .case-learning p {
    font-size: 16px;
    line-height: 1.75;
  }
}
/* CHARTE GRAPHIQUE — MÊME HAUTEUR QUE LE CARROUSEL */

@media (min-width: 751px) {
  .gallery-image-charte {
    height: 435px;
    min-height: 435px;
    padding: 30px;
  }

  .gallery-image-charte img {
    width: auto;
    height: 420px;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
  }
}

/* =========================================
   PARTAGES
========================================= */

.partage-gallery .case-section-heading {
    display: block;
    margin-bottom: 70px;
}

.partage-gallery .case-section-heading h2 {
    max-width: 520px;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 500;
    line-height: 1.1;
}

.partage-charte-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 480px;
  min-height: 480px;
  padding: 30px;
  overflow: hidden;
  background-color: #ffffff;
}

.partage-charte-image img {
  display: block;
  width: auto;
  height: 400px;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.partage-carousel-container {
  position: relative;
  height: 480px;
  overflow: hidden;
  background-color: #ffffff;
}

.partage-carousel-slides {
  width: 100%;
  height: 100%;
}

.partage-carousel-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partage-carousel-image.active {
  display: block;
}

.partage-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(24, 24, 24, 0.85);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transform: translateY(-50%);
}

.partage-carousel-left {
  left: 20px;
}

.partage-carousel-right {
  right: 20px;
}

.partage-carousel-indicator {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 8px 12px;
  background-color: rgba(24, 24, 24, 0.8);
  color: #ffffff;
  font-size: 12px;
}

@media (max-width: 750px) {
  .partage-gallery .case-section-heading {
    margin-bottom: 45px;
}

.partage-gallery .case-section-heading h2 {
    font-size: 40px;
    line-height: 1;
}

  .partage-charte-image {
    height: 380px;
    min-height: 380px;
    padding: 14px;
  }

  .partage-charte-image img {
    height: 340px;
    max-height: 340px;
  }

  .partage-carousel-container {
    height: 420px;
  }

  .partage-carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .partage-carousel-left {
    left: 10px;
  }

  .partage-carousel-right {
    right: 10px;
  }
}
/* =========================================
   PAGE JANE ORIENTATION
========================================= */

/* Le titre étant plus long que Love.Joyz et Partages,
   on réduit légèrement sa taille maximale. */

.case-hero h1 {
    overflow-wrap: normal;
}

.jane-deliverables {
    padding: 100px 60px 110px;
    border-top: 1px solid var(--border);
    background-color: var(--background);
}

.jane-deliverables h2 {
    margin: 0 0 65px;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 500;
    line-height: 0.95;
}


/* =========================================
   GRILLE 2 — 1 — 2
========================================= */

.jane-deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;

    column-gap: clamp(32px, 6vw, 80px);
    row-gap: 55px;

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* L’image Persona occupe une ligne seule
   tout en gardant exactement la même taille. */

.jane-deliverable-center {
    grid-column: 1 / -1;
    justify-self: center;

    width: min(100%, 460px);
}


/* =========================================
   ÉLÉMENTS DES LIVRABLES
========================================= */

.jane-deliverable {
    width: 100%;
    max-width: 460px;
    margin: 0;
}

.jane-image-button {
    display: block;

    width: 100%;
    padding: 0;

    border: 1px solid #ddd6cc;
    background-color: #ffffff;

    overflow: hidden;
    cursor: zoom-in;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.jane-image-button:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(24, 24, 24, 0.12);
}
.jane-image-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}


/* Toutes les images ont exactement
   les mêmes dimensions visuelles. */

.jane-image-button img {
    display: block;
    width: 100%;
    height: auto;

    transition: transform 0.45s ease;
}

.jane-image-button:hover img {
    transform: scale(1.08);
}

/* =========================================
   TITRES SOUS LES IMAGES
========================================= */

.jane-deliverable figcaption {
    margin-top: 18px;

    color: var(--text);

    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
}


/* =========================================
   LIGHTBOX
========================================= */
.jane-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition: .35s ease;
}

.jane-lightbox.is-open{
    display:flex;
}
.jane-lightbox-image {
    display:block;

    max-width:90vw;
    max-height:90vh;

    width:auto;
    height:auto;

    object-fit:contain;

    border-radius:12px;

    box-shadow:0 35px 90px rgba(0,0,0,.22);
}

.jane-lightbox-close {
    position: absolute;
    top: 22px;
    right: 30px;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background-color: transparent;
    color: #ffffff;

    font-family: "Inter", sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.jane-lightbox-close:hover {
    background-color: #ffffff;
    color: #181818;
}

body.jane-lightbox-open {
    overflow: hidden;
}


/* =========================================
   JANE ORIENTATION — TABLETTE
========================================= */

@media (max-width: 1050px) {

    .jane-deliverables-grid {
        grid-template-columns: repeat(2, minmax(0, 420px));
        column-gap: 32px;
    }

    .jane-deliverable-center {
        max-width: 420px;
    }

}
/* =========================================
   JANE ORIENTATION — MOBILE
========================================= */

@media (max-width: 750px) {

    .jane-deliverables {
        padding: 75px 22px 80px;
    }

    .jane-deliverables h2 {
        margin-bottom: 45px;
        font-size: 52px;
    }

    .jane-deliverables-grid {
        grid-template-columns: 1fr;
        gap: 42px;

        max-width: 460px;
    }

    .jane-deliverable,
    .jane-deliverable-center {
        grid-column: auto;

        width: 100%;
        max-width: 460px;
        justify-self: stretch;
    }

    .jane-deliverable figcaption {
        margin-top: 14px;
        font-size: 23px;
    }

    .jane-image-button:hover {
        transform: none;
        box-shadow: none;
    }

    .jane-lightbox {
        padding: 65px 14px 24px;
    }

    .jane-lightbox-image {
        max-width: 100%;
        max-height: 82vh;
    }

    .jane-lightbox-close {
        top: 12px;
        right: 14px;

        width: 42px;
        height: 42px;

        font-size: 26px;
    }
}
.case-section-heading .instagram-title {
    width: max-content !important;
    max-width: none !important;
    font-size: 52px !important;
    line-height: 0.95 !important;
}

.case-section-heading .instagram-title span {
    display: block;
    white-space: nowrap;
}
/* Love.Joyz — sections l'une sous l'autre */
.case-tools,
.case-learning {
  grid-column: 1 / -1;
  width: 100%;
}.case-learning {
    padding-bottom: 0px;
} 
.lovejoyz-page {
    padding-bottom: 80px;
}
.partage-page {
    padding-bottom: 80px;
}
.case-learning:last-of-type {
    padding-bottom: 60px;
}
/* =========================================
   CORRECTIONS UNIQUEMENT MOBILE
========================================= */

@media (max-width: 750px) {

    /* Titre Jane Orientation uniquement */
    body:has(.jane-deliverables) .case-hero h1 {
        font-size: 60px;
        line-height: 0.92;
        letter-spacing: -1px;
        padding-left: 4px;
        padding-right: 4px;
    }

    /* Section Ma vision */
    .about {
        padding-left: 28px;
        padding-right: 28px;
    }

    .about-content {
        width: 100%;
        min-width: 0;
    }

    .about-content h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(56px, 18vw, 76px);
        line-height: 0.86;
        letter-spacing: -2px;
        overflow-wrap: break-word;
    }
}
/* =========================================
   CORRECTION DU DÉBORDEMENT MOBILE UNIQUEMENT
========================================= */

@media (max-width: 750px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    main,
    section,
    footer,
    .hero,
    .case-hero,
    .about,
    .case-gallery,
    .jane-deliverables {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* Portrait de la page d’accueil */
    .hero-portrait {
        width: min(100%, 340px);
        max-width: 100%;
        margin: 20px auto 40px;
    }

    /* Titre Jane Orientation */
    body:has(.jane-deliverables) .case-hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: 56px;
        line-height: 0.92;
        letter-spacing: -1px;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Titre Instagram qui provoquait un dépassement */
    .case-section-heading .instagram-title {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 40px !important;
        line-height: 1 !important;
    }

    .case-section-heading .instagram-title span {
        display: block;
        white-space: normal;
    }

    /* Section Ma vision */
    .about-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-content h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(48px, 16vw, 68px);
        line-height: 0.88;
        letter-spacing: -1px;
        overflow-wrap: anywhere;
    }
}