@font-face {
  font-family: 'Taffy Regular';
  src: url('fonts/Taffy\ Regular.ttf') format('woff2');
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family: Arial, sans-serif;
  color: #E5D3B3;
}

header {
  /* background-color: #fcf0d9; */
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  position: relative;
  z-index: 1;
  background-color: #faf1e1;
}

header::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('trame-1.jpg'); /* Remplacez par le chemin de votre image */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.1;  /* Ajustez l'opacité pour obtenir l'effet désiré */
  z-index: -1;   /* Place le pseudo-élément derrière le contenu */
}

header .logo img {
  height: 150px; /* Adjust as necessary */
}

.left-part {
  display: flex;            /* Aligne logo et texte côte à côte */
  align-items: center;      /* Les centre verticalement */
}
.header-info {
  color: #4d4d4d;     /* Couleur du texte */
  max-width: 400px;  /* Largeur max si besoin */
}
.header-info h1 {
  font-size: 1.2em;
  margin-bottom: 5px;
}
.header-info p {
  font-size: 1em;
  line-height: 1.2;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #4d4d4d;
  font-weight: bold;
}

p{
  color: black;
  line-height: 1.6;
}

#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

#hamburger span {
  width: 25px;
  height: 3px;
  background-color: #4d4d4d;
}

.welcome {
  padding: 50px 20px;
  background-color: #ffffff;
}

.welcome .container {
  max-width: 960px;
  margin: 0 auto;
}

h2 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #cca88a;
  position: relative;
  /* padding-left: 20px;
  padding-right: 20px; */
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  /* font-variation-settings:"wdth" 200; */
}

/* h2::before{
  content: "";
  position: absolute;
  top: 0;
  text-align: center;
  width: 4px;
  height: 100%;
  background-color: #6FC3C2;
} */

h3{
  color: black;
  text-align: center;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;
  margin-bottom: 40px;
}

.welcome p{
  text-align: justify;
}

.index-contact-form {
  text-align: center;
  margin-top: 40px;
}

