:root {
  /* define color page */
  --primary: #2d3d52;
  --second: #f9fafb;
  --btn_act: #e66c1c;
  --icon: #0da2e7;
  --w: #fff;
  /* define texte size page */
  --title: 2.5em;
  --sub_title: 1.2em;
  --sm: 0.9em;
  --police: "Arial";
}
body {
  width: 100%;
  margin: auto;
  height: 100%;
  background-color: #ddd;
}
#page {
  display: flex;
  flex-direction: column;
  width: 99.9%;
  background-color: #fff;
  min-height: 1400px;
}
/** EN TETE DU PAGE **/
header {
  display: flex;
  flex-direction: column;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../IMG/hero-bg-BGoyyiw9.jpg") no-repeat center center/cover;
  background-size: cover;
  height: 100vh;
  border-bottom: 2px solid #fff;
  box-shadow: 1px 15px 25px 29px rgba(255, 255, 255, 0.5);
  min-height: 569px;
}
/** EN TOP DU PAGE **/

header .top_head {
  display: flex;
  padding: 0.5em;
  background-color: var(--primary);
  flex-direction: row;
  justify-content: space-between;
}
.top_head .contact_icon {
  display: flex;
  flex-direction: row;
  gap: 18px;
  color: var(--w);
}
.contact_icon a {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin: 0.5em;
  text-decoration: none;
  font-size: var(--sm);
  color: var(--w);
  font-family: var(--police);
}
.top_head .login {
  display: flex;
  flex-direction: row;
}
.login a {
  padding: 0.5em 0.6em;
  text-decoration: none;
  background-color: var(--btn_act);
  color: var(--w);
  font-size: 1em;
  font-weight: bold;
  border-radius: 5px;
  font-family: var(--police);
}
/** MENU DU PAGE **/
#menu_head {
  display: flex;
  flex-direction: row;
  padding: 0.6em;
  justify-content: space-between;
  background-color: var(--second);
}
#menu_head .logo_cvs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin: auto 0.3em;
  padding: 0.5em;
}
.logo_cvs i {
  margin: auto;
  display: block;
  font-size: 1.8em;
  padding: 0.2em;
  border-radius: 10px;
  color: var(--w);
  background-color: var(--icon);
}
.logo_cvs .cvs_name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cvs_name h1 {
  width: 100%;
  margin: auto;
  font-weight: bold;
  font-family: var(--police);
  font-size: 1.2em;
  line-height: 1.5em;
}
.cvs_name p {
  width: 100%;
  margin: auto;
  font-size: 0.9em;
  color: #333;
  font-family: var(--police);
}
.menu_nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 0.6em;
  margin: auto 0.5em;
}
.menu_nav a {
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  padding: 0.6em 0.9em;
  color: #444;
  font-family: var(--police);
  border-radius: 5px;
  &:hover {
    color: var(--icon);
    box-shadow: 1px 1px 5px rgba(0, 0, 255, 0.5);
  }
}
.menu_nav a:last-child {
  background-color: var(--icon);
  color: #fff;
  &:hover {
    color: #fff;
  }
}
#menu_head.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  padding: 0px;
  box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.banner_content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #fff;
  padding: 0.5em;
}
.banner_texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 2em;
}
.banner_texte .text-sm {
  letter-spacing: 0.1em;
  font-size: 0.9em;
  margin: 0.3em;
  text-transform: uppercase;
  color: var(--icon);
  font-family: var(--police);
}
.text-sm i {
  font-size: 1.1em;
}
.banner_texte h1 {
  width: 50%;
  margin: 0.3em;
  padding: 0px;
  color: var(--w);
  line-height: 1.2em;
  font-family: var(--police);
  font-size: 3.5em;
}
.banner_texte h1 span:first-child {
  color: var(--icon);
}
.banner_texte h1 span:last-child {
  color: var(--btn_act);
}
.banner_texte p {
  width: 52%;
  font-size: 1.3em;
  margin: 0.5em;
  color: var(--second);
  font-weight: bold;
  line-height: 1.5em;
  padding: 0px;
  font-family: var(--police);
}
.banner_texte .btn {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 0.3em;
}
.btn a {
  padding: 0.5em 2em;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
}
.btn .btn-call {
  background-color: var(--btn_act);
  opacity: 0.9;
  &:hover {
    opacity: 1em;
  }
}
.btn .btn-service {
  border: 1px solid #aaa;
  background-color: var(--icon);
  opacity: 0.9;
  color: #fff;
  &:hover {
    opacity: 1em;
  }
}
.stat_cvs {
  width: 20%;
  display: flex;
  margin: 0.8em;
  flex-direction: column;
  gap: 15px;
}
.stat_cvs .card_cvs {
  border: 1px solid #ddd;
  padding: 0.5em 0.75em;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0.8em;
  border-radius: 10px;
}
.card_cvs .value {
  display: flex;
  font-size: 2.2em;
  flex-direction: row;
  gap: 10px;
  font-weight: bold;
  justify-content: center;
}
.card_cvs p {
  text-align: center;
  font-size: 1.2em;
  margin: auto;
  font-weight: bold;
}
/* === ANIMATION DU TEXTE BANNIÈRE (fade-up) === */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner_texte {
  animation: fadeUp 1.2s ease-out both;
}

