/* =========================================================
   POLICES LOCALES
========================================================= */

@font-face {
  font-family: "Aston Script";
  src: url("../fonts/aston-script.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   RESET GLOBAL
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F5F3EE;
  color: #25272D;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  width: 100%;
  padding: 28px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(245, 243, 238, 0.96);
  border-bottom: 1px solid rgba(201, 185, 157, 0.45);
  position: relative;
  z-index: 20;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo span {
  font-family: "Aston Script", "Montserrat", cursive;
  font-size: 34px;
  font-weight: 400;
  color: #25272D;
}

.logo small {
  margin-top: 4px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  color: #5A5E6B;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  color: #5A5E6B;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #B86F52;
}


/* =========================================================
   ELEMENTS COMMUNS
========================================================= */

h1,
h2,
h3 {
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.eyebrow {
  color: #B86F52;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn.primary {
  background-color: #5A5E6B;
  color: #FFFFFF;
}

.btn.primary:hover {
  background-color: #25272D;
}

.btn.secondary {
  color: #5A5E6B;
  border: 1px solid #C9B99D;
  background-color: rgba(255, 255, 255, 0.25);
}

.btn.secondary:hover {
  color: #B86F52;
  border-color: #B86F52;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2,
.presentation h2,
.skills h2,
.contact-preview h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #25272D;
}


/* =========================================================
   PAGE ACCUEIL - HERO
========================================================= */

.hero {
  min-height: calc(100vh - 90px);
  padding: 70px 6% 90px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 0.88) 42%,
      rgba(245, 243, 238, 0.55) 100%
    ),
    url("../images/ui/fond-accueil.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #25272D;
}

.intro {
  margin-top: 30px;
  max-width: 620px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: #5A5E6B;
}

.hero-description {
  margin-top: 22px;
  max-width: 620px;
  font-size: 16px;
  color: #5A5E6B;
}

.hero-buttons {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}


/* =========================================================
   PAGE ACCUEIL - DIAPO CLIQUABLE
========================================================= */

.hero-media {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 560px;
  border: 1px solid #C9B99D;
  background-color: #E8E6E0;
  overflow: hidden;
  display: block;
  cursor: pointer;
  z-index: 4;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(320px, calc(100% - 48px));
  padding: 20px;
  background-color: rgba(37, 39, 45, 0.92);
  color: #F5F3EE;
  border-left: 4px solid #B86F52;
  pointer-events: none;
  transition: border-left-color 0.2s ease;
}


/* =========================================================
   PAGE ACCUEIL - PRESENTATION
========================================================= */

.presentation {
  padding: 95px 6%;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  background-color: #F5F3EE;
  border-top: 1px solid rgba(201, 185, 157, 0.6);
  border-bottom: 1px solid rgba(201, 185, 157, 0.6);
}

.section-number {
  color: #B86F52;
  font-size: 18px;
  font-weight: 700;
}

.presentation p {
  margin-top: 26px;
  max-width: 920px;
  color: #5A5E6B;
  font-size: 18px;
}


/* =========================================================
   PAGE ACCUEIL - PROJETS MIS EN AVANT
========================================================= */

.featured-projects {
  padding: 100px 6%;
  background-color: #F5F3EE;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 185, 157, 0.6);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(37, 39, 45, 0.08);
}

.project-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  background-color: #E8E6E0;
}

.project-card-content {
  padding: 24px;
}

.project-card-content p {
  margin-bottom: 8px;
  color: #B86F52;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.project-card-content h3 {
  margin-bottom: 10px;
  color: #25272D;
  font-size: 25px;
  line-height: 1.1;
}

.project-card-content span {
  color: #5A5E6B;
  font-size: 14px;
}


/* =========================================================
   PAGE ACCUEIL - COMPETENCES
========================================================= */

.skills {
  padding: 95px 6%;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  background-color: #E8E6E0;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
}

.skills-list span {
  padding: 12px 16px;
  background-color: #F5F3EE;
  border: 1px solid rgba(90, 94, 107, 0.2);
  color: #5A5E6B;
  font-size: 14px;
}


/* =========================================================
   PAGE ACCUEIL - CONTACT RAPIDE
========================================================= */

.contact-preview {
  padding: 100px 6%;
  text-align: center;
  background-color: #F5F3EE;
}

.contact-preview h2 {
  margin: 0 auto;
}

.contact-preview p {
  margin: 22px auto 34px;
  max-width: 600px;
  color: #5A5E6B;
  font-size: 17px;
}


/* =========================================================
   PAGE PROJETS - INTRO
========================================================= */

.projects-intro {
  padding: 90px 6% 50px;
  background-color: #F5F3EE;
}

.projects-intro h1 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #25272D;
}

