/*	Theme Name: Le Sémaphore Vannes
	Theme URI: https://le-semaphore-vannes.com/
	Description: Grand Ouest Immo
	Version: 1
	Author: L'Encre bleue
	Author URI: https://alencrebleue.com
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  color: var(--color-secondary);
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: "Open Sans", sans-serif;
  background: var(--color-primary);
  position: relative;
  margin: 0;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -ms-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
ol {
  list-style-type: none;
  margin-left: 1rem;
}

#backtop {
  padding: 0;
}

/* open-sans-regular - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-300.eot");
  /* IE9 Compat Modes */
  src:
    local(""),
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-300.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-300.woff2") format("woff2"),
    /* Super Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-300.woff") format("woff"),
    /* Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-300.ttf") format("truetype"),
    /* Safari, Android, iOS */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-300.svg#OpenSans") format("svg");
  /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-regular.eot");
  /* IE9 Compat Modes */
  src:
    local(""),
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-regular.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-regular.woff") format("woff"),
    /* Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-regular.ttf") format("truetype"),
    /* Safari, Android, iOS */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-regular.svg#OpenSans") format("svg");
  /* Legacy iOS */
}

/* open-sans-600 - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-600.eot");
  /* IE9 Compat Modes */
  src:
    local(""),
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-600.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-600.woff2") format("woff2"),
    /* Super Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-600.woff") format("woff"),
    /* Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-600.ttf") format("truetype"),
    /* Safari, Android, iOS */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-600.svg#OpenSans") format("svg");
  /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-700.eot");
  /* IE9 Compat Modes */
  src:
    local(""),
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-700.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-700.woff") format("woff"),
    /* Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-700.ttf") format("truetype"),
    /* Safari, Android, iOS */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-700.svg#OpenSans") format("svg");
  /* Legacy iOS */
}

/* open-sans-800 - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-800.eot");
  /* IE9 Compat Modes */
  src:
    local(""),
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-800.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-800.woff2") format("woff2"),
    /* Super Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-800.woff") format("woff"),
    /* Modern Browsers */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-800.ttf") format("truetype"),
    /* Safari, Android, iOS */
    url("/wp-content/themes/Sémaphore/assets/fonts/open-sans/open-sans-v27-latin-800.svg#OpenSans") format("svg");
  /* Legacy iOS */
}

/*------------------------------------*\
    VARIABLE
\*------------------------------------*/

:root {
  --color-primary: #F1EAE4;
  --color-secondary: #004147;
  --color-terceary: #6BC2C0;
  --gradiant: linear-gradient(90deg, #004147 30.09%, #003F45 57.06%, #00333B 69.91%);
}

/*------------------------------------*\
    MARGE SUR MENU ADMIN (lorsque le menu est en fixe, il est caché en partie)
\*------------------------------------*/
.logged-in.admin-bar header {
  margin-top: 32px;
}

/*------------------------------------*\
    LA GRID
\*------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  width: 90%;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row>* {
  float: left;
  width: 100%;
}

.row::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1280px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1199px) {
  .container {
    max-width: 1060px;
  }
}

@media screen and (min-width: 1024px) {
  .row>* {
    padding-left: 0.9375em;
    padding-right: 0.9375em;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    width: 95%;
  }
}

@media screen and (max-width: 1023px) {
  .row>* {
    padding-left: 0.46875em;
    padding-right: 0.46875em;
  }
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
a {
  text-decoration: none;
}

a:hover {
  color: var(--color-terceary);
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
}

:focus {
  outline: none;
}

.loghead {
  max-width: initial;
}

/* =========================
      FOOTER 
===========================*/
footer {
  background: var(--color-secondary);
  padding: 4rem 0 1rem;
}

footer * {
  color: var(--color-primary);
}

footer .bloc-3:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .bloc-3:first-child img {
  max-width: 170px;
  object-fit: contain;
  margin: 0;
}

footer .bloc-3:nth-child(2),
footer .bloc-3:last-child {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

footer h3 span {
  font-size: 16px;
  font-weight: 400;
}

footer .tel,
footer .mail,
footer .adresse {
  display: flex;
  gap: 0.5rem;
}

footer .tel::before {
  content: url(/wp-content/themes/Sémaphore/images/tel.svg);
}

footer .mail::before {
  content: url(/wp-content/themes/Sémaphore/images/mail.svg);
}

footer .adresse::before {
  content: url(/wp-content/themes/Sémaphore/images/adresse.svg);
}

footer .mlpc {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--color-primary);
}

footer .mlpc p {
  text-align: center;
  font-size: 14px;
  margin: 0;
}

footer .mlpc a {
  text-decoration: underline;
}

/* =========================
      FIN FOOTER 
===========================*/

/* RESPONSIVE */
@media only screen and (min-width: 801px) {
  .bloc-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .bloc-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bloc-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    max-width: 33.3%;
  }

  .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .bloc-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .bloc-2-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66%;
    flex: 0 0 66.66%;
    max-width: 66.66%;
  }

  .bloc-3-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .bloc-2-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }

  .bloc-3-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
  }

  .bloc-4-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
  background: #424242;
  color: #fff;
  text-shadow: none;
}

