/* START - MAIN TAGS */
body, html {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  scroll-behavior: smooth;
}

:root {
  --light-blue-color : #88cbbf;
  --green-color : #00837b;
  --red-color : #e52d41;
  --light-grey-color : #fafafa;
  --dark-grey-color : #a3a3a3;
}

a {
  text-decoration: none;
  color: inherit;
}
/* END - MAIN TAGS */

/* START - WIDGETS */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: scroll-bounce 2.5s ease-in-out infinite;
  z-index: 10;
}

.scroll-down img {
  width: 100%;
  height: auto;
}
/* END - WIDGETS */

/* BANNER INDEX */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--light-blue-color);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 5vw;
  max-width: 50%;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  object-fit: cover;
}

/* BOUTON */
.btn-doctena {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background-color: var(--red-color);
  color: white;
  font-family: "Montserrat-ExtraBold";
  font-size: 1.5em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.5em;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-doctena:hover {
  background-color: black;
  transform: scale(1.05);
}

/* SECTIONS */
.section-container{
  padding: 1.5em 0;
  margin: 0 auto;
}

.content-wrap{
  width: min(92vw, 1200px);  /* portable: plus large, grand écran: limité */
  margin-left: auto;
  margin-right: auto;
}

/* CARD TEXT ILLU */
.urgence-text{
  flex: 1 1 55%;
}

.urgence-illu{
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.illu-circle {
  width: min(380px, 80%);
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.illu-circle::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    315deg,
    rgba(136,203,191,0.85) 0%,
    rgba(255,255,255,0.9) 45%,
    rgba(255,255,255,0) 75%
  );
}

.urgence-img {
  width: 120%;
  max-width: none;
  position: relative;
  z-index: 1;
  animation: illu-bounce 4.5s ease-in-out infinite;
}

@keyframes illu-bounce{
  0%   { transform: translateY(0); }
  12%  { transform: translateY(-10px); }
  24%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}


/* GRID DES CARDS */
.traitements-cards-wrapper{
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.procede-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}


/* CARDS */
.traitements-card{
  position: relative;
  border-radius: 0.5em;
  padding: 40px 40px 34px 40px;
  overflow: visible;
}

.traitements-card--green{ background: var(--light-blue-color); }
.traitements-card--red{ background: var(--red-color); }

.procede-card{
  background: white;
  border-radius: 0.5em;
  padding: 26px 28px 22px 28px;
}

.urgence-vitale-card{
  background: var(--red-color);
  border-radius: 0.5em;
  padding: 1em;
  width: min(900px, 92%);
  margin: 0 auto;
  text-align: center;
}

.traitements-phylactere-croix{
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: auto;
  transform: translate(50%, -50%); /* centre pile sur le coin */
}

.liste-croix{
  list-style: none;
  padding: 0;
  margin: 22px 0 0 0;
  display: grid;
  gap: 18px;
}

.liste-croix li{
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.liste-croix li p{
  margin: 0;
}

.picto-croix{
  width: 20px;
  height: 20px;
  flex: 0 0 28px; /* alinéa propre */
  margin-top: 2px;
}

.procede-head{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.procede-titre-numero .sous-titre{
  display: inline-block;
  color: var(--red-color);
}

/* CONTACT */
.cabinet-contact-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.cabinet-contact-item{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.cabinet-contact-picto{
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-top: 2px;
}

/* CONTACT MAP */
.cabinet-contact-map-container{
  border-radius: 0.5em;
  overflow: hidden;
  border: 3px solid var(--green-color);
}

.cabinet-contact-map-container iframe{
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}


/* FOOTER */
.site-footer{
  background: var(--green-color);
  padding: 30px 0;
  color: #fff;
}

.footer-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-logo img{
  width: 58px;
  height: auto;
}

.footer-text p{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.footer-legal{
  opacity: 0.85;
}

.footer-legal a{
  color: #fff;
  text-decoration: underline;
}

.conditions-liste {
  list-style: none;
  margin: 0;
  padding: 0;
}

.conditions-liste p{
  margin-bottom:0;
}

.conditions-liste li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.2rem;
}

.conditions-liste li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
}

/* RESPONSIVE */
@media only screen and (max-width: 1280px){
  .hero-image{
    height: 75%;
  }

  .btn-doctena{
    font-size: 1.5em;
    padding: 12px 24px;
  }
}

@media (max-width: 992px){
  .urgence-row{
    flex-direction: column;
    align-items: flex-start;
  }

  .urgence-illu{
    width: 100%;
    justify-content: flex-start;
  }

  .traitements-cards-wrapper{
    grid-template-columns: 1fr;
  }

  .procede-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cabinet-contact-wrap{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .map-box iframe{
    height: 320px;
  }
}

@media (max-width: 768px){
  .hero-content {
    text-align: left;
    max-width: 90%;
    padding-left: 6vw;
  }

  .hero-image {
    opacity: 0.6;
    height: 60%;
    right: -50%;
  }

  .btn-doctena{
    font-size: 1.1em;
    padding: 10px 18px;
  }

  .traitements-cards-wrapper{
    grid-template-columns: 1fr;
    gap: 30px; /* optionnel : 70px est énorme en mobile */
  }

  .urgence-illu{
    justify-content: center;
    width: 100%;
  }

  .illu-circle{
    width: 240px;
    margin: 0 auto;
  }
  .urgence-img{
    width: 100%;
  }

  .traitements-phylactere-croix{
    width: 50px;
  }

  .liste-croix li{
    gap: 8px;
  }

  .picto-croix{
    width: 17px;
    height: 17px;
  }

  .cabinet-contact-wrap{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cabinet-contact-map-container iframe{
    height: 260px;
  }

  .footer-wrap{
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
