/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Header */

header {
    background-color: #C18845;
    padding: 1rem;
}
.menu {
    display: flex; 
    justify-content: space-around; 
    align-items: center;
}
nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}
.logo img {
    max-width: 150px;
}
nav ul li {
    margin: 0 1rem;
}
nav ul li a {
    text-decoration: none;
    color: #5D7052;
    font-size: 1rem;
    transition: color 0.3s ease;
}
a:hover {
    text-decoration: underline;
    color: #3E4C35;
}

@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul li {
        margin: 0;
    }
    .logo img {
        max-width: 120px;
    }
}
@media (max-width: 480px) {
    .menu {
        padding: 0 1rem;
    }
    nav ul li a {
        font-size: 0.9rem;
    }
    .logo img {
        max-width: 100px;
    }
}

/* Section "pub" */

.pub {
  margin: 0;
  display: flex; 
  flex-direction: column;
  text-align: center;
  background-color: #C18845 ;
  color: #5D7052;
  padding-top: 50px;
  padding-bottom: 50px;
}
.pub a {
  text-decoration: none;
  color: #5D7052;
  font-weight: 500;
}
.pub a:hover {
  color: #3E4C35;
  text-decoration: underline;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .pub {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .pub a {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .pub {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .pub a {
    font-size: 0.9rem;
  }
}

/* Footer */

footer {
  background-color: #F0BE86;
  padding: 3rem;
}
footer .container {
  display: flex;
  justify-content: space-between;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
  margin: 0 auto;
  margin-block: auto;
  max-width: 140rem;
}
ul {
  color: #F0BE86;
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 1rem;
}
.mention {
  text-decoration: none;
  display: flex;
  justify-content: right;
  text-align: center;
  color: #5D7052;
  gap: 2rem;
}
.mention a {
  color: #5D7052;
  text-decoration: none;
}
.mention a:hover {
  color: #3E4C35;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.picto {
  display: flex;
  justify-content: space-between;
  padding-left: 10rem;
  padding-right: 20rem;
}
.picto a {
  background-color: #5D7052;
  font-size: 1.3rem;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.picto a:hover {
  transform: scale(1.15);
  background-color: #fff;
  color: #fff;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .mention {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
  .picto {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
    gap: 1rem;
  }
  .picto a {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  footer .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  ul {
    gap: 0.3rem;
  }
  .mention {
    gap: 0.5rem;
  }
  .picto {
    gap: 0.5rem;
  }
  .picto a {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

/* Main page "Index" */

main {
  background-color: #F0BE86;
  color: #5D7052;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}
.portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem;
  align-items: start;
}
.intro h1 {
  font-size: 1.8rem;
  line-height: 1.4;
  border-bottom: 2px solid #5D7052;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.side-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.side-info h2 {
  border-bottom: 1px solid #5D7052;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.side-info a {
  text-decoration: none;
  color: #5D7052;
  font-weight: 500;
}
.side-info a:hover {
  color: #3E4C35;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.about p, .portfolio-section p, .intro p {
  color: #5D7052;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .portfolio {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }
  .intro h1 {
    font-size: 1.5rem;
  }
  .side-info {
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .portfolio {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .intro h1 {
    font-size: 1.3rem;
  }
  .side-info {
    gap: 1.5rem;
  }
  .image img {
    border-radius: 4px;
  }
}

/* Main page "About" */

body {
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  background-color: #F0BE86;
  color: #5D7052;
}
.parcours {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 60px 10%;
}
.parcours-txt {
  max-width: 450px;
}
.parcours h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #5D7052;
}
.btn-cv {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
  color: #5D7052;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.parcours-image {
  display: flex;
  justify-content: center;
}
.parcours-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
}

.valeurs {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 40px 8%;
  gap: 50px;
}
.valeurs-txt {
  max-width: 450px;
}
.valeurs h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #5D7052;
}
.valeurs-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

.competences {
  text-align: center;
  padding: 60px 20px;
}
.competences h1 {
  font-weight: 500;
  margin-bottom: 60px;
}
.competences1,
.competences2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.competences1 div,
.competences2 div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.competences1 h3, .competences2 h3 {
  margin: 5px 0;
  font-size: 1.1rem;
  color: #5D7052;
}
.competences1 p, .competences2 p {
  margin: 0;
  font-size: 0.85rem;
  color: #5D7052;
}

@media (max-width: 768px) {
  .parcours {
    flex-direction: column;
    padding: 40px 10%;
  }
  .parcours-txt {
    max-width: 100%;
  }
  .parcours-image {
    margin-top: 20px;
  }
  .valeurs {
    flex-direction: column;
    padding: 30px 10%;
    gap: 30px;
  }
  .valeurs-txt {
    max-width: 100%;
  }
  .competences1, .competences2 {
    gap: 40px;
    flex-direction: column;
  }
  .competences1 div, .competences2 div {
    align-items: center;
    max-width: 100%;
  }
  .competences1 h3, .competences2 h3 {
    font-size: 1rem;
  }
  .competences1 p, .competences2 p {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .parcours {
    padding: 20px 5%;
  }
  .parcours h1 {
    font-size: 1.5rem;
  }
  .valeurs {
    padding: 20px 5%;
    gap: 20px;
  }
  .valeurs h1 {
    font-size: 1.5rem;
  }
  .competences1, .competences2 {
    gap: 20px;
    flex-direction: column;
  }
  .competences1 h3, .competences2 h3 {
    font-size: 0.9rem;
  }
  .competences1 p, .competences2 p {
    font-size: 0.8rem;
  }
}

/* Main page "Portfolio" */

.intro-portfolio {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2rem;
  max-width: 1200px;
  padding: 4rem 2rem;
}
.intro-portfolio h1 {
  font-size: 3.5rem;
  line-height: 1.4;
  border-bottom: 2px solid #5D7052;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.intro-portfolio p {
  color: #5D7052;
  line-height: 1;
  font-size: 1.3rem;
}
.projet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #C18845;
  color: #5D7052;
  padding: 4rem 6rem;
}
.projet1, .projet2, .projet3 {
  flex: 1;
  max-width: 40%;
}
.projet1 h2, .projet2 h2, .projet3 h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.projet1 p, .projet2 p, .projet3 p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #5D7052;
}
.projet1 .btn, .projet2 .btn, .projet3 .btn {
  text-decoration: none;
  color: #5D7052;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.projet1 .btn:hover, .projet2 .btn:hover, .projet3 .btn:hover {
  color: #3E4C35;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.espace {
  padding: 2rem;
}

@media (max-width: 768px) {
  .intro-portfolio {
    padding: 3rem 1rem;
  }
  .intro-portfolio h1 {
    font-size: 2.5rem;
  }
  .projet {
    flex-direction: column;
    padding: 3rem 2rem;
  }
  .projet1, .projet2, .projet3 {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .projet1 h2, .projet2 h2, .projet3 h2 {
    font-size: 1.5rem;
  }
  .projet1 p, .projet2 p, .projet3 p {
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .intro-portfolio {
    padding: 2rem 1rem;
  }
  .intro-portfolio h1 {
    font-size: 2rem;
  }
  .projet {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  .projet1, .projet2, .projet3 {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .projet1 h2, .projet2 h2, .projet3 h2 {
    font-size: 1.3rem;
  }
  .projet1 p, .projet2 p, .projet3 p {
    font-size: 0.85rem;
  }
}

/* Main page "Projet1" */

.contexte, .objectifs, .processus, .résultat {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 4rem;
}
.objectif-img {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.résultat-img {
  align-items: flex-start;
  margin-top: 2rem;
  gap: 6rem;
}
.résultat .btn {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 4rem 0;
  text-decoration: none;
  color: #5D7052;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.résultat .btn:hover {
  color: #3E4C35;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contexte, .objectifs, .processus, .résultat {
    width: 90%;
    padding:2rem;
  }
  .résultat-img {
    gap: 3rem;
  }
  .résultat .btn {
    padding: 2rem 0;
  }
  .objectif-img, .résultat-img {
    flex-direction: column;
    align-items: center;
  }
  .résultat .btn {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .contexte, .objectifs, .processus, .résultat {
    width: 100%;
    padding:2rem;
  }
  .résultat-img {
    gap: 1.5rem;
  }
  .résultat .btn {
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }
  .objectif-img, .résultat-img {
    gap: 2rem;
  }
}

/* Main page "Contact" */

.formulaire {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto 2rem;
  color: #5D7052;
  font-size: 1.8rem;
  line-height: 1.4;
  border-bottom: 2px solid #5D7052;
}
.formulaire h1 {
  font-size: 1.8rem;
  font-weight: 600;
  padding-top: 3rem;
  margin-bottom: 1rem;
}
form, .faq {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}
form {
  position: relative;
  z-index: 1;
}
form ul, .faq-container {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form li {
  display: flex;
  flex-direction: column;
}
label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #5D7052;
  display: flex;
  justify-content: start;
}
input, textarea {
  background-color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  color: #5D7052;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}
.button {
  width: 80%;
  max-width: 1000px;
  margin: 1.5rem auto 0;
}
.button button {
  background: none;
  border: none;
  color: #5D7052;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.button button:hover {
  color: #3E4C35;
  text-decoration: underline;
}
.faq {
  padding-bottom: 2rem;
}
.faq h2 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 2px solid #5D7052;
  padding-top: 3rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.faq-item {
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  color: #5D7052;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question .plus {
  font-size: 1.5rem;
  color: #5D7052;
}

@media (max-width: 768px) {
  .formulaire {
    width: 90%;
    padding: 2rem 1rem;
  }
  .formulaire h1 {
    font-size: 1.5rem;
  }
  input, textarea {
    padding: 0.8rem;
  }
  .button button {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .formulaire {
    width: 100%;
    padding: 1.5rem;
  }
  .formulaire h1 {
    font-size: 1.3rem;
  }
  input, textarea {
    padding: 0.7rem;
  }
  .button button {
    font-size: 0.9rem;
  }
}

/* Main page "Mentions" */

.mentions-legales {
  background-color: #F0BE86;
  color: #5D7052;
  padding: 80px 10%;
  font-family: "Poppins", sans-serif;
}
.mentions-legales h1 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  position: relative;
}
.mentions-legales h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #5D7052;
  margin-top: 10px;
}
.mentions-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}
.mentions-col {
  flex: 1 1 45%;
  min-width: 300px;
}
.mentions-col h2, .mentions-propriete h2 {
  font-size: 1.1rem;
  color: #5D7052;
  margin-bottom: 20px;
}
.mentions-col p, .mentions-propriete p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 5px 0;
  color: #5D7052;
}
.mentions-propriete {
  border-top: 1px solid #5D7052;
  padding-top: 30px;
}
.mentions-propriete p {
  line-height: 1.7;
}
@media (max-width: 768px) {
  .mentions-legales {
    padding: 2rem;
  }
  .mentions-container {
    flex-direction: column;
    gap: 30px;
    padding: 2rem;
  }
  .mentions-col {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .mentions-col h2, .mentions-propriete h2 {
    font-size: 1rem;
  }
  .mentions-col p, .mentions-propriete p {
    font-size: 0.8rem;
  }
  .mentions-propriete {
    padding-top: 20px;
  }
}
@media (max-width: 480px) {
  .mentions-legales {
    padding: 2rem;
  }
  .mentions-container {
    gap: 20px;
    padding: 2rem;
  }
  .mentions-col h2, .mentions-propriete h2 {
    font-size: 0.9rem;
  }
  .mentions-col p, .mentions-propriete p {
    font-size: 0.8rem;
  }
  .mentions-propriete {
    padding-top: 15px;
  }
}