.projects-intro p {
  margin-top: 28px;
  max-width: 760px;
  color: #5A5E6B;
  font-size: 18px;
}


/* =========================================================
   PAGE PROJETS - CAROUSEL
========================================================= */

.project-slider {
  padding: 40px 6% 100px;
  background-color: #F5F3EE;
}

.slider-wrapper {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(201, 185, 157, 0.75);
  background-color: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.project-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 620px;
}

.project-slide.active {
  display: grid;
}

.slide-image {
  min-height: 620px;
  background-color: #E8E6E0;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #F5F3EE;
}

.project-category {
  margin-bottom: 18px;
  color: #B86F52;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-content h2 {
  margin-bottom: 28px;
  color: #25272D;
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -1px;
}

.slide-content p {
  color: #5A5E6B;
  font-size: 17px;
}

.project-info {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(201, 185, 157, 0.8);
}

.project-info li {
  padding: 14px 0;
  color: #5A5E6B;
  font-size: 14px;
  border-bottom: 1px solid rgba(201, 185, 157, 0.8);
}

.project-info strong {
  color: #25272D;
}

.slider-controls {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid #C9B99D;
  background-color: transparent;
  color: #5A5E6B;
  font-size: 22px;
  cursor: pointer;
  transition: 0.2s ease;
}

.slider-btn:hover {
  background-color: #5A5E6B;
  color: #FFFFFF;
  border-color: #5A5E6B;
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border: 1px solid #5A5E6B;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
}

.dot.active {
  background-color: #B86F52;
  border-color: #B86F52;
}


/* =========================================================
   PAGE DETAIL PROJET
========================================================= */

.project-hero {
  padding: 80px 6%;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
  background-color: #F5F3EE;
}

.project-hero-text h1 {
  max-width: 700px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -2px;
}

.project-hero-text p {
  margin-top: 28px;
  max-width: 620px;
  color: #5A5E6B;
  font-size: 18px;
}

.project-hero-image {
  height: 560px;
  border: 1px solid #C9B99D;
  overflow: hidden;
  background-color: #E8E6E0;
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-summary {
  padding: 80px 6%;
  background-color: #E8E6E0;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(201, 185, 157, 0.8);
  background-color: #F5F3EE;
}

.project-facts div {
  padding: 24px;
  border-right: 1px solid rgba(201, 185, 157, 0.8);
}

.project-facts div:last-child {
  border-right: none;
}

.project-facts span {
  display: block;
  margin-bottom: 8px;
  color: #B86F52;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.project-facts strong {
  color: #25272D;
  font-size: 15px;
}

.project-text-block {
  margin-top: 55px;
  max-width: 900px;
}

.project-text-block h2 {
  margin-bottom: 18px;
  color: #25272D;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.project-text-block p {
  color: #5A5E6B;
  font-size: 17px;
}

.clean-list {
  padding-left: 20px;
  color: #5A5E6B;
  font-size: 17px;
}

.clean-list li {
  margin-bottom: 10px;
}

.project-gallery {
  padding: 90px 6%;
  background-color: #F5F3EE;
}

.gallery-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid rgba(201, 185, 157, 0.8);
  background-color: #E8E6E0;
}

.project-navigation {
  padding: 0 6% 90px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background-color: #F5F3EE;
}


