/* ============================================
   MB Assistante Virtuelle — feuille de style commune
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Quicksand:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

:root{
  --aubergine: #51374e;
  --rose: #bf5687;
  --beige: #f3e1d2;
  --vert: #dde4b5;
  --marron: #b8a089;

  --rose-clair: #e3b8cb;
  --beige-clair: #faf3ec;
  --aubergine-clair: #7a5c76;
  --texte: #3f2c3d;

  --font-titre: "Fraunces", Georgia, serif;
  --font-texte: "Quicksand", "Segoe UI", sans-serif;
  --font-main: "Caveat", cursive;

  --ombre: 0 10px 30px rgba(81, 55, 78, 0.12);
  --radius: 22px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font-texte);
  color: var(--texte);
  background: var(--beige-clair);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4{
  font-family: var(--font-titre);
  color: var(--aubergine);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1{ font-size: clamp(2.2rem, 5vw, 3.4rem); }

.hl{
  background: var(--rose-clair);
  padding: 2px 14px;
  border-radius: 10px;
  display: inline-block;
}
h2{ font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3{ font-size: 1.35rem; }

p{ margin: 0 0 1em; }

a{ color: var(--rose); text-decoration: none; }

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section{ padding: 90px 0; position: relative; }

.section-alt{ background: var(--beige); }
.section-vert{ background: var(--vert); }
.section-aubergine{ background: var(--aubergine); color: #f6ece2; }
.section-aubergine h2, .section-aubergine h3{ color: var(--beige); }
.section-aubergine p{ color: #f3e1d2; }
.section-rose{ background: #fbeef2; }
.stats-card{
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 25px 50px rgba(81, 55, 78, .22);
  padding: 44px 30px;
  max-width: 780px;
  margin: 0 auto;
}
#qui-suis-je strong{ color: var(--rose); }

.kicker{
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--rose);
  display: inline-block;
  margin-bottom: .3em;
}

.center{ text-align: center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.lead{ font-size: 1.15rem; max-width: 640px; }
.lead-nowrap{ white-space: nowrap; max-width: none; }
.muted{ color: var(--aubergine-clair); }

/* ---------- Boutons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-texte);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn-rose{
  background: var(--rose);
  color: #fff;
  box-shadow: var(--ombre);
}
.btn-rose:hover{ transform: translateY(-3px); background: #ac4876; }
.btn-outline{
  background: transparent;
  border-color: var(--aubergine);
  color: var(--aubergine);
}
.btn-outline:hover{ background: var(--aubergine); color: #fff; transform: translateY(-3px); }
.btn-aubergine{
  background: var(--aubergine);
  color: #fff;
  box-shadow: var(--ombre);
}
.btn-aubergine:hover{ transform: translateY(-3px); background: #3f2c3d; }
.btn-large{ padding: 20px 44px; font-size: 1.2rem; }
.btn-block{ width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
header.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 236, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 160, 137, .4);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo{
  font-family: var(--font-titre);
  font-weight:700;
  font-size: 1.5rem;
  color: var(--aubergine);
  display:flex;
  align-items:center;
  white-space: nowrap;
  gap:.5em;
}
.logo span{ color: var(--rose); }
nav.nav-links{ display:flex; gap: 20px; align-items:center; }
nav.nav-links a{
  color: var(--aubergine);
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}
nav.nav-links a:hover{ color: var(--rose); }
.nav-social-group{ display:flex; align-items:center; gap:14px; }
.nav-social{ display:inline-flex; color: var(--aubergine); transition: color .2s ease; }
.nav-social:hover{ color: var(--rose); }
.nav-cta{
  background: var(--rose);
  color:#fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight:700 !important;
}
.nav-toggle{ display:none; background:none; border:none; font-size:1.8rem; color:var(--aubergine); cursor:pointer; }

/* landing pages : header minimal (pas de menu qui distrait) */
header.header-landing .nav-wrap{ justify-content:center; }
header.header-landing .logo{ font-size: 1.7rem; }

/* ---------- Hero ---------- */
.hero{
  padding: 80px 0 60px;
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items:center;
}
.hero .doodle-frame{ justify-self:center; }

/* ---------- Cadres illustrations ---------- */
.doodle-frame{
  position: relative;
  display:inline-block;
}
.doodle-frame > *{
  border-radius: 20px;
  overflow:hidden;
  box-shadow: var(--ombre);
}
.doodle-frame img{
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 420px;
  object-fit: cover;
}
.doodle-frame.wide img{
  aspect-ratio: 3 / 2;
}

