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

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

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

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* 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 {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
/*
article > * + * {
  margin-top: 1em;
}*/

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

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

strong{font-weight: bold;}


:root {
    --main-color: #275a8b;
    --secondary-color: #e6a442;
}

.secondary{color: var(--secondary-color);}
.container{max-width: 1240px; width: auto; margin: auto; padding: 0 20px;}

body{font-size: 16px; font-family: 'Roboto', sans-serif; color: var(--main-color);}

header{display: flex; justify-content: space-between; padding: 20px 0!important;}
header .left img{width: 200px;}
header .right {text-align: right;}
header .right .tel{font-size: 20px; font-weight: bold;}
header .right .mail{font-weight: bold;}
header .right .adresse{font-size: 12px;}

main {margin-bottom: 40px;}

main .photo{height: 300px;}
main .photo img{width: 100%; height: 100%; object-fit: cover;}

main .intro{background: #EEE;}
main .intro img{position: relative; top: -220px; margin: 0 auto -220px; max-width: 600px}
main .intro p{max-width: 70%; margin: 0px auto; padding:30px 0; font-style: italic; text-align: center;}

main .content h1{font-weight: 300; text-transform: uppercase; text-align: center; font-size: 50px; line-height:1; margin: 40px 0;}
main .content .line{display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px;}
main .content .line .bloc .picto{width: 80px; margin-bottom: 10px;}
main .content .line .bloc h2{text-transform: uppercase; font-size: 20px; line-height: 1; margin-bottom: 10px;}


@media (max-width: 991px){
  header{display: block; }
  header .left img{margin: 20px auto; }
  header .right{text-align: center; margin-bottom: 30px;}
  main .intro img{top: -120px; margin: 0 auto -120px; max-width: 360px}
  main .intro p{max-width: 100%}
  main .content .line{grid-template-columns: repeat(2, 1fr);}
  main .content h1{font-size: 40px;}
}

@media (max-width: 576px){

  main .content .line{grid-template-columns: repeat(1, 1fr);}
}