/* =========================================================
   RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-media {
    justify-content: flex-start;
  }

  .hero-slider {
    max-width: 100%;
    height: 420px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .skills {
    grid-template-columns: 1fr;
  }

  .project-slide {
    grid-template-columns: 1fr;
  }

  .slide-image {
    min-height: 420px;
  }

  .slide-content {
    padding: 46px;
  }

  .slider-wrapper {
    min-height: auto;
  }

  .project-hero {
    grid-template-columns: 1fr;
  }

  .project-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 360px;
  }
}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 720px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .nav {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 45px;
  }

  .hero h1,
  .projects-intro h1,
  .project-hero-text h1 {
    letter-spacing: -1px;
  }

  .hero-slider {
    height: 340px;
  }

  .hero-slide-caption {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 16px;
  }

  .presentation {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-intro {
    padding-top: 60px;
  }

  .slide-content {
    padding: 32px 24px;
  }

  .slide-image {
    min-height: 320px;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
  }

  .project-hero {
    padding-top: 50px;
  }

  .project-hero-image {
    height: 360px;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .project-facts div {
    border-right: none;
    border-bottom: 1px solid rgba(201, 185, 157, 0.8);
  }

  .project-facts div:last-child {
    border-bottom: none;
  }
}

/* =========================================================
   PAGE CONTACT
========================================================= */

.contact-page {
  min-height: calc(100vh - 90px);
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 0.90) 45%,
      rgba(245, 243, 238, 0.65) 100%
    ),
    url("../images/ui/fond-accueil.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-intro h1 {
  max-width: 850px;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #25272D;
}

.contact-intro p {
  margin-top: 28px;
  max-width: 680px;
  color: #5A5E6B;
  font-size: 18px;
}

.contact-card {
  padding: 42px;
  background-color: rgba(245, 243, 238, 0.94);
  border: 1px solid rgba(201, 185, 157, 0.8);
  box-shadow: 0 18px 40px rgba(37, 39, 45, 0.06);
}

.contact-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(201, 185, 157, 0.75);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item span {
  display: block;
  margin-bottom: 8px;
  color: #B86F52;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.contact-item a,
.contact-item p {
  color: #25272D;
  font-size: 17px;
  font-weight: 500;
}

.contact-item a:hover {
  color: #B86F52;
}

.contact-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* =========================================================
   PAGE A PROPOS
========================================================= */

.about-v2-hero {
  min-height: calc(100vh - 90px);
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 0.90) 48%,
      rgba(245, 243, 238, 0.68) 100%
    ),
    url("../images/ui/fond-accueil.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-v2-text h1 {
  max-width: 900px;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #25272D;
}

.about-v2-text p {
  margin-top: 28px;
  max-width: 720px;
  color: #5A5E6B;
  font-size: 18px;
}

.about-v2-actions {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.about-v2-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.about-v2-photo {
  width: 250px;
  height: 250px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(201, 185, 157, 0.95);
  background:
    linear-gradient(135deg, rgba(245, 243, 238, 0.98), rgba(232, 230, 224, 0.98));
  box-shadow: 0 18px 40px rgba(37, 39, 45, 0.14);
}

.about-v2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 1px solid rgba(90, 94, 107, 0.28);
}

.about-v2-profile-card {
  width: 100%;
  padding: 34px;
  text-align: center;
  background-color: rgba(37, 39, 45, 0.96);
  color: #F5F3EE;
  border: 1px solid rgba(201, 185, 157, 0.55);
  border-left: 4px solid #B86F52;
  box-shadow: 0 18px 38px rgba(37, 39, 45, 0.12);
}

.about-v2-profile-card span {
  display: block;
  margin-bottom: 10px;
  color: #C9B99D;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.about-v2-profile-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.1;
}

.about-v2-profile-card p {
  color: #E8E6E0;
  font-size: 15px;
}

.about-v2-cards {
  padding: 90px 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  background-color: #F5F3EE;
}

.about-v2-cards article {
  padding: 34px;
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 185, 157, 0.75);
  box-shadow: 0 14px 34px rgba(37, 39, 45, 0.04);
}

.about-v2-cards article span {
  display: block;
  margin-bottom: 20px;
  color: #B86F52;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.about-v2-cards article h2 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.1;
  color: #25272D;
}

.about-v2-cards article p {
  color: #5A5E6B;
  font-size: 16px;
}

.about-v2-content {
  padding: 95px 6%;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 80px;
  background-color: #E8E6E0;
}

.about-v2-story h2 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #25272D;
}

.about-v2-story p {
  max-width: 800px;
  margin-bottom: 18px;
  color: #5A5E6B;
  font-size: 17px;
}

.about-v2-panel {
  padding: 36px;
  background-color: #F5F3EE;
  border: 1px solid rgba(201, 185, 157, 0.8);
  align-self: start;
}

.about-v2-panel div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(201, 185, 157, 0.8);
}

