/* Mobile First Global Styles */
* {
  box-sizing: border-box;
}

:root {
  --main-color: #4b2f1e;
  --secondary-color: #fcf2ba;
  --accent-color: #f1dad4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lora", sans-serif;
  margin: 0;
  background-color: #f4ece0;
  color: #4a3630;
  position: relative;
  z-index: 10;
}

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

.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/************************* Header ******************************/
header {
  background-color: #4b2f1e;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  header {
    flex-direction: row;
    padding: 1rem 3rem;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
  }
}

@media (min-width: 1024px) {
  header {
    padding: 1rem 5rem;
  }
}

header img {
  width: 150px;
  height: auto;
}

@media (min-width: 1024px) {
  header img {
    width: 200px;
  }
}


.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  margin: 1rem 0 0 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nav-links {
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
  }
}

.nav-links a {
  text-decoration: none;
  color: #fcf2ba;
  font-size: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .nav-links a {
    font-size: 0.8rem;
  }
}

@media (min-width: 1024px) {
  .nav-links a {
    font-size: 1.4rem;
  }
}

.nav-links a:hover {
  color: #cb8675;
}

/************************ bouton demande de devis *******************/
.back-button a {
  text-decoration: none;
  color: #fcf2ba;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid #fcf2ba;
  border-radius: 15px;
  transition: all 0.3s ease;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .back-button a {
    font-size: 0.7rem;
    margin: 0.3rem 0rem 0.3rem 0.3rem;
  }
}

@media (min-width: 1024px) {
  .back-button a {
    font-size: 1.2rem;
    margin: 0.4rem 0rem 0.4rem 0.4rem;
  }
}

.back-button {
  margin: 1.5rem;
}

.back-button a:hover {
  color: #4b2f1e;
  background-color: #fcf2ba;
}

/************************ PAGE 1 : ACCUEIL ***********************/
.hero {
  margin: 0.8rem;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 2rem;
    /* moins haut que desktop */
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 12rem;
    margin: 0.8rem;
  }
}

.hero-content h1 {
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease 0.3s forwards;
  position: relative;
  z-index: 1;
  font-style: italic;
  /* ton style habituel */
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.3s forwards;
  }
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  /* pour que les clics passent à travers */
}

.hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 100%;
  margin: 0 auto 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

/********** À propos ************/
.about {
  padding: 2rem 1rem;
  background-image: url(../images/fond_nude.png);
  background-size: cover;
  text-align: center;
  margin: 0 auto;
  line-height: 1.7;
  color: #6d4e44;
}

.about h1 {
  margin: 2rem 0;
  text-align: center;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .about h1 {
    font-size: 2.2rem;
  }
}

@media (min-width: 1024px) {
  .about h1 {
    font-size: 2.5rem;
    margin: 3rem 2rem 3rem 2rem;
  }
}

.about-content {
  max-width: 100%;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #6d4e44;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .about-content {
    max-width: 70rem;
    font-size: 1.3rem;
  }
}

/********** Prestations **********/
#prestations {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  #prestations {
    padding-top: 5rem;
    padding-bottom: 7rem;
  }
}

#prestations a {
  text-decoration: none;
}

.services {
  padding: 2rem 1rem;
  background-color: #fef9f7;
  text-align: center;
}

.titre_accueil {
  font-size: 1.5rem;
  color: #9e5948;
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .titre_accueil {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .titre_accueil {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
}

.service-card {
  padding: 1.25rem 0.625rem;
  border-radius: 15px;
  color: #fff;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  .service-card {
    padding: 2rem 1.5rem;
  }
}

.audit {
  background-color: #e7c1b6;
  cursor: pointer;
}

.consulting {
  background-color: #c6a489;
  cursor: pointer;
}

.gestion {
  background-color: #e5b18b;
  cursor: pointer;
}

.cours {
  background-color: #b07b63;
  cursor: pointer;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card:hover {
  transform: translateY(-5px);
}

/************* réalisations *************/
.realisation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .realisation-content {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .realisation-content {
    flex-direction: row;
    gap: 2rem;
  }
}

.realisation-text {
  flex: 1;
}

#realisations {
  background-color: #8b5943;
  padding: 2rem 1rem;
  background-size: cover;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  #realisations {
    padding: 3rem 2rem;
  }
}

