/* ==========================================================
   Laëtitia Sieffermann — Psychologue clinicienne
   Feuille de style unique du site
   ========================================================== */

/* Polices : Barlow (texte) + Cormorant Garamond (titres, remplace « Megidana » de Wix) */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@200;300;400;600&family=Cormorant+Garamond:wght@300;400&display=swap');

:root {
  --fond: #faf5f1;      /* charte : rose pâle */
  --fond-rose: #f3e2db; /* charte : rose clair */
  --texte: #323130;
  --gris: #988f93;
  --gris-clair: #a5aeb0;
  --bleu: #6482ad;      /* charte : bleuet */
  --beige: #b9a096;
  --trait: #c9c3c5;
  --titre: 'Cormorant Garamond', Georgia, serif;
  --corps: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.leger { color: var(--gris); font-weight: 300; }
strong, .fort { font-weight: 600; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(var(--fond-rose), rgba(243,226,219,.92));
  backdrop-filter: blur(4px);
}
/* Trois colonnes symétriques : le monogramme est exactement au centre de la page */
.entete nav {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 48px;
  padding: 16px 24px;
}
.menu { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; font-size: 18px; letter-spacing: .01em; }
.menu.gauche { justify-content: flex-end; }
.menu.droite { justify-content: flex-start; }
.menu > li { position: relative; }
.menu a { text-decoration: none; color: var(--texte); }
.menu a:hover, .menu a.actif { color: var(--beige); }
.sous-menu {
  display: none; position: absolute; left: 50%; transform: translateX(-50%);
  top: 100%; padding: 12px 0; margin: 0; list-style: none; min-width: 180px;
  background: var(--fond); box-shadow: 0 6px 18px rgba(0,0,0,.06); text-align: center;
}
.sous-menu a { display: block; padding: 5px 18px; font-size: 15px; }
.menu li:hover .sous-menu, .menu li:focus-within .sous-menu { display: block; }
.monogramme img { height: 58px; width: auto; }
.menu a.contact-btn { color: var(--bleu); font-weight: 600; }
.menu a.contact-btn:hover { color: var(--beige); }
.burger { display: none; }

/* ---------- Titres & sections ---------- */
h1, h2, h3 { font-family: var(--titre); font-weight: 300; margin: 0; line-height: 1.15; }
h1 { font-size: 52px; color: var(--bleu); text-align: center; }
h2 { font-size: 34px; color: var(--bleu); }
h3 { font-size: 28px; }
.titre-page { padding: 70px 24px 50px; }
.section { max-width: 1000px; margin: 0 auto; padding: 50px 24px; }

/* Deux colonnes séparées par un trait vertical (motif récurrent du site) */
.deux-col {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 48px; align-items: start;
}
.deux-col > .sep { background: var(--trait); align-self: stretch; }
.deux-col p { margin: 0 0 14px; font-size: 14.5px; }

/* ---------- Accueil ---------- */
/* Accueil : nom, puis « Psychologue clinicienne… », puis l'aquarelle avec la citation de Rûmî posée dessus */
.hero { text-align: center; padding-top: 70px; background: linear-gradient(var(--fond-rose), #fbf4f2 360px); } /* #fbf4f2 = fond de l'aquarelle : aucune ligne de raccord */
.hero .nom { width: 300px; margin: 0 auto 10px; }
.intro { text-align: center; padding: 18px 24px 0; }
.intro h2 { font-size: 38px; color: var(--gris); }
.intro p { color: var(--gris); margin: 12px 0 0; font-size: 18px; }
.paysage { position: relative; }
.hero .aquarelle { width: 100%; max-height: 620px; object-fit: cover; object-position: center 45%; }
.citation {
  position: absolute; left: 0; right: 0; top: 9%;
  margin: 0; padding: 0 24px; text-align: center;
}
.citation blockquote {
  margin: 0; font-family: var(--titre); font-size: 30px; font-weight: 300; line-height: 1.3;
  color: var(--gris); text-shadow: 0 0 18px var(--fond), 0 0 6px var(--fond);
}
.citation cite { display: block; margin-top: 16px; font-style: normal; letter-spacing: .5em; font-size: 12px; color: var(--gris); }

.metiers { text-align: center; }
.metiers .deux-col { gap: 0; }
.metier { padding: 70px 40px; }
.metier h3 { color: var(--bleu); margin-bottom: 26px; }
.metier.art h3 { color: var(--gris-clair); }
.metier.formation h3 { color: var(--beige); }
.metier p { font-size: 14px; margin: 0 0 14px; }
.metiers .bas { border-top: 1px solid var(--trait); max-width: 520px; margin: 0 auto; }

.bouton {
  display: inline-block; margin-top: 18px; padding: 7px 18px;
  border: 1px solid var(--gris-clair); color: var(--gris); text-decoration: none; font-size: 14px;
  transition: background .2s, color .2s;
}
.bouton:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--trait); }
.contact h2 { font-size: 44px; color: var(--gris-clair); margin-bottom: 30px; }
.contact .coord { display: flex; gap: 26px; align-items: flex-start; }
.contact .coord img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex: none; }
.contact .coord p { margin: 0 0 14px; color: var(--gris); font-size: 14.5px; }
.contact .coord a { text-decoration: none; }
.contact .coord a.lien { text-decoration: underline; color: var(--gris); }
form.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.formulaire label { display: block; font-size: 13px; color: var(--gris); }
.formulaire input, .formulaire textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--gris-clair);
  background: transparent; padding: 6px 0; font: inherit; font-size: 14px; color: var(--texte);
}
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-bottom-color: var(--bleu); }
.formulaire .large { grid-column: 1 / -1; }
.formulaire textarea { min-height: 70px; resize: vertical; }
.formulaire button {
  grid-column: 1 / -1; justify-self: end; width: 46%;
  background: transparent; border: 1px solid var(--gris-clair); color: var(--gris);
  padding: 8px; font: inherit; font-size: 14px; cursor: pointer;
}
.formulaire button:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }
.formulaire .piege { position: absolute; left: -9999px; }
.message-ok { grid-column: 1 / -1; color: var(--bleu); font-size: 14px; }