.photo-text-card{
  max-width: 420px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ombre);
  border: 2px solid transparent;
}
a.photo-text-card{
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.photo-text-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 30px rgba(81, 55, 78, .18); border-color: var(--rose); }
.photo-text-card img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.photo-text-card .photo-text-card-body{
  background: var(--beige);
  padding: 28px 32px;
  text-align: center;
}
.photo-text-card .photo-text-card-body h3{ margin-bottom: 10px; }
.photo-text-card .photo-text-card-body p{ margin-bottom: 0; }
.photo-text-card .photo-text-card-top{
  background: var(--beige);
  padding: 22px 32px;
  text-align: center;
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-text-card .photo-text-card-top h3{ margin-bottom: 0; }
.photo-text-card.wide{ max-width: 640px; }
.photo-text-card.wide img{ aspect-ratio: 3 / 2; }

/* encarts de texte */
.doodle-box{
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--ombre);
  border: 1px solid rgba(184, 160, 137, .3);
}
.doodle-box.box-vert{ border-color: rgba(221, 228, 181, .8); }
.doodle-box.box-aubergine{ border-color: rgba(81, 55, 78, .25); }
.prompt-grid h3{ min-height: 3.3rem; }

.underline{ display:inline-block; }
.underline svg{ display:none; }

/* ---------- Blobs décoratifs ---------- */
.blob{ position:absolute; z-index:0; opacity:.6; pointer-events:none; }