#realisations h2 {
  color: #fcf2ba;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-style: italic;
}

@media (min-width: 768px) {
  #realisations h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  #realisations h2 {
    font-size: 4rem;
    margin-bottom: 6rem;
  }
}

#realisations p {
  font-size: 1rem;
  width: 100%;
  margin-left: 0;
  color: #ffffff;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  #realisations p {
    font-size: 1.2rem;
    width: 90%;
    margin-left: 2rem;
  }
}

@media (min-width: 1024px) {
  #realisations p {
    font-size: 1.4rem;
    width: 90%;
    margin-left: 3rem;
    margin-bottom: 4rem;
  }
}

#realisations a {
  color: #fcf2ba;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

@media (min-width: 1024px) {
  #realisations a {
    font-size: 1.2rem;
  }
}

#realisations a:hover {
  border-bottom: #fcf2ba 2px solid;
}

#realisations img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 2rem auto;
  border: 2px solid #fcf2ba;
  border-radius: 10%;
}

@media (min-width: 768px) {
  #realisations img {
    max-width: 18rem;
    margin-right: 3rem;
  }
}

@media (min-width: 1024px) {
  #realisations img {
    max-width: 30rem;
    margin-right: 15rem;
  }
}

#realisations img:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

/*********** blog **********/
.blog-post-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-post-content {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .blog-post-content {
    align-items: flex-start;
    gap: 2rem;
  }
}

.blog-img {
  border-radius: 10%;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .blog-img {
    max-width: 18rem;
  }
}

@media (min-width: 1024px) {
  .blog-img {
    max-width: 30rem;
    width: 100%;
    height: auto;
    margin: 5rem 6rem 5rem 15rem;
  }
}

#blog img:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

#blog .titre_accueil {
  text-align: center;
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-style: italic;
}

@media (min-width: 1024px) {
  #blog .titre_accueil {
    margin-top: 10rem;
    margin-bottom: 5rem;
  }
}

#blog {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
  background-color: #f4ece0;
}

@media (min-width: 1024px) {
  #blog {
    padding: 3rem 8rem;
    font-size: 1.3rem;
  }
}

#blog a {
  text-decoration: none;
  color: #9e5948;
  font-weight: bold;
}

#blog a:hover {
  color: #815e46;
  border-bottom: #815e46 2px solid;
}

/********************* PAGE 2 : PRESTATIONS *******************/
.hero-prestations {
  margin: 0.8rem;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-prestations {
    padding: 6rem 2rem;
    /* moins haut que desktop */
  }
}

@media (min-width: 1024px) {
  .hero-prestations {
    padding: 11rem;
    margin: 0.8rem;
  }
}

.hero-prestations h1 {
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease 0.3s forwards;
  position: relative;
  z-index: 1;
  font-style: italic;
  /* ton style habituel */
}

@media (min-width: 1024px) {
  .hero-prestations h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.3s forwards;
  }
}

.hero-prestations p {
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease 0.3s forwards;
  position: relative;
  z-index: 1;
  font-style: italic;
  /* ton style habituel */
}

@media (min-width: 1024px) {
  .hero-prestations p {
    font-size: 2.7rem;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.3s forwards;
  }
}

.prestations-section {
  padding: 3rem 1rem;
  background-color: #fffaf7;
  text-align: center;
}

@media (min-width: 768px) {
  .prestations-section {
    padding: 4rem 2rem;
  }
}

@media (min-width: 1024px) {
  .prestations-section {
    padding: 6rem 3rem;
  }
}

.prestations-section h2 {
  font-size: 2rem;
  margin-top: 2rem;
  font-style: italic;
  color: #a06d5e;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .prestations-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .prestations-section h2 {
    font-size: 3.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
  }
}

.prestation-item {
  margin-bottom: 3rem;
  background-color: #fdf5f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1dad4;
}

