:root {
  --blue: #0d5aff;
  --blue-light: #e9f3ff;
  --border-light: #dbe5ff;
  --text-main: #1a1a1a;
  --bg-alt: #f7faff;
  --radius: 12px;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #f0f0f0;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* ✅ colle tout à gauche */
  gap: 6px;                     /* ✅ espace petit entre logo et phrase */
  padding: 12px 0;
}


.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--blue);
}
/* ✅ RunCall header tagline (intervenant.html) — premium + readable */
.rc-tagline{
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: #64748b;

  letter-spacing: -0.01em;
  line-height: 1;

  white-space: nowrap;
  margin-left: 6px;        /* respiration naturelle avec le logo */
}


/* Mobile: guarantee it fits on one line */
@media (max-width: 640px){
  .rc-tagline{
    font-size: clamp(0.80rem, 3.1vw, 0.95rem);
    overflow: hidden;
    text-overflow: ellipsis; /* safety net on very small screens */
  }
}


.nav a {
  margin-left: 18px;
  font-size: 0.95rem;
}

/* HERO */

.hero {
  background: #e3f1ff;
  padding: 120px 0 160px;
  text-align: center; /* 💥 Centre tout le texte */
}

.hero-inner {
  max-width: 800px; /* un peu plus large */
  margin: 0 auto;   /* 💥 Centre tout le bloc horizontalement */
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* 💥 Centre les éléments (titre, texte, bouton) */
}

.hero-text h1 {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 45px;
  max-width: 650px; /* Pour un texte centré plus lisible */
  color: #333;
}

/* BUTTONS */

.btn.btn-primary {
  padding: 15px 32px;
  font-size: 1.15rem;
  border-radius: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: #0046d6;
  border-color: #0046d6;
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue-light);
}

/* SECTIONS */

.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #666;
  font-size: 0.95rem;
}

/* STEPS */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.step-card {
  background: #eef6ff; /* bleu très léger */
  border: 1px solid #dbe9ff; /* fin contour bleu */
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* ombre douce */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}

/* EXPERTS */

.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.expert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expert-card h3 {
  margin: 0 0 8px;
}

.expert-specialty {
  margin: 0 0 12px;
  color: #555;
}

.expert-price {
  margin: 0 0 16px;
  font-weight: 700;
}

/* WHY */

.why-list {
  margin: 20px 0 0;
  padding-left: 18px;
}

/* CONTACT FORM */

