/* ===== Variables ===== */
:root {
  --brown: #9f6449;
  --text: #6f6356;
  --bg-alt: #f4eae6;
}

/* ===== Base ===== */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Raleway, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  color: var(--brown);
}

p,
li {
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
}

section:nth-of-type(odd) {
  background-color: var(--bg-alt);
}

section:nth-of-type(even) {
  background-color: #fff;
}

article {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 30%;
  margin: 0 15px 40px;
  min-width: 300px;
}

img.radius {
  border-radius: 400px 400px 0px 0px;
}

p.no-indent {
  text-indent: 0;
}

/* ===== Article cards ===== */
.article-badge {
  background-color: var(--brown);
  border-radius: 999px;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.3em;
  margin: 20px;
  padding: 0.6em 1.2em;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  top: 0;
}

.article-presentation {
  display: flex;
  flex-direction: column;
}

.article-presentation.center-text {
  align-items: center;
}

.article-presentation h3 {
  margin: 0;
  font-family: "Yeseva One", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 25.2px;
  text-transform: none;
}

.article-presentation a {
  font-family: "Yeseva One", sans-serif;
  font-size: 21px;
  line-height: 25.2px;
  color: var(--brown);
  text-decoration-color: var(--text);
  text-decoration-line: none;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-transform: none;
}

.article-presentation .el-btn-link {
  padding-top: 20px;
}

/* ===== Buttons ===== */
.el-btn-link a {
  background-color: var(--brown);
  padding: 13px 15px;
  text-decoration-line: none;
  text-transform: uppercase;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 15px;
}

/* ===== Comments ===== */
.el-comment p {
  font-family: Raleway, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28.5px;
  text-align: left;
  color: var(--text);
}

.el-comment a {
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 15.6px;
  color: var(--brown);
  text-decoration-line: none;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-transform: uppercase;
}

/* ===== Blog ===== */
.el-section-blog .el-section-content .el-section-content-text svg {
  width: 1em;
  height: 1em;
  position: relative;
  display: inline-block;
  fill: var(--text);
  line-height: 1;
  font-size: 50px;
  text-align: center;
}

.el-section-blog .el-section-content .el-section-content-text .el-link a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--brown);
  gap: 10px;
}

/* ===== Contact FAQ ===== */
.el-section-contact .el-section-contact-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.el-section-contact .el-section-contact-head h1 {
  margin: 0;
}

.el-section-contact .el-section-contact-head h3 {
  margin: 0;
  font-weight: 400;
}

.el-section-contact .el-section-contact-faq {
  background-color: var(--text);
}

.el-section-contact .el-section-contact-faq h2 {
  color: var(--bg-alt);
}

.el-section-contact .el-section-contact-faq summary {
  color: var(--bg-alt);
  font-weight: 700;
}

.el-section-contact .el-section-contact-faq p {
  color: var(--bg-alt);
  margin: 5px 10px 5px 30px;
}

/* ===== Form shared styles ===== */
.el-section-contact .el-section-contact-form label {
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  vertical-align: middle;
  color: var(--text);
  cursor: pointer;
  padding: 0 0 10px;
}

.el-section-contact .el-section-contact-form input,
.el-section-contact .el-section-contact-form textarea {
  border: 1px solid var(--brown);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  border-radius: 0px;
  min-height: 30px;
  padding: 6px 16px;
}

.el-section-contact .el-section-contact-form textarea {
  padding: 10px 16px;
}

.el-section-contact .el-section-contact-form .el-form-button {
  display: flex;
  width: 100%;
  align-items: center;
  margin: 10px 0;
}

.el-section-contact .el-form-button button {
  background-color: var(--brown);
  padding: 10px 40px;
  text-transform: uppercase;
  color: #fff;
  border: none;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 15px;
  text-align: center;
  font-family: Raleway, sans-serif;
  font-size: 12px;
}

.el-section-contact .el-form-button .btn-send-disabled {
  background-color: var(--text);
  color: #9e9e9e;
}

.el-section-contact .el-section-contact-form div.hidden {
  display: none;
}

.el-section-contact-form-extra {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.el-section-contact #message-not-send p {
  color: red;
}

