/* =====================================================================
   Institut Therapeía — Conversion & UX enhancement layer
   Adds a modern, calm, trustworthy presentation on top of the existing
   template. Uses the established palette:
   --primary  : rgb(38, 185, 207)  (turquoise)
   --secondary: #026573             (deep teal)
   --accent    : turquoise (matches --primary) for highlights/CTAs
   ===================================================================== */

:root {
  --accent: rgb(38, 185, 207);
  --accent-dark: #026573;
  --ink: #2b3a3f;
  --muted: #5b6b70;
  --soft-bg: #f3f9fa;
}

/* ---------- General typographic polish ---------- */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.lead-benefit {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 10px auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero-modern .container {
  position: relative;
  z-index: 2;
}

.hero-modern .hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 7px 18px;
  border-radius: 40px;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(2px);
}

.hero-modern h1.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
}

.hero-modern .hero-sub {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #f4fbfc;
  max-width: 720px;
  margin: 0 auto 14px auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-modern .hero-typed {
  color: var(--accent);
  font-style: italic;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 30px;
  min-height: 1.4em;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 34px;
}

.btn-cta {
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  padding: 16px 38px !important;
  border-radius: 40px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta-accent {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.btn-cta-accent:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
}

.btn-cta-ghost {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  backdrop-filter: blur(2px);
}

.btn-cta-ghost:hover {
  background: #fff !important;
  color: var(--secondary) !important;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  color: #eafafc;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-trust i {
  color: var(--accent);
  margin-right: 8px;
}

@media (max-width: 991.98px) {
  .hero-modern h1.hero-title {
    font-size: 2.1rem;
  }

  .hero-modern .hero-sub {
    font-size: 1.08rem;
  }

  .btn-cta {
    font-size: 0.98rem !important;
    padding: 14px 28px !important;
  }
}

/* Phones: let the hero grow with its content instead of being locked to
   100vh (which crammed/clipped the stacked text) and clear the absolute
   navbar so nothing hides behind the logo. */
@media (max-width: 767.98px) {

  .hero-modern,
  .hero-modern>.container>.row {
    height: auto;
    min-height: 100vh;
  }

  /* Top-align so the (often tall) stacked content never centres upward
     behind the absolute navbar/logo. */
  .hero-modern>.container>.row {
    align-items: flex-start;
  }

  .hero-modern .container {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .hero-modern h1.hero-title {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }

  .hero-modern .hero-sub {
    font-size: 1rem;
  }

  .hero-modern .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-modern .hero-typed {
    font-size: 1.02rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
  }

  .hero-cta-group .btn-cta {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  /* The 160px logo is oversized on small screens and overlapped the hero. */
  .site-navbar img {
    width: 110px !important;
    height: 110px !important;
  }
}

/* ===================================================================
   LANGUAGE TOGGLE (FR / EN segmented control)
   =================================================================== */
.lang-toggle-item {
  display: inline-flex;
  align-items: center;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  vertical-align: middle;
}

/* override the inherited site-menu link styling */
.site-menu .lang-toggle a,
.lang-toggle a {
  display: inline-block !important;
  padding: 5px 15px !important;
  margin: 0 !important;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #fff !important;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-menu .lang-toggle a:hover,
.lang-toggle a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18);
}

.site-menu .lang-toggle a.active,
.lang-toggle a.active {
  background: #fff;
  color: var(--secondary) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-menu .lang-toggle a.active:hover,
.lang-toggle a.active:hover {
  background: #fff;
  color: var(--secondary) !important;
}

/* Inside the white mobile slide-out menu: use the teal palette so it
   stays readable on the white background. */
.site-mobile-menu .lang-toggle {
  background: transparent;
  border: 1px solid var(--primary);
  margin: 8px 20px;
}

.site-mobile-menu .site-nav-wrap .lang-toggle a,
.site-mobile-menu .lang-toggle a {
  display: inline-block !important;
  width: auto;
  color: var(--secondary) !important;
}

.site-mobile-menu .lang-toggle a:hover {
  background: rgba(38, 185, 207, 0.12);
  color: var(--secondary) !important;
}

.site-mobile-menu .lang-toggle a.active {
  background: var(--primary);
  color: #fff !important;
  box-shadow: none;
}

.site-mobile-menu .lang-toggle a.active:hover {
  background: var(--primary);
  color: #fff !important;
}

/* ===================================================================
   BENEFIT / OUTCOME CARDS
   =================================================================== */
.benefit-section {
  background: var(--soft-bg);
}

.benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 34px 26px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(2, 101, 115, 0.07);
  border: 1px solid rgba(2, 101, 115, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(2, 101, 115, 0.13);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px auto;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===================================================================
   ABOUT — modernised
   =================================================================== */
.about-photo-wrap {
  position: relative;
}

.about-photo-wrap img.about-portrait {
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(2, 101, 115, 0.18);
}

.about-credentials {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 101, 115, 0.1);
  padding: 22px 24px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
  margin-left: 18px;
  margin-right: 18px;
}

.about-credentials .name {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.about-credentials .role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.about-credentials .reg {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.mission-quote {
  border-left: 4px solid var(--accent);
  background: var(--soft-bg);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  font-size: 1.12rem;
  font-style: italic;
  color: var(--secondary);
  margin: 22px 0;
}

.about-text p {
  color: var(--ink);
  line-height: 1.75;
}

/* Differentiators */
.diff-grid {
  margin-top: 28px;
}

.diff-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(2, 101, 115, 0.06);
  height: 100%;
  border: 1px solid rgba(2, 101, 115, 0.05);
}

.diff-card .diff-ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(38, 185, 207, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-right: 14px;
}

.diff-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===================================================================
   TSU SHOWCASE — flagship offer
   =================================================================== */
.tsu-showcase {
  background: linear-gradient(135deg, var(--secondary) 0%, #014a54 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.tsu-showcase:before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(38, 185, 207, 0.35), transparent 70%);
  border-radius: 50%;
}

.tsu-badge {
  display: inline-block;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.tsu-showcase h2 {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

.tsu-showcase .tsu-lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #e6f7fa;
  margin-bottom: 26px;
}

.tsu-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.tsu-feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #f1fbfc;
}

.tsu-feature-list li i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-right: 14px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.tsu-feature-list li strong {
  color: #fff;
}

.tsu-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.tsu-card h3 {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.tsu-card .tsu-dur {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.tsu-quote {
  background: var(--soft-bg);
  border-radius: 12px;
  padding: 18px 20px;
  font-style: italic;
  color: var(--secondary);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.tsu-card .btn {
  width: 100%;
}

@media (max-width: 991.98px) {
  .tsu-showcase h2 {
    font-size: 1.9rem;
  }

  .tsu-card {
    margin-top: 30px;
  }
}

/* ===================================================================
   SERVICE intro CTA band reuse + repeated CTA band
   =================================================================== */
.cta-band-modern {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 18px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(2, 101, 115, 0.2);
}

.cta-band-modern h2 {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-band-modern p {
  color: #eafafc;
  font-size: 1.12rem;
  max-width: 680px;
  margin: 0 auto 26px auto;
}

/* Social proof rating row */
.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 30px;
  margin-bottom: 6px;
}

.proof-stars {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.proof-row .proof-text {
  color: var(--muted);
  font-weight: 600;
}

/* ===================================================================
   SECTION heading helper (eyebrow + centered)
   =================================================================== */
.heading-block {
  margin-bottom: 46px;
}

.heading-block .eyebrow {
  display: block;
}