/* ---------- Cards services ---------- */
.grid{ display:grid; gap: 30px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

/* ---------- Etapes numerotees ---------- */
.step{ position:relative; padding-top:10px; }
.step .step-num{
  font-family: var(--font-titre);
  font-weight:700;
  font-size:2.6rem;
  color: var(--rose-clair);
  line-height:1;
  margin-bottom:12px;
  display:block;
}
.step h3{ margin-bottom:.4em; }

.card{
  background:#fff;
  color: var(--texte);
  padding: 36px 28px;
  border-radius: 18px;
  box-shadow: var(--ombre);
  border: 2px solid transparent;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover{ transform: translateY(-4px); border-color: var(--rose); }
a.card{ display:block; text-decoration:none; }
.card .emoji, .emoji{ font-size: 2.2rem; margin-bottom: .4em; display:inline-block; }

.value-mark{
  display:inline-block;
  width: 40px;
  height: 5px;
  border-radius: 100px;
}

.card-photo{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.tag-cat{
  display:inline-block;
  background: var(--beige);
  color: var(--aubergine);
  font-weight:700;
  font-size:.72rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:5px 14px;
  border-radius:100px;
  margin-bottom:12px;
}

.card-lg{
  padding: 44px 38px;
}
.card-lg h3{ font-size:1.7rem; }
.card-lg p{ font-size:1.08rem; }

/* ---------- Stats ---------- */
.stat-number{
  display:block;
  font-family: var(--font-titre);
  font-weight:700;
  font-size: clamp(2.8rem, 6vw, 4rem);
  color: var(--rose);
  line-height:1;
}
.stat-label{
  display:block;
  margin-top:8px;
  font-family: var(--font-texte);
  font-size:1rem;
  color: var(--aubergine-clair);
}

/* ---------- Témoignages ---------- */
.testimonial{
  background:#fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--ombre);
  position:relative;
  display:flex;
  flex-direction:column;
  border: 2px solid transparent;
}
a.testimonial{
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.testimonial:hover{ transform: translateY(-4px); box-shadow: 0 14px 30px rgba(81, 55, 78, .18); border-color: var(--rose); }
.testimonial::before{
  content:"\201C";
  font-family: var(--font-titre);
  font-size: 4rem;
  color: var(--rose-clair);
  position:absolute;
  top: -10px; left: 16px;
  line-height:1;
}
.testimonial p{ font-style: italic; margin-top: 1.2em; }
.testimonial .hl-rose{ color: var(--rose); font-weight:700; font-style:normal; }
.testimonial .auteur{ font-family: var(--font-main); font-size: 1.3rem; color: var(--aubergine); margin-top:auto; padding-top: 16px; }

/* ---------- Formulaires ---------- */
.form-box{
  background:#fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--ombre);
}
label{ display:block; font-weight:700; color: var(--aubergine); margin-bottom: 6px; font-size:.95rem; }
input, textarea, select{
  width:100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 2px solid var(--rose-clair);
  font-family: var(--font-texte);
  font-size: 1rem;
  background: var(--beige-clair);
  margin-bottom: 20px;
  transition: border-color .2s ease;
}
input:focus, textarea:focus, select:focus{
  outline:none;
  border-color: var(--rose);
  background:#fff;
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkbox-row{ display:flex; align-items:flex-start; gap:10px; margin-bottom: 22px; }
.checkbox-row input{ width:auto; margin:4px 0 0; }
.checkbox-row label{ margin:0; font-weight:500; font-size:.92rem; color: var(--texte); }
.form-note{ font-size:.85rem; color: var(--aubergine-clair); margin-top:-10px; }

/* ---------- FAQ ---------- */
details.faq-item{
  background:#fff;
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: var(--ombre);
}
details.faq-item summary{
  cursor:pointer;
  font-weight:700;
  color: var(--aubergine);
  font-size: 1.05rem;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
details.faq-item summary::-webkit-details-marker{ display:none; }
details.faq-item summary::after{
  content:"+";
  font-size: 1.6rem;
  color: var(--rose);
  transition: transform .2s ease;
}
details.faq-item[open] summary::after{ transform: rotate(45deg); }
details.faq-item p{ margin-top: 14px; }

/* ---------- Diviseur ---------- */
.wave{ display:none; }

/* ---------- Badge prix ---------- */
.badge-prix{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  background: var(--rose);
  color:#fff;
  border-radius: 50%;
  width: 150px; height:150px;
  box-shadow: var(--ombre);
}
.badge-prix .montant{ font-family: var(--font-titre); font-size: 2.4rem; font-weight:700; }
.badge-prix .devise{ font-size:1rem; }
.badge-prix-inline{
  display:inline-block;
  background: var(--rose-clair);
  color: var(--aubergine);
  font-family: var(--font-titre);
  font-weight:700;
  font-size: 1.3rem;
  padding: 4px 16px;
  border-radius: 100px;
  margin: 10px 0 14px;
}

/* ---------- Liste à puces ---------- */
ul.check-list{ list-style:none; padding:0; margin: 0 0 1.5em; }
ul.check-list li{
  position:relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-weight:500;
}
ul.check-list li::before{
  content:"";
  position:absolute;
  left:2px; top:9px;
  width: 7px; height:7px;
  background: var(--rose);
  border-radius: 50%;
}

/* ---------- Footer ---------- */
footer{
  background: var(--aubergine);
  color: var(--beige-clair);
  padding: 50px 0 26px;
  text-align:center;
}
footer a{ color: var(--rose-clair); }
footer .footer-logo{ font-family: var(--font-titre); font-size:1.5rem; color:#fff; margin-bottom: 10px; }
footer .footer-links{ display:flex; gap:22px; justify-content:center; margin: 18px 0; flex-wrap:wrap; }
footer .copyright{ font-size:.85rem; opacity:.7; margin-top: 20px; }

/* ---------- Bandeau CTA ---------- */
.cta-banner{
  background: #fff;
  border: 2px solid rgba(184, 160, 137, .3);
  border-radius: var(--radius);
  padding: 50px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition: border-color .2s ease, transform .2s ease;
  color: inherit;
  text-decoration: none;
}
.cta-banner:hover{ border-color: var(--rose); }
.cta-banner h3{
  min-height: 2.6em;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cta-banner .btn{ margin-top:auto; }

/* ---------- Utilitaires ---------- */
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.stack{ display:flex; flex-wrap:wrap; gap: 16px; }
.tag{
  display:inline-block;
  background: var(--beige);
  color: var(--aubergine);
  padding: 6px 16px;
  border-radius: 100px;
  font-size:.85rem;
  font-weight:700;
  margin: 0 6px 6px 0;
}
#a-propos .tag{ border: 1.5px solid var(--rose); }

.tools-row{ flex-wrap: wrap; gap: 8px; }
.tools-row .tag{
  padding: 8px 16px;
  font-size: 1.1rem;
  margin: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tools-row .tag::before{
  content:"";
  display:inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--rose);
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px){
  .hero{ grid-template-columns: 1fr !important; text-align:center; }
  .nowrap-phrase{ white-space: normal !important; }
  .frame-marron{ width:100% !important; height:auto !important; }
  .frame-marron img{ height:auto !important; aspect-ratio:4/5; }
  .hero .doodle-frame{ order:-1; }
  .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  nav.nav-links{
    position:fixed; top:74px; left:0; right:0;
    background: var(--beige-clair);
    flex-direction:column;
    padding: 20px;
    border-bottom: 1px solid rgba(184, 160, 137, .4);
    display:none;
  }
  nav.nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
  section{ padding: 60px 0; }
  .cta-banner{ padding: 34px 22px; }
  .tools-row{ flex-wrap: wrap !important; justify-content:center !important; }
  .lead-nowrap{ white-space: normal; max-width: 640px; }
}