.contact-form {
  margin-top: 26px;
  max-width: 540px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-row label {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-family: inherit;
  font-size: 0.95rem;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid #f0f0f0;
  padding: 18px 0;
  font-size: 0.85rem;
  color: #777;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

/* MODALES */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  padding: 24px 22px 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  z-index: 101;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-steps {
  margin: 12px 0 20px;
  padding-left: 18px;
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* RESPONSIVE */

@media (max-width: 640px) {
  .hero {
    padding: 60px 0 50px;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}
.experts-thanks {
  font-size: 0.6em;
  font-weight: 400;
  color: #555;
  margin-left: 6px;
}

/* ========================= */
/* PAGE EXPERT – Lucas       */
/* ========================= */

.expert-header {
  text-align: center;
  padding: 40px 20px 20px;
}

.expert-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.expert-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-top: 8px;
}

.expert-bio {
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 0 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.expert-points {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 40px;
  font-size: 1rem;
}

.expert-points li {
  margin-bottom: 8px;
}

.expert-calendly {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 20px;
  text-align: center;
}

.back-home {
  text-align: center;
  padding-bottom: 40px;
  font-size: 0.95rem;
}
/* CONTACT SPLIT SECTION */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-divider {
  background-color: #ddd;
  width: 1px;
}

.contact-right {
  text-align: center;
}

.contact-right p {
  max-width: 420px;
  margin: 0 auto 30px auto;
}

.btn-center {
  display: inline-block;
  margin-top: 10px;
}

/* Responsive mobile */
@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-divider {
    display: none;
  }

  .contact-right {
    margin-top: 50px;
  }
}
/* CTA DEVENEZ EXPERT - SECTION COMMENT ÇA MARCHE */

.expert-cta {
  margin-top: 60px;
  text-align: center;
}

.expert-cta-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}
/* LANGUAGE SWITCH */

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 20px;
}

.lang-switch button {
  background: transparent;
  border: 1px solid #ccc;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.85rem;
  border-radius: 4px;
}

.lang-switch button.active {
  background-color: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.logo-link {
  text-decoration: none;
}

.logo-link .logo {
  cursor: pointer;
}

/* support.css */
/* Scoped styles: only affect elements inside .support-page */

.support-page {
  background: #f8fafc; /* light premium background */
}

.support-page .checkout-wrap{
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 0 36px;
}

.support-page .checkout-card{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.support-page .checkout-hero{
  padding: 26px 24px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: radial-gradient(800px 300px at 20% 0%, rgba(22,119,255,0.10), transparent 55%);
}

.support-page .badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #475569;
  font-size: 0.9rem;
}

.support-page .badge-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1677ff;
}

.support-page .checkout-title{
  margin: 14px 0 6px;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.support-page .checkout-subtitle{
  margin: 0;
  color: #475569;
  line-height: 1.5;
  font-size: 1.02rem;
  max-width: 60ch;
}

.support-page .checkout-body{
  padding: 20px 24px 24px;
}

.support-page .support-note{
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.6;
  font-size: 1rem;
}

/* OPTIONS */
.support-page .support-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.support-page .support-btn{
  display: block;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: transform 140ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.support-page .support-btn .price{
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.support-page .support-btn .hint{
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #64748b;
}

.support-page .support-btn:hover{
  transform: translateY(-2px);
  border-color: #1677ff;
  background: rgba(22,119,255,0.08);
  box-shadow: 0 10px 24px rgba(22,119,255,0.12);
}

.support-page .support-btn:active{
  transform: translateY(-1px);
}

.support-page .support-btn.featured{
  border-color: #1677ff;
  background: rgba(22,119,255,0.06);
}

/* FOOTER */
.support-page .checkout-footer{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 0.9rem;
}

.support-page .secure{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.support-page .lock{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #1677ff;
  font-weight: 800;
}

.support-page .tiny-link{
  color: #64748b;
  text-decoration: none;
  border-bottom: 1px dashed rgba(22,119,255,0.35);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.support-page .tiny-link:hover{
  color: #0f172a;
  border-color: rgba(22,119,255,0.55);
}

/* Mobile */
@media (max-width: 720px){
  .support-page .checkout-title{ font-size: 1.45rem; }
  .support-page .support-grid{ grid-template-columns: 1fr; }
  .support-page .support-btn{ text-align: left; }
}
/* --- No-scroll fit: tighten right column while staying premium --- */

/* Global small tightening */
.p-body{ padding: 18px 20px 20px; }
.p-panel{ padding: 14px; border-radius: 16px; }

/* Calendar header a bit smaller */
.p-cal-head{ margin-bottom: 10px; }
.p-cal-title{ font-size: 1.02rem; }

/* Buttons slightly tighter */
.p-btn{
  padding: 9px 10px;
  border-radius: 12px;
  font-weight: 800;
}

/* Day columns a bit tighter */
.p-days{ gap: 8px; }
.p-day{
  padding: 9px;
  border-radius: 14px;
  min-height: 112px; /* slightly smaller */
}
.p-day h4{ margin: 0 0 6px; font-size: .9rem; }

/* Slot pills more compact */
.p-slot{
  padding: 7px 10px;
  border-radius: 12px;
  font-weight: 900;
  font-size: .92rem;
}

/* Make text blocks less tall */
.p-muted{ margin-top: 8px; font-size: .94rem; line-height: 1.5; }

/* Mobile: reduce even more */
@media (max-width: 920px){
  .p-body{ padding: 16px; }
  .p-panel{ padding: 14px; }
  .p-day{ min-height: 96px; }
}

.p-page{
  --blue: #6ea8ff;          /* bleu clair, doux, non agressif */
  --blue-light: #f6faff;    /* quasi blanc bleuté */
  --border-light: #e6efff;  /* bordures très subtiles */
}

/* =========================
   RunCall Calendar overrides (paste at end)
   ========================= */

/* Keep the month grid clean and balanced */
.p-panel.calendar .p-month{
  gap: 10px;                 /* a bit more airy */
}

/* Days of week: Monday-first labels already handled in JS */
.p-panel.calendar .p-dow{
  gap: 10px;
}
.p-panel.calendar .p-dow div{
  font-size: .75rem;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: .04em;
}

/* ✅ Perfect circles: make each day cell a square */
.p-panel.calendar .p-mday{
  aspect-ratio: 1 / 1;       /* forces perfect square */
  padding: 0;                /* avoids oval distortion */
  min-height: 0;             /* remove any min-height influence */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  letter-spacing: -.01em;
  background: transparent;   /* base: no background */
}

/* ✅ Out-of-month cells: fully blank, no hover, no click feel */
.p-panel.calendar .p-mday.is-out{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  cursor: default !important;
  transform: none !important;
}

/* ✅ No availability: grey number, no border, no background */
.p-panel.calendar .p-mday.no-any{
  color: rgba(148,163,184,.9); /* light grey */
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.p-panel.calendar .p-mday.no-any:hover{
  transform: none;
  background: transparent;
  box-shadow: none;
}

/* ✅ Has availability: PERFECT circle, soft light-blue fill, no border */
.p-panel.calendar .p-mday.has-any{
  border: none !important;
  border-radius: 999px;                 /* circle */
  color: #1677ff;                       /* same blue */
  background: rgba(22,119,255,.18);     /* lighter / more transparent */
  box-shadow: none !important;
}
.p-panel.calendar .p-mday.has-any:hover{
  transform: translateY(-1px);
  background: rgba(22,119,255,.24);
}

/* ✅ Selected day: slightly stronger fill, still circle */
.p-panel.calendar .p-mday.is-selected{
  border: none !important;
  border-radius: 999px;
  background: rgba(22,119,255,.32);
  box-shadow: none !important;
}
@media (max-width: 640px){
  /* Bio wrapper stays */
  .p-bio-wrap{
    position: relative;
    margin-top: 2px;
    padding-bottom: 18px; /* room for the arrow */
  }

  /* ✅ FORCE 3 lines by default (collapsed) */
  .p-bio-wrap:not(.is-open) #expertBio{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  /* Fade on 4th line */
  .p-bio-fade{
    pointer-events: none;
    position:absolute;
    left:0; right:0;
    bottom: 18px;              /* align with padding-bottom */
    height: 2.2em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    opacity: 1;
    transition: opacity 160ms ease;
  }
  .p-bio-wrap.is-open .p-bio-fade{ opacity: 0; }

  /* ✅ Arrow ALWAYS visible on mobile */
  .p-bio-toggle{
    position:absolute;
    right: 2px;
    bottom: 2px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(22,119,255,.20);
    background: var(--rc-blue-grad);
    display:grid;              /* force visible */
    place-items:center;
    cursor:pointer;
    user-select:none;
    box-shadow: 0 10px 20px rgba(22,119,255,.10);
    transition: transform 140ms ease, box-shadow 160ms ease;
  }
  .p-bio-toggle:hover{ transform: translateY(-1px); box-shadow: 0 14px 24px rgba(22,119,255,.14); }
  .p-bio-toggle svg{ width:16px; height:16px; fill: var(--rc-blue); opacity:.9; }

  /* Rotate arrow when open */
  .p-bio-wrap.is-open .p-bio-toggle{ transform: rotate(180deg); }
}
@media (max-width: 640px){

  /* ✅ On n'utilise plus l'overlay blanc (cause de la barre) */
  .p-bio-fade{ display:none !important; }

  /* ✅ Clamp 3 lignes + fondu via mask (pas de barre) */
  .p-bio-wrap:not(.is-open) #expertBio{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    /* Fade out the last line */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
  }

  /* (optionnel) un peu moins de padding puisque plus d'overlay */
  .p-bio-wrap{ padding-bottom: 14px; }
}