.prestation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
}

@media (min-width: 768px) {
  .prestation-content {
    flex-direction: row;
    min-height: 350px;
  }

  .reverse {
    flex-direction: row-reverse;
  }
}

@media (min-width: 1024px) {
  .prestation-content {
    min-height: 500px;
  }
}

.prestation-text {
  flex: 1;
  padding: 1.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .prestation-text {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .prestation-text {
    padding: 3rem;
  }
}

.prestation-image {
  flex: 1;
  height: 250px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .prestation-image {
    height: 350px;
  }
}

@media (min-width: 1024px) {
  .prestation-image {
    height: 500px;
  }
}

.prestation-image img {
  width: 80%;
  height: 100%;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .prestation-image img {
    width: 60%;
  }
}

@media (min-width: 1024px) {
  .prestation-image img {
    width: 40%;
  }
}

.prestation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.prestation-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e7c1b6, #c6a489);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.prestation-icon i {
  font-size: 1rem;
  color: #7c4434;
}

.prestation-header h3 {
  color: #7c4434;
  font-size: 1.2rem;
  margin: 0;
  text-transform: uppercase;
  font-weight: 600;
}

@media (min-width: 768px) {
  .prestation-header h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .prestation-header h3 {
    font-size: 2rem;
  }
}

.prestation-description {
  color: #5f3c33;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.prestation-details h4 {
  color: #7a4e40;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.prestation-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.prestation-details li {
  color: #6d4e44;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.5;
}

.prestation-details li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  content: "\f00c";
  color: #9e5948;
}

.prestation-benefits {
  background-color: rgba(241, 218, 212, 0.3);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  color: #6d4e44;
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 4px solid #9e5948;
}

.prestation-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: rgba(241, 218, 212, 0.2);
  border-radius: 10px;
  font-size: 1rem;
}

.prestation-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7a4e40;
  font-weight: 500;
}

.prestation-meta i {
  color: #9e5948;
}

.prestation-btn {
  display: inline-block;
  background: linear-gradient(135deg, #7a4e40, #9e5948);
  color: #fcf2ba;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(122, 78, 64, 0.2);
}

.prestation-btn:hover {
  background: linear-gradient(135deg, #9e5948, #b07b63);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(122, 78, 64, 0.3);
  color: #fcf2ba;
}

/******************* PAGE 3 : REALISATIONS *******************/
.vrac h1 {
  text-align: center;
  font-size: 2.2rem;
  color: #9e5948;
  margin-top: 2rem;
  font-style: italic;
}

@media (min-width: 1024px) {
  .vrac h1 {
    font-size: 4.5rem;
    margin-top: 5rem;
  }
}

.realisation img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease;
}

.realisation h2 {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #6d4e44;
}

@media (min-width: 1024px) {
  .realisation h2 {
    margin-top: 1rem;
    font-size: 1.5rem;
  }
}

.realisation span {
  font-size: 0.95rem;
  color: #9e5948;
}

@media (min-width: 1024px) {
  .realisation span {
    font-size: 1rem;
  }
}

.realisation:hover {
  z-index: 10;
  transform: scale(1.05);
}

.realisation:hover img {
  transform: scale(1.05);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
    /* espace vertical puis horizontal */
    justify-items: center;
  }
}

.realisation {
  width: 100%;
  max-width: 320px;
  margin-top: 0;
  left: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, z-index 0.2s;
}

@media (min-width: 768px) {
  .realisation {
    max-width: 220px;
  }
}

@media (min-width: 1024px) {
  .realisation {
    width: 100%;
    max-width: 280px;
    margin-top: 0;
    /* retire les margin-top individuels */
    left: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, z-index 0.2s;
  }
}

.titre_flottant h2,
.titre_flottant_2 h2 {
  font-style: italic;
  font-size: 2rem;
  margin: 1rem;
  padding-left: 0;
  width: 100%;
}

@media (min-width: 768px) {

  .titre_flottant h2,
  .titre_flottant_2 h2 {
    font-size: 2.2rem;
    padding-left: 3rem;
    width: 110%;
  }
}