.about-v2-panel div:first-child {
  padding-top: 0;
}

.about-v2-panel div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-v2-panel span {
  display: block;
  margin-bottom: 8px;
  color: #B86F52;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.about-v2-panel p {
  color: #25272D;
  font-size: 16px;
  font-weight: 500;
}

.about-v2-final {
  padding: 95px 6% 110px;
  text-align: center;
  background-color: #F5F3EE;
}

.about-v2-final h2 {
  margin: 0 auto;
  max-width: 780px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #25272D;
}

.about-v2-final p {
  margin: 24px auto 34px;
  max-width: 680px;
  color: #5A5E6B;
  font-size: 17px;
}

@media (max-width: 980px) {
  .about-v2-hero,
  .about-v2-content {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-v2-profile {
    align-items: flex-start;
  }

  .about-v2-profile-card {
    max-width: 420px;
  }

  .about-v2-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about-v2-hero,
  .about-v2-cards,
  .about-v2-content,
  .about-v2-final {
    padding-top: 60px;
  }

  .about-v2-text h1 {
    letter-spacing: -1px;
  }

  .about-v2-photo {
    width: 210px;
    height: 210px;
  }

  .about-v2-profile-card,
  .about-v2-cards article,
  .about-v2-panel {
    padding: 28px;
  }
}


/* =========================================================
   RESPONSIVE CONTACT / A PROPOS
========================================================= */

@media (max-width: 980px) {
  .contact-page,
  .about-hero,
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 720px) {
  .contact-page,
  .about-hero,
  .about-content {
    padding-top: 60px;
  }

  .contact-card,
  .about-card,
  .about-skills-panel {
    padding: 28px;
  }

  .contact-intro h1,
  .about-hero-text h1 {
    letter-spacing: -1px;
  }
}

/* =========================================================
   PROFIL PHOTO RONDE - PAGE A PROPOS
========================================================= */

.about-profile-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about-profile-photo {
  width: 245px;
  height: 245px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(201, 185, 157, 0.95);
  background:
    linear-gradient(135deg, rgba(245, 243, 238, 0.95), rgba(232, 230, 224, 0.95));
  box-shadow: 0 18px 38px rgba(37, 39, 45, 0.12);
}

.about-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(90, 94, 107, 0.28);
  border-radius: 50%;
}

.about-profile-card {
  width: 100%;
  max-width: 380px;
  padding: 34px;
  background-color: rgba(37, 39, 45, 0.96);
  color: #F5F3EE;
  border: 1px solid rgba(201, 185, 157, 0.55);
  border-left: 4px solid #B86F52;
  box-shadow: 0 18px 38px rgba(37, 39, 45, 0.10);
  text-align: center;
}

.about-profile-card span {
  display: block;
  margin-bottom: 10px;
  color: #C9B99D;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.about-profile-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.1;
}

.about-profile-card p {
  color: #E8E6E0;
  font-size: 15px;
}

/* Effet hover sur le diaporama d'accueil */

.hero-slider:hover .hero-slide-caption {
  border-left-color: #F5F3EE;
}

.hero-slider:hover img {
  opacity: 0.94;
}

/* =========================================================
   CARTE CONTACT
========================================================= */

.contact-map {
  margin-top: 34px;
}

.contact-map span {
  display: block;
  margin-bottom: 12px;
  color: #B86F52;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  border: 1px solid rgba(201, 185, 157, 0.8);
  filter: grayscale(35%) contrast(95%);
  background-color: #E8E6E0;
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  color: #5A5E6B;
  font-size: 14px;
  font-weight: 500;
}

.map-link:hover {
  color: #B86F52;
}

/* =========================================================
   FOND ARCHITECTURAL - PAGE PROJETS + PAGES DETAIL
========================================================= */

