.hero{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  min-height:420px;
  padding:clamp(28px,6vw,44px) clamp(18px,6vw,32px);
  border-radius:30px;
  overflow:hidden;
  background-image:url("/images/backgroundesthetique.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#f7efe6;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.45) 0%,rgba(255,255,255,.62) 100%);
  border-radius:inherit;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:540px;
  padding:22px 20px;
  border-radius:24px;
  background:rgba(255,255,255,.76);
  box-shadow:0 22px 60px rgba(20,24,40,.12);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}

.hero .subtitle{
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:#b28b54;
  margin-bottom:12px;
}

.hero h1{
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.9rem,5vw,2.8rem);
  line-height:1.05;
  letter-spacing:.01em;
  color:#121827;
  margin-bottom:14px;
}

.hero h1 span{
  display:inline-block;
  color:#b08a55;
  font-style:italic;
}

.hero .description{
  font-size:clamp(.95rem,2.6vw,1.05rem);
  line-height:1.75;
  color:#4b5563;
}

.section-title{
  text-align:center;
  font-weight:700;
}

.section-title + p,
.section-title + .mt-2,
.section-title + .mt-3{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.hero [class="mt-8 grid gap-3 sm:grid-cols-3"],
.hero [class*=" mt-8 grid gap-3 sm:grid-cols-3"]{
  display:none;
}

@media (max-width: 480px){
  .hero{
    min-height:480px;
    padding:24px 16px;
    border-radius:26px;
  }

  .hero::before{
    border-radius:26px;
  }

  .hero-content{
    padding:20px 18px;
    border-radius:20px;
  }
}

@media (min-width: 768px){
  .hero{
    min-height:620px;
    padding:52px 42px;
  }

  .hero-content{
    padding:30px 28px;
    border-radius:26px;
  }

  .hero .subtitle{
    font-size:.72rem;
    letter-spacing:.38em;
  }

  .hero .description{
    font-size:1.05rem;
  }
}

.hero-grid{
  align-items:center;
}

.glass-card{
  background:rgba(255,252,248,.82);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}

.payment-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(184,154,103,.35);
  background:rgba(255,255,255,.9);
  color:#0f1730;
  font-weight:600;
}

.payment-icon{
  display:inline-flex;
  width:26px;
  height:26px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#fbf2e2;
  color:#b08a55;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
}


.payment-success-box{
  max-width:420px;
  margin:0 auto;
  text-align:center;
  border:1px solid rgba(176,138,85,.18);
  box-shadow:0 14px 30px rgba(15,23,42,.08);
}


#contact img[src*='logo'],
#contact img[alt*='Logo']{
  max-width:240px;
  width:100%;
  height:auto;
  object-fit:contain;
  margin:0 auto;
  display:block;
}

.atelier-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

@media (min-width: 640px){
  .atelier-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (min-width: 1024px){
  .atelier-gallery{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
  }
}

.atelier-card img{
  width:100%;
  height:160px;
  object-fit:cover;
}

@media (min-width: 1024px){
  .atelier-card img{
    height:190px;
  }
}

.students-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

@media (min-width: 1024px){
  .students-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
  }
}

.students-card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

@media (min-width: 1024px){
  .students-card{
    background:#fff;
  }

  .students-card img{
    height:320px;
    object-fit:contain;
    padding:6px 10px;
  }
}

.partners-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

@media (min-width: 768px){
  .partners-gallery{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (min-width: 1024px){
  .partners-gallery{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:20px;
  }
}

.partners-card img{
  width:100%;
  height:120px;
  object-fit:contain;
  padding:8px 10px;
  background:#fff;
}

@media (min-width: 1024px){
  .partners-card img{
    height:140px;
  }
}



@media (min-width: 1024px){
  .hero{
    min-height:min(100svh,760px);
  }
}