::-webkit-selection {
  background: #424242;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #424242;
  color: #fff;
  text-shadow: none;
}

/*------------------------------------*\
    Modif
\*------------------------------------*/
section {
  padding: 4rem 0;
}

h1,
h2,
h3 {
  line-height: 1;
  font-weight: 400;
}

h2 {
  font-size: 38px;
  margin-bottom: 2rem;
}

h3 {
  font-size: 23px
}

p {
  margin-bottom: 1rem;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.grp-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn {
  color: var(--color-secondary);
  font-weight: 700;
  background: var(--color-primary);
  text-align: center;
  width: fit-content;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border-radius: 35px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-primary);
  transition: all 0.3s;
}

.btn2 {
  background: var(--color-terceary);
  border-color: var(--color-terceary);
}

.btn3 {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

.btn img {
  width: 20px;
  margin: 0;
}

.btn:hover {
  background: var(--color-terceary);
  color: var(--color-secondary);
  border-color: var(--color-terceary);
}

.btn2:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn3:hover {
  background: var(--color-terceary);
  color: var(--color-primary);
  border-color: var(--color-terceary);
}

/* Page appartement */

/* section hero */

.hero {
  background: var(--gradiant);
  padding: 0;
}

.hero .bloc-2:first-of-type img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .logo {
  max-width: 70%;
}

.hero .bloc-2:last-of-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  padding: 2rem 1rem;
}

.hero h2 {
  color: var(--color-terceary);
  font-size: 30px;
}

.hero p {
  color: var(--color-primary);
}

/* section avantage */

.avantage {
  padding-bottom: 0;
}

.avantage img {
  max-width: 60px;
  margin-bottom: 1rem;
}

.avantage p {
  font-size: 18px;
  text-align: center;
}

/* section offre */

.offre {
  padding: 4rem 0 0;
}

.offre .bloc-1 {
  background: var(--gradiant);
}

.offre .contenu {
  padding: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.offre .contenu * {
  text-align: center;
  margin: 0;
}

.offre .contenu h2,
.offre .contenu p,
.offre .position li,
.offre .contenu b {
  color: var(--color-primary);
}

.offre .position p {
  color: var(--color-terceary);
  font-weight: 700;
}

.offre .position ul {
  margin: 0;
}

.toggle-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: var(--color-primary);
  border-radius: 60px;
  padding: 5px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.toggle-pill-bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background: var(--color-terceary);
  border-radius: 55px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.toggle-pill.on .toggle-pill-bg {
  transform: translateX(100%);
}

.toggle-pill-label {
  position: relative;
  z-index: 1;
  padding: 14px 44px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  min-width: 160px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  background: var(--color-primary);
}

thead th {
  padding: 20px 30px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-secondary);
}

tbody td {
  padding: 18px 30px;
  font-size: 1rem;
}

tbody tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.35);
}

tbody td:last-child {
  font-weight: 700;
}

tbody tr {
  animation: fadeInRow 0.35s ease both;
}

tbody tr:nth-child(1) {
  animation-delay: 0.03s;
}

tbody tr:nth-child(2) {
  animation-delay: 0.06s;
}


tbody tr:nth-child(3) {
  animation-delay: 0.09s;
}

tbody tr:nth-child(4) {
  animation-delay: 0.12s;
}

@keyframes fadeInRow {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offre .dispositif {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.offre .dispositif img {
  max-width: 60px;
  margin: 0;
}

/* section contact */

.contact .bloc-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  text-align: center;
}

.contact .gform_wrapper {
  max-width: 600px;
}

.contact #gform_1 input,
.contact #gform_1 select {
  border-color: lightgray;
  border-radius: 8px;
}

.contact #gform_1 .obli {
  font-size: 12px;
}

.contact #gform_1 #gform_submit_button_1 {
  background-color: var(--color-secondary);
  background-image: url(/wp-content/themes/Sémaphore/images/send.svg);
  background-repeat: no-repeat;
  background-position: 20px center;
  padding: 1rem 1.5rem 1rem 3rem;
  border-radius: 32px;
  text-transform: uppercase;
  color: white;
}

.contact #gform_1 #gform_submit_button_1:hover {
  background-color: var(--color-terceary);
}