/* ---------- Qui suis-je ---------- */
.photo-texte img { width: 100%; height: auto; }
.photo-texte .col { display: flex; flex-direction: column; gap: 40px; }
/* Ordinateur : chaque bloc de droite est centré face au bloc de gauche (texte face au portrait, etc.) */
@media (min-width: 821px) {
  .photo-texte { row-gap: 40px; }
  .photo-texte .col { display: contents; }
  .photo-texte .col:first-child > * { grid-column: 1; }
  .photo-texte .col:last-child > * { grid-column: 3; align-self: center; }
  .photo-texte > .sep { grid-column: 2; grid-row: 1 / span 3; }
  .photo-texte .col > :nth-child(1) { grid-row: 1; }
  .photo-texte .col > :nth-child(2) { grid-row: 2; align-self: center; }
  .photo-texte .col > :nth-child(3) { grid-row: 3; align-self: center; }
}
.bandeau { height: 320px; background-size: cover; background-position: center; }
.parcours h2 { text-align: center; font-size: 48px; margin-bottom: 40px; }
.frise { text-align: right; }
.frise .etape { margin-bottom: 26px; font-size: 14px; }
.frise .annee { font-family: var(--titre); color: var(--bleu); font-size: 18px; display: block; }
.frise .etape strong { display: block; }
.frise .etape span { color: var(--gris); font-weight: 300; }
.actuel h3 { color: var(--bleu); font-size: 26px; margin-bottom: 20px; }
.actuel h4 { color: var(--bleu); font-size: 14px; font-weight: 600; margin: 22px 0 8px; }
.actuel ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--gris); }
.actuel li { margin-bottom: 6px; }
.actuel li strong { color: var(--texte); }