.index-contact-btn {
  padding: 10px 20px;
  background-color: #D3B9A9;
  color: black;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.index-contact-btn:hover {
  background-color: #6FC3C2;
  color: #fcf0d9;
}

footer {
  background-color: #4f4d61;
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
}

footer .quote-footer {
  font-size: 1em;
  font-style: italic;
}

footer .quote-footer strong {
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
  color: white;
}

footer p{
  color: white;
}

footer a{
  color: white;
}

.appointment {
  padding: 50px 20px;
  background-color: #ffffff;
}

.appointment .container {
  max-width: 800px;
  margin: 0 auto;
}

.pappointment{
  margin-bottom: 30px;
}

.appointment-form {
  display: grid;
  gap: 15px;
  text-align: left;
}

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

label {
  font-size: 1.1em;
  margin-bottom: 5px;
  color: black
}

input, textarea {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea {
  resize: vertical;
}

button {
  padding: 12px 20px;
  background-color: #4d8f4d;
  color: white;
  font-size: 1.1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #357a35;
}
.presentation {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: justify;
}

.presentation .container {
  max-width: 1000px;
  margin: 0 auto;
}

.presentation-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.image-container {
  flex: 1;
}

.profile-image {
  width: 100%;
  height: auto;
  max-width: 500px; /* Ajustez la largeur de l'image */
  position:relative;
  /* background:rgb(252, 252, 158); */
  overflow:hidden;
  margin: 30px auto;
  /* padding: 8px; */
  border-radius: 50%;
  box-shadow:
    inset 0 -40px 40px rgba(0,0,0,0.2),
    inset 0 25px 10px rgba(0,0,0,0.2),
    0 5px 6px 5px rgba(0,0,0,0.2);
}

.text-section {
  flex: 2;
  text-align: justify;
}

.presentation p {
  margin-top: 20px;
}

.presentation ul {
  list-style-type: disc;
  margin-top: 20px;
  margin-left: 30px;
  text-align: left;
  color: black;
}

.contact-section {
  display: flex;            /* Mise en page en deux colonnes (cartes + formulaire) */
  flex: column;              /* Empile les éléments verticalement */
  align-items: center;
  padding: 40px;
  background-color: white;
}

.contact-container{
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARTES À GAUCHE (3 cartes en colonne) */
.contact-info {
  display: flex;
  flex-direction: column;   /* Empile les cartes verticalement */
  gap: 20px;                /* Espace entre chaque carte */
  width: 100%;
  margin: 0;
}

/* STYLE DE CHAQUE CARTE */
.card {
  background: #fff8eb;      /* Couleur claire pour contraster avec le fond sombre */
  border-radius: 8px;
  padding: 20px;
  min-height: 120px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

/* Exemples pour une zone d'icône (remplacez par vos icônes réelles) */
.icon-placeholder,.icon-placeholder img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* FORMULAIRE À DROITE */
/* Formulaire de contact en colonne */
.contact-form {
  width: 100%;
  border-radius: 8px;
  padding: 40px;
  position: relative;
  z-index: auto;
  color: #fff;
}

/* Ajustement du formulaire */
.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #f0eeee;
}

/* BOUTON */
button {
  background: #4a919e;
  border: none;
  color: #fff;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
button:hover {
  background: #237b9a;
}

/* Media Query for Small Screens */
@media (max-width: 850px) {
  nav ul {
    display: none;
    width: 100%;
    text-align: center;
    background-color: #f1f4f1;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 10px 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  #hamburger {
    display: flex;
  }

  #hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 0px;
  }

  #hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  #hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 0px;
  }

  #hamburger.active + ul {
    display: block;
  }

  .contact-section {
    flex-direction: column;
    padding: 20px;
  }
  /* Retirer l'effet de chevauchement en mobile */
  .contact-info {
    width: 100%;
    margin: 0;
    position: static;
    z-index: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  /* Les cartes s'empilent normalement */
  .card {
    display: flex;
    position: relative;
    top: 0;
    margin-bottom: 20px;
    z-index: auto;
    align-items: center;
    text-align: left;
    gap: 15px;
  }
  .card .icon-placeholder img{
    margin: 0; 
  }
  .card .text-placeholder{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-form {
    width: 100%;
    margin-top: 20px;
    padding: 20px !important;
    z-index: auto;
  }
  .presentation-header {
    flex-direction: column;
    align-items: flex-start; /* ou center, selon vos besoins */
  }

  /* Le texte doit apparaître en premier */
  .text-section {
    order: 1; 
    margin-bottom: 20px; /* Un petit espace si nécessaire avant la photo */
  }

  /* L'image doit apparaître en second */
  .image-container {
    order: 2;
    width: 100%; /* Pour qu'elle prenne toute la largeur si souhaité */
    margin: 0 auto; /* Centrer l'image si vous voulez */
  }

  .presentation {
    padding: 50px 20px;
  }

  h2 {
    font-size: 2em;
    margin-bottom: 12px;
    margin-top: 20px;
  }

  h3{
    font-size: 1em;
    margin-bottom: 10px;
  }

  /* .left-part { */
    /* display: block;               On passe en affichage bloc */
  /* } */

  .header-info {
    margin-right: 15px; /* Espace entre le logo et le texte */
  }

}


/* === HEADER LAYOUT OVERRIDES (added by ChatGPT on request) === */
/* Stack logo, then text, then menu — centered on desktop */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: initial;
}

/* Make the logo + text stack vertically */
.left-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Center the text under the logo */
.header-info {
  text-align: center;
  margin-top: 8px;
}

/* Menu under the text, centered */
nav {
  margin-top: 12px;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* --- Mobile: logo centered, hamburger at left --- */
@media (max-width: 850px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  .logo, .header-info {
    text-align: center;
    width: 100%;
  }

  nav {
    width: 100%;
    position: relative;
  }

  #hamburger {
    display: flex;
    position: absolute;
    left: 20px;
    top: 0;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background-color: #f1f4f1;
    position: absolute;
    top: 50px;
    left: 0;
    padding: 10px 0;
  }

  #hamburger.active + ul {
    display: flex;
  }
}

/* === HEADER LAYOUT MOBILE FIX (hamburger to right) === */
@media (max-width: 850px) {
  #hamburger {
    display: flex;
    position: absolute;
    right: 20px;  /* Place it on the right */
    left: auto;   /* Reset left */
    top: -15px;
  }
}

/* === Scotch bien visible + coin plié (Présentation) === */
/* Le conteneur de l'image doit être en position:relative */
.presentation .image-container {
  position: relative !important;
  display: inline-block;
  padding: 8px;
  background: #fffbdc;
  box-shadow: 0 10px 18px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
  border-radius: 3px;
  transform: rotate(-1.2deg);
  z-index: 0;
}

/* SCOTCH en haut (on réserve ::after uniquement pour ça) */
.presentation .image-container::after {
  content: "";
  position: absolute;
  top: -14px;              /* chevauche le post-it */
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  width: 120px;
  height: 25px;
  z-index: 3;              /* au-dessus de tout */
  pointer-events: none;

  /* Très visible : base translucide + stries */
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.8) 0px,
      rgba(255,255,255,0.8) 8px,
      rgba(255,255,255,0.55) 8px,
      rgba(255,255,255,0.55) 16px
    ),
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.95),
      rgba(255,255,255,0.72)
    );

  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  opacity: 0.98;
}

@media (max-width: 850px) {
  .presentation .image-container::after {
    transform: translateX(-50%) rotate(-4deg);
    width: 110px;
    height: 26px;
    top: -12px;
  }
}