.contact #gform_confirmation_wrapper_1 {
  font-size: 18px;
}

/* section visuel */

.visuel {
  background: url(/wp-content/themes/Sémaphore/images/batiment.jpg);
  background-repeat: no-repeat;
  min-height: 1150px;
  position: relative;
}

.visuel .container {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.visuel .bloc-1 {
  background: var(--color-primary);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visuel .bloc-1 * {
  text-align: center;
}

/* section presentation */

.presentation .bloc-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation .bloc-2:nth-child(1) {
  padding-right: 0;
}

.presentation .bloc-2:nth-child(2) {
  padding: 1rem 1rem 1rem 2rem;
}

.presentation .bloc-2:nth-child(3) {
  padding: 1rem 2rem 1rem 1rem;
}

.presentation .bloc-2:nth-child(4) {
  padding-left: 0;
}

.presentation .bloc-2 img {
  margin: 0;
  display: block;
  height: 100%;
  object-fit: cover;
}

.presentation li,
.coordonnee li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5rem 0;
}

.presentation li::before,
.coordonnee li::before {
  content: url(/wp-content/themes/Sémaphore/images/puce.svg);
  display: block;
  min-width: 20px;
}

.presentation .bloc-2:nth-child(3) ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.presentation .bloc-2:nth-child(3) li {
  width: 48%;
}

.presentation .bloc-1 {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* section coordonnées */

.coordonnee {
  background: var(--gradiant);
}

.coordonnee .bloc-2:last-child * {
  color: var(--color-primary);
}

/* section info */

.info .bloc-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.info h2,
.info p,
.info span {
  color: var(--color-secondary);
  margin: 0;
  text-align: center;
}

.info span {
  font-style: italic;
}

@media screen and (min-width: 1025px) and (max-width: 1190px) {
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 21px;
  }

  .visuel {
    min-height: 1050px;
  }
}

@media screen and (max-width: 1024px) {
  .hero .container {
    width: 100%;
  }

  .hero .bloc-2:first-child {
    padding: 0;
  }

  .hero h2 {
    font-size: 28px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1024px) {
  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .offre .contenu {
    padding: 2rem;
  }

  .visuel {
    min-height: 950px;
  }

}

@media screen and (max-width: 800px) {
  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .grp-btn {
    justify-content: center;
  }

  .hero .bloc-2:first-of-type img {
    max-height: 600px;
  }

  .avantage {
    padding: 4rem 0;
  }

  .offre {
    padding: 4rem 0;
    background: var(--gradiant);
  }

  .offre .contenu {
    padding: 0;
    background: none;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin: 0 0 16px;
    padding: 16px;
    border-radius: 12px;
  }

  tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 1);
  }

  tbody td {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  tbody td:last-child {
    border-bottom: none;
  }

  tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    opacity: 0.6;
    margin-right: 16px;
    flex-shrink: 0;
  }

  .contact .gform_wrapper {
    max-width: 90%;
  }

  .presentation .bloc-2:nth-child(1),
  .presentation .bloc-2:nth-child(2),
  .presentation .bloc-2:nth-child(3),
  .presentation .bloc-2:nth-child(4) {
    padding: 0 O.5rem;
  }

  .presentation .bloc-2:nth-child(1) {
    order: 1;
  }

  .presentation .bloc-2:nth-child(2) {
    order: 2;
  }

  .presentation .bloc-2:nth-child(3) {
    order: 4;
  }

  .presentation .bloc-2:nth-child(4) {
    order: 3;
  }

  .presentation .bloc-1 {
    order: 5;
  }

  .presentation .bloc-2:nth-child(3) ul {
    display: block;
  }

  .presentation .bloc-2:nth-child(3) li {
    width: 100%;
  }

  .coordonnee .bloc-2:first-child {
    order: 2;
  }

  .coordonnee .bloc-2:last-child {
    order: 1;
    margin-bottom: 2rem;
  }

}

@media screen and (min-width: 481px) and (max-width: 800px) {

  .avantage .row {
    justify-content: center;
  }

  .avantage .bloc-5 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .visuel {
    min-height: 700px;
  }

  .visuel .container {
    transform: translate(-50%, -39%);
  }

  footer .bloc-3:first-child {
    justify-content: center;
    margin-bottom: 2rem;
  }

  footer .bloc-3:nth-child(2),
  footer .bloc-3:last-child {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 639px) {

  .gform-theme--foundation .gform-grid-row,
  .gform-theme--foundation .gform_fields {
    row-gap: 16px !important;
  }
}

@media screen and (max-width: 480px) {
  .visuel {
    min-height: 600px;
  }

  .visuel .container {
    transform: translate(-50%, -12%);
  }

  footer .bloc-3:first-child {
    justify-content: center;
  }

  footer .bloc-3:nth-child(2) {
    margin: 2rem 0;
  }
}

/* Front page */

#accueil {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 65, 71, 0.88), rgba(0, 65, 71, 0.88)), url(/wp-content/themes/Sémaphore/images/fond-home.webp) center / cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.head-home img {
  max-width: 280px;
}