/* ---------- Découvrir (bas de page) ---------- */
.decouvrir {
  text-align: center; padding: 80px 24px; background-size: cover; background-position: center;
  position: relative;
}
.decouvrir::before { content: ""; position: absolute; inset: 0; background: rgba(250,245,241,.55); }
.decouvrir > * { position: relative; }
.decouvrir h2 { font-size: 48px; color: var(--gris); margin-bottom: 36px; }
.decouvrir .boutons { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.decouvrir .bouton { background: rgba(255,255,255,.6); color: var(--bleu); min-width: 150px; }

/* ---------- Y voir plus clair ---------- */
.theme h2 { margin-bottom: 26px; color: var(--gris); }
.theme img { width: 100%; height: 470px; object-fit: cover; }
.theme ul { font-size: 14px; color: var(--gris); padding-left: 18px; }
.texte-droite { text-align: right; } /* art-thérapie : texte à gauche de la photo sur ordinateur */

/* ---------- Références ---------- */
.references { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 24px 60px; }
.references .trait-v { width: 1px; height: 60px; background: var(--gris); margin: 0 auto 50px; }
.references article { margin-bottom: 46px; }
.references h3 { font-family: var(--corps); font-size: 15px; color: var(--bleu); font-weight: 400; margin-bottom: 6px; }
.references p { font-size: 13.5px; color: var(--gris); margin: 0; }

/* ---------- Mentions ---------- */
.mentions { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; font-size: 14.5px; }
.mentions h3 { font-family: var(--corps); font-size: 15px; font-weight: 600; color: var(--bleu); margin: 30px 0 6px; }
.mentions p { margin: 0; color: var(--gris); }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--trait); padding: 26px 24px 30px; font-size: 12px; color: var(--gris); }
.pied .inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.pied .liens { grid-column: 1 / -1; text-align: center; margin-bottom: 4px; }
.pied .liens a { color: var(--gris); margin: 0 14px; }
.pied p { margin: 0; line-height: 1.6; }
.pied .linkedin { width: 26px; height: 26px; border-radius: 50%; background: var(--gris); display: grid; place-items: center; }
.pied .linkedin svg { width: 13px; fill: #fff; }
.pied .nom-pied { justify-self: end; width: 90px; opacity: .7; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .entete nav { grid-template-columns: auto 1fr auto; padding: 10px 16px; }
  .burger {
    display: block; justify-self: end; background: none; border: 0; font-size: 26px; color: var(--texte); cursor: pointer;
  }
  .monogramme { grid-column: 1; grid-row: 1; }
  .burger { grid-column: 3; grid-row: 1; }
  .monogramme img { height: 46px; }
  .menu a.contact-btn { font-weight: 400; }
  .entete nav { gap: 0 12px; }
  /* Menu déroulant : rubriques en grand, sous-rubriques en retrait sous leur rubrique */
  .menu { display: none; }
  .entete.ouvert .menu {
    display: flex; flex-direction: column; grid-column: 1 / -1; gap: 0;
    align-items: stretch; text-align: left; font-size: 16px;
  }
  .entete.ouvert .menu.gauche { margin-top: 10px; }
  .entete.ouvert .menu.droite { padding-bottom: 12px; }
  .menu > li { border-top: 1px solid var(--trait); }
  .menu > li > a {
    display: block; padding: 12px 2px 10px;
    font-family: var(--titre); font-size: 24px; line-height: 1.2; color: var(--bleu);
  }
  .sous-menu {
    position: static; transform: none; display: block; box-shadow: none; background: none;
    min-width: 0; text-align: left; margin: 0 0 12px 4px; padding: 0 0 0 14px;
    border-left: 2px solid var(--beige);
  }
  .sous-menu a { padding: 4px 0; font-size: 15px; color: var(--gris); }
  h1 { font-size: 40px; }
  /* Téléphone : la citation reste juste sous l'aquarelle */
  .hero .aquarelle { height: 240px; object-position: center 46%; }
  .citation { position: static; padding: 28px 24px 8px; }
  .citation blockquote { font-size: 24px; text-shadow: none; }
  .deux-col, form.formulaire { grid-template-columns: 1fr; gap: 30px; }
  .deux-col > .sep { display: none; }
  .metier { padding: 40px 10px; }
  .frise { text-align: left; }
  .contact .coord { flex-direction: column; }
  .theme img { height: 340px; }
  /* Sur téléphone, la photo de chaque rubrique passe avant son texte (art-thérapie comprise) */
  .theme > img { order: -1; }
  .texte-droite { text-align: left; }
  /* « Qui suis-je ? » sur téléphone : ordre de lecture du texte, l'ordinateur garde ses deux colonnes */
  .photo-texte .col { display: contents; }
  .photo-texte .col:first-child > :nth-child(1) { order: 1; } /* portrait */
  .photo-texte .col:last-child  > :nth-child(1) { order: 2; } /* « En lien depuis mon enfance… » */
  .photo-texte .col:first-child > :nth-child(2) { order: 3; } /* « Désormais psychologue… » */
  .photo-texte .col:last-child  > :nth-child(2) { order: 4; } /* photo des mains */
  .photo-texte .col:last-child  > :nth-child(3) { order: 5; } /* « Mon activité… » */
  .photo-texte .col:first-child > :nth-child(3) { order: 6; } /* photo du cabinet */
  .decouvrir .boutons { gap: 16px; }
  .formulaire button { width: 100%; }
  .pied .inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .pied .nom-pied { justify-self: center; }
}
