* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #f6f4f1;
  color: #111;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.container {
  width: min(calc(100% - 64px), 1240px);
  margin-inline: auto;
}
.section {
  padding-block: 120px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #d95a7a;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}
p {
  max-width: 62ch;
}

/*************Header****************/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  background: rgba(246, 244, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.logo {
  font-family: "Inter", Arial, sans-serif;
  font-size: 28px;
  justify-self: start;
}
.desktop-nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-switch {
  font-size: 13px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}
@media (max-width: 900px) {
  .desktop-nav {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 20px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
    gap: 5px;
  }
  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: #111;
  }
}
/*************End of Header****************/

/*************Main****************/
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 64px;
  padding-block: 72px;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92;
  margin: 16px 0 24px;
}
.hero h1 span {
  color: #d95a7a;
}
.hero h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  max-width: 420px;
  margin-bottom: 18px;
}
.hero-copy p {
  color: #6e6a67;
  max-width: 520px;
}
.hero-image img {
  aspect-ratio: 10 / 13;
  object-fit: cover;
  border-radius: 14px;
}
.button-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #111;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: #111;
  color: #fff;
}
.btn-secondary {
  background: transparent;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.8fr;
    gap: 32px;
    padding-block: 56px;
  }
  .hero h1 {
    font-size: 64px;
  }
}
@media (max-width: 700px) {
  .hero-image img {
    max-width: 50%;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px 64px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero-image {
    order: -1;
  }
  .button-row {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

/*************End of Main****************/

/*************What I do****************/
.services {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: 34px;
  margin-top: 12px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.service-card {
  padding: 24px 16px;
  border-top: 1px solid #000;
}
.service-number {
  font-size: 12px;
  color: #d95a7a;
}
.service-card h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  margin: 28px 0 10px;
}
.service-card p {
  color: #6e6a67;
  font-size: 14px;
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/*************End of What I do****************/

/*************Featured Projects - Cards ****************/
.section-topline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
  padding-top: 120px;
}
.section-topline h2 {
  font-size: clamp(40px, 5vw, 60px);
  margin-top: 8px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-card {
  width: 100%;
  min-width: 0;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0 0 22px;
  color: #000;
}
.project-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin: 0 0 18px 0;
}
.project-card > :not(img) {
  margin-left: 20px;
  margin-right: 20px;
}
.project-number {
  font-size: 11px;
  color: #d95a7a;
}
.project-card h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  margin-top: 8px;
}
.project-card p {
  font-size: 14px;
  color: #6e6a67;
  margin-top: 8px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6e6e8;
  font-size: 11px;
}
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .section-topline {
    display: block;
  }
  .section-topline a {
    display: inline-block;
    margin-top: 16px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card img {
    height: auto;
  }

  /* UT */
  .project-card:nth-child(1) img {
    object-position: 50% 50%;
  }

  /* New Stores */
  .project-card:nth-child(2) img {
    object-position: 50% 45%;
    aspect-ratio: 16 / 9;
  }

  /* Jacadi */
  .project-card:nth-child(3) img {
    object-position: 50% 15%;
  }
}
/*************End of Featured Projects - Cards ****************/

/*************Case Studies - Sliders ****************/
.case-studies {
  overflow: hidden;
  background: #fff;
}
.case-nav {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  margin-bottom: 48px;
}
.case-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 0 16px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #d95a7a;
}
.slider-viewport {
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.case-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
  align-items: center;
}
.case-copy h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  margin: 18px 0 20px;
}
.case-copy h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  margin-top: 28px;
  margin-bottom: 10px;
}
.case-copy ul {
  padding-left: 18px;
  color: #6e6a67;
  font-size: 14px;
}
.case-copy li + li {
  margin-top: 8px;
}
.case-visuals img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  background: #d4cfca;
  cursor: pointer;
}
.slider-dot.active {
  background: #d95a7a;
}
@media (max-width: 900px) {
  .case-slide {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .case-nav {
    gap: 20px;
  }
}
.case-disclaimer {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid rgba(17, 17, 17, 0.15);
  font-size: 12px;
  font-style: italic;
  color: #6e6a67;
  max-width: 46ch;
}
@media (max-width: 700px) {
  .case-nav {
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 0;
  }
  .case-tab {
    flex: 0 0 auto;
  }
  .case-slide {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .case-copy {
    order: 1;
  }
  .case-visuals {
    order: 0;
  }
}
/************End of Case Studies - Sliders****************/

/* Lien "Visit live page" dans chaque case study */
.case-link {
  display: inline-flex; /* aligne texte et flèche sur la même ligne, centrés verticalement */
  align-items: center; /* centre verticalement le texte et l'icône ↗ */
  gap: 8px; /* petit espace entre le texte et la flèche */
  margin-top: 24px; /* espace au-dessus, pour le détacher de la liste "My role" */
  font-size: 13px; /* taille discrète, cohérente avec .language-switch */
  font-weight: 600; /* légèrement en gras pour ressortir comme un lien d'action */
  color: #111; /* couleur du texte par défaut (noir) */
  border-bottom: 1px solid #111; /* soulignement en trait fin, façon lien discret */
  padding-bottom: 2px; /* petit espace entre le texte et le soulignement */
  width: fit-content; /* la bordure ne prend que la largeur du texte, pas toute la ligne */
}
.case-link:hover {
  color: #d95a7a; /* au survol, le texte passe au rose de la charte */
  border-color: #d95a7a; /* le soulignement change aussi de couleur, en même temps */
}

/*************Skills****************/
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.skills-grid span {
  padding: 10px 18px;
  border-radius: 999px;
  background: #f6e6e8;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}
/*************End of Skills****************/

/*************Contact****************/
.contact {
  background: #111;
  color: #fff;
  text-align: center;
}
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.contact h2 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 32ch; /* élargi de 20ch à 32ch pour laisser respirer la phrase FR plus longue */
}
.contact .btn-primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}
/*************End of Contact****************/

/*************Footer****************/
.site-footer {
  background: #111;
  color: #fff;
  padding-block: 40px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-row .logo {
  font-size: 22px;
  color: #fff;
}
.footer-nav,
.footer-connect {
  display: flex;
  gap: 20px;
  font-size: 13px;
}
.footer-connect a:hover,
.footer-nav a:hover {
  color: #d95a7a;
}
.footer-copy {
  font-size: 12px;
  color: #a9a5a1;
}
/* Lien Behance : discret, car ce sont des projets personnels et non professionnels */
.footer-behance {
  color: #7a7671; /* gris plus clair que le blanc des autres liens du footer, pour le faire reculer visuellement */
  font-weight: 400; /* pas de gras, contrairement au reste du footer qui est en 600 par défaut du body */
}
.footer-behance:hover {
  color: #d95a7a; /* garde quand même le rose au survol, pour rester cohérent avec le reste du site */
}
@media (max-width: 700px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }
}
/*************End of Footer****************/

/*************Burger menu****************/
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #f6f4f1;
  flex-direction: column;
  padding: 24px 20px;
  gap: 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  z-index: 99;
}
.mobile-nav.open {
  display: flex;
}
@media (max-width: 700px) {
  .menu-toggle.open span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
/*************End of Burger menu****************/