/* Page projets : haut de page */
.projects-intro {
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 0.90) 45%,
      rgba(245, 243, 238, 0.70) 100%
    ),
    url("../images/ui/fond-accueil.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Page projets : zone du diaporama */
.project-slider {
  background-image:
    linear-gradient(
      180deg,
      rgba(245, 243, 238, 0.92) 0%,
      rgba(245, 243, 238, 0.98) 100%
    ),
    url("../images/ui/fond-accueil.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Pages projet détaillées : haut de page */
.project-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 0.90) 45%,
      rgba(245, 243, 238, 0.68) 100%
    ),
    url("../images/ui/fond-accueil.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Pages projet détaillées : galerie */
.project-gallery {
  background-image:
    linear-gradient(
      180deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 1) 100%
    ),
    url("../images/ui/fond-accueil.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================================
   PAGE PROJET - VERSION CLEAN HOMOGENE
========================================================= */

.project-clean-hero {
  min-height: calc(100vh - 90px);
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 80px;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 0.90) 45%,
      rgba(245, 243, 238, 0.68) 100%
    ),
    url("../images/ui/fond-accueil.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-clean-title h1 {
  max-width: 850px;
  font-size: clamp(50px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #25272D;
}

.project-clean-title p {
  margin-top: 28px;
  max-width: 700px;
  color: #5A5E6B;
  font-size: 18px;
}

.project-clean-actions {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.project-clean-hero-image {
  height: 560px;
  border: 1px solid rgba(201, 185, 157, 0.9);
  background-color: #E8E6E0;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(37, 39, 45, 0.08);
}

.project-clean-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Infos clés */

.project-clean-facts {
  padding: 0 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: #E8E6E0;
}

.project-clean-facts div {
  padding: 28px 24px;
  border-right: 1px solid rgba(201, 185, 157, 0.8);
  border-bottom: 1px solid rgba(201, 185, 157, 0.8);
}

.project-clean-facts div:first-child {
  border-left: 1px solid rgba(201, 185, 157, 0.8);
}

.project-clean-facts span,
.project-clean-card span {
  display: block;
  margin-bottom: 8px;
  color: #B86F52;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.project-clean-facts strong {
  color: #25272D;
  font-size: 15px;
}

/* Intro */

.project-clean-intro {
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 70px;
  background-color: #F5F3EE;
}

.project-clean-intro h2,
.project-clean-skills h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #25272D;
}

.project-clean-text p {
  margin-bottom: 18px;
  max-width: 820px;
  color: #5A5E6B;
  font-size: 17px;
}

/* Visuels principaux */

.project-clean-showcase {
  padding: 0 6% 95px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  background-color: #F5F3EE;
}

.project-clean-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 185, 157, 0.8);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(37, 39, 45, 0.05);
}

.project-clean-card.large {
  display: grid;
  grid-template-rows: auto 1fr;
}

.project-clean-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background-color: #E8E6E0;
}

.project-clean-card.large img {
  height: 480px;
}

.project-clean-card div {
  padding: 28px;
}

.project-clean-card h3 {
  margin-bottom: 12px;
  color: #25272D;
  font-size: 26px;
  line-height: 1.1;
}

.project-clean-card p {
  color: #5A5E6B;
  font-size: 16px;
}

/* Documents */

.project-clean-documents {
  padding: 90px 6%;
  background-image:
    linear-gradient(
      180deg,
      rgba(245, 243, 238, 0.96) 0%,
      rgba(245, 243, 238, 1) 100%
    ),
    url("../images/ui/fond-accueil.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-clean-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-clean-doc-grid figure {
  background-color: rgba(255, 255, 255, 0.60);
  border: 1px solid rgba(201, 185, 157, 0.8);
  overflow: hidden;
}

.project-clean-doc-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background-color: #E8E6E0;
}

.project-clean-doc-grid figcaption {
  padding: 14px 16px;
  color: #5A5E6B;
  font-size: 14px;
  font-weight: 500;
  background-color: #F5F3EE;
  border-top: 1px solid rgba(201, 185, 157, 0.75);
}

/* Compétences */

.project-clean-skills {
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 70px;
  background-color: #E8E6E0;
}

.project-clean-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
}

.project-clean-skill-list span {
  padding: 12px 16px;
  background-color: #F5F3EE;
  border: 1px solid rgba(90, 94, 107, 0.2);
  color: #5A5E6B;
  font-size: 14px;
}

/* Responsive */