@media (min-width: 1024px) {
  .titre_flottant h2 {
    font-size: 3.4rem;
    margin: 1rem;
  }

  .titre_flottant_2 h2 {
    font-size: 3.4rem;
    padding-left: 10rem;
    width: 150%;
  }
}

/* Supprime les margin-top des offsets pour un alignement propre */
.offset-1,
.offset-4,
.offset-5,
.offset-6,
.offset-7,
.offset-8,
.offset-9,
.offset-10,
.offset-11,
.offset-12 {
  margin-top: 0;
  left: 0;
}

@media (min-width: 1024px) {
  .offset-1 {
    margin-top: 8rem;
    /* espace vertical */
    left: -3rem;
  }

  .offset-4 {
    margin-top: 6rem;
    left: 4rem;
  }

  .offset-5 {
    margin-top: 10rem;
    left: 9rem;
  }

  .offset-6 {
    margin-top: -12rem;
    left: 2rem;
  }

  .offset-7 {
    margin-top: -10rem;
    left: 6rem;
  }

  .offset-8 {
    margin-top: -15rem;
    left: -1rem;
  }

  .offset-9 {
    margin-top: -7rem;
    left: 5rem;
  }

  .offset-10 {
    margin-top: -5rem;
    left: -5rem;
  }

  .offset-11 {
    margin-top: 2rem;
    left: 3rem;
  }

  .offset-12 {
    margin-top: -13rem;
    left: 10rem;
  }
}

.realisation img {
  width: 100%;
  height: auto;
}

@media (min-width: 1024px) {
  .realisation img {
    width: 375px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease;
  }
}

#titre_avis h1 {
  text-align: center;
  font-size: 2.2rem;
  color: #9e5948;
  margin-top: 2rem;
  font-style: italic;
}

@media (min-width: 1024px) {
  #titre_avis h1 {
    font-size: 4.5rem;
    margin-top: 5rem;
  }
}

#avis img {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  #avis img {
    margin-bottom: 2rem;
    margin: 1rem;
    border-radius: 12px;
  }
}

@media (min-width: 1024px) {
  #avis img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* ou retire cette ligne */
    margin-bottom: 2rem;
    border-radius: 12px;
  }
}

/********************* PAGE 4 : BLOG *********************/
.hero-blog {
  background: linear-gradient(135deg, #815e46, #9e5948);
  padding: 4rem 1rem;
  text-align: center;
  color: #fcf2ba;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-blog {
    padding: 8rem 2rem;
  }
}

.hero-blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(images/blog.jpg) repeat;
}

.hero-blog-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-blog-content {
    max-width: 600px;
  }
}

@media (min-width: 1024px) {
  .hero-blog-content {
    max-width: 800px;
  }
}

.hero-blog h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .hero-blog h1 {
    font-size: 2.2rem;
  }
}

@media (min-width: 1024px) {
  .hero-blog h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
  }
}

.hero-blog p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.blog-section {
  padding: 3rem 1rem;
  background-color: #fffaf7;
}

@media (min-width: 1024) {
  .blog-section {
    padding: 6rem 2rem;
  }
}

.blog-container {
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-container {
    max-width: 900px;
  }
}

@media (min-width: 1024px) {
  .blog-container {
    max-width: 1200px;
  }
}

.blog-article {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  border: 1px solid #f1dad4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .blog-article {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .blog-article {
    margin-bottom: 4rem;
  }
}

.blog-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .article-image {
    height: 250px;
  }
}

