/* ============================================================
   profession.css — overrides for profession landing pages
   (psychiatre, psychotherapeute, psychologue — FR / EN / DE)
   Loaded after sigmund.css:
     <link rel="stylesheet" href="[../]assets/css/profession.css">
   ============================================================ */

/* CSS variable override — slightly deeper background tint */
:root { --sg-light-bg: #EAF2FF; }

/* ---------- Hero ---------- */
.sg-hero { padding: 80px 0 60px; }

/* No rounded corners on hero image — bleeds to edge on mobile */
.sg-hero-img {
  filter: drop-shadow(0 8px 24px rgba(107,164,250,.25));
  border-radius: 0;
  box-shadow: none;
  max-width: 100%;
  height: auto;
}

/* ---------- Section titles ---------- */
/* Profession pages use responsive clamp() sizing, not fixed 1.5rem uppercase */
.sg-section-title {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.3px;
  text-align: center;
}

.sg-section-title span { color: var(--sg-primary); }

/* ---------- Testimonials ---------- */
/* Background image set inline per page — only structure & overlay here */
.sg-testimonials { position: relative; padding: 72px 0; }

.sg-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
}

/* White cards on photo background (vs transparent cards on gradient) */
.sg-testimonials .sg-carousel { overflow: hidden; }
.sg-testimonials .sg-carousel-track { overflow: hidden; }

.sg-testimonials .sg-carousel-slide {
  background: #fff;
  flex: 0 0 100%;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  backdrop-filter: none;
}

.sg-testimonials .sg-carousel-slide blockquote {
  color: var(--sg-dark);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
}

.sg-testimonials .sg-carousel-slide blockquote::before {
  color: var(--sg-primary);
  opacity: .4;
}

.sg-testimonials .sg-carousel-slide .author-name { color: var(--sg-primary); font-weight: 700; }
.sg-testimonials .sg-carousel-slide .author-role { color: var(--sg-primary); opacity: .8; }

/* Title readable over photo background */
.sg-testimonials .sg-section-title {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

/* Dots visible over photo */
.sg-testimonials .sg-dot { background: rgba(255,255,255,.5); }
.sg-testimonials .sg-dot.active { background: #fff; }

/* ---------- Pricing section ---------- */
/* Profession pages invert: gradient background, white card */
.sg-pricing-section-bg { background: var(--sg-gradient); padding: 72px 0; }

.sg-pricing {
  background: #fff;
  color: var(--sg-dark);
}

/* Remove the CSS '✓' prefix — profession pages use <i> icons instead */
.sg-pricing ul li::before { content: none; }

.sg-pricing ul li { display: flex; align-items: center; gap: .6rem; }
.sg-pricing ul li i { color: var(--sg-primary); font-size: 1.05rem; flex-shrink: 0; }

.sg-pricing .pricing-label {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sg-primary);
  margin-bottom: .75rem;
}

.sg-pricing .price { font-size: 3rem; font-weight: 800; letter-spacing: -1px; color: var(--sg-dark); }
.sg-pricing .price sup { font-size: 1.5rem; vertical-align: top; margin-top: .8rem; }
.sg-pricing .price sub { font-size: 1rem; font-weight: 400; color: #666; }
.sg-pricing .option-line { font-size: .88rem; font-style: italic; color: #555; margin-bottom: 1.5rem; display: block; }

.sg-pricing-img-wrap { height: 100%; }
.sg-pricing-img {
  border-radius: 16px;
  box-shadow: 0 16px 60px rgba(0,0,0,.18);
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- "Coming soon" inline callout ---------- */
.sg-coming-soon {
  background: #fff;
  border: 2px dashed var(--sg-primary);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  font-size: .92rem;
  color: var(--sg-dark);
  height: 100%;
}

.sg-coming-soon a { color: var(--sg-primary); }

/* ---------- Contact form ---------- */
.sg-contact-form .form-control {
  border: 1.5px solid rgba(107,164,250,.3);
  border-radius: 8px;
  font-size: .9rem;
  padding: .65rem .9rem;
}

.sg-contact-form .form-control:focus {
  border-color: var(--sg-primary);
  box-shadow: 0 0 0 3px rgba(107,164,250,.15);
}

.sg-contact-form .form-label { font-weight: 600; font-size: .87rem; color: var(--sg-dark); }

.sg-form-panel          { display: none; font-size: .95rem; border-radius: 8px; padding: .75rem 1rem; }
.sg-form-panel--error   { color: #661d1d; background-color: #ffeded; border: 1px solid #ff4949; }
.sg-form-panel--success { color: #085229; background-color: #e7faf0; border: 1px solid #13ce66; }

.sg-field-error { font-size: .82rem; color: #661d1d; background-color: #ffeded; border: 1px solid #ff4949; border-radius: 4px; padding: .25rem .5rem; margin-top: .25rem; display: none; }
.sg-honeypot    { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .sg-hero { padding: 48px 0 40px; }
  .sg-pricing { padding: 2rem 1.5rem; }
}