/* ===== Desktop (>= 1024px) ===== */
@media (min-width: 1024px) {
  .el-title-small {
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 25px;
    margin-bottom: 16px;
    margin-top: 8px;
    text-align: left;
    text-transform: uppercase;
    word-spacing: 0px;
  }

  .el-title-big {
    font-family: "Yeseva One", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    margin-bottom: 16px;
    margin-top: 8px;
    text-size-adjust: 100%;
  }

  .el-title-big.less-big {
    font-size: 30px;
    line-height: 36px;
  }

  .el-section {
    display: flex;
    max-width: 1140px;
    align-items: center;
    justify-content: center;
  }

  .el-section-backimg-img-txt {
    align-items: normal;
  }

  .el-section-backimg-img-txt .el-section-background-img {
    display: flex;
    align-items: center;
    background-image: url(../medias/accueil-bg.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 70%;
  }

  .el-section-backimg-img-txt .el-section-content {
    padding-right: 8%;
  }

  .el-section-txt-imgbig .el-section {
    padding: 30px;
    gap: 30px;
  }

  .el-section-txt-imgbig .el-section-content-text {
    width: 35%;
  }

  .el-section-txt-imgbig .el-section-content-img {
    display: flex;
    width: 60%;
  }

  .el-section-txt-imgbig .el-section-content-img img {
    max-width: 100%;
  }

  .el-section-img-txt .el-section {
    padding: 60px 30px;
    gap: 50px;
  }

  .el-section-img-txt .el-section-content-text {
    width: 50%;
  }

  .el-section-img-txt .el-section-content-img {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 30%;
  }

  .el-section-img-txt .el-section-content-img img {
    max-width: 100%;
  }

  .el-section-articles .el-section,
  .el-section-comments .el-section {
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    max-width: 1140px;
    padding: 60px 0;
    position: relative;
    width: 100%;
  }

  .el-section-img-overflow {
    display: flex;
    align-items: center;
    width: 20%;
    max-width: 250px;
  }

  .el-section-img-overflow img {
    border-radius: 400px 400px 0px 0px;
    margin: 50px 0 50px -85%;
    object-fit: cover;
    height: 550px;
    width: 370px;
    max-width: none;
  }

  .el-section-content {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .el-section-content-text {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .el-section-content-text p {
    margin: 10px 0;
    text-align: justify;
    text-indent: 2rem;
  }

  .el-section-content-text .el-btn-link {
    margin-top: 20px;
  }

  .el-content {
    align-content: flex-start;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1140px;
    position: relative;
    width: 100%;
  }

  .el-section-vertical-contents {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: justify;
    padding: 20px 0;
  }

  .el-img {
    display: flex;
    padding: 10px;
    max-width: 350px;
    width: 40%;
  }

  .el-img > img,
  .el-img > video {
    max-width: 100%;
  }

  .el-txt {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 50%;
    text-indent: 2rem;
    align-items: center;
    text-align: justify;
  }

  .el-articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .article-img {
    position: relative;
  }

  .article-img > a {
    margin-bottom: 10px;
    position: relative;
    display: block;
    width: 100%;
  }

  .article-img img {
    width: 100%;
    max-height: none;
    max-width: none;
  }

  .el-comments {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .el-comment {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 30%;
    margin: 0 15px 40px;
    min-width: 300px;
  }

  .el-section-blog {
    display: flex;
    flex-direction: column;
  }

  .el-section-blog .el-section-content {
    display: flex;
    flex-direction: column;
    max-width: 1140px;
    padding: 30px 20px 50px;
    gap: 50px;
  }

  .el-section-blog .el-section-content .el-youtube-video {
    width: 720px;
    height: 405px;
  }

  .el-section-blog .el-section-content .el-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .el-section-blog .el-intro-img {
    display: flex;
    width: 80%;
    gap: 30px;
  }

  .el-section-blog .el-intro-img .el-section-content-img {
    display: flex;
    width: 40%;
  }

  .el-section-blog .el-intro-img .el-section-content-img img {
    display: flex;
    width: 100%;
  }

  .el-section-blog .el-intro-img .el-section-content-text {
    display: flex;
    flex-direction: column;
  }

  .el-section-blog .el-section-content .el-section-content-text {
    display: flex;
    width: 80%;
  }

  .el-section-contact .el-section-contact-content {
    max-width: 1140px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    gap: 20px;
  }

  .el-section-contact .el-section-contact-head p {
    margin: 10px 0;
  }

  .el-section-contact .el-section-contact-body {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .el-section-contact .el-section-contact-faq {
    padding: 20px;
    width: 45%;
  }

  .el-section-contact .el-section-contact-faq details {
    padding: 10px 0;
  }

  .el-section-contact .el-section-contact-form {
    padding: 20px;
    width: 45%;
    display: flex;
    background-color: #fff;
  }

  .el-section-contact .el-section-contact-form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .el-section-contact .el-section-contact-form div {
    width: 48%;
    display: flex;
    flex-direction: column;
    margin: 0 0 20px;
  }

  .el-section-contact
    .el-section-contact-form
    div.el-section-contact-form-fullwidth {
    width: 100%;
  }

  .spacer {
    margin: 10px;
  }
}

/* ===== Shared tablet + mobile (<= 1023px) ===== */
@media (max-width: 1023px) {
  .el-title-small {
    font-family: Raleway, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 21px;
    margin-bottom: 16px;
    margin-top: 8px;
    text-align: center;
    text-transform: uppercase;
    word-spacing: 0px;
  }

  .el-title-big {
    font-family: "Yeseva One", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    margin-bottom: 16px;
    margin-top: 8px;
    text-align: center;
  }

  .el-title-big.less-big {
    font-size: 30px;
    line-height: 36px;
  }

  section {
    flex-direction: column;
  }

  .el-section {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .el-section-backimg-img-txt {
    align-items: normal;
  }

  .el-section-backimg-img-txt .el-section-background-img {
    display: flex;
    align-items: center;
    background-image: url(../medias/accueil-bg.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    width: 100%;
  }

  .el-section-backimg-img-txt .el-section-content {
    padding: 15px 25px 30px;
    display: flex;
  }

  .el-section-backimg-img-txt .el-section-content-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .el-section-content-text p {
    text-align: center;
  }

  .el-section-backimg-img-txt .el-section-img-overflow {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .el-section-backimg-img-txt .el-section-img-overflow img {
    border-radius: 400px 400px 0px 0px;
    margin: -200px 0 0;
    object-fit: cover;
    max-width: 300px;
    height: 300px;
    width: 70%;
  }

  .el-section-txt-imgbig {
    padding: 40px 10px;
  }

  .el-section-txt-imgbig .el-section {
    gap: 30px;
  }

  .el-section-txt-imgbig .el-section-content-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .el-section-img-txt {
    padding: 40px 10px;
  }

  .el-section-img-txt .el-section {
    gap: 30px;
  }

  .el-section-img-txt.mobile-reverse .el-section {
    flex-direction: column-reverse;
  }

  .el-section-img-txt .el-section-content-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .el-section-img-txt .el-section-content-img img {
    max-width: 100%;
  }

  .el-section-img-txt .el-section-list-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .el-section-articles {
    padding: 40px 10px;
  }

  .el-section-articles .el-section {
    gap: 30px;
  }

  .el-section-articles .el-articles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .el-section-articles .el-articles .article-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .el-section-articles .article-presentation.center-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .el-section-articles .el-btn-link {
    justify-content: center;
  }

  article {
    align-items: center;
    margin: 0;
  }

  .el-section-comments {
    padding: 40px 10px;
  }

  .el-section-comments .el-section {
    gap: 20px;
  }

  .el-section-left-text p {
    text-align: start;
  }

  .spacer {
    padding: 10px;
  }

  .el-section-blog {
    display: flex;
    flex-direction: column;
  }

  .el-section-blog .el-section-content {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    padding: 30px 20px 50px;
    gap: 50px;
  }

  .el-section-blog .el-section-content .el-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .el-section-blog .el-intro-img {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .el-section-blog .el-intro-img .el-section-content-img {
    display: flex;
  }

  .el-section-blog .el-intro-img .el-section-content-img img {
    display: flex;
    width: 100%;
  }

  .el-section-blog .el-intro-img .el-section-content-text {
    display: flex;
    flex-direction: column;
  }

  .el-section-blog .el-section-content .el-section-content-text {
    display: flex;
    flex-direction: column;
  }

  .el-section-blog .el-section-content .el-section-content-text p {
    text-align: justify;
  }

  .el-section-contact .el-section-contact-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
  }

  .el-section-contact .el-section-contact-head h3 {
    padding: 0 20px;
  }

  .el-section-contact .el-section-contact-head p {
    margin: 10px 20px;
    text-align: center;
  }

  .el-section-contact .el-section-contact-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .el-section-contact .el-section-contact-faq {
    padding: 20px 0;
    width: 100%;
  }

  .el-section-contact .el-section-contact-faq details {
    padding: 10px 20px;
  }

  .el-section-contact .el-section-contact-form {
    padding: 20px 0;
    width: 100%;
    display: flex;
    background-color: #fff;
  }

  .el-section-contact .el-section-contact-form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
  }

  .el-section-contact .el-section-contact-form div {
    display: flex;
    flex-direction: column;
    margin: 0 0 20px;
  }

  .el-section-contact
    .el-section-contact-form
    div.el-section-contact-form-fullwidth {
    width: 100%;
  }
}

/* ===== Tablet only (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .el-section-txt-imgbig .el-section-content-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .el-section-txt-imgbig .el-section-content-img img {
    max-width: 80%;
  }

  .el-section-img-txt .el-section-content-img {
    width: 300px;
  }

  .el-content {
    display: flex;
    align-content: flex-start;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 40px;
    max-width: 1140px;
    width: 100%;
  }

  .el-section-vertical-contents {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px 10px;
    text-align: justify;
    text-indent: 2rem;
  }

  .el-img {
    display: flex;
    padding: 10px;
    max-width: 350px;
    width: 30%;
  }

  .el-img > img,
  .el-img > video {
    max-width: 100%;
  }

  .el-txt {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 60%;
    align-items: center;
  }

  .el-section-articles .el-articles .article-img img {
    max-width: 100%;
    width: 300px;
  }

  .el-section-comments .el-comments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .el-comment {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 20px;
    width: 40%;
  }

  .el-section-blog .el-section-content .el-youtube-video {
    width: 560px;
    height: 315px;
  }

  .el-section-contact .el-section-contact-form div {
    width: 48%;
  }
}

/* ===== Mobile only (<= 767px) ===== */
@media (max-width: 767px) {
  .el-title-big.less-big {
    font-size: 30px;
  }

  .el-section-txt-imgbig .el-section-content-img {
    width: 100%;
  }

  .el-section-txt-imgbig .el-section-content-img img {
    max-width: 100%;
  }

  .el-section-img-txt .el-section-content-img {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .el-section-vertical-contents {
    padding: 40px 10px;
    gap: 30px;
    text-align: justify;
  }

  .el-section-vertical-contents .el-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .el-section-vertical-contents .el-content.mobile-reverse {
    flex-direction: column-reverse;
  }

  .el-section-vertical-contents .el-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-indent: 2rem;
  }

  .el-section-vertical-contents .el-img {
    width: 70%;
  }

  .el-section-vertical-contents .el-img img,
  .el-section-vertical-contents .el-img video {
    max-width: 100%;
  }

  .el-txt {
    width: 90%;
  }

  .el-section-articles .el-articles .article-img img {
    max-width: 100%;
    width: 100%;
  }

  article {
    max-width: 100%;
    min-width: 100%;
  }

  .el-section-comments .el-comments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .el-comment {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 20px;
  }

  .el-section-txt {
    padding: 20px 10px;
  }

  .el-section-txt p {
    text-align: justify;
    text-indent: 2rem;
  }

  .el-section-blog .el-section-content .el-youtube-video {
    width: 390px;
    height: 235px;
  }

  .el-section-contact .el-section-contact-form div {
    width: 100%;
  }
}