.content-home h1 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-primary);
}

.content-home .grp-btn {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.content-home .grp-btn a {
  width: 280px;
  padding: 2rem;
  background: var(--color-primary);
  border-radius: 32px;
  transition: all 0.3s;
}

.content-home .grp-btn a:hover {
  background: var(--color-secondary);
}

.content-home .grp-btn a:first-child:hover img {
  content: url(/wp-content/themes/Sémaphore/images/apps-hov.svg);
}

.content-home .grp-btn a:last-child:hover img {
  content: url(/wp-content/themes/Sémaphore/images/shop-hov.svg);
}

.content-home .grp-btn a p {
  color: var(--color-secondary);
  text-align: center;
  margin: 0;
}

.content-home .grp-btn a:hover p {
  color: var(--color-primary);
}

.content-home .grp-btn a .titre {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 801px) and (max-width: 1024px) {}

@media screen and (min-width: 481px) and (max-width: 800px) {
  #accueil {
    gap: 5rem;
  }
}

@media screen and (max-width: 480px) {
  #accueil {
    gap: 0;
  }
}

/* Page commerce */

#commerce {
  min-height: 100vh;
  background: url(/wp-content/themes/Sémaphore/images/fond-commerce.webp) center / cover no-repeat fixed;
  display: flex;
  align-items: center;
}

.content-commerce .card {
  padding: 2rem;
  background: var(--color-secondary);
  border-radius: 32px;
}

.content-commerce .card img {
  max-width: 220px;
}

.content-commerce .card h1,
.content-commerce .card p {
  color: var(--color-primary);
}

.content-commerce .card h1 {
  font-size: 30px;
  font-weight: 700;
  margin-top: 2rem;
}

.content-commerce .card p {
  margin: 2rem 0 0 0;
}


.content-commerce .card .grp-btn {
  margin-top: 2rem;
}

.content-commerce .card .grp-btn a {
  display: flex;
  gap: 1rem;
}

.content-commerce .card .grp-btn a:first-child::before {
  content: url(/wp-content/themes/Sémaphore/images/mail-hov.svg);
}

.content-commerce .card .grp-btn a:last-child::before {
  content: url(/wp-content/themes/Sémaphore/images/tel-hov.svg);
}

.nos-co .bloc-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nos-co .bloc-1 * {
  text-align: center;
}

.nos-co h2,
.nos-co p {
  color: var(--color-secondary);
}

.nos-co .bloc-1>p {
  max-width: 70%;
  margin-bottom: 2rem;
}

.nos-co .grp-btn {
  gap: 1.5rem;
}

.nos-co .grp-btn a {
  width: 280px;
  padding: 2rem;
  background: white;
  border-radius: 32px;
  transition: all 0.3s;
}

.nos-co .grp-btn a:last-child {
  background: var(--color-secondary);
}

.nos-co .grp-btn a:last-child * {
  color: white;
}

.nos-co .grp-btn a:hover {
  background: var(--color-secondary);
}

.nos-co .grp-btn a:first-child:hover img {
  content: url(/wp-content/themes/Sémaphore/images/mail-wh.svg);
}

.nos-co .grp-btn a:last-child:hover {
  background: white;
}

.nos-co .grp-btn a:last-child:hover p {
  color: var(--color-secondary);
}

.nos-co .grp-btn a:last-child:hover img {
  content: url(/wp-content/themes/Sémaphore/images/tel-hov.svg);
}

.nos-co .grp-btn a p {
  color: var(--color-secondary);
  text-align: center;
  margin: 0;
}

.nos-co .grp-btn a:hover p {
  color: white;
}

.nos-co .grp-btn a .titre {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Page ml & pc */

#mentions-legales #legal-notice,
#politique-de-confidentialite #privacy-policy {
  padding: 0;
}

#mentions-legales h2,
#politique-de-confidentialite h2 {
  text-transform: uppercase;
}

#mentions-legales p,
#politique-de-confidentialite p {
  padding: 0;
}

#mentions-legales ul,
#politique-de-confidentialite ul {
  list-style: disc;
}

#mentions-legales ol,
#politique-de-confidentialite ol {
  list-style: circle;
}

#mentions-legales li,
#politique-de-confidentialite li {
  margin: 0.5rem 0;
}

/* All page */

.head {
  background: var(--color-secondary);
}

.head img {
  max-width: 280px;
}