@import "variables.css";
@import "menu.css";
@import "gallery.css";
@import "scroll.css";
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}


body {
	font-family: Montserrat, sans-serif;
}

footer {
	background: var(--color-dark);
	font-size: 0.8rem;
	color: white;
	border-top : 1.5px solid var(--color-orange);
}

.pucePerso {
	list-style-type: '\00261B';
	padding-inline-start: 1ch;
}

.pucePerso::marker {
	font-size: 1.5rem;
	color: rgba(215, 159, 53, 1);
}

.image-fond-section {
	background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1)),
	url("https://acces-automatiques.fr/src/imgs/gallery/logoFonds.png");
	background-position: 50% 50%;
	background-size: contain;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.h3svg-group {
	width: fit-content;
}

.titre-h3 {
  font-family: "Aguafina Script", cursive;
  font-weight: 400;
  font-style: normal;
  color:rgba(215, 159, 53, 1);
  font-size: clamp(1.9rem, 3vw, 4rem);
  letter-spacing: 10%;
}

.titre-h3p {
	padding-top: 8%;
}

.underline--magical {
  background-image: linear-gradient(120deg, #131e23 0%, #131e24 100%);
  background-repeat: no-repeat;
  background-size: 100% 50%;
  background-position: 0 30%;
  transition: background-size 0.25s ease-in;
  &:hover {
    background-size: 102% 88%;
  }
}

.texteSpan {
	font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.hero {
	position: relative;
	background-image: url("https://acces-automatiques.fr/src/imgs/gallery/imageAccueil2.jpg");
	background-size: cover;
	background-position: center;
	min-height: 90vh;
}

.accroche {
	position: absolute;
    top: clamp(48vh, 57vh, 57vh);
	width:100%;
	height: 36.9%;
	color:rgba(215, 159, 53, 1);
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
}

.accroche h1 {
  padding-top: clamp(0.5em, 2%, 2%);
  font-family: "Aguafina Script", cursive;
  font-weight: 400;
  font-style: normal;
  color:rgba(215, 159, 53, 1);
  font-size: clamp(2.3em, 4vw, 4vw);
  letter-spacing: 10%;
}

.accroche h4 {
  font-family: "Aguafina Script", cursive;
  font-weight: 400;
  font-style: normal;
  color:rgba(215, 159, 53, 1);
  font-size: clamp(1.5em, 2vw, 3vw);
  letter-spacing: 10%
}

.flip {
	display: inline-block;
	transform: scale(-1, 1);
}

.svg-container {
	fill: rgba(215, 159, 53, 1);
	width: 100%
	height: auto;
	max-width: var(--h3-width);
	padding-bottom: 8%;
}

.accroche svg {
  width: clamp(100px, 35%, 400px);
  fill: rgba(215, 159, 53, 0.9);
  padding: 0.5rem 0;
}

.medaillon-container {
  position: absolute;
  right: clamp(0.4vw,5vw,5vw);
  bottom: 0;
  transform: translateY(80%);
  z-index: 10;
}

.medaillon-container a {
	color: #555;
}

.medaillon-container a:hover {
	color: white;
}

.medaillon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 215px;
  height: 215px;
}

.medaillon img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.medaillon-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: clamp(0.8rem, 2vw, 1rem);
  width:90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.medaillon-text span {
	width: 100%;
	text-align: center;
}

.medaillon-text span.with-line {
	position: relative;
	padding-bottom: 6px;
}

.medaillon-text span.with-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  height: 1px;
  background-color: #dfb24a;
}

@media (max-width: 1024px) {
  .medaillon-container {
    transform: translateY(65%);
  }

  .medaillon {
    width: 134px;
    height: 134px;
  }

  .medaillon-text {
    font-size: 0.65rem;
  }
}

.mot-clef {
	font-weight: 700;
}

.custom-justify {
  text-align: justify;
  text-justify: inter-word;
}

.img-G {
	width: 85%;
	object-fit: cover;
	object-position: center;
	border-radius: 15px;
}

.img-D {
	width: 96%;
	object-fit: cover;
	object-position: center;
	border-radius: 15px;
}

.responsive-img {
	max-width: 100%;
	height: auto;
	width: auto;
	object-fit: cover;
	object-position: center;
	border-radius: 15px;
}

.a-perso {
	color: black;
}

.a-perso:hover {
	color: var(--color-orange);
}

.svg-icon-prof svg {
	fill: white;
	visibility: visible;
	opacity: 1;
	max-width: 100%;
	max-height: 100%;
}

.ancres {
  scroll-margin: 100px;
}

.marginTop {
	margin-top: 3%;
}

.contact-button, .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: rgba(239, 131, 34, 1);
	padding: 0.625rem 1.5rem;
	text-align: center;
	color: rgba(255, 255, 255, 1);
	outline: 0;
	transition: all  .2s ease;
	text-decoration: none;
}

.contact-button:hover, .btn:hover {
	border: 2px solid rgba(239, 131, 34, 1);
	background-color: transparent;
	color: rgba(0, 0, 0, 1);
}

.icon {
	height: 1.5rem;
	width: 1.5rem;
}

.texts {
	margin-left: 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1;
}

.text-1 {
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	line-height: 1rem;
}

.text-2 {
	font-weight: 600;
}

.color-col {
	background-color: var(--color-dark);
	color: white;
}

.color-picto {
	color: var(--color-orange);
}

.animGvD {
	animation: animForGvD 4s;
}

@keyframes animForGvD {
  0% {
    transform: translateX(-1500px);
    opacity: 0;
    ease-in-out;
  }
  100% {
    reansform: translateX(0);
    opacity: 1;
    ease-out-in;
  }
}

.animDvG {
	animation: animForDvG 4s;
}

@keyframes animForDvG {
  0% {
    transform: translateX(1500px);
    opacity: 0;
    ease-in-out;
  }
  100% {
    reansform: translateX(0);
    opacity: 1;
    ease-out-in;
  }
}

.gradient-borderG {
	border-inline-start: 2px solid;
	border-block-start: 2px solid;
	border-image-source:
		radial-gradient(
			circle at top left,
			var(--color-orange),
			transparent 25%);
	border-image-slice: 1;
  padding: 15px 5px 5px 15px;
}

.gradient-borderD {
	border-inline-end: 2px solid;
	border-block-end: 2px solid;
	border-image-source:
		radial-gradient(
			circle at bottom right,
			var(--color-orange),
			transparent 25%);
	border-image-slice: 1;
  padding: 15px 5px 5px 15px;
}

.titre-contact {
	font-style: italic;
	font-weight: bold;
	text-align: center;
}

.map-wrapper {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	border: 1px solid var(--color-orange);
	margin-bottom: 10px;
}

.custom-gap {
	column-gap: 6em;
}

.partners {
	background-color: rgba(70, 72, 74, 0.5);
}

.partners p {
	font-family: "Aguafina Script", cursive;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 10%;
	font-size: clamp(0.9rem, 1.25rem, 2rem);
	font-weight: bold;
	padding-top: 35px;
}

.form-devis input, .form-devis textarea, .form-devis select {
	border: 1px solid var(--color-orange) !important;
}

.form-devis input:hover, .form-devis textarea:hover, .form-devis select:hover {
	box-shadow: 0 0 15px rgba(0,0,0,0.1) !important;
}

.mobile-order {
	flex-direction: column-reverse !important;
}

.row {
	transition: flex-direction 0.5s ease-in-out;
}
