/* ============================================
   HERO — spécifique page accueil
   ============================================ */

.hero-portrait {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 500px;
}

.hero-portrait img {
    border-radius: 220px 220px 120px 120px;
    box-shadow: 0 40px 80px rgba(93, 78, 71, 0.15);
    height: 600px;
    width: 100%;
    object-fit: cover;
    object-position: 25%;
    display: block;
}

/* Cercle bas-gauche */
.hero-portrait::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 130px;
    height: 130px;
    border: 1px solid var(--wp--preset--color--rose-poudre);
    border-radius: 50%;
    opacity: 0.55;
    z-index: 5;
    pointer-events: none;
}


/* ============================================
   CARROUSEL TÉMOIGNAGES
   ============================================ */
.aml-temoignages {
    background-image: radial-gradient(circle, rgba(212, 168, 154, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 8rem) !important;
}
.temoignages-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}
.carousel-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    box-sizing: border-box;
}
.aml-temoignages .carte-temoignage {
    background: #5D4E47;
    border: 1px solid rgba(212, 168, 154, 0.2);
    border-radius: 16px;
    padding: clamp(1.5rem, 3vw, 2rem) !important;
    width: 100% !important;
    min-height: 242px;
    height: 100%;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.aml-temoignages .temoignage-etoiles {
    color: #FFFFFF !important;
    letter-spacing: 2px;
    margin-bottom: 0.5rem !important;
    font-size: 1rem;
}
.aml-temoignages .temoignage-texte {
    color: #F7EAD8 !important;
    font-style: italic;
    line-height: 1.8;
    font-size: 0.95rem;
    flex: 1;
}
.aml-temoignages .temoignage-auteur {
    color: #F7EAD8 !important;
    margin-top: 1rem !important;
    font-family: var(--wp--preset--font-family--display);
    font-size: 1rem;
    font-style: italic;
}
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--wp--preset--color--cream);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    background: var(--wp--preset--color--terracotta);
    border-color: var(--wp--preset--color--terracotta);
}
.carousel-dots {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.carousel-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    background: var(--wp--preset--color--terracotta);
    width: 13px;
    height: 13px;
}

/* ============================================
   SECTION MES ACCOMPAGNEMENTS
   ============================================ */

.aml-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.aml-card {
  background: #ffffff;
  border: 0.5px solid rgba(193,133,90,0.18);
  border-radius: 16px;
  padding: 1.6rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
  box-sizing: border-box;
  width: 100%;
}

.aml-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.aml-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61,46,39,0.09);
  border-color: rgba(193,133,90,0.32);
}

.aml-card--coiff::before   { background: #FCEDC6; }
.aml-card--sopho::before   { background: #F7EAD8; }
.aml-card--sa::before      { background: #EDE4D8; }
.aml-card--sexo::before    { background: #F0D8D0; }
.aml-card--energie::before { background: #DDE8D8; }

.aml-card__icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.aml-card--coiff   .aml-card__icon { background: #FCEDC6; color: #A0522D; }
.aml-card--sopho   .aml-card__icon { background: #F7EAD8; color: #8B6B50; }
.aml-card--sa      .aml-card__icon { background: #EDE4D8; color: #7A6050; }
.aml-card--sexo    .aml-card__icon { background: #F0D8D0; color: #9A5040; }
.aml-card--energie .aml-card__icon { background: #DDE8D8; color: #5A7A5D; }

/* ── H3 — phrase feeling ── */
h3.aml-card__feeling {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  color: #3D2E27;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  flex: 1;
}

.aml-card__sep {
  height: 0.5px;
  background: rgba(193,133,90,0.15);
  margin-bottom: 0.8rem;
}

.aml-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: #3D2E27;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.aml-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
}

/* ── H4 — nom de la spécialité ── */
h4.aml-card__label {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A0522D;
  margin: 0;
  white-space: nowrap;
}


.aml-card__tarif {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #5D4E47;
  white-space: nowrap;
  flex-shrink: 0;
}

.aml-card__link {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A0522D !important;
  background: #ffffff !important;
  border: 1.5px solid #A0522D !important;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}

.aml-card__link:hover {
  background: #A0522D !important;
  color: #FDF5EC !important;
}

.aml-cards-cta {
  text-align: center;
  margin-top: 2.8rem;
}

.aml-cards-cta__sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  color: #5D4E47;
  margin-bottom: 1.2rem;
}



/* ─────────────────────────────────────────────────────────────
   Mobile — ≤ 768px
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .aml-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .aml-card {
    padding: 1.25rem 1rem 1.1rem;
  }
  h3.aml-card__feeling {
    font-size: 18px;
  }
  .aml-card__desc {
    font-size: 13px;
  }
  .aml-cards-cta {
    margin-top: 2rem;
  }
  .aml-cards-cta__sub {
    font-size: 16px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Tablette — 769px – 1024px
───────────────────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .aml-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .aml-card--energie {
    grid-column: 2 / 3;
  }
  h3.aml-card__feeling {
    font-size: 17px;
  }
  .aml-card__desc {
    font-size: 13px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Au-dessus de 1024px
───────────────────────────────────────────────────────────── */
@media (min-width: 1025px) {
  .aml-cards-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}



/* ============================================================
   RESPONSIVE — sections uniques page accueil
   (hero-portrait + carousel)
   Le responsive du hero générique est dans responsive.css
   ============================================================ */

/* ─── Tablette ─── */
@media (max-width: 1024px) {
    .hero::after {
        width: 68%;
    }
    .hero-portrait {
        max-width: 420px;
    }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {

    /* Carousel témoignages */
    .carousel-slide {
        grid-template-columns: 1fr;
    }

    .aml-temoignages {
        padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) !important;
    }

    .aml-temoignages .carte-temoignage {
        min-height: auto;
    }
}

