/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  color: #252525;
  background: #ffffff;
}

/* Variables (ajuste si besoin) */
:root{
  --text: #252525;
  --muted: #4b5563;

  --blue: #0b63ff;        /* bouton principal */
  --blue-700: #094fe0;

  --soft: #cfe1ff;        /* bouton secondaire */
  --soft-text: #0b63ff;

  --container: 1740px;
}

/* Hero */
.hero{
 background: #F3EBDE;
background: -webkit-linear-gradient(0deg, rgba(243, 235, 222, 1) 0%, rgba(249, 247, 244, 1) 100%);
background: -moz-linear-gradient(0deg, rgba(243, 235, 222, 1) 0%, rgba(249, 247, 244, 1) 100%);
background: linear-gradient(0deg, rgba(243, 235, 222, 1) 0%, rgba(249, 247, 244, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F3EBDE", endColorstr="#F9F7F4", GradientType=0);
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 46px 18px 52px;
}

/* Logo */
.brand{
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.brand__logo{
  height: 87px;
  width: auto;
  object-fit: contain;
}

/* Grid titre / texte */
.hero__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 30px;
}

.hero__title{
  margin: 0;
  font-size: 50px;
  line-height: 65px;
  font-weight: 400;  
  color: #252525;
  text-align: right;
}

.hero__copy{
  margin: 0;
}

.hero__copyTitle{
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 35px;
  font-weight: 400;
  color: #252525;
  text-align:left;
}

.hero__copyText{
  margin: 0;
  font-size: 18px;
  line-height: 30px;
  color: #252525;
  font-weight:300;
  text-align:left;
}

/* Boutons */
.hero__cta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 26px;
}

.hero__cta > div:first-child {
	text-align: right;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  border: 1px solid transparent;
  transition: transform .05s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover{
  background: var(--blue-700);
}

.btn--soft{
  background: var(--soft);
  color: var(--soft-text);
}
.btn--soft:hover{
  filter: brightness(0.97);
}

/* ===== Services ===== */
.services{
  position: relative;
  z-index:10;
  padding: 0px 0px 110px;
  
}
.services::after {
	display:block;
	content:""; 
	width:100%; 
	height: calc(100% - 90px);
	position: absolute;
	left:0;
	bottom:0;
	background: url(fond-hebergement.jpg) no-repeat center center;
	background-size: cover;
	z-index:10;
	margin-top: 90px;
}

.services .container{
  position: relative;
  z-index:11;
}

/* Remplace assets/bg-pattern.png par ton image de fond réelle */

.services__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service{
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 0px 30px rgba(56,56,56,0.15);
  position: relative;
  overflow: hidden;
  max-width: 525px;
  container-type: inline-size; 
  container-name: container-service; 
}

.service::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #ffd400, #ffb703);
}

.service > div {	
  padding: 50px;
}

.service__title{
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 55px;
  font-weight: 300;
  color: #252525;
}

.service__text{
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 25px;
  font-weight:300;
  color: #4f5254;
}

.service__tags{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 0px;
}

.service__tags span{
  background: #ccdffb;
  color: #0060ec;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
}

@container container-service (max-width: 460px) {
	.service > div {padding: 30px;}
	.service__title {
    line-height: 45px;
	font-size: 33px;
	}
}

@container container-service (max-width: 420px) {
	.service > div {padding: 15px 20px;}
	.service__title {
		line-height: 35px;
		font-size: 27px;
	}
	.service__tags {
	justify-content:center;
	}
	
}

@media all and (max-width:1240px) {
	.hero__title {
	  font-size: 40px;
	  line-height: 55px;
	}
	.services__inner {
		gap: 20px;
	}
	.services {
		padding: 0px 0px 30px;
	}
}

@media all and (max-width:990px) {
	.hero__title {
	  font-size: 35px;
	  line-height: 42px;
	}
	.hero__copyTitle {
		font-size: 22px;
		line-height: 31px;
	}
	.hero__copyText {
		font-size: 16px;
		line-height: 26px;
	}
	.btn {
		  font-size: 16px;
		    height: 45px;
	}
	
	.services__inner {
		display: flex;
		flex-wrap:wrap;
		justify-content:center;
		align-items: stretch;
	}
	 .service {
		 width: calc(50% - 20px);
	 }
}

@media all and (max-width:860px) {

	.container {
	  padding: 26px 18px 2px;
	}
	.hero__grid{
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .hero__title, .hero__copyTitle, .hero__copyText{ text-align: center; }
  .hero__cta {
		display: flex;
		flex-wrap:wrap;
		justify-content:center;
  align-items: center;
      gap: 15px;}
  .btn{ min-width: 240px; }
    .services {
    padding: 20px 0px 30px;
	}
}
/* Responsive */
@media all and (max-width:690px) {
	.hero__title {
	  font-size: 30px;
	  line-height: 36px;
	}
	.hero__title br {display:none;}
	.hero__copyTitle {
		font-size: 19px;
		line-height: 24px;
	}
	.hero__copyTitle br {display:none;}
	.hero__copyText br {display:none;}
	 .service {
		 width: 100%;
	 }
}