/* === ANIMATION DES CARDS (fade-up en séquence) === */
.stat_cvs .card_cvs {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s ease-out forwards;
}

/* Effet décalé pour une apparition progressive */
.stat_cvs .card_cvs:nth-child(1) {
  animation-delay: 0.3s;
}
.stat_cvs .card_cvs:nth-child(2) {
  animation-delay: 0.6s;
}
.stat_cvs .card_cvs:nth-child(3) {
  animation-delay: 0.9s;
}
.stat_cvs .card_cvs:nth-child(4) {
  animation-delay: 1.2s;
}
#noservice {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 2em;
  background-color: #f6f8f9;
  box-shadow: 1px 1px 25px 48px rgba(255, 255, 255, 0.5);
}
#noservice .titre_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2em;
}
.titre_section h1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  margin: auto;
  font-size: 2.2em;
  font-family: var(--police);
  color: var(--icon);
}
.titre_section h1 span {
  color: #000;
}
.titre_section p {
  font-size: 1.2em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  color: #333;
}
#noservice .service {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 25px;
}
.service .cards_service {
  width: 30%;
  display: flex;
  flex-direction: column;
  box-shadow: 1px 1px 5px 3px rgba(0, 0, 0, 0.1);
  gap: 2px;
  background-color: #fff;
  border-radius: 15px;
}
.service .cards_service img {
  width: 100%;
  border-radius: 15px 15px 0px 0px;
}
.service .cards_service .img_serv {
  display: flex;
  flex-direction: column;
}
.img_serv i {
  position: relative;
  width: 25px;
  margin: auto 0.2em;
  top: -58px;
  left: 10px;
  font-size: 1.5em;
  padding: 0.5em 0.5em;
  color: var(--w);
  border-radius: 15px;
  background-color: var(--icon);
}
.service .description_serv {
  display: flex;
  gap: 5px;
  flex-direction: column;
  padding: 0.5em;
}
.description_serv h1 {
  width: 100%;
  margin: auto;
  margin-top: -1.5em;
  font-size: 1.6em;
  font-family: var(--police);
  color: var(--icon);
}
.description_serv p {
  width: 100%;
  margin: 0.5em auto;
  font-size: 1em;
  color: #444;
  line-height: 1.5em;
}
.description_serv ul {
  width: 100%;
  margin: auto;
  list-style-type: none;
  padding: 0.3em 1.2em;
}
.description_serv li {
  color: #444;
  line-height: 1.8em;
  font-weight: bold;
}
.description_serv ul li::before {
  content: "•"; /* symbole de la puce */
  color: var(--icon); /* couleur de la puce */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  font-size: 1.3em;
  margin-left: -0.5em;
}
#about {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  padding: 3em;
}
#about .about_img {
  width: 100%;
  display: flex;
  padding: 2.5em 0.2em;
  flex-direction: column;
}
.about_img img {
  width: 100%;
  border-radius: 15px 15px;
}
.about_img .card_cvs {
  position: relative;
  width: 30%;
  margin: auto;
  margin-right: -1.5em;
  background-color: var(--btn_act);
  padding: 1.5em 1em;
  color: var(--w);
  border-radius: 10px;
  top: -65px;
}
.about_img .card_cvs .value {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 10px;
  font-size: 2.5em;
}
.about_img .card_cvs .value span {
  font-weight: bold;
  font-size: 0.7em;
}
.about_img .card_cvs p {
  font-size: 1em;
  text-align: left;
  margin: 0.5em auto;
  font-weight: bold;
}
#about .about_us {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5em 0.75em;
}
.about_us h1 {
  width: 100%;
  margin: 0.3em auto;
  font-size: 2.5em;
}
.about_us h1 span {
  color: var(--icon);
}
.about_us p {
  color: #444;
  text-align: justify;
  line-height: 1.5em;
  font-size: 1.2em;
}
.about_us .nos_point {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.nos_point div {
  width: 45%;
  margin: 0.3em auto;
  background-color: #f0f2f5;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.point_1,
.point_2,
.point_3,
.point_4 {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 1.5em 0.5em;
}
.nos_point i {
  display: block;
  padding: 0.5em;
  font-size: 1em;
  color: var(--w);
  border-radius: 5px;
  background-color: var(--btn_act);
}
.nos_point span {
  display: block;
  padding: 0.5em;
  font-weight: bold;
  font-size: 1em;
}
.about_us .btn-call {
  padding: 1em;
  margin: 0.3em;
  text-decoration: none;
  font-size: 1.2em;
  color: var(--w);
  max-width: 20%;
  border-radius: 10px;
  text-align: center;
  background-color: var(--btn_act);
  opacity: 0.9;
  &:hover {
    background-color: var(--icon);
  }
}
/** FORMULAIRE DU MODAL **/
#sign .form_login {
  display: flex;
  flex-direction: column;
  padding: 0.5em;
  border: 1px solid #ddd;
  border-radius: 5px;
  gap: 10px;
}
.form_login h1 {
  margin: auto;
  text-align: center;
  padding: 0.3em;
  font-size: 1.5em;
  border-radius: 5px;
  color: var(--primary);
}
.form_login form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.3em 0.5em;
  gap: 5px;
}
.form_login form div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form_login select {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  appearance: none;
  transition: all 0.3s ease;
  outline: none;
  background-image: linear-gradient(45deg, transparent 50%, #0078d7 50%),
    linear-gradient(135deg, #0078d7 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px),
    calc(100% - 13px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form_login select:hover {
  border-color: #0078d7;
  box-shadow: 0 0 5px rgba(0, 120, 215, 0.3);
}

.form_login select:focus {
  border-color: #0078d7;
  box-shadow: 0 0 8px rgba(0, 120, 215, 0.4);
}
.form_login input {
  padding: 10px 12px;
  border: 1px solid var(--icon);
  border-radius: 5px;
  background-color: #f7f7f7;
  color: var(--text);
}
.form_login label {
  font-size: 1em;
  display: flex;
  flex-direction: row;
  gap: 5px;
  color: #444;
}

/* Buttons */
.form_login form .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #fff;
  color: var(--text);
  cursor: pointer;
}
.form_login form .btn:hover {
  filter: brightness(1.1);
}
.form_login form .btn.primary {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
#engagment {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2.2em;
  background: linear-gradient(
    -10deg,
    #333,
    var(--icon),
    var(--icon),
    var(--icon),
    #333
  );
}
#engagment .titre_section h1 {
  color: orange;
}
#engagment .titre_section h1 span {
  color: #fff;
}
#engagment .titre_section p {
  color: #fff;
}
.descrip_engagement {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.descrip_engagement div {
  width: 25%;
  padding: 0.5em;
  border-radius: 5px;
}
#engagment .cards_1,
#engagment .cards_2,
#engagment .cards_3,
#engagment .cards_4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
#engagment .descrip_engagement div i {
  font-size: 1.6em;
  display: block;
  margin: auto;
  padding: 1em;
  text-align: center;
  background-color: #55b3dc;
  box-shadow: 1px 1px 5px 2px rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--btn_act);
  border: 1px solid #55b3dc;
}
.descrip_engagement div h1 {
  font-size: 1.5em;
  text-align: center;
  color: #fff;
  margin: auto;
}
.descrip_engagement div p {
  margin: auto;
  text-align: center;
  line-height: 1.5em;
  color: #fff;
}
#contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #f6f8f9;
  padding: 3em;
}
#contact .descrip_contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 1em;
  gap: 20px;
}
.descrip_contact .contact_cards {
  width: 30%;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.1);
  padding: 1em;
}
.contact_cards i {
  font-size: 1.5em;
  display: block;
  width: 15%;
  border-radius: 10px;
  text-align: center;
  background-color: #ddd;
  padding: 0.5em;
  margin: auto;
}
.contact_cards h1 {
  font-size: 1.2em;
  margin: auto;
  color: var(--icon);
  padding: 0.5em;
  text-align: center;
}
.contact_cards p {
  text-align: center;
  margin: auto;
  padding: 0.5em;
  color: #444;
}
footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
  background-color: var(--primary);
}
.foot_descript {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.foot_cv_name {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.foot_cv_name .cvs_icon {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.cvs_icon .icon {
  display: flex;
  flex-direction: column;
  padding: 0.3em 0.9em;
  border-radius: 10px;
  background-color: var(--icon);
}
.cvs_icon .icon i {
  display: block;
  margin: auto;
  color: #fff;
  font-size: 1.8em;
}

.cvs_icon h1 {
  color: var(--w);
  padding: 0.3em;
  margin: 0.2em;
  font-size: 1.5em;
}
.foot_cv_name p {
  font-size: 1.2em;
  color: #aaa;
  line-height: 1.5em;
}
.cvs_contact,
.cvs_services,
.foot_nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20%;
}
.cvs_contact h1,
.cvs_services h1,
.foot_nav h1 {
  font-size: 1.3em;
  color: #fff;
}
.foot_nav a,
.cvs_contact a {
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding: 0.5em;
  text-decoration: none;
  color: #fff;
}
.cvs_services p {
  width: 100%;
  font-size: 1em;
  margin: auto;
  padding: 0px;
  color: #aaa;
  font-weight: bold;
  text-align: left;
}
.footer-content {
  display: flex;
  padding: 0.5em;
  border-top: 1px solid #ddd;
  flex-direction: column;
  justify-content: center;
}
.footer-content p {
  font-size: 1.1em;
  color: #aaa;
  text-align: center;
}