@media (min-width: 1024px) {
  .article-image {
    height: 400px;
  }
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-article:hover .article-image img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #9e5948, #b07b63);
  color: #fcf2ba;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .article-category {
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .article-category {
    top: 20px;
    left: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

.article-content {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .article-content {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .article-content {
    padding: 3rem;
  }
}

.article-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #7a4e40;
}

@media (min-width: 768px) {
  .article-meta {
    flex-direction: row;
    gap: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .article-meta {
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 1.5rem;
  }
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta i {
  color: #9e5948;
}

.blog-article h2 {
  font-size: 1.2rem;
  color: #7c4434;
  margin-bottom: 0.7rem;
  line-height: 1.3;
  font-weight: 600;
}

@media (min-width: 768px) {
  .blog-article h2 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
  }
}

@media (min-width: 1024px) {
  .blog-article h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
}

.article-excerpt {
  font-size: 1rem;
  color: #6d4e44;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

@media (min-width: 768px) {
  .article-excerpt {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .article-excerpt {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
}

.article-body {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .article-body {
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .article-body {
    margin-bottom: 2rem;
  }
}

.article-body h3 {
  font-size: 1.1rem;
  color: #7a4e40;
  margin: 1.2rem 0 0.7rem 0;
  font-weight: 600;
}

@media (min-width: 768px) {
  .article-body h3 {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .article-body h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem 0;
  }
}

.article-body p {
  font-size: 1rem;
  color: #5f3c33;
  line-height: 1.7;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .article-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}

/* Sensory Pillars */
.sensory-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .sensory-pillars {
    grid-template-columns: repeat(2, 1fr);
    margin: 1.2rem 0;
  }
}

@media (min-width: 1024px) {
  .sensory-pillars {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }
}

.pillar {
  background: linear-gradient(135deg, #fdf5f0, #f8ebe6);
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #f1dad4;
  transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
  .pillar {
    padding: 1.5rem;
  }
}

.pillar:hover {
  transform: translateY(-3px);
}

.pillar i {
  font-size: 1.2rem;
  color: #9e5948;
  margin-bottom: 0.7rem;
}

@media (min-width: 768px) {
  .pillar i {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pillar i {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}

.pillar h4 {
  font-size: 1rem;
  color: #7c4434;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .pillar h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
}

.pillar p {
  font-size: 0.9rem;
  color: #6d4e44;
  line-height: 1.4;
}

/* Article Highlight */
.article-highlight {
  background: linear-gradient(135deg, #f2e3db, #e7c1b6);
  padding: 1rem;
  border-radius: 15px;
  margin: 1rem 0;
  border-left: 5px solid #9e5948;
}

@media (min-width: 768px) {
  .article-highlight {
    padding: 1.2rem;
    margin: 1.2rem 0;
  }
}

@media (min-width: 1024px) {
  .article-highlight {
    padding: 2rem;
    margin: 2rem 0;
  }
}

.article-highlight h4 {
  font-size: 1rem;
  color: #7c4434;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .article-highlight h4 {
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .article-highlight h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
}

.article-highlight p {
  font-size: 1rem;
  color: #5f3c33;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 1024px) {
  .article-highlight p {
    font-size: 1.1rem;
  }
}

/* Article List */
.article-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

@media (min-width: 1024px) {
  .article-list {
    margin: 1.5rem 0;
  }
}

.article-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1dad4;
  color: #5f3c33;
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .article-list li {
    padding: 0.7rem 0;
  }
}

@media (min-width: 1024px) {
  .article-list li {
    padding: 0.8rem 0;
    font-size: 1.05rem;
  }
}

.article-list li:last-child {
  border-bottom: none;
}

.article-list strong {
  color: #7c4434;
  font-weight: 600;
}

@media (min-width: 768px) {
  .article-list strong {
    font-size: 1rem;
  }
}

/* Color Psychology */
.color-psychology {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .color-psychology {
    grid-template-columns: repeat(2, 1fr);
    margin: 1.2rem 0;
  }
}

@media (min-width: 1024px) {
  .color-psychology {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  background-color: #fdf5f0;
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid #f1dad4;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .color-item {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .color-item {
    gap: 1rem;
    padding: 1.5rem;
  }
}

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

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .color-swatch {
    width: 45px;
    height: 45px;
  }
}

@media (min-width: 1024px) {
  .color-swatch {
    width: 60px;
    height: 60px;
  }
}

.color-swatch.red {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.color-swatch.blue {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.color-swatch.green {
  background: linear-gradient(135deg, #51cf66, #40c057);
}

.color-swatch.yellow {
  background: linear-gradient(135deg, #ffd93d, #fcc419);
}

.color-swatch.purple {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}

.color-swatch.orange {
  background: linear-gradient(135deg, #fd7e14, #e8590c);
}

.color-info h4 {
  font-size: 1rem;
  color: #7c4434;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .color-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
}

.color-info p {
  font-size: 0.9rem;
  color: #6d4e44;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .color-info p {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }
}

.color-info small {
  font-size: 0.8rem;
  color: #9e5948;
  font-style: italic;
}

/* Marketing Applications */
.marketing-applications {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .marketing-applications {
    grid-template-columns: repeat(2, 1fr);
    margin: 1.2rem 0;
  }
}

@media (min-width: 1024px) {
  .marketing-applications {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }
}

.application {
  background: linear-gradient(135deg, #f8ebe6, #f2e3db);
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid #f1dad4;
  transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
  .application {
    padding: 1.5rem;
  }
}

.application:hover {
  transform: translateY(-3px);
}

.application h4 {
  font-size: 1rem;
  color: #7a4e40;
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .application h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
}

.application h4 i {
  color: #9e5948;
}

.application p {
  font-size: 0.9rem;
  color: #6d4e44;
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 1024px) {
  .application p {
    font-size: 0.95rem;
  }
}

/* Article Tags */
.article-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .article-tags {
    gap: 0.6rem;
    margin-top: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .article-tags {
    gap: 0.8rem;
    margin-top: 2rem;
  }
}

.tag {
  background: linear-gradient(135deg, #e7c1b6, #c6a489);
  color: #7c4434;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .tag {
    padding: 0.4rem 0.8rem;
  }
}

@media (min-width: 1024px) {
  .tag {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

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

/******************* PAGE 5 : CONTACT **********************/
.contact-section {
  max-width: 31.25rem;
  margin: 1rem;
  padding: 0.5rem 0;
  background: #f4ece0;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  text-align: center;
}

@media (min-width: 768px) {
  .contact-section {
    margin: 3rem auto 1.5rem auto;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    max-width: 43.75rem;
    margin: 4rem auto 2rem auto;
    padding: 2rem;
  }
}

.contact-section h1 {
  font-size: 1.5rem;
  color: #9e5948;
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .contact-section h1 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .contact-section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
}

.contact-section p {
  font-size: 1rem;
  margin: 1.5rem 0.6rem;
  margin-bottom: 1rem;
  color: #6d4c41;
  word-break: break-word;
}

@media (min-width: 768px) {
  .contact-section p {
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .contact-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

.contact-info a {
  text-decoration: none;
  color: #9e5948;
  word-break: break-all;
  font-size: 1rem;
  margin: 0.4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .contact-form {
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .contact-form {
    margin-bottom: 2rem;
  }
}

.contact-form label {
  display: block;
  margin: 0.2rem 0.6rem 0.1rem 0.6rem;
  font-weight: bold;
  color: #6d4e44;
  text-align: left;
  font-size: 0.95rem;
}

.contact-form input[type="checkbox"] {
  width: auto;
  display: inline;
}

.contact-form input[type="checkbox"]+label {
  display: inline;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 95%;
  padding: 0.7rem;
  margin-top: 0.3rem;
  border: 1px solid #d8c0b6;
  border-radius: 5px;
  background-color: #fffaf8;
  font-size: 1rem;
}

.contact-form input {
  margin: 0.6rem;
  width: 95%;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
  margin: 0.7rem;
}

.contact-form button {
  background-color: #9e5948;
  color: #fcf2ba;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  font-size: 1rem;
  margin: 0.6rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #815e46;
}

/* FORMULAIRE DE CONNEXION */

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

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 1rem auto;

  .form-row {
    display: flex;
    flex-direction: column;
  }

  input {
    margin: 0.6rem;
    width: 95%;
    padding: 0.7rem;
    border: 1px solid #d8c0b6;
    border-radius: 5px;
    background-color: #fffaf8;
    font-size: 1rem;
  }

  button {
    background-color: #9e5948;
    color: #fcf2ba;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    font-size: 1rem;
    margin: 0.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
}

/******************** PAGE 6 : DEMANDE DE DEVIS *********************/

/* Mobile first */

#demande-devis {
  max-width: 37.5rem;
  margin: 1rem;
  padding: 0.5rem 0;
  background-color: #f4ece0;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  text-align: center;
}

@media (min-width: 768px) {
  #demande-devis {
    margin: 3rem auto 1.5rem auto;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  #demande-devis {
    max-width: 50rem;
    margin: 4rem auto 2rem auto;
    padding: 2rem;
  }
}

.devis-form {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0.5rem 0.5rem;
  text-align: left;
}

.titre_devis {
  font-size: 1.5rem;
  color: #9e5948;
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .titre_devis {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .titre_devis {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
}

.devis-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #6d4e44;
}

.devis-form input,
.devis-form select,
.devis-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem;
  border: 1px solid #d8c0b6;
  border-radius: 5px;
  background-color: #fffaf8;
  font-size: 1rem;
}

@media (min-width: 768px) {

  .devis-form input,
  .devis-form select,
  .devis-form textarea {
    font-size: 1rem;
  }
}

/* Optionnel : pour le bouton */

.devis-form button {
  background-color: #9e5948;
  color: #fcf2ba;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.devis-form button:hover {
  background-color: #815e46;
}

/************************ FOOTER ***************************/
footer {
  background-color: var(--main-color);
  padding: 1rem;
}

footer .row {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  footer .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

footer .row>div {
  text-align: center;
}

@media (min-width: 768px) {
  footer .row>div {
    width: auto;
    text-align: left;
  }
}

footer img {
  width: 200px;
  height: auto;
  margin-top: 2rem;
}

footer h3 {
  color: #fcf2ba;
  font-size: 1rem;
  position: relative;
  margin-bottom: 2rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  footer h3 {
    width: 100%;
  }
}

footer h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  /* espace sous le texte */
  width: 2.3rem;
  height: 2px;
  background-color: #fcf2ba;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
}

@media (min-width: 1024px) {
  footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 0rem;
    width: auto;
    justify-content: flex-start;
  }
}

footer ul li {
  width: 100%;
  margin-bottom: 0.3rem;
}

@media (min-width: 768px) {
  footer ul li {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  footer ul li {
    width: 40%;
  }
}

footer ul li a:hover {
  color: #fcf2ba;
  border-bottom: 0.1rem solid #fcf2ba;
}

footer a {
  color: #fcf2ba;
  text-decoration: underline;
  transition: color 0.2s;
  text-decoration: none;
  font-size: 1rem;
}

footer .fa-brands {
  margin-right: 0.8em;
  color: #fcf2ba;
}

footer .fa-solid {
  margin-right: 0.6em;
  color: #fcf2ba;
}

.copyright {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  margin: 0.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #fcf2ba;
}

.copyright a {
  color: #fcf2ba;
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input[type="email"] {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #d8c0b6;
  font-size: 1rem;
  width: 100%;
  max-width: 220px;
}

.newsletter-form button {
  background-color: #9e5948;
  color: #fcf2ba;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #815e46;
}

footer .scroll-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 0 auto;
  width: 44px;
  height: 44px;
  background: #9e5948;
  color: #fcf2ba;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 1.5rem;
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
  position: static;
  /* pas en fixed, reste dans le footer */
}

footer .scroll-top:hover {
  background: #815e46;
  color: #fff;
}

footer .scroll-top i {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prestations-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
  margin: 0.7rem 0 1.2rem 0;
}

.prestations-checkboxes label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #7a4e40;
  cursor: pointer;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.prestations-checkboxes label:hover {
  background: #f1dad4;
}

.prestations-checkboxes input[type="checkbox"] {
  accent-color: #9e5948;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.3em;
}

.rgpd-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.2rem 0 0.5rem 0;
}

.rgpd-label {
  font-size: 1rem;
  color: #7a4e40;
  cursor: pointer;
}

.rgpd-row input[type="checkbox"] {
  accent-color: #9e5948;
  width: 1.1em;
  height: 1.1em;
  margin: 0;
}

.about a {
  font-weight: bold;
  color: #9e5948;
  text-decoration: none;
}

.about a:hover {
  border-bottom: #9e5948 3px solid;
}

.reseau-item>div>div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.reseau-item>div>div>div:first-child {
  flex-grow: 1;
}

.btn-supprimer {
  background: #e7d7ce;
  color: #9e5948;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-supprimer:hover {
  background-color: #815e46;
}

input[type="file"] {
  display: block;
  border: 1.5px solid #d8c0b6;
  border-radius: 7px;
  background: #f7f7fa;
  color: #7a4e40;
  font-size: 1rem;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}

/* Style le bouton "Parcourir" natif */
input[type="file"]::-webkit-file-upload-button {
  border: none;
  padding: 0.7rem;
  background-color: #9e5948;
  color: #fcf2ba;
  border-radius: 5px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  margin-right: 1rem;
}

input[type="file"]::-webkit-file-upload-button:hover {
  background-color: #815e46;
}

/* Ajoute dans style.css */
.pj-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Container général des messages flash */
.flash-message {
  padding: 1rem 1.3rem;
  margin-bottom: 1.5rem;
  border-radius: 0.3rem;
  font-weight: 500;
  font-family: "Lora", serif;
  text-align: center;
}

.flash-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Messages Flash */
.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  position: relative;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1rem;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.5;
}

.alert-dismissible .btn-close:hover {
  opacity: 1;
}

.fade {
  transition: opacity 0.15s linear;
}

.fade.show {
  opacity: 1;
}

.apropos {
  margin: 0;
  padding: 0;
  background: #fdf8f5;
  font-family: "Open Sans", sans-serif;
  color: #5c3a2e;
}

.about-wrapper {
  max-width: 100%;
  margin: 24px auto;
  padding: 16px;
  background: #fff9f7;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(92, 58, 46, 0.08);
}

.entete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.entete img {
  width: 22rem;
  height: auto;
  border-radius: 16px;
  border: 4px solid #fceeea;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.entete-content h1 {
  font-family: "DM Serif Display", serif;
  font-size: 3.5rem;
  color: #a85f56;
  margin: 0 0 0 0;
}

.accroche {
  font-style: italic;
  color: #8a5c51;
  margin: 1rem 0;
  font-size: 1.5rem;
}

.citation {
  font-style: italic;
  background: #fceeea;
  padding: 1rem 1.2rem;
  border-left: 5px solid #a85f56;
  border-radius: 10px;
  color: #6e4b44;
  margin: 1rem 0;
  font-size: 1.5rem;
}

.presentation {
  margin-top: 3rem;
  margin-bottom: 3rem;
  font-size: 0.9rem;
  text-align: justify;
}

.liste-action {
  list-style: none;
  padding: 0;
}

.liste-action li::before {
  content: "• ";
  color: #a85f56;
  font-weight: bold;
}

.closing {
  text-align: center;
  margin-top: 2rem;
}

.closing a {
  text-decoration: none;
  background-color: #9e5948;
  color: #fcf2ba;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  transition: background 0.3s ease;
  cursor: pointer;
  display: inline-block;
  margin-top: 1rem;
  font-size: 3rem;
}

.closing a:hover {
  background-color: #815e46;
}

/* Tablet */
@media (min-width: 724px) {
  .about-wrapper {
    max-width: 700px;
    padding: 32px;
  }

  .entete {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 40px;
    font-size: 1rem;
  }

  .entete-content h1 {
    font-size: 3rem;
  }

  .presentation {
    font-size: 1.5rem;
  }

  .entete img {
    width: 18rem;
  }

  .closing a {
    font-size: 1.4rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .about-wrapper {
    max-width: 1100px;
    padding: 40px;
  }

  .entete-content h1 {
    font-size: 3rem;
  }

  .presentation {
    font-size: 1.2rem;
  }

  .citation {
    font-size: 1.2rem;
  }

  .accroche {
    font-size: 1.2rem;
  }

  .closing a {
    font-size: 1.3rem;
  }
}