@media (max-width: 980px) {
  .project-clean-hero,
  .project-clean-intro,
  .project-clean-showcase,
  .project-clean-skills {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .project-clean-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-clean-doc-grid {
    grid-template-columns: 1fr;
  }

  .project-clean-card.large img,
  .project-clean-card img,
  .project-clean-doc-grid img {
    height: 380px;
  }
}

@media (max-width: 720px) {
  .project-clean-hero {
    padding-top: 55px;
  }

  .project-clean-title h1 {
    letter-spacing: -1px;
  }

  .project-clean-hero-image {
    height: 340px;
  }

  .project-clean-facts {
    grid-template-columns: 1fr;
  }

  .project-clean-facts div {
    border-left: 1px solid rgba(201, 185, 157, 0.8);
  }

  .project-clean-intro,
  .project-clean-documents,
  .project-clean-skills {
    padding-top: 60px;
  }

  .project-clean-card.large img,
  .project-clean-card img,
  .project-clean-doc-grid img {
    height: 260px;
  }
}

/* =========================================================
   LIGHTBOX IMAGE PROJET
========================================================= */

.project-clean-showcase img,
.project-clean-doc-grid img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background-color: rgba(37, 39, 45, 0.88);
}

.image-lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 92vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background-color: #F5F3EE;
  border: 1px solid rgba(201, 185, 157, 0.7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-content p {
  margin-top: 14px;
  color: #F5F3EE;
  font-size: 14px;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245, 243, 238, 0.45);
  background-color: rgba(245, 243, 238, 0.08);
  color: #F5F3EE;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background-color: #F5F3EE;
  color: #25272D;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 720px) {
  .image-lightbox {
    padding: 22px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox-content img {
    max-height: 78vh;
  }
}

/* =========================================================
   VISUALISATEUR 3D
========================================================= */

.project-3d-viewer {
  padding: 90px 6%;
  background-color: #F5F3EE;
}

.viewer-intro {
  max-width: 760px;
  margin-bottom: 32px;
  color: #5A5E6B;
  font-size: 17px;
}

.project-3d-viewer model-viewer {
  width: 100%;
  height: 620px;
  background-color: #E8E6E0;
  border: 1px solid rgba(201, 185, 157, 0.8);
  box-shadow: 0 18px 42px rgba(37, 39, 45, 0.08);
}

@media (max-width: 720px) {
  .project-3d-viewer {
    padding: 60px 6%;
  }

  .project-3d-viewer model-viewer {
    height: 420px;
  }
}

/* =========================================================
   EQUIPE PROJET
========================================================= */

.project-team {
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  background-color: #E8E6E0;
}

.project-team h2 {
  max-width: 720px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #25272D;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  padding: 28px;
  background-color: #F5F3EE;
  border: 1px solid rgba(201, 185, 157, 0.8);
}

.team-card span {
  display: block;
  margin-bottom: 12px;
  color: #B86F52;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.team-card h3 {
  margin-bottom: 14px;
  color: #25272D;
  font-size: 24px;
  line-height: 1.1;
}

.team-card p {
  margin-bottom: 18px;
  color: #5A5E6B;
  font-size: 15px;
}

.team-link {
  display: inline-block;
  color: #5A5E6B;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #B86F52;
}

.team-link:hover {
  color: #B86F52;
}

/* =========================================================
   CFA SHOWCASE
========================================================= */

.cfa-showcase .project-clean-card.large {
  grid-row: span 2;
}

@media (max-width: 980px) {
  .cfa-showcase .project-clean-card.large {
    grid-row: auto;
  }
}

/* =========================================================
   VISITE 360 PANNELLUM
========================================================= */

.project-360-viewer {
  padding: 90px 6%;
  background-color: #F5F3EE;
}

.viewer-intro {
  max-width: 760px;
  margin-bottom: 32px;
  color: #5A5E6B;
  font-size: 17px;
}

#cfa360Viewer {
  width: 100%;
  height: 620px;
  background-color: #E8E6E0;
  border: 1px solid rgba(201, 185, 157, 0.8);
  box-shadow: 0 18px 42px rgba(37, 39, 45, 0.08);
  overflow: hidden;
}

.pnlm-container {
  font-family: "Poppins", Arial, sans-serif;
}

@media (max-width: 720px) {
  .project-team,
  .project-360-viewer {
    padding: 60px 6%;
  }

  #cfa360Viewer {
    height: 420px;
  }
}

/* Bouton simple de prise de rendez-vous */

.btn-rdv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  background-color: #5A5E6B;
  border: 1px solid #5A5E6B;
  color: #F5F3EE;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn-rdv:hover {
  background-color: #F5F3EE;
  color: #5A5E6B;
  transform: translateY(-2px);
}