/* Page institutionnelle Thalissia. Styles isolés du site vitrine. */
/* Match the institutional hero paragraph's line breaks while General Sans loads. */
@font-face {
  font-family: "Thalissia Segoe Fallback";
  src: local("Segoe UI"), local("SegoeUI");
  font-weight: 500;
  size-adjust: 104%;
  ascent-override: 97.115%;
  descent-override: 23.077%;
  line-gap-override: 9.615%;
}
@font-face {
  font-family: "Thalissia Segoe Fallback";
  src: local("Segoe UI Semibold"), local("SegoeUI-Semibold");
  font-weight: 600;
  size-adjust: 105%;
  ascent-override: 96.190%;
  descent-override: 22.857%;
  line-gap-override: 9.524%;
}
@font-face {
  font-family: "Thalissia Arial Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 500;
  size-adjust: 102.802%;
  ascent-override: 98.247%;
  descent-override: 23.346%;
  line-gap-override: 9.727%;
}
@font-face {
  font-family: "Thalissia Arial Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  size-adjust: 99.085%;
  ascent-override: 101.933%;
  descent-override: 24.222%;
  line-gap-override: 10.092%;
}

.thalissia-page {
  --th-red-wash: #65060666;
  overflow-x: clip;
}
:is(.th-hero, .th-dark) {
  position: relative;
  isolation: isolate;
}
:is(.th-hero, .th-dark)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--th-red-accent);
  opacity: .5;
  pointer-events: none;
}
.thalissia-page .th-hero {
  --th-red-accent:
    radial-gradient(ellipse at 79% 45%, var(--burgundy) 12%, transparent 67%),
    radial-gradient(ellipse at 5% 100%, #5f102d, transparent 58%),
    linear-gradient(120deg, var(--navy), var(--burgtext) 63%, var(--burgundy));
  background:
    radial-gradient(ellipse at 79% 44%, #602249 0%, transparent 43%),
    radial-gradient(ellipse at 77% 87%, var(--th-red-wash), transparent 58%),
    linear-gradient(120deg, var(--navy) 24%, #241b4a 100%);
  padding: clamp(115px, 12vw, 174px) 0 110px;
  overflow: hidden;
  color: var(--editorial-text-on-dark);
}
.th-hero-content {
  max-width: 780px;
}
.th-kicker, .th-index {
  font-weight: var(--weight-heading);
  letter-spacing: .09em;
  font-size: 1rem;
  text-transform: uppercase;
}
.thalissia-page main h1 {
  font-size: clamp(2.375rem, 5.2vw, 4.25rem);
  max-width: 780px;
  margin: 24px 0 30px;
}
.thalissia-page main h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); margin-bottom: 35px; }
.thalissia-page main h1 em, .thalissia-page main h2 em {
  font-weight: inherit;
  font-style: normal;
}
#th-vision-title em { font-style: normal; }
.th-hero p:not(.th-kicker), .th-cta p:not(.th-kicker) { font-size: clamp(1rem, 1.45vw, 1.25rem); max-width: min(650px, var(--reading-width)); }
body.thalissia-page .th-hero-detail > p {
  font-family: "General Sans", "Thalissia Segoe Fallback", "Thalissia Arial Fallback",
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.th-hero .th-lead { font-weight: 700; }
.th-hero-art {
  position: relative;
  width: min(100%, 520px);
  min-height: clamp(200px, 34vw, 300px);
  margin: clamp(20px, 3vw, 38px) auto;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: radial-gradient(ellipse at 52% 53%, #a96aff2b 0%, transparent 68%);
}
.th-hero-art .th-device {
  position: absolute;
  display: block;
  box-sizing: border-box;
  pointer-events: none;
  border: 1px solid #d9b7ef9c;
  background: linear-gradient(145deg, #b888df55, #321e5b7d 62%, #0c1736d9);
  box-shadow: 0 25px 65px #070b2459, inset 0 1px 0 #f2dfff50;
}
.th-hero-art .th-device-screen {
  position: absolute;
  display: block;
  inset: 10px;
  overflow: hidden;
  border: 1px solid #e4c9fb45;
  border-radius: 5px;
  background: linear-gradient(150deg, #8b508a66, #20295a66 52%, #11163099);
}
.th-hero-art .th-device-screen::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 9%;
  width: 55%;
  height: 3px;
  border-radius: 10px;
  background: #ead2ff82;
  box-shadow: 0 11px 0 #ead2ff38, 0 22px 0 #ead2ff25;
}
.th-hero-art .th-device-screen::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 12%;
  width: 40%;
  height: 36%;
  border-radius: 6px;
  background: linear-gradient(145deg, #c38acf50, #6c429b33);
  border: 1px solid #d9c1fb39;
}
.th-hero-art .th-device--desktop {
  z-index: 0;
  width: 79%;
  height: 58%;
  top: 7%;
  left: 5%;
  border-radius: 14px;
  transform: rotate(-7deg);
}
.th-hero-art .th-device--desktop::after {
  content: "";
  position: absolute;
  left: 40%;
  bottom: -16px;
  width: 20%;
  height: 15px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(#a987bd99, #3f315e8c);
  border: 1px solid #d9b7ef75;
}
.th-hero-art .th-device--tablet {
  z-index: 1;
  width: 44%;
  height: 69%;
  top: 22%;
  right: 1%;
  border-radius: 19px;
  transform: rotate(11deg);
  border-width: 5px;
  border-color: #caa9e2c4;
}
.th-hero-art .th-device--tablet .th-device-screen { inset: 6px; border-radius: 9px; }
.th-hero-art .th-device--mobile {
  z-index: 2;
  width: 18%;
  height: 47%;
  bottom: 1%;
  left: 4%;
  border-radius: 14px;
  transform: rotate(-12deg);
  border-width: 4px;
  border-color: #dcbaf0c9;
}
.th-hero-art .th-device--mobile .th-device-screen { inset: 4px; border-radius: 8px; }
.th-hero-art .th-device--mobile .th-device-screen::before {
  top: 14%;
  left: 15%;
  width: 65%;
  height: 2px;
  box-shadow: 0 8px 0 #ead2ff38, 0 16px 0 #ead2ff25;
}
.th-hero-art .th-device--mobile .th-device-screen::after {
  right: 15%;
  bottom: 12%;
  width: 65%;
  height: 25%;
}
.th-hero-art img {
  position: relative;
  z-index: 3;
  width: min(72%, 360px);
  height: auto;
  filter: drop-shadow(0 18px 32px #090920aa);
}
.th-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: var(--weight-heading);
  border-bottom: 2px solid #b587ff;
  padding: 6px 0 10px;
}
.th-text-link:hover { color: var(--ivory); }
.th-section { padding: clamp(75px, 8vw, 135px) 0; }
.th-editorial-grid {
  display: grid;
  grid-template-areas: "copy" "art";
  align-items: center;
  gap: clamp(22px, 5vw, 76px);
}
.th-copy { grid-area: copy; min-width: 0; }
.th-copy p:not(.th-index) { font-size: clamp(1rem, 1.3vw, 1.1875rem); max-width: var(--reading-width); }
.th-copy p:last-child { margin-bottom: 0; }
.th-editorial-art {
  grid-area: art;
  display: block;
  width: min(100%, 480px);
  height: auto;
  justify-self: center;
}
@media (width > 890px) {
  .th-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas:
      "intro art"
      "detail art";
    column-gap: 7%;
    max-width: none;
  }
  .th-hero-intro { grid-area: intro; }
  .th-hero-detail { grid-area: detail; }
  .th-hero-art {
    grid-area: art;
    place-self: center;
    min-height: 350px;
    margin: 0;
  }
  .th-editorial-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    grid-template-areas: "copy art";
  }
  .th-editorial-grid--vision {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    grid-template-areas: "art copy";
  }
}
.th-light .th-index { color: var(--editorial-text-on-light); }
.th-light h2 { color: var(--burgtext); }
.th-light .th-copy p:not(.th-index) { color: var(--editorial-paragraph-on-light); }
.th-dark {
  --th-red-accent:
    radial-gradient(ellipse at 24% 32%, var(--burgundy) 12%, transparent 69%),
    radial-gradient(ellipse at 93% 80%, #5f102d, transparent 58%),
    linear-gradient(125deg, var(--burgtext), #101632 94%);
  background:
    radial-gradient(circle at 10% 10%, #5f102d 0%, transparent 39%),
    radial-gradient(ellipse at 87% 84%, var(--th-red-wash), transparent 58%),
    #101632;
  color: var(--editorial-text-on-dark);
}
.th-dark .th-index {
  position: relative;
  isolation: isolate;
  width: fit-content;
}
.th-dark .th-index::before {
  content: "";
  position: absolute;
  inset: -.35em 0;
  z-index: -1;
  background: var(--navy);
  opacity: .16;
  filter: blur(.5em);
  pointer-events: none;
}
.th-wide-title { max-width: 820px; margin: 36px 0 56px; }
.th-values article {
  --card-border: #c5aab2;
  --card-radius: 14px;
  padding: 36px;
}
.th-value-mark {
  position: absolute;
  top: 5px;
  right: 10px;
  display: grid;
  width: 26px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  color: transparent;
  font-size: 1.0625rem;
  line-height: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .motion-card.is-engaged .th-value-mark { color: var(--burgundy); }
}
.th-values h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5625rem);
  margin-bottom: 12px;
  color: var(--editorial-text-on-light);
}
.th-values p {
  font-size: 1.0625rem;
  margin-bottom: 0;
  color: var(--editorial-paragraph-on-light);
}
.th-values article p + p { margin-top: var(--paragraph-gap); }
.th-editorial {
  margin: 42px 0 0;
  max-width: var(--reading-width);
  font-size: 1.0625rem;
  color: var(--editorial-paragraph-on-light);
}
@media (width > 890px) {
  .th-editorial { max-width: none; }
}
.th-editorial a {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: var(--weight-heading);
  color: var(--editorial-text-on-light);
}
.th-editorial a:hover { text-decoration-thickness: 0.15em; }
.th-cta {
  background:
    radial-gradient(ellipse at 85% 30%, #63214c, transparent 45%),
    radial-gradient(ellipse at 32% 100%, var(--th-red-wash), transparent 65%),
    linear-gradient(120deg, #350a20, #151633);
  color: var(--editorial-text-on-dark);
}
.th-cta-content { max-width: 1050px; }
.th-cta h2 { max-width: 920px; }
.th-cta .btn { margin-top: 26px; }
@media (max-width: 1130px) {
  .site:not(.has-menu) .th-hero { padding-top: 3rem; }
}
@media (max-width: 890px) {
  .th-hero-art img { max-width: 330px; }
}
@media (max-width: 620px) {
  .thalissia-page .th-hero { padding: 116px 0 72px; }
  .th-hero-art img { max-width: 270px; }
  .th-hero-art .th-device--desktop { border-radius: 10px; }
  .th-hero-art .th-device--tablet { border-radius: 13px; border-width: 4px; }
  .th-hero-art .th-device--mobile { border-radius: 11px; border-width: 3px; }
  .th-hero-art .th-device-screen { inset: 7px; }
  .th-hero-art .th-device--tablet .th-device-screen { inset: 4px; }
  .th-hero-art .th-device--mobile .th-device-screen { inset: 3px; }
  .th-values { --grid-columns: 1; }
  .th-values article { padding: 26px; }
  .th-section { padding: 72px 0; }
  .th-cta .btn { width: 100%; }
}
