/* //////Reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles, margin and padding on ul, ol elements with a class, which suggests default styling will be removed */
ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reset perso */



html {
    font-size: 62.5%; /* 1rem = 10px avec une base utilisateur de 16px */
}

/* Remove focus for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Set core body defaults */
body {
  font-size: 1.6rem;
}

/* Set text selection */
::selection {
  color: #714D2B;
  background-color: #EACE9C;
}

/* Set cursor pointer */
label[for],
button,
input[type="submit"],
select {
  cursor: pointer;
}

/* Remove font style on address */
address {
  font-style: normal;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  white-space: normal;
}


/* Print external URLs */
@media print {
  a[href]:not([href^='#'])::after {
    content: '('attr(href)')';
  }
}
/* ///////style */
body{
   
    font-family: system-ui, -apple-system, sans-serif;
    color: #714D2B;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    background-color: #EACE9C;
}
.container{
    max-width: 125rem;
    margin: auto;
    padding-inline: 2.4rem;

}
h1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border-bottom: 2px solid #714D2B; */
    padding-bottom: 1rem;
    font-size: clamp(1.8rem, 1.6rem + 2vw, 2rem);
    color: #7A5B33;
}
h1 span{
    font-size: clamp(3rem, 1.6rem + 2vw, 7rem);
    color: #714D2B;
}
h2{
  opacity: 0;
  font: 0/0 a;
}
header{
    padding-bottom: 1rem;
    background-color: #EACE9C;
}
header img{
    border-radius: 50%;
    border: 5px solid #EACE9C;
    margin: auto;
}
main{
   background-color: #EACE9C;
}
.services{
   
    padding-bottom: 5.6rem;
}
ul.list-services{
    display: inline-flex;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    border-top: 2px solid #714D2B;
    padding-top: 2rem;
}
.item-services{
    position: relative;
}
.item-services::before{
    content: "";
    height: 3rem;
    width: 1px;
    display: block;
    position: absolute;
    right: -2rem;
    background-color: #714D2B;
}
.item-services.last::before{
    content:none
}
@media(max-width:62em){
    .list-services{
        flex-direction: column;
    }
    .item-services::before{
        height: 1px;
        width: 100px;
        bottom: -2rem;
        right: calc(50% - 50px);
    }
}
footer{
    background-color: #714D2B;
    color: #EACE9C;
    padding: 3rem 0;
}
footer a{
    color: #EACE9C;
    text-decoration: none;
    transition: ease-in-out .3s;
}
footer a:hover{
    color:#ffffff;
}


ul.coord-list{
    display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: flex-end;
  padding-block: 2.4rem;
  padding-inline: 2.4rem;
  font-size: 1.4rem;
}
.coord-item{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.coord-item img{
    margin: auto;
}
.coord-item p, .coord-item a{
    border-top: 1px solid #EACE9C;
    padding-top: .5rem;
}

@media(max-width:36em){
    .list-services{
        flex-direction: column;
    }
    .item-services::before{
        height: 1px;
        width: 100px;
        bottom: -2rem;
        right: calc(50% - 50px);
    }
    ul.coord-list{
        flex-direction: column;
        align-items: center;
    }
}