html,
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  background-color: white;
  /* overflow-x: hidden; */
}

h1,
h2,
h3,
h4,
h5,
.carme {
  font-family: "Carme", sans-serif;
  color: #f1806c;
  font-weight: 200;
  letter-spacing: 1px;
}
h1 {
  font-size: 35px;
  margin-top: 70px;
}

h2 {
  font-size: 27px;
  margin-top: 35px;
}
.padding {
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: #618b79;
}

a:hover {
  color: #f77a67;
}

img {
  max-width: 100%;
}
strong {
  font-weight: 500;
}
.salmon {
  color: #f77a67;
}

.salmon-BG {
  background-color: #f77a67;
}

.white {
  color: white;
}

.grey {
  color: #808080;
}
.grid-50 {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 1auto;
}
.grid-33 {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: 1auto;
}
/* -------------INDEX----------- */
.frame-title {
  font-size: 27px;
}
.frame-title-welcome {
  font-size: 2.5em;
  text-align: center;
  line-height: 1em;
}
.title {
  font-size: 50px;
  font-weight: 500;
  margin-top: 0;
}
/* -----------------PAGES--------------- */
#logo {
  z-index: 0;
  margin: 30px;
}

#logo img {
  height: 140px;
  display: block;
}
#logo a {
  display: contents;
}
#intro {
  margin-bottom: 150px;
}
#titreIntro {
  font-size: 35px;
  color: #f1806c;
  text-align: right;
}

#sousTitreIntro {
  font-size: 23px;
  margin-left: 30px;
}

#texteIntro {
  margin-left: 20px;
  padding-left: 15px;
  position: relative;
  max-width: 600px;
}

#texteIntro::before {
  content: "";
  position: absolute;
  left: 0;
  height: 50px;
  width: 3px;
  background-color: #9b5c50;
}

#imageBanner a {
  display: contents;
}

#introBanner {
  background: #648b78;
}

#contenu {
  max-width: 1200px;
  margin: auto;
  font-weight: 300;
  text-align: justify;
  hyphens: auto;
  line-height: 21px;
  margin-top: 130px;
  padding: 0 30px;
}
.buttonPage {
  display: inline-block;
  background: #648b78;
  padding: 10px 25px;
  border-radius: 20px;
  color: white;
  font-size: 19px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.buttonPage:hover {
  transform: translateY(-3px);
  background: #507565;
  color: white;
}
.buttonContainer {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}
/* --------------------PARTENAIRES-------------- */
/* Container principal */
#partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Carte partenaire */
.partner {
  background: white;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.partner:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Logo du partenaire */
.partnerLogo img {
  width: 85%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 3rem;
  transition: transform 0.3s ease;
}

.partner:hover .partnerLogo img {
  transform: scale(1.05);
}

#partnersBackground {
  /* background-color: #648b78; */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-bottom: 350px;
}

.partnerName {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Adresse */
.partnerAddress {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Liens */
.partnerLinks {
  font-size: 0.85rem;
  color: #648b78;
  word-break: break-word;
}

.partnerLinks a {
  color: #648b78;
  text-decoration: none;
}

.partnerLinks a:hover {
  text-decoration: underline;
}

#partnersGroupPicture {
  max-width: 800px;
  margin: auto;
  display: block;
  margin-top: -200px;
  margin-bottom: 100px;
  width: 90%;
}
@media screen and (max-width: 480px) {
  #partnersBackground {
    padding-bottom: 280px;
  }

  #partnersGroupPicture {
    margin-top: -145px;
  }
}
#imageBanner a {
  display: contents;
}

#introBanner {
  background: #648b78;
}

#imageBanner img {
  width: 300px;
  display: block;
  margin: auto;
  max-width: 100%;
}

#introBanner {
  background: #f2ad2d;
  color: white;
  padding: 30px 0;
}

#textBanner {
  max-width: 800px;
  margin: auto;
  text-align: center;
  font-size: 22px;
}

@media screen and (max-width: 1200px) {
  .grid-33 {
    grid-template-columns: 100%;
  }
}
