/* =========================================================
   Au Fil des Petites Mains — feuille de style
   Palette : rose poudré, pêche crème, aubergine
   ========================================================= */

:root {
  --cream:      #fdf6ee;
  --cream-2:    #fbeede;
  --pink:       #f7e2e3;
  --pink-soft:  #fcebeb;
  --pink-mid:   #e8b4b8;
  --aubergine:  #8b5c60;
  --aubergine-d:#6f4649;
  --text:       #3a3a3a;
  --muted:      #8f8f8f;
  --white:      #ffffff;
  --line:       #ecdfd4;
  --radius:     14px;
  --shadow:     0 8px 30px rgba(120, 80, 70, .12);
  --maxw:       1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Mulish', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: var(--aubergine); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }

.script {
  font-family: 'Parisienne', cursive;
  color: var(--aubergine);
  font-weight: 400;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--pink { background: var(--pink-soft); }
.section--cream { background: var(--cream-2); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: #55504c; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--aubergine);
  color: #fff;
  padding: 13px 30px;
  border-radius: 40px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--aubergine-d); text-decoration: none; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--aubergine);
  border: 2px solid var(--aubergine);
}
.btn--ghost:hover { background: var(--aubergine); color: #fff; }

/* ---------- Barre supérieure ---------- */
.topbar {
  background: var(--aubergine);
  color: #fff;
  font-size: .9rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar .infos span { margin-right: 18px; white-space: nowrap; }
.topbar .socials a { margin-left: 12px; font-weight: 700; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  background: linear-gradient(180deg, #fffaf4 0%, var(--cream) 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 18px rgba(139, 92, 96, .09);
}
.site-header .container {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { flex: none; }
.brand img {
  height: 84px;
  width: auto;
  transition: transform .3s ease;
}
.brand:hover img { transform: scale(1.03); }

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .3px;
  padding: 7px 10px;
  border-radius: 24px;
  transition: background .2s, color .2s;
}
.nav a:hover {
  color: var(--aubergine-d);
  background: var(--pink-soft);
  text-decoration: none;
}
.nav a.active { color: #fff; background: var(--aubergine); }

/* Menu mobile (case à cocher) */
.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background:
    radial-gradient(ellipse 70% 60% at 82% 15%, #fdeae4 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 10% 90%, #fbe6e7 0%, transparent 62%),
    linear-gradient(165deg, var(--pink) 0%, #fdf1ea 45%, var(--cream) 100%);
}
/* Voile décoratif très léger, purement esthétique */
.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__text h1 {
  margin-bottom: .15em;
  font-weight: 500;
  letter-spacing: .5px;
}
.hero__text .lead { margin: 0 0 14px; }
.hero__img {
  position: relative;
  padding: 10px;
}
/* Cadre décalé façon passe-partout */
.hero__img::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--pink-mid);
  border-radius: 24px;
  transform: rotate(-2deg);
  opacity: .7;
}
.hero__img img {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(139, 92, 96, .22);
  width: 100%;
}
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Variante : photo en fond sur la moitié droite, fondue dans le crème */
.hero--photo { padding: 96px 0 104px; min-height: 620px; display: flex; align-items: center; }
.hero--photo::after { display: none; }
.hero--photo .container { display: block; width: 100%; }
.hero--photo .hero__text { max-width: 540px; }
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 60%;
  max-width: 100%;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fcefeb 0%, rgba(252, 239, 235, .55) 16%, rgba(252, 239, 235, 0) 34%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero--photo { display: block; min-height: 0; padding: 0 0 56px; }
  .hero__photo {
    position: relative;
    width: 100%;
    height: 340px;
  }
  .hero__photo img { object-position: 45% 72%; }
  .hero__photo::before {
    background: linear-gradient(180deg, rgba(252, 239, 235, 0) 62%, #fcefeb 100%);
  }
  .hero--photo .hero__text { max-width: none; padding-top: 30px; }
}

/* ---------- Horaires ---------- */
.hours {
  background: var(--aubergine);
  color: #fff;
  text-align: center;
  padding: 34px 0;
}
.hours h3 { color: #fff; margin-bottom: .2em; }
.hours p { margin: 4px 0; }
.hours .rdv { font-style: italic; opacity: .9; }

/* ---------- Grille de services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s;
}
.card:hover { transform: translateY(-6px); }
.card img { height: 260px; object-fit: cover; width: 100%; }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { color: var(--aubergine); }
.card__body p { color: #55504c; flex: 1; }
.card__body .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- Blocs contenu alternés ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split--reverse .split__img { order: 2; }

/* ---------- Labels / certifications ---------- */
.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.labels img { height: 110px; width: auto; }

/* ---------- Prix / listes ---------- */
.info-list { list-style: none; padding: 0; margin: 1em 0; }
.info-list li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.info-list li::before {
  content: "✦";
  color: var(--aubergine);
  position: absolute;
  left: 0;
}

.box {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow);
  margin: 24px 0;
}
.box--pink { background: var(--pink-soft); box-shadow: none; border: 1px solid var(--pink-mid); }

.price-tag {
  display: inline-block;
  background: var(--pink);
  color: var(--aubergine-d);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 30px;
  margin: 2px 0;
}

/* ---------- Titre orné (Agenda) ---------- */
.titre-orne {
  font-family: 'Parisienne', cursive;
  font-weight: 400;
  color: var(--aubergine);
  font-size: clamp(2rem, 4vw, 2.8rem);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.titre-orne::before {
  content: "✦";
  font-family: inherit;
  color: var(--pink-mid);
  font-size: .8em;
}

/* ---------- Accroche du hero ---------- */
.hero__accroche {
  display: block;
  font-size: 1.6rem;
  margin: 0 0 18px;
}

/* ---------- Cartes cliquables (accueil) ---------- */
.card--lien { text-decoration: none; color: inherit; }
.card--lien:hover { text-decoration: none; }
.card__titre {
  color: var(--aubergine);
  text-align: center;
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: .5px;
}

/* ---------- Agenda ---------- */
.agenda {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 44px;
  align-items: center;
}
.agenda__img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.agenda__ligne {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 10px;
  color: var(--text);
}
.agenda__ligne--fort {
  font-weight: 700;
  color: var(--aubergine);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.agenda__note {
  margin: 22px 0 26px;
  font-size: 1.1rem;
  color: #55504c;
}

/* ---------- Galeries de photos ---------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.galerie__item {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.galerie__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-width: 100%;
}
.galerie__item figcaption {
  padding: 12px 14px;
  font-size: .88rem;
  color: #55504c;
  text-align: center;
  flex: 1;
}

/* ---------- Sous-titre d'atout ---------- */
.atout__titre {
  color: var(--aubergine);
  font-size: 1.3rem;
  margin-top: 1.4em;
}

/* ---------- Liste de réalisations ---------- */
.realisations {
  list-style: none;
  padding: 0;
  max-width: 620px;
  margin: 24px auto 0;
}
.realisations li {
  background: var(--pink-soft);
  border-radius: 30px;
  padding: 12px 24px;
  margin-bottom: 12px;
  color: #55504c;
}

/* ---------- Témoignages ---------- */
.temoignages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.temoignage {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 30px;
  margin: 0;
  border-left: 4px solid var(--pink-mid);
}
.temoignage p {
  font-style: italic;
  color: #55504c;
  margin: 0;
}
.temoignage p::before { content: "« "; color: var(--pink-mid); }
.temoignage p::after { content: " »"; color: var(--pink-mid); }
.temoignage cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--aubergine);
  text-align: right;
}

/* ---------- Portrait (Qui suis-je) ---------- */
.portrait::after { content: ""; display: block; clear: both; }
.portrait__img {
  float: right;
  width: 260px;
  max-width: 42%;
  margin: 4px 0 18px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.citation {
  text-align: center;
  font-size: 1.7rem;
  margin: 34px 0;
}
.signature {
  text-align: right;
  font-size: 2rem;
  margin: 10px 0 30px;
}

/* ---------- Photo principale + médaillon (retouches) ---------- */
.duo-photos { position: relative; padding: 0 0 48px 0; }
.duo-photos__principale { width: 100%; }
.duo-photos__medaillon {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 38%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(139, 92, 96, .25);
  max-width: 100%;
}
@media (max-width: 600px) {
  .duo-photos__medaillon { right: 8px; width: 42%; }
}

/* ---------- Mentions « sur rendez-vous » ---------- */
.rdv-gros {
  display: inline-block;
  margin: 10px 0 18px;
  padding: 12px 34px;
  background: var(--aubergine);
  color: #fff;
  border-radius: 40px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.2;
}
.adresse-rdv {
  font-weight: 700;
  font-style: italic;
  color: var(--aubergine);
}
.site-footer .adresse-rdv { color: #f3d4d6; margin-top: -6px; }

/* ---------- Image de grille tarifaire (cours) ---------- */
.tarifs-image {
  max-width: 640px;
  width: 100%;
  margin: 24px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Montants carte cadeau ---------- */
.montants {
  list-style: none;
  padding: 0;
  margin: 14px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.montants li { margin: 0; }

@media (max-width: 900px) {
  .agenda { grid-template-columns: 1fr; }
  .titre-orne { justify-content: center; }
}
@media (max-width: 600px) {
  .portrait__img { float: none; width: 100%; max-width: 100%; margin: 0 0 20px; }
  .signature { text-align: center; }
}

/* ---------- Tableau de tarifs ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tarifs {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}
.tarifs__search {
  display: flex;
  justify-content: flex-end;
  padding: 16px 18px;
}
.tarifs__search input {
  width: 100%;
  max-width: 260px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  background: var(--cream);
}
.tarifs__search input:focus {
  outline: 2px solid var(--pink-mid);
  border-color: var(--pink-mid);
}

.tarifs__scroll { overflow-x: auto; }

.tarifs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .97rem;
}
.tarifs__table th {
  background: var(--aubergine);
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 13px 18px;
  text-align: center;
}
.tarifs__table td {
  padding: 12px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: #55504c;
}
.tarifs__table tbody tr:nth-child(even) { background: var(--pink-soft); }
.tarifs__table tbody tr:hover { background: var(--pink); }
.tarifs__table tbody tr:last-child td { border-bottom: 0; }

.tarifs__col-prix {
  white-space: nowrap;
  font-weight: 700;
  color: var(--aubergine-d);
  width: 1%;
}
.tarifs__table th.tarifs__col-prix { color: #fff; }

.tarifs__vide {
  padding: 26px 18px;
  text-align: center;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 600px) {
  .tarifs__table { font-size: .9rem; }
  .tarifs__table th,
  .tarifs__table td { padding: 10px 12px; }
  .tarifs__search input { max-width: 100%; }
}

/* ---------- Formulaire contact ---------- */
.form { display: grid; gap: 16px; max-width: 620px; }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 4px; }
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--pink-mid); border-color: var(--pink-mid); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-card p { margin: 6px 0; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: #2c2320;
  color: #e9ddd3;
  padding: 50px 0 24px;
  font-size: .95rem;
}
.site-footer a { color: #f3d4d6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
.site-footer h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid #4a3d37;
  margin-top: 34px;
  padding-top: 18px;
  color: #b7a89d;
}

/* ---------- Bandeau simple (pages internes) ---------- */
.page-head {
  background: linear-gradient(180deg, var(--pink) 0%, var(--cream) 100%);
  text-align: center;
  padding: 60px 0 50px;
}
.page-head .script { font-size: 1.8rem; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__img { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .brand img { height: 66px; }

  /* Le menu se déploie sous l'en-tête, sur toute la largeur */
  .nav ul {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fffaf4;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 14px 30px rgba(139, 92, 96, .16);
    padding: 6px 0;
    z-index: 60;
  }
  .nav ul.open { display: flex; }
  .nav ul li { width: 100%; text-align: center; }
  .nav ul li + li { border-top: 1px solid var(--line); }
  .nav a { display: block; border-radius: 0; padding: 13px 10px; }
  .nav a.active { background: var(--pink-soft); color: var(--aubergine-d); }

  .nav-toggle-label {
    display: block;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    background: var(--aubergine);
    padding: 9px 18px;
    border-radius: 24px;
    white-space: nowrap;
  }
}
