/*
Theme Name: educratt
Theme URI: 
Author: Tsingy Technologies
Author URI: 
Description: Thème pour Educra
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: educratt
Tags: 
*/

/* Alias vers les presets de theme.json : permet de garder les var(--xxx) existants */
:root {
  --navy: var(--wp--preset--color--navy);
  --navy-deep: var(--wp--preset--color--navy-deep);
  --terra: var(--wp--preset--color--terra);
  --terra-light: var(--wp--preset--color--terra-light);
  --sage: var(--wp--preset--color--sage);
  --sage-link: var(--wp--preset--color--sage-link);
  --sage-hover: var(--wp--preset--color--sage-hover);
  --sage-light: var(--wp--preset--color--sage-light);
  --cream: var(--wp--preset--color--cream);
  --white: var(--wp--preset--color--white);
  --ink: var(--wp--preset--color--ink);
  --muted: var(--wp--preset--color--muted);
  --line: var(--wp--custom--line);
  --glass: var(--wp--custom--glass);
  --glass-line: var(--wp--custom--glass-line);
  --shadow: var(--wp--preset--shadow--elevated);
  --shadow-soft: var(--wp--preset--shadow--soft);
  --serif: var(--wp--preset--font-family--serif);
  --sans: var(--wp--preset--font-family--sans);
}
:root :where(.is-layout-flow) > *:not(p) {
  margin-block-start: 0;
}

/* Reset et base non exprimables dans theme.json */
* {
  box-sizing: border-box;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
main:not(.home main, .single main) {
  margin-top: 0 !important;
}
.container {
  width: min(calc(100% - 64px), 1440px);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 999;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 12px;
}

.site-header,
header,
.single header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 108px;
  transition:
    height 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}
.single header,
.woocommerce-page header {
  background-color: var(--navy);
}
.tt-menu-auth.tt-logged-in-wrapper p:empty {
  display: none;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  display: grid;
  place-items: center;
  flex: 0 0 218px;
  height: 72px;
  border-radius: 22px;
  transition: 0.35s ease;
}
.brand img {
  width: 176px;
  max-height: 54px;
}
.site-header .brand-light {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(0, 12, 30, 0.18);
  backdrop-filter: blur(18px);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.main-nav a,
a.wp-block-navigation-item__content {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  font-size: 0.93rem;
}
.main-nav a::after,
a.wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 100%;
  bottom: -8px;
  background: var(--sage);
  transition: right 0.25s ease;
}
.main-nav a:hover::after,
a.wp-block-navigation-item__content:hover::after {
  right: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.text-button,
.tt-account-toggle {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  cursor: pointer;
}
.button a,
.button-tt,
.button[type="submit"],
button[type="submit"],
input[type="submit"],
.um input[type="submit"].um-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-height: 54px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--sage);
  color: var(--white);
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 25px rgba(98, 120, 103, 0.25) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.button a:hover,
.button-tt:hover,
.button[type="submit"]:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
body .um input[type="submit"].um-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 34px rgba(67, 84, 72, 0.32) !important;
  background: var(--sage-hover) !important;
}
.button-small,
.button-tt-small {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 0.86rem;
}

.educra-btn-favori {
  background-color: transparent !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}
.site-header.is-scrolled,
header.is-scrolled {
  height: 84px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(0, 22, 47, 0.08);
  backdrop-filter: blur(22px);
}
.site-header.is-scrolled .brand,
header.is-scrolled .brand {
  flex-basis: 190px;
  height: 62px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header.is-scrolled .brand img,
header.is-scrolled .brand img {
  width: 160px;
}
.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .text-button,
.site-header.is-scrolled .tt-account-toggle,
header.is-scrolled .main-nav a,
header.is-scrolled .text-button,
header.is-scrolled .tt-account-toggle {
  color: var(--navy);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 1090px;
  padding: 170px 0 70px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -4;
}
.hero-media {
  background: url("assets/educra-hero.webp") center / cover no-repeat;
  transform: scale(1.03);
}
.hero-overlay {
  z-index: -3;
  background:
    linear-gradient(
      90deg,
      rgba(0, 18, 42, 0.96) 0%,
      rgba(0, 27, 58, 0.88) 43%,
      rgba(0, 31, 66, 0.36) 78%,
      rgba(0, 17, 38, 0.4) 100%
    ),
    linear-gradient(0deg, rgba(0, 18, 42, 0.95) 0%, transparent 55%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 700px;
  height: 700px;
  right: -210px;
  top: 80px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(255, 255, 255, 0.018);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.65;
}
.hero-glow-one {
  width: 430px;
  height: 430px;
  right: 8%;
  top: 16%;
  background: radial-gradient(circle, rgba(197, 56, 27, 0.36), transparent 66%);
  animation: breathe 8s ease-in-out infinite;
}
.hero-glow-two {
  width: 390px;
  height: 390px;
  left: -120px;
  bottom: 12%;
  background: radial-gradient(
    circle,
    rgba(98, 120, 103, 0.38),
    transparent 66%
  );
  animation: breathe 10s 1.2s ease-in-out infinite reverse;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy {
  max-width: 780px;
  padding-bottom: 35px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--terra);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tt-logs-tabs .eyebrow {
  color: var(--terra) !important;
}
.eyebrow.light {
  color: #ff9a82;
}
.hero h1,
.section h2,
.signup h2,
.modal h2 {
  margin: 0;
}
.hero h1 {
  max-width: 860px;
  color: var(--white);
  font-size: clamp(3.8rem, 6vw, 6.8rem);
}
.hero-lead {
  max-width: 680px;
  margin: 28px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-discover {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 750;
}
.hero-discover i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font-style: normal;
  transition: 0.25s ease;
}
.hero-discover:hover i {
  background: var(--white);
  color: var(--navy);
  transform: translateY(4px);
}

.hero-orbit {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1.02;
  justify-self: end;
}
.orbit-photo {
  position: absolute;
  inset: 8% 10% 13% 8%;
  border-radius: 46% 46% 34% 34% / 38% 38% 28% 28%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 35px 80px rgba(0, 10, 28, 0.44);
}
.orbit-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 24, 52, 0.72));
}
.orbit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.orbit-line {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: orbitSpin 28s linear infinite;
  z-index: 1;
}
.orbit-line-two {
  inset: 8%;
  border-color: rgba(239, 118, 92, 0.34);
  animation-direction: reverse;
  animation-duration: 21s;
}
.orbit-line::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terra-light);
  top: 16%;
  right: 9%;
  box-shadow: 0 0 0 7px rgba(239, 118, 92, 0.14);
}
.orbit-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 11px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 750;
  box-shadow: 0 16px 36px rgba(0, 10, 28, 0.2);
  backdrop-filter: blur(18px);
}
.orbit-pill span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-weight: 900;
}
.orbit-school {
  left: -5%;
  top: 12%;
}
.orbit-teacher {
  right: -4%;
  top: 28%;
}
.orbit-activity {
  left: -10%;
  bottom: 20%;
}
.orbit-books {
  right: -2%;
  bottom: 8%;
}

.educra-finder,
.finder {
  grid-column: 1 / -1;
  position: relative;
  z-index: 4;
  margin-top: 24px;
  padding: 28px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 38px 90px rgba(0, 12, 32, 0.28);
  backdrop-filter: blur(28px);
}
.educra-finder-head,
.finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.educra-finder-head > div,
.finder-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 850;
}
.educra-finder-hint,
.finder-hint {
  color: var(--muted);
  font-size: 0.82rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.category {
  min-height: 70px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  font-size: 0.84rem;
  font-weight: 780;
  cursor: pointer;
  transition: 0.25s ease;
}
.category:hover,
.category.active {
  border-color: rgba(197, 56, 27, 0.5);
  background: rgba(197, 56, 27, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 33, 71, 0.08);
}
.category-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--cream);
  font-family: var(--serif);
  font-weight: 700;
}
.category.active .category-icon {
  background: var(--terra);
  color: var(--white);
}
.search-fields,
.advanced-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.advanced-fields {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.advanced-fields[hidden] {
  display: none;
}
.search-field {
  display: block;
  min-width: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  transition: 0.2s ease;
}
.search-field:focus-within {
  border-color: rgba(98, 120, 103, 0.72);
  box-shadow: 0 0 0 4px rgba(98, 120, 103, 0.12);
}
.search-field span,
.contact-modal label span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.search-field select {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 5px 0 2px;
  background: transparent;
  color: var(--ink);
}
.educra-finder-actions,
.finder-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.more-criteria {
  border: 0;
  background: transparent;
  color: var(--sage-link);
  font-weight: 780;
  cursor: pointer;
}
.more-criteria span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.more-criteria[aria-expanded="true"] span {
  transform: rotate(45deg);
}
.search-feedback {
  min-height: 0;
  margin: 0;
  color: var(--sage);
  font-size: 0.88rem;
  font-weight: 700;
}
.search-feedback:not(:empty) {
  margin-top: 12px;
}

.section {
  position: relative;
  padding: 130px 0;
}
.section h2,
.signup h2 {
  font-size: 1.2rem; /*clamp(2.8rem,4.6vw,5rem);*/
}
.watermark-section {
  overflow: hidden;
}
.watermark-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 520px;
  aspect-ratio: 1;
  top: 50%;
  background: url("assets/educra-favicon.svg") center / contain no-repeat;
  opacity: 0.035;
  filter: grayscale(1);
  pointer-events: none;
}
.watermark-right::before {
  right: -120px;
  transform: translateY(-50%) rotate(-8deg);
}
.watermark-left::before {
  left: -130px;
  transform: translateY(-50%) rotate(10deg);
}
.watermark-section > .container {
  position: relative;
  z-index: 1;
}
.intro {
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-areas: "copy image";
  align-items: center;
  gap: 110px;
}
.intro-image {
  grid-area: image;
  position: relative;
  min-height: 590px;
}
.intro-image::before {
  content: "";
  position: absolute;
  inset: -26px 58px 45px -34px;
  border-radius: 54px;
  background: linear-gradient(
    135deg,
    rgba(197, 56, 27, 0.14),
    rgba(98, 120, 103, 0.2)
  );
}
.intro-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 48px;
  box-shadow: var(--shadow);
}
.intro-image::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 210px;
  right: -42px;
  bottom: -34px;
  border: 1px solid rgba(197, 56, 27, 0.38);
  border-radius: 90px 90px 28px 28px;
}
.image-note {
  position: absolute;
  z-index: 2;
  left: -35px;
  bottom: 42px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 18px;
  background: rgba(0, 33, 71, 0.76);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  backdrop-filter: blur(18px);
}
.intro-copy {
  grid-area: copy;
}
.intro-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.04rem;
}
.principles {
  display: grid;
  gap: 12px;
  margin: 34px 0;
}
.principles div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 242, 237, 0.56);
  transition: 0.25s ease;
}
.principles div:hover {
  transform: translateX(8px);
  border-color: rgba(197, 56, 27, 0.3);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.principles span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--white);
  color: var(--terra);
  font-family: var(--serif);
}
.principles p {
  margin: 0;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--sage-link);
  font-weight: 780;
}
.arrow-link span {
  transition: transform 0.22s ease;
}
.arrow-link:hover span {
  transform: translateX(6px);
}

.repertoires {
  background: var(--cream);
}
.repertoires > .container {
  padding: 80px;
  border-radius: 52px;
  overflow: hidden;
  background: linear-gradient(145deg, #002147, #00162f);
  box-shadow: var(--shadow);
}
.repertoires > .container::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -160px;
  top: -220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px rgba(255, 255, 255, 0.025),
    0 0 0 150px rgba(255, 255, 255, 0.018);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 52px;
}
.section-heading > div {
  max-width: 860px;
}
.section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}
.repertoires .section-heading h2 {
  color: var(--white);
}
.repertoires .section-heading > p {
  color: rgba(255, 255, 255, 0.64);
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.directory-card {
  position: relative;
  min-height: 310px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(18px);
  transform: perspective(900px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.18s ease;
}
.directory-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -72px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow), transparent 68%);
  opacity: 0.68;
}
.directory-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.15);
}
.directory-card.navy {
  --card-glow: rgba(79, 144, 220, 0.9);
}
.directory-card.terracotta {
  --card-glow: rgba(239, 118, 92, 0.92);
}
.directory-card.sage {
  --card-glow: rgba(137, 170, 144, 0.9);
}
.directory-card.sand {
  --card-glow: rgba(236, 211, 158, 0.9);
}
.line-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 31px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.line-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.directory-card:hover .line-icon {
  transform: translateY(-4px) rotate(-3deg);
  background: rgba(255, 255, 255, 0.2);
}
.directory-card.terracotta .line-icon {
  color: #ff9a82;
}
.directory-card.sage .line-icon {
  color: #b5d2ba;
}
.directory-card.sand .line-icon {
  color: #ecd39e;
}
.directory-card h3 {
  color: var(--white);
  margin: 0 0 9px;
  font-size: 2rem;
  font-weight: 500;
}
.directory-card p {
  max-width: 490px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.68);
}
.wp-block-buttons:has(.card-link) {
  margin-top: auto;
}
.card-link {
  a {
    display: flex;
    cursor: pointer;
  }
}
.card-link a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sage-light);
  font-weight: 780;
  cursor: pointer;
}
.card-link em,
.card-link span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(185, 200, 189, 0.56);
  border-radius: 50%;
  transition: 0.25s ease;
}
.card-link:hover em,
.card-link:hover span {
  background: var(--sage);
  color: var(--white);
  transform: rotate(45deg);
}

.services {
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 38px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 48px;
  background: linear-gradient(
    135deg,
    rgba(244, 242, 237, 0.76),
    rgba(255, 255, 255, 0.9)
  );
  box-shadow: var(--shadow-soft);
}
.services-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 700px;
  overflow: hidden;
  padding: 52px;
  border-radius: 36px;
  background: var(--navy);
  color: var(--white);
}
.services-copy::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 360px;
  background: linear-gradient(
    180deg,
    rgba(0, 33, 71, 0),
    rgba(0, 22, 47, 0.64)
  );
  pointer-events: none;
}
.services-copy h2 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(2.7rem, 3.45vw, 3.85rem);
}
.services-copy > p {
  position: relative;
  z-index: 2;
}
.services-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}
.services-copy img {
  position: relative;
  z-index: 0;
  flex: 1 0 310px;
  width: calc(100% + 104px);
  min-height: 310px;
  margin: 38px -52px -52px;
  object-fit: cover;
  object-position: center;
}
.service-list {
  padding: 16px 34px;
}
.service-item {
  position: relative;
  padding: 29px 10px 29px 68px;
  border-bottom: 1px solid var(--line);
}
.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: 0.25s ease;
}
.service-item::after {
  content: "↗";
  position: absolute;
  left: 14px;
  top: 39px;
  color: var(--terra);
  transition: 0.25s ease;
}
.service-item:hover::before {
  background: var(--sage);
  border-color: var(--sage);
  transform: rotate(-8deg);
}
.service-item:hover::after {
  color: var(--white);
  transform: translate(2px, -2px);
}
.service-item h3 {
  margin: 0 0 4px;
  font-size: 1.65rem;
  font-weight: 500;
}
.service-item p {
  margin: 0 0 9px;
  color: var(--muted);
}
.service-link a {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--sage-link);
  font-size: 0.84rem;
  font-weight: 780;
  cursor: pointer;
}

.gold {
  background: linear-gradient(180deg, #edf1ed 0%, var(--cream) 100%);
}
body
  .wp-block-themeisle-blocks-tabs
  .wp-block-themeisle-blocks-tabs__header_item {
  font-family: var(--sans);
  padding: 0;
  & > * {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.selection-toolbar,
.tt-tabs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 26px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  border: none;
}
.selection-tabs,
.wp-block-themeisle-blocks-tabs__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.selection-tabs::-webkit-scrollbar {
  display: none;
}
.selection-tab,
.wp-block-themeisle-blocks-tabs__header_item > * {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
  display: flex;
  align-items: center;
  font-family: var(--sans);
}
.selection-tab:hover,
.selection-tab.active,
.wp-block-themeisle-blocks-tabs__header_item.active > *,
.wp-block-themeisle-blocks-tabs__header_item > *:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 33, 71, 0.16);
  border: none !important;
}
.selection-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  position: relative;
  z-index: 1;
  color: var(--sage);
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 750;
  justify-content: flex-end;
}
.selection-note span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
}
.profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  border: none;
}
.profile-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 33, 71, 0.14);
}
.profile-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #174b77);
}
.profile-visual::before,
.profile-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.profile-visual::before {
  width: 260px;
  height: 260px;
  right: -110px;
  top: -110px;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.03);
}
.profile-visual::after {
  width: 100px;
  height: 100px;
  left: -35px;
  bottom: -40px;
}
.profile-activity {
  background: linear-gradient(135deg, #9d2e19, var(--terra));
}
.profile-teacher {
  background: linear-gradient(135deg, #3f5d4b, var(--sage));
}
.profile-books {
  background: linear-gradient(135deg, #24476b, #806c46);
}
.verified-badge {
  position: absolute;
  z-index: 2;
  top: 17px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-style: normal;
}
.verified-badge {
  right: 17px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sage);
  font-weight: 800;
}
.verified-badge i {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-style: normal;
}
.profile-body {
  padding: 26px;
}
.profile-type,
.news-meta a[rel="tag"] {
  margin: 0;
  color: var(--terra);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-body h3 {
  margin: 7px 0 5px;
  font-size: 1.65rem;
  font-weight: 500;
}
.profile-body > p:not(.profile-type) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}
.tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
}
.profile-body button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--sage-link);
  font-weight: 780;
  cursor: pointer;
}
.profile-body button span {
  transition: transform 0.2s ease;
}
.profile-body button:hover span {
  transform: translateX(5px);
}

.signup {
  padding-block: 120px;
  background: var(--white);
}
.signup-shell {
  position: relative;
  overflow: hidden;
  padding: 82px;
  border-radius: 52px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(0, 33, 71, 0.98), rgba(0, 18, 42, 0.95)),
    url("assets/educra-hero.webp") center / cover;
  box-shadow: var(--shadow);
}
.signup-shell::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -230px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.03),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}
.signup-shell > * {
  position: relative;
  z-index: 1;
}
.signup h2 {
  max-width: 900px;
  color: var(--white);
}
.signup-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}
.signup-options article {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  transition: 0.25s ease;
}
.signup-options article:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-5px);
}
.signup-options h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 500;
}
.signup-options p {
  color: rgba(255, 255, 255, 0.7);
}
.light-button a {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(0, 18, 42, 0.2);
}
.light-button a:hover {
  background: var(--sage-hover);
  color: var(--white);
}
.outline-button a {
  border: 1px solid var(--sage-light);
  background: transparent;
  color: var(--sage-light);
  box-shadow: none;
}
.outline-button a:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}
.launch-note {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.news {
  background: var(--cream);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}
.featured-news {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 420px;
  overflow: hidden;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.news-image {
  overflow: hidden;
}
.news-image figure {
  width: 100%;
  height: 100%;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}
.featured-news:hover .news-image img {
  transform: scale(1.05);
}
.featured-news > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.featured-news h3,
.news-list h3 {
  margin: 12px 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.12;
}
.featured-news p:not(.news-meta) {
  color: var(--muted);
}
.featured-news a,
.news-list a {
  color: var(--sage-link);
  font-weight: 800;
}
.news-list {
  display: grid;
  gap: 12px;
}
.news-list li {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  transition: 0.25s ease;
  min-height: 204px;
}
.news-list article:hover {
  background: var(--white);
  transform: translateX(7px);
  box-shadow: var(--shadow-soft);
}
.news-list h3 {
  margin: 8px 0 16px;
  font-size: 1.35rem;
}
footer {
  margin-block-start: 0;
}
.footer {
  position: relative;
  padding: 82px 0 20px;
  background: var(--navy-deep);
  color: var(--white);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--sage), var(--white));
  opacity: 0.8;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(310px, 1.35fr) repeat(3, minmax(170px, 1fr));
  gap: clamp(38px, 5vw, 90px);
}
.footer .brand-dark {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 25px;
}
.footer .brand-dark img {
  width: 180px;
}
.footer-brand-column > p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-column {
  gap: 0;
}

.footer-column h2 {
  margin: 4px 0 20px;
  color: var(--white);
  font: 800 0.78rem var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-column a,
.footer-column .footer-contact {
  display: block;
  margin: 10px 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--sage-light);
  font-size: 0.86rem;
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}
.footer-column a:hover,
.footer-column .footer-contact:hover {
  color: var(--white);
  transform: translateX(4px);
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.social-links a,
.wp-block-social-link-anchor {
  display: grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(185, 200, 189, 0.48);
  border-radius: 14px;
  color: var(--sage-light);
  transition: 0.25s ease;
  background-color: transparent !important;
  .wp-block-social-link-label {
    display: none;
  }
}
.social-links a:hover,
.wp-block-social-link-anchor:hover {
  border-color: var(--sage-light);
  color: var(--white);
  background: rgba(98, 120, 103, 0.24);
  transform: translateY(-3px);
}
.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-links a:nth-child(2) svg,
.wp-block-social-link-anchor:nth-child(2) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.social-links a:nth-child(2) .social-dot,
.wp-block-social-link-anchor:nth-child(2) .social-dot {
  fill: currentColor;
  stroke: none;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.75rem;
}
.footer-bottom a {
  color: var(--sage-light);
}
.back-top {
  justify-self: center;
}
.tsingy-signature {
  justify-self: end;
}
.tsingy-signature strong {
  color: var(--white);
}

.modal {
  width: min(92vw, 560px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 40px 100px rgba(0, 22, 47, 0.3);
  backdrop-filter: blur(22px);
}
.modal::backdrop {
  background: rgba(0, 16, 36, 0.68);
  backdrop-filter: blur(6px);
}
.modal h2 {
  font-size: 2.6rem;
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(98, 120, 103, 0.36);
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-link);
  font-size: 1.4rem;
  cursor: pointer;
}
.contact-modal form {
  display: grid;
  gap: 13px;
  margin-top: 25px;
}
.contact-modal label {
  display: block;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}
.contact-modal input,
.contact-modal textarea {
  width: 100%;
  border: 0;
  outline: 0;
  padding-top: 5px;
  background: transparent;
  color: var(--ink);
  resize: vertical;
}
.contact-feedback {
  color: var(--sage);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.13);
    opacity: 0.76;
  }
}
@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 20px;
  }
  .header-actions .text-button,
  .header-actions .tt-account-toggle {
    display: none;
  }
  .hero-content {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 32px;
  }
  .orbit-pill {
    font-size: 0.7rem;
  }
  .intro-grid {
    gap: 65px;
  }
  .repertoires > .container {
    padding: 58px;
  }
  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 40px), 1440px);
  }
  .site-header {
    height: 88px;
  }
  .brand {
    flex-basis: 190px;
    height: 62px;
  }
  .brand img {
    width: 158px;
  }
  .main-nav {
    display: none;
  }
  .wp-block-navigation__responsive-container.has-modal-open.is-menu-open {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    top: 80px;
    left: 20px;
    right: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
  }
  .wp-block-navigation__responsive-container.has-modal-open.is-menu-open a {
    color: var(--navy);
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    color: var(--white);
  }
  .site-header.is-scrolled .menu-toggle,
  header.is-scrolled .menu-toggle {
    color: var(--navy);
  }
  .header-actions {
    display: none;
  }
  .hero {
    min-height: auto;
    padding-top: 145px;
  }
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 800px;
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 9vw, 5.7rem);
  }
  .hero-orbit {
    width: min(75vw, 560px);
    justify-self: center;
  }
  .educra-finder,
  .finder {
    margin-top: 10px;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .search-fields,
  .advanced-fields {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 95px 0;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "image";
  }
  .intro-image {
    min-height: 520px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .directory-card {
    min-height: 285px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-copy {
    min-height: 660px;
  }
  .profiles {
    grid-template-columns: 1fr 1fr;
  }
  .profile-card:last-child {
    grid-column: 1 / -1;
  }
  .selection-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.25fr 1fr;
  }
  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .back-top {
    justify-self: end;
  }
  .tsingy-signature {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), 1440px);
  }
  .site-header,
  .site-header.is-scrolled,
  header.is-scrolled {
    height: 74px;
  }
  .brand,
  .site-header.is-scrolled .brand,
  header.is-scrolled .brand {
    flex-basis: 154px;
    height: 52px;
    border-radius: 17px;
  }
  .brand img,
  .site-header.is-scrolled .brand img,
  header.is-scrolled .brand img {
    width: 132px;
  }
  .wp-block-navigation__responsive-container.has-modal-open.is-menu-open {
    top: 67px;
    left: 14px;
    right: 14px;
  }
  .hero {
    padding: 118px 0 50px;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-orbit {
    width: 94%;
  }
  .orbit-photo {
    inset: 10% 8% 14%;
  }
  .orbit-pill {
    padding: 8px 11px 8px 8px;
  }
  .orbit-pill span {
    width: 26px;
    height: 26px;
  }
  .orbit-school {
    left: -4%;
  }
  .orbit-teacher {
    right: -4%;
  }
  .orbit-activity {
    left: -4%;
  }
  .orbit-books {
    right: -4%;
  }
  .educra-finder,
  .finder {
    padding: 18px;
    border-radius: 26px;
  }
  .educra-finder-hint,
  .finder-hint {
    display: none;
  }
  .category-grid,
  .search-fields,
  .advanced-fields {
    grid-template-columns: 1fr;
  }
  .category {
    min-height: 58px;
  }
  .educra-finder-actions,
  .finder-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .more-criteria {
    min-height: 44px;
    text-align: left;
  }
  .search-button {
    width: 100%;
  }
  .section {
    padding: 72px 0;
  }
  .section h2,
  .signup h2 {
    font-size: 1.35rem;
  }
  .intro-grid {
    gap: 48px;
  }
  .intro-image {
    min-height: 390px;
  }
  .intro-image::before {
    inset: -16px 25px 25px -12px;
    border-radius: 34px;
  }
  .intro-image img {
    border-radius: 30px;
  }
  .image-note {
    left: 14px;
    bottom: 18px;
  }
  .repertoires > .container {
    width: min(calc(100% - 20px), 1440px);
    padding: 48px 18px;
    border-radius: 36px;
  }
  .directory-card {
    min-height: 320px;
    padding: 27px;
    border-radius: 25px;
  }
  .card-link {
    left: 27px;
  }
  .services-grid {
    width: min(calc(100% - 20px), 1440px);
    padding: 10px;
    border-radius: 36px;
  }
  .services-copy {
    min-height: 600px;
    padding: 34px 24px;
    border-radius: 29px;
  }
  .services-copy img {
    width: calc(100% + 48px);
    min-height: 280px;
    margin: 30px -24px -34px;
  }
  .service-list {
    padding: 10px 14px;
  }
  .service-item {
    padding-left: 58px;
  }
  .selection-tabs {
    width: 100%;
  }
  .selection-note {
    white-space: normal;
  }
  .profiles {
    grid-template-columns: 1fr;
  }
  .profile-card:last-child {
    grid-column: auto;
  }
  .signup {
    padding-block: 68px;
  }
  .signup > .container {
    width: min(calc(100% - 20px), 1440px);
  }
  .signup-shell {
    padding: 48px 22px;
    border-radius: 36px;
  }
  .signup-options {
    grid-template-columns: 1fr;
  }
  .signup-options article {
    padding: 25px;
    border-radius: 23px;
  }
  .featured-news {
    grid-template-columns: 1fr;
  }
  .news-image {
    min-height: 260px;
  }
  .featured-news > div:last-child {
    padding: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .back-top,
  .tsingy-signature {
    grid-column: auto;
    justify-self: start;
  }
  .modal {
    padding: 38px 24px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Arbitrages client — version validée */
button,
input,
select,
textarea,
.button a,
.eyebrow,
.educra-finder-head,
.category,
.main-nav,
.text-button,
.selection-tab,
.profile-type,
.news-meta,
.tags,
.um input[type="submit"].um-button {
  font-family: var(--sans);
  max-width: 100%;
  min-width: 0;
  width: 100%;
  font-size: 14px;
}
select option {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  font-size: 14px;
  white-space: break-spaces;
}
.site-header,
.site-header.is-scrolled,
header.is-scrolled {
  height: 88px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(0, 22, 47, 0.07);
  backdrop-filter: blur(22px);
}
a.button.tt-filtre-reset {
  margin-block-start: 1rem;
  display: inline-block;
}
.site-header.is-scrolled,
header.is-scrolled {
  height: 78px;
}
.brand,
.site-header.is-scrolled .brand,
header.is-scrolled .brand {
  flex-basis: 190px;
  height: 62px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.brand img,
.site-header.is-scrolled .brand img,
header.is-scrolled .brand img {
  width: 160px;
  max-height: 52px;
}
.main-nav a,
.site-header .main-nav a,
.text-button,
.site-header .text-button,
.site-header .tt-account-toggle {
  color: var(--sage-link);
}
.menu-toggle,
.site-header.is-scrolled .menu-toggle,
header.is-scrolled .menu-toggle {
  color: var(--sage-link);
}

.hero {
  min-height: max(720px, 100svh);
  padding: 112px 0 24px;
}
.hero-content {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 34px;
}
.hero-copy {
  max-width: 790px;
  padding-bottom: 0;
}
.eyebrow {
  margin-bottom: 16px; /*font-size: .88rem; */
  letter-spacing: 0.14em;
  font-size: clamp(20px, 3vw, 40px);
}
.hero h1 {
  max-width: 840px;
  font-size: clamp(2.9rem, 3.45vw, 4.85rem);
}
.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}
.hero-orbit {
  width: min(100%, 430px);
}
.orbit-pill {
  gap: 9px;
  padding: 9px 13px 9px 9px;
  font-family: var(--sans);
  font-size: 0.72rem;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
.orbit-pill:hover,
.orbit-pill:focus-visible {
  transform: translateY(-4px);
  background: rgba(98, 120, 103, 0.72);
  border-color: rgba(255, 255, 255, 0.56);
  outline: none;
}
.orbit-pill i {
  margin-left: 2px;
  font-style: normal;
  opacity: 0.75;
}
.orbit-pill span {
  width: 28px;
  height: 28px;
}
.orbit-pill span svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.educra-finder,
.finder {
  margin-top: 0;
  padding: 20px 22px;
  border-color: rgba(159, 184, 165, 0.72);
  border-radius: 28px;
}
.educra-finder-head,
.finder-head {
  margin-bottom: 12px;
  color: var(--navy);
}
.category {
  min-height: 56px;
  padding: 8px 12px;
  border-radius: 17px;
  color: var(--sage-link);
  font-size: 0.79rem;
}
.category:hover,
.category.active {
  border-color: rgba(98, 120, 103, 0.58);
  background: rgba(98, 120, 103, 0.1);
  transform: translateY(-2px);
}
.category-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 11px;
  font-family: var(--sans);
  font-weight: 800;
}
.category.active .category-icon {
  background: var(--sage);
}
.search-field {
  padding: 7px 12px;
  border-radius: 14px;
}
.educra-finder-actions,
.finder-actions {
  margin-top: 12px;
}

.section {
  padding: 100px 0;
}
.watermark-section::before {
  border: 1px solid rgba(98, 120, 103, 0.17);
  border-radius: 50%;
  background: radial-gradient(
    circle at 34% 30%,
    rgba(98, 120, 103, 0.12),
    transparent 56%
  );
  box-shadow:
    0 0 0 72px rgba(98, 120, 103, 0.025),
    0 0 0 144px rgba(197, 56, 27, 0.018);
  opacity: 0.8;
  filter: none;
}
.principles span {
  color: var(--sage);
  font-family: var(--sans);
  font-weight: 800;
}

.repertoires > .container {
  padding: 58px;
}
.section-heading {
  margin-bottom: 38px;
}
.directory-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.directory-card {
  min-height: 275px;
  padding: 26px;
  border-radius: 28px;
}
.line-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 23px;
  border-radius: 17px;
}
.line-icon svg {
  width: 31px;
  height: 31px;
}
.directory-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
}
.card-link {
  left: 26px;
  bottom: 24px;
}

.services-copy h2 {
  font-size: clamp(1.5rem, 2.25vw, 3.6rem);
}
.service-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.selection-tab:hover,
.selection-tab.active,
.wp-block-themeisle-blocks-tabs
  .wp-block-themeisle-blocks-tabs__header_item.active
  > *,
.wp-block-themeisle-blocks-tabs
  .wp-block-themeisle-blocks-tabs__header_item
  > *:hover {
  background: var(--sage);
  box-shadow: 0 10px 24px rgba(98, 120, 103, 0.22);
  border: none !important;
}
.profile-logo-placeholder {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding: 13px;
  border: 2px solid rgba(98, 120, 103, 0.62);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-family: var(--sans);
  box-shadow: 0 18px 40px rgba(0, 20, 44, 0.2);
  transform: rotate(-2deg);
}
.profile-logo-placeholder strong {
  font-size: 1.7rem;
  line-height: 1;
}
.profile-logo-placeholder small {
  color: var(--sage);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-body h3,
.signup-options h3,
.featured-news h3,
.news-list h3 {
  font-weight: 700;
}

@media (max-width: 1180px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 26px;
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-scrolled,
  header.is-scrolled {
    height: 82px;
  }
  .hero {
    min-height: auto;
    padding-top: 118px;
  }
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-orbit {
    width: min(72vw, 470px);
    justify-self: center;
  }
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .site-header,
  .site-header.is-scrolled,
  header.is-scrolled {
    height: 74px;
  }
  .brand,
  .site-header.is-scrolled .brand,
  header.is-scrolled .brand {
    flex-basis: 154px;
    height: 52px;
  }
  .brand img,
  .site-header.is-scrolled .brand img,
  header.is-scrolled .brand img {
    width: 132px;
  }
  .hero {
    padding-top: 98px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 13.5vw, 3.35rem);
  }
  .hero-orbit {
    width: 94%;
  }
  .educra-finder,
  .finder {
    margin-top: 4px;
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .directory-card {
    min-height: 300px;
  }
}

@media (min-width: 981px) and (max-height: 850px) {
  .hero {
    min-height: 720px;
    padding-top: 100px;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 4vw, 4.2rem);
  }
  .hero-lead {
    margin-top: 16px;
    line-height: 1.5;
  }
  .hero-orbit {
    width: min(100%, 350px);
  }
  .educra-finder,
  .finder {
    padding-block: 16px;
  }
  .category {
    min-height: 50px;
  }
  .category-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
  .search-fields {
    margin-top: 9px;
  }
}

/* Consolidation finale — retours client */
.button a,
.button-tt,
.button[type="submit"],
button[type="submit"],
input[type="submit"],
body .um input[type="submit"].um-button {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(197, 56, 27, 0.25);
}
.button a:hover,
.button-tt:hover,
.button[type="submit"]:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #ad2c13;
  box-shadow: 0 18px 34px rgba(151, 38, 15, 0.3);
}
.light-button a,
.light-button-tt,
.outline-button a,
.outline-button-tt {
  border-color: var(--terra-light);
  background: var(--terra);
  color: var(--white);
}
.light-button a:hover,
.outline-button a:hover {
  border-color: #ad2c13;
  background: #ad2c13;
  color: var(--white);
}

.site-header {
  height: 96px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header .brand-light,
.site-header.is-scrolled .brand-light,
header.is-scrolled .brand-light {
  flex-basis: 190px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(0, 12, 30, 0.18);
  backdrop-filter: blur(18px);
}
.site-header .main-nav a,
.site-header .text-button,
.site-header .menu-toggle {
  color: var(--white);
}
.site-header .main-nav a::after,
a.wp-block-navigation-item__content::after {
  background: var(--terra-light);
}
.site-header.is-scrolled,
header.is-scrolled {
  height: 80px;
  background: rgba(98, 120, 103, 0.96);
  box-shadow: 0 12px 34px rgba(0, 22, 47, 0.14);
  backdrop-filter: blur(22px);
}
.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .text-button,
.site-header.is-scrolled .menu-toggle,
header.is-scrolled .menu-toggle,
header.is-scrolled .text-button,
header.is-scrolled .main-nav a {
  color: var(--white);
}
.site-header.is-scrolled .brand-light,
header.is-scrolled {
  height: 60px;
}
.site-header.is-scrolled .brand-light img,
header.is-scrolled .brand-light img {
  width: 154px;
}

.hero .eyebrow {
  font-size: clamp(1rem, 1.25vw, 1.3rem);
}
.section h2.eyebrow,
.signup h2.eyebrow {
  margin: 0 0 16px;
  color: var(--terra);
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.section h2.eyebrow.light,
.signup h2.tt-logs-tabs .eyebrow {
  color: var(--terra) !important;
}
.eyebrow.light {
  color: #ff9a82;
}
.section-deck {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
.section-deck.light {
  color: var(--white);
}
.intro-copy > p.section-deck:not(.eyebrow),
.services-copy > p.section-deck:not(.eyebrow) {
  margin: 0;
  color: inherit;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  line-height: 1.35;
}
.services-copy h2.eyebrow {
  color: #ff9a82;
  font-size: clamp(1.35rem, 2.3vw, 2.5rem);
}
.services-copy > p.section-deck:not(.eyebrow) {
  max-width: 540px;
  color: var(--white);
}
.signup h2.eyebrow {
  max-width: 900px;
  color: #ff9a82;
}

.trust-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 12, 32, 0.18);
  backdrop-filter: blur(18px);
}
.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 22px;
  background: rgba(0, 33, 71, 0.32);
}
.trust-strip strong {
  color: var(--terra-light);
  font: 800 1.55rem var(--sans);
  white-space: nowrap;
}
.trust-strip span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.directory-card.supplier {
  --card-glow: rgba(185, 200, 189, 0.8);
}
.directory-card.supplier .line-icon {
  color: var(--sage-light);
}
.directory-card.phase-two {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 150px;
  padding: 26px 30px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.065);
}
.directory-card.phase-two .line-icon {
  margin: 0;
}
.directory-card.phase-two h3 {
  margin: 6px 0 3px;
}
.directory-card.phase-two p {
  max-width: 720px;
  margin: 0;
}
.directory-card.phase-two .card-link.disabled {
  position: static;
  padding: 9px 14px;
  border: 1px solid rgba(185, 200, 189, 0.38);
  border-radius: 999px;
  color: var(--sage-light);
  cursor: default;
}
.phase-badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(185, 200, 189, 0.14);
  color: var(--sage-light);
  font: 800 0.65rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-section {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(255, 255, 255, 0.14),
      transparent 30%
    ),
    linear-gradient(135deg, var(--sage), #435448);
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}
.contact-copy > p:last-child {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
}
.contact-page-form {
  display: grid;
  gap: 14px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(0, 24, 18, 0.2);
  backdrop-filter: blur(22px);
}
.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-page-form label {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}
.contact-page-form label:focus-within {
  border-color: rgba(98, 120, 103, 0.72);
  box-shadow: 0 0 0 4px rgba(98, 120, 103, 0.12);
}
.contact-page-form label > span {
  display: block;
  color: var(--muted);
  font: 800 0.68rem/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-page-form small {
  font-size: 0.63rem;
  font-weight: 600;
}
.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 6px 0 2px;
  background: transparent;
  color: var(--ink);
  resize: vertical;
}
.contact-page-form .button a {
  justify-self: start;
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-scrolled,
  header.is-scrolled {
    height: 82px;
  }
  .site-header .brand-light,
  .site-header.is-scrolled .brand-light,
  header.is-scrolled {
    height: 60px;
  }
  .wp-block-navigation__responsive-container.has-modal-open.is-menu-open {
    background: rgba(255, 255, 255, 0.96);
  }
  .site-header
    .wp-block-navigation__responsive-container.has-modal-open.is-menu-open
    a,
  .site-header.is-scrolled
    .wp-block-navigation__responsive-container.has-modal-open.is-menu-open
    a,
  header.is-scrolled
    .wp-block-navigation__responsive-container.has-modal-open.is-menu-open
    a {
    color: var(--navy);
  }
  .directory-card.phase-two {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .directory-card.phase-two .card-link.disabled {
    grid-column: 2;
    justify-self: start;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-header.is-scrolled,
  header.is-scrolled {
    height: 74px;
  }
  .site-header .brand-light,
  .site-header.is-scrolled .brand-light,
  header.is-scrolled {
    flex-basis: 154px;
    height: 52px;
    border-radius: 17px;
  }
  .site-header .brand-light img,
  .site-header.is-scrolled .brand-light img,
  header.is-scrolled {
    width: 132px;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .trust-strip > div {
    min-height: 62px;
  }
  .directory-card.phase-two {
    display: block;
    min-height: 300px;
    padding: 27px;
  }
  .directory-card.phase-two .line-icon {
    margin-bottom: 22px;
  }
  .directory-card.phase-two .card-link.disabled {
    position: absolute;
    left: 27px;
    bottom: 24px;
  }
  .contact-page-form {
    padding: 22px;
    border-radius: 26px;
  }
  .contact-field-row {
    grid-template-columns: 1fr;
  }
}

/* Hero v4 — le formulaire amorce la suite sous la ligne de flottaison */
@media (min-width: 981px) {
  .hero {
    min-height: 1160px;
    padding: 128px 0 54px;
  }
  .hero-content {
    grid-template-columns: minmax(0, 1.08fr) minmax(490px, 0.92fr);
    column-gap: clamp(48px, 5vw, 82px);
    row-gap: 0;
    align-items: center;
  }
  .hero-copy {
    max-width: 880px;
    padding: 24px 0 0;
  }
  .hero .eyebrow {
    margin-bottom: 22px;
    font-size: clamp(1.08rem, 1.35vw, 1.42rem);
  }
  .hero h1 {
    max-width: 900px;
    font-size: clamp(4rem, 5.25vw, 6rem);
    line-height: 0.96;
  }
  .hero-lead {
    max-width: 760px;
    margin-top: 28px;
    font-size: clamp(1.08rem, 1.22vw, 1.24rem);
    line-height: 1.7;
  }
  .hero-orbit {
    width: min(100%, 590px);
  }
  .educra-finder,
  .finder {
    margin-top: clamp(42px, 7vh, 74px);
  }
}

@media (min-width: 981px) and (max-height: 850px) {
  .hero {
    min-height: 1080px;
    padding-top: 108px;
  }
  .hero-copy {
    padding-top: 16px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 4.8vw, 5.2rem);
  }
  .hero-orbit {
    width: min(100%, 500px);
  }
  .educra-finder,
  .finder {
    margin-top: 30px;
  }
}

@media (min-width: 981px) and (min-height: 980px) {
  .hero {
    min-height: 1240px;
  }
  .educra-finder,
  .finder {
    margin-top: clamp(64px, 9vh, 96px);
  }
}

.tt-boucle-services {
  max-width: unset !important;
}
/* Ajustements client v5 — couche isolée pour préserver la maquette B validée */
.site-header .brand-platform,
.site-header.is-scrolled .brand-platform {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  flex: 0 0 190px;
  width: 190px;
  height: 62px;
  padding: 8px 17px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(0, 12, 30, 0.22);
  backdrop-filter: blur(18px);
}
.site-header .brand-platform img,
.site-header.is-scrolled .brand-platform img {
  width: unset !important;
  height: unset !important;
  flex: 0 0 42px;
  object-fit: contain;
}
.brand-platform span {
  display: grid;
  color: var(--white);
  line-height: 1;
}
.brand-platform small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font: 500 0.68rem var(--sans);
  letter-spacing: 0.04em;
}
.brand-platform strong {
  font: 400 1.14rem/1 var(--serif);
  letter-spacing: 0.035em;
}

.trust-strip {
  width: min(calc(100% - 64px), 900px);
  margin-inline: auto;
  justify-self: center;
}

.section .eyebrow,
.signup .eyebrow {
  margin: 0 0 14px;
  color: var(--terra);
  font-family: var(--sans);
  font-size: clamp(0.76rem, 0.9vw, 0.9rem);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section .eyebrow.light,
.signup .tt-logs-tabs .eyebrow {
  color: var(--terra) !important;
}
.eyebrow.light {
  color: #ff9a82;
}
.section h2,
.signup h2 {
  margin: 0;
  max-width: 900px;
  color: var(--navy);
  font-size: clamp(2.55rem, 4.25vw, 4.8rem);
}
.repertoires .section-heading h2,
.services-copy h2,
.signup h2,
.contact-copy h2 {
  color: var(--white);
}
.services-copy h2 {
  max-width: 580px;
  font-size: clamp(2.5rem, 3.4vw, 3.8rem);
}
.intro-copy > p:not(.eyebrow) {
  margin-top: 24px;
}
.section-heading > div {
  max-width: 940px;
}
.gold .section-heading {
  margin-bottom: 38px;
}
.directory-card:not(.phase-two) {
  min-height: 340px;
}
.visitor-free-note {
  display: inline-flex;
  margin: 0 0 18px !important;
  padding: 5px 10px;
  border: 1px solid rgba(185, 200, 189, 0.32);
  border-radius: 999px;
  color: var(--sage-light) !important;
  font: 700 0.75rem var(--sans);
}

.contact-layout {
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
}
.contact-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(48vw, 720px);
  aspect-ratio: 1;
  right: -12%;
  top: -34%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(0, 33, 71, 0.035);
  pointer-events: none;
}
.contact-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(36vw, 560px);
  aspect-ratio: 1;
  left: -7%;
  bottom: -30%;
  background: url("assets/educra-symbol-inverse.svg") center / contain no-repeat;
  opacity: 0.035;
  transform: rotate(-10deg);
  pointer-events: none;
}
.contact-section > .container {
  position: relative;
  z-index: 1;
}
.contact-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  background: rgba(0, 33, 71, 0.88);
  box-shadow: 0 28px 70px rgba(0, 24, 18, 0.22);
  backdrop-filter: blur(22px);
}
.contact-visual {
  position: relative;
  height: 285px;
  overflow: hidden;
}
.contact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 33, 71, 0.02),
    rgba(0, 33, 71, 0.88)
  );
}
.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.contact-copy {
  padding: 8px 34px 34px;
}
.contact-copy h2 {
  font-size: clamp(2.35rem, 3.35vw, 3.75rem);
}
.contact-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.76);
}
.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}
.contact-detail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(185, 200, 189, 0.42);
  border-radius: 13px;
  color: var(--sage-light);
  background: rgba(255, 255, 255, 0.07);
}
.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-details em,
.contact-details small {
  display: block;
  color: var(--sage-light);
  font: 700 0.65rem var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-style: normal;
}
.contact-details strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 500;
}
.contact-page-form {
  align-self: center;
  align-content: start;
  width: 100%;
  min-height: 0;
}
.contact-page-form label {
  min-height: 76px;
}
.contact-page-form > label {
  min-height: 174px;
}
.contact-page-form input,
.contact-page-form select {
  min-height: 32px;
}
.contact-page-form textarea {
  min-height: 118px;
}
.contact-page-form .button a {
  justify-self: stretch;
  width: 100%;
}

.footer .brand-footer {
  display: flex;
  width: 220px;
  height: 68px;
  margin-bottom: 25px;
  margin-inline: 0 !important;
  padding: 9px 18px 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: var(--navy);
  box-shadow: none;
}
.footer .brand-footer img {
  flex-basis: 48px;
  width: 48px;
  height: 48px;
}
.footer .brand-footer small {
  font-size: 0.72rem;
}
.footer .brand-footer strong {
  font-size: 1.25rem;
}

.modal-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.modal-auth-actions[hidden] {
  display: none;
}
.modal .eyebrow {
  margin-bottom: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}
.modal-secondary {
  background: var(--sage);
  box-shadow: 0 12px 25px rgba(98, 120, 103, 0.24);
}
.modal-secondary:hover {
  background: var(--sage-hover);
}
.wc-block-customer-account__visual img {
  display: none !important;
}
@media (max-width: 980px) {
  .site-header .brand-platform,
  .site-header.is-scrolled .brand-platform {
    height: 60px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .brand-platform,
  .site-header.is-scrolled .brand-platform {
    flex-basis: 154px;
    width: 154px;
    height: 52px;
    gap: 8px;
    padding: 6px 12px 6px 9px;
    border-radius: 17px;
  }
  .brand-platform small {
    font-size: 0.58rem;
  }
  .brand-platform strong {
    font-size: 0.98rem;
  }
  .trust-strip {
    width: 100%;
  }
  .section h2,
  .signup h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }
  .selection-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    overflow: visible;
  }
  .selection-tab {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
  }
  .contact-visual {
    height: 210px;
  }
  .contact-copy {
    padding: 5px 22px 26px;
  }
  .contact-page-form {
    padding: 22px;
  }
  .contact-page-form label {
    min-height: 70px;
  }
  .contact-page-form > label {
    min-height: 162px;
  }
  .footer .brand-footer {
    width: 210px;
    height: 66px;
  }
  .modal-auth-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Pages internes — lot 1
   Extension du système visuel validé de la proposition B.
   ========================================================= */

.inner-page {
  background: var(--cream);
}

.inner-page h1,
.inner-page h2,
.inner-page h3,
.inner-page h4 {
  font-family: var(--sans);
}

.inner-page .site-header {
  background: transparent;
}

.inner-page .site-header.is-scrolled {
  background: rgba(98, 120, 103, 0.96);
}

.inner-hero {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  overflow: hidden;
  padding: 190px 0 105px;
  color: var(--white);
  background: var(--navy-deep);
}

.inner-hero-liste-pro {
  padding: 90px 50px 50px;
  min-height: max-content;
}
.inner-hero::before,
.inner-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.inner-hero::before {
  width: 620px;
  height: 620px;
  right: -130px;
  top: -220px;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.02),
    0 0 0 160px rgba(255, 255, 255, 0.015);
}

.inner-hero::after {
  width: 220px;
  height: 220px;
  left: 43%;
  bottom: -155px;
  border-color: rgba(197, 56, 27, 0.38);
  box-shadow: 0 0 70px rgba(197, 56, 27, 0.18);
}

.inner-hero-media {
  position: absolute;
  z-index: -3;
  inset: 0;
}

.inner-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 22, 47, 0.98) 0%,
      rgba(0, 26, 56, 0.9) 48%,
      rgba(0, 28, 60, 0.44) 100%
    ),
    linear-gradient(0deg, rgba(0, 22, 47, 0.82), transparent 70%);
}

.inner-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inner-hero-grid {
  position: relative;
  z-index: 2;
}

.inner-hero-copy {
  max-width: 890px;
}

.inner-hero-copy h1 {
  max-width: 850px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.4rem, 5.3vw, 6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.inner-hero-copy > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.search-results-section {
  padding-top: 82px;
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(98, 120, 103, 0.08),
      transparent 28%
    ),
    var(--cream);
}

.search-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 105px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.filter-panel::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  top: -76px;
  border: 1px solid rgba(98, 120, 103, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.filter-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.filter-panel .line-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0;
  border-color: rgba(98, 120, 103, 0.24);
  background: rgba(98, 120, 103, 0.1);
  color: var(--sage);
}

.filter-panel-head .eyebrow {
  margin-bottom: 3px;
  font-size: 0.68rem;
}

.filter-panel-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.55rem;
}

.filter-form {
  display: grid;
  gap: 10px;
}

.filter-form label,
.sort-control,
.contact-aside form label,
.auth-panel form > label,
.auth-panel .form-row label,
.tt-form-group,
.um-field,
.educratt-login-form > div:not(:last-child) {
  display: block;
  padding: 10px 13px !important;
  margin-bottom: 12px !important;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
p.lostpassword {
  float: right;
}
.educratt-login-form > div br {
  display: none;
}
body {
  .wp-block-themeisle-blocks-tabs
    .wp-block-themeisle-blocks-tabs__header_item.active {
    background: transparent !important;
  }
}
.filter-form label:focus-within,
.sort-control:focus-within,
.contact-aside form label:focus-within,
.auth-panel form > label:focus-within,
.auth-panel .form-row label:focus-within,
.tt-form-group:focus-within,
.um-field:focus-within {
  border-color: rgba(98, 120, 103, 0.7);
  box-shadow: 0 0 0 4px rgba(98, 120, 103, 0.1);
  .um-form-field {
    border: none !important;
    padding: 0 !important;
  }
}

.filter-form label > span,
.tt-form-group > label,
.sort-control > span,
.contact-aside label > span,
.auth-panel label > span,
.um-field > .um-field-label,
body .um-field-label label,
.educratt-login-form label {
  display: block;
  color: var(--muted);
  font: 800 0.63rem/1.3 var(--sans) !important;
  font-size: 0.63rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tt-form-group.tt-ac-field {
  width: 100%;
}
body {
  .filter-form select,
  .sort-control select,
  .contact-aside input,
  .contact-aside textarea,
  .auth-panel input:not([type="checkbox"], [type="submit"]),
  .auth-panel select,
  .tt-form-group .tt-form-input,
  .um .um-form input[type]:not([type="submit"], [type="checkbox"]) {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    padding: 5px 0 1px !important;
    background: transparent;
    color: var(--ink);
  }
}
body .um {
  max-width: unset !important;
}

.filter-form .button a {
  width: 100%;
  margin-top: 8px;
}

.reset-filters {
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--sage-link);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}

.results-head .eyebrow {
  margin-bottom: 8px;
  font-size: 0.7rem;
}

.results-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.sort-control {
  flex: 0 0 200px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.result-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 15px 40px rgba(0, 22, 47, 0.055);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.result-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -86px;
  bottom: -92px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(98, 120, 103, 0.18),
    transparent 68%
  );
}

.result-card:hover {
  transform: translateY(-7px);
  border-color: rgba(98, 120, 103, 0.3);
  box-shadow: 0 24px 55px rgba(0, 22, 47, 0.12);
}

.result-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.result-avatar,
.profile-monogram {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(98, 120, 103, 0.26);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--white), var(--cream));
  color: var(--navy);
  font: 800 1.35rem var(--sans);
  box-shadow: 0 13px 30px rgba(0, 22, 47, 0.1);
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
  }
}

.verified-chip,
.profile-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(98, 120, 103, 0.25);
  border-radius: 999px;
  background: rgba(98, 120, 103, 0.1);
  color: var(--sage-link);
  font: 800 0.65rem var(--sans);
}

.result-card .profile-type {
  margin: 0;
  color: var(--terra);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-card h2 {
  margin: 5px 0 5px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.1;
}

.result-location {
  min-height: 52px;
  margin: 0 0 14px;
  color: var(--muted);
}

.result-link {
  /* position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px; */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: var(--terra);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 50px;
}

.result-link span {
  transition: transform 0.22s ease;
}

.result-link:hover span {
  transform: translateX(5px);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.pagination a {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding-inline: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  color: var(--sage-link);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
}

.pagination a.active,
.pagination a:hover {
  border-color: var(--sage);
  background: var(--sage);
  color: var(--white);
}

.profile-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: var(--navy-deep);
}

.profile-cover {
  position: absolute;
  inset: 0;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 22, 47, 0.96),
      rgba(0, 22, 47, 0.52) 57%,
      rgba(0, 22, 47, 0.18)
    ),
    linear-gradient(0deg, rgba(0, 22, 47, 0.9), transparent 55%);
}

.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body .profile-identity {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: start;
  gap: 26px;
  min-height: 700px;
  padding-top: 190px;
  padding-bottom: 74px;
  color: var(--white);
}

.profile-monogram {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  font-size: 2rem;
}

body .profile-identity h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3.4rem, 5.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

body .profile-identity > div > p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.14rem;
}

.profile-content-section {
  padding-top: 80px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 32px;
  align-items: start;
}

.profile-main {
  display: grid;
  gap: 18px;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-chips span:first-child {
  background: var(--sage);
  color: var(--white);
}

.content-card {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.content-card > p:not(.eyebrow) {
  max-width: 830px;
  color: var(--muted);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fact-grid > div {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--cream);
}

.fact-grid span,
.subscription-detail span {
  display: block;
  color: var(--muted);
  font: 800 0.64rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--sans);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
}

.gallery-grid img,
.gallery-placeholder {
  width: 100%;
  min-height: 190px;
  border-radius: 20px;
}

.gallery-grid img {
  grid-row: span 2;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: grid;
  place-content: center;
  padding: 20px;
  border: 1px dashed rgba(98, 120, 103, 0.35);
  background: rgba(98, 120, 103, 0.07);
  color: var(--navy);
  text-align: center;
}

.gallery-placeholder small {
  color: var(--muted);
}

.gallery-placeholder.document {
  background: rgba(197, 56, 27, 0.06);
}

.contact-aside {
  position: sticky;
  top: 105px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(197, 56, 27, 0.25), transparent 42%),
    var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-aside::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: -145px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.02);
}

.contact-aside h2 {
  position: relative;
  margin: 0;
  color: var(--white);
  font-size: 2rem;
  line-height: 1.05;
}

.contact-aside > p:not(.eyebrow) {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
}

.contact-aside form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-aside form label {
  background: rgba(255, 255, 255, 0.94);
}

.contact-aside textarea {
  resize: vertical;
}

.contact-aside .button a {
  width: 100%;
}

.form-feedback {
  min-height: 0;
  margin: 0;
  color: var(--sage-light);
  font-size: 0.84rem;
}

.form-feedback:not(:empty) {
  min-height: 24px;
}

.favorite-button {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 750;
  cursor: pointer;
}

.favorite-button.selected {
  border-color: var(--terra-light);
  background: rgba(197, 56, 27, 0.25);
}

.split-intro,
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
}

.split-intro h2,
.about-story h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.support-list-section {
  padding-top: 0;
  background: var(--cream);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: linear-gradient(145deg, #002147, #00162f);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.support-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -100px;
  bottom: -130px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(98, 120, 103, 0.06);
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(0, 22, 47, 0.2);
}

.support-card > span,
.detail-steps article > span,
.mission-grid article > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  color: var(--terra-light);
  font: 800 0.72rem var(--sans);
}

.support-card h2 {
  max-width: 480px;
  margin: 48px 0 12px;
  color: var(--white);
  font-size: clamp(1.75rem, 2.5vw, 2.7rem);
  line-height: 1.05;
}

.support-card p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
}

.support-card a {
  position: absolute;
  z-index: 2;
  left: 38px;
  bottom: 34px;
  color: var(--sage-light);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
}

.support-card a i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 8px;
  border: 1px solid rgba(185, 200, 189, 0.36);
  border-radius: 50%;
  font-style: normal;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.support-card a:hover i {
  transform: rotate(45deg);
  background: var(--sage);
  color: var(--white);
}

.compact-cta {
  padding-top: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 54px;
  border-radius: 38px;
  background:
    radial-gradient(
      circle at 86% 15%,
      rgba(255, 255, 255, 0.13),
      transparent 32%
    ),
    var(--sage);
  color: var(--white);
}

.cta-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.service-side-nav {
  position: sticky;
  top: 105px;
  display: grid;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.service-side-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-side-nav a.active {
  color: var(--terra);
}

.service-detail-main {
  display: grid;
  gap: 18px;
}

.detail-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-steps article,
.mission-grid article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(0, 22, 47, 0.05);
}

.detail-steps article > span,
.mission-grid article > span {
  border-color: rgba(98, 120, 103, 0.24);
  background: rgba(98, 120, 103, 0.08);
  color: var(--sage);
}

.detail-steps h3,
.mission-grid h3 {
  margin: 24px 0 7px;
  color: var(--navy);
  font-size: 1.25rem;
}

.detail-steps p,
.mission-grid p {
  margin: 0;
  color: var(--muted);
}

.deliverables-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.deliverables-card li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--cream);
}

.deliverables-card li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  color: var(--sage);
  font: 900 1rem var(--sans);
}

.service-request {
  top: 105px;
}

.about-photo {
  position: relative;
  min-height: 580px;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: -24px 50px 45px -26px;
  border-radius: 48px;
  background: linear-gradient(
    135deg,
    rgba(197, 56, 27, 0.14),
    rgba(98, 120, 103, 0.18)
  );
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.about-story-grid > div:last-child > p:not(.eyebrow) {
  color: var(--muted);
}

.mission-grid-section {
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mission-grid article {
  min-height: 275px;
  padding: 32px;
}

.mission-grid article > span {
  width: 56px;
  height: 56px;
}

.mission-grid h3 {
  margin-top: 45px;
  font-size: 1.6rem;
}

.about-values {
  background: var(--cream);
}

.values-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px);
  border-radius: 46px;
  background:
    radial-gradient(circle at 0 100%, rgba(197, 56, 27, 0.22), transparent 34%),
    var(--navy);
  color: var(--white);
}

.values-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.6rem, 4.4vw, 4.7rem);
  line-height: 0.98;
}

.value-list {
  display: grid;
  gap: 8px;
}

.value-list p {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.value-list strong {
  color: var(--sage-light);
  font-family: var(--sans);
}

.value-list span {
  color: rgba(255, 255, 255, 0.72);
}

.auth-page .site-header {
  position: absolute;
}

.auth-section {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px 0 80px;
  color: var(--white);
  background: var(--navy-deep);
}

.auth-media,
.auth-overlay {
  position: absolute;
  z-index: -3;
  inset: 0;
}

.auth-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 22, 47, 0.97),
      rgba(0, 22, 47, 0.78) 55%,
      rgba(0, 22, 47, 0.58)
    ),
    linear-gradient(0deg, rgba(0, 22, 47, 0.82), transparent);
}

.auth-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
}

.auth-intro h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3.4rem, 5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.auth-intro > p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
}

.auth-points {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  color: var(--sage-light);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 650;
}

.auth-card,
.tt-logs-tabs {
  min-height: 610px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 38px 90px rgba(0, 12, 32, 0.34);
  backdrop-filter: blur(28px);
}

.auth-tabs,
.tt-logs-tabs .wp-block-themeisle-blocks-tabs__header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 35px;
  padding: 6px;
  border-radius: 18px;
  background: var(--cream);
}
.tt-logs-tabs .wp-block-themeisle-blocks-tabs__header_item {
  border: none !important;
  margin: 0 !important;
}
.auth-tabs button,
.tt-logs-tabs .wp-block-themeisle-blocks-tabs__header_item > div {
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem !important;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
}

.auth-tabs button.active,
.tt-logs-tabs .wp-block-themeisle-blocks-tabs__header_item.active > div,
.tt-logs-tabs .wp-block-themeisle-blocks-tabs__header_item:hover > div {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 9px 20px rgba(98, 120, 103, 0.2);
}
body {
  .wp-block-themeisle-blocks-tabs
    .wp-block-themeisle-blocks-tabs-item
    .wp-block-themeisle-blocks-tabs-item__content {
    border: none;
    padding: 0;
    background: transparent !important;
  }
}
.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
  animation: panelIn 0.35s ease both;
}

.auth-panel h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
}

.auth-panel form {
  display: grid;
  gap: 12px;
}

.auth-panel .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.form-options input {
  width: auto;
}

.form-options a {
  color: var(--sage-link);
  font-weight: 750;
}

.auth-panel .button a {
  width: 100%;
  margin-top: 6px;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-page {
  background: #eef0ec;
}

.dashboard-page > .site-header,
.dashboard-page > .footer {
  display: none;
}

.dashboard-header {
  justify-content: space-between;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100svh;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  padding: 30px 24px;
  background: var(--navy-deep);
  color: var(--white);
  gap: 20px;
}

.dashboard-brand {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 46px;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 5px;
}

.dashboard-sidebar nav a {
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
}

.dashboard-sidebar nav a::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.dashboard-sidebar nav .current-menu-item a,
.dashboard-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.dashboard-sidebar .wp-block-navigation .wp-block-navigation-item {
  width: 100%;
}

.dashboard-sidebar nav .current-menu-item a::before {
  border-color: var(--terra-light);
  background: var(--terra-light);
  box-shadow: 0 0 0 5px rgba(239, 118, 92, 0.12);
}

.dashboard-logout,
.logged-in.wp-block-loginout {
  margin-top: auto;
  padding: 13px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--sage-light);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-main {
  min-width: 0;
  padding: 46px clamp(24px, 4vw, 64px) 24px;
}

.dashboard-header {
  display: flex;
  align-items: start;
  gap: 20px;
  max-width: 1350px;
  margin: 0 auto 38px;
}

.dashboard-header > div {
  flex: 1;
}

.dashboard-header .eyebrow {
  margin-bottom: 8px;
}

.dashboard-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.dashboard-header p:last-child {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
}

.dashboard-user {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--sage);
  color: var(--white);
  font: 800 0.82rem var(--sans);
}

.dashboard-header .wp-block-buttons {
  display: none;
}

.dashboard-content {
  display: grid;
  gap: 18px;
  max-width: 1350px;
  margin-inline: auto;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-metrics > div,
.dashboard-card,
.status-banner {
  border: 1px solid rgba(0, 33, 71, 0.09);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(0, 22, 47, 0.05);
}

.dashboard-metrics > div {
  min-height: 155px;
  padding: 27px;
  border-radius: 25px;
}

.dashboard-metrics span {
  display: block;
  color: var(--navy);
  font: 750 clamp(2rem, 3.4vw, 3.7rem)/1 var(--sans);
  letter-spacing: -0.05em;
}

.dashboard-metrics p {
  margin: 12px 0 0;
  color: var(--muted);
}

.dashboard-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.dashboard-card {
  padding: 30px;
  border-radius: 28px;
}

.dashboard-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.dashboard-card-head .eyebrow {
  margin-bottom: 5px;
  font-size: 0.64rem;
}

.dashboard-card-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.65rem;
}

.dashboard-card-head a,
.dashboard-card .result-link {
  color: var(--sage-link);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
}

.saved-list {
  display: grid;
}

.saved-list a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.saved-list a > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--navy);
  font: 800 0.72rem var(--sans);
}

.saved-list strong,
.saved-list small,
.timeline strong,
.timeline small {
  display: block;
}

.saved-list strong,
.timeline strong {
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.85rem;
}

.saved-list small,
.timeline small {
  color: var(--muted);
}

.saved-list i {
  color: var(--sage);
  font-style: normal;
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 13px;
}

.timeline li > span {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(98, 120, 103, 0.1);
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 25px;
  border-color: rgba(98, 120, 103, 0.24);
  border-radius: 24px;
  background: rgba(98, 120, 103, 0.1);
}

.status-banner > p > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--white);
  font-family: var(--sans);
}

.status-banner > div {
  flex: 1;
}

.status-banner p strong,
.status-banner p {
  display: block;
  margin: 0;
}

.status-banner strong {
  color: var(--navy);
  font-family: var(--sans);
}

.status-banner p {
  color: var(--muted);
}

.status-banner a {
  color: var(--sage-link);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
}

.task-list p {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.task-list label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--cream);
}

.task-list input {
  margin-top: 5px;
  accent-color: var(--sage);
}

.task-list strong,
.task-list small {
  display: block;
}

.task-list strong {
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.8rem;
}

.task-list small {
  color: var(--muted);
}

.subscription-card {
  position: relative;
}

.plan-chip {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(98, 120, 103, 0.12);
  color: var(--sage-link);
  font: 800 0.65rem var(--sans);
}

.subscription-card > p {
  color: var(--muted);
}

.subscription-detail > p {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  margin-block-end: 16px !important;
}

.subscription-detail strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.subscription-card .result-link {
  position: static;
  margin-top: 22px;
}

.dashboard-signature {
  max-width: 1350px;
  margin: 34px auto 0;
  color: var(--muted);
  text-align: right;
  font-size: 0.72rem;
}

.dashboard-signature a {
  color: var(--sage-link);
  font-weight: 700;
}

@media (max-width: 1220px) {
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .service-request {
    position: relative;
    top: 0;
    grid-column: 2;
  }
}

@media (max-width: 980px) {
  .inner-hero {
    min-height: 520px;
    padding: 150px 0 80px;
  }

  .search-layout,
  .profile-layout,
  .split-intro,
  .about-story-grid,
  .auth-grid,
  .values-panel {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .contact-aside {
    position: relative;
    top: 0;
  }

  .filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel-head,
  .filter-form .button a,
  .filter-form .reset-filters {
    grid-column: 1 / -1;
  }

  .profile-hero,
  .profile-identity {
    min-height: 610px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-side-nav {
    position: relative;
    top: 0;
  }

  .service-request {
    grid-column: auto;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .values-panel {
    gap: 35px;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-header .wp-block-buttons {
    display: grid;
    place-items: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 14px;
    background: var(--navy);
    color: var(--white);
  }
}

@media (max-width: 700px) {
  .inner-hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
  }

  .filter-form,
  .result-grid,
  .fact-grid,
  .gallery-grid,
  .detail-steps,
  .auth-panel .form-row,
  .dashboard-metrics,
  .dashboard-columns {
    grid-template-columns: 1fr;
  }

  .results-head,
  .profile-identity,
  .cta-panel,
  .status-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-control {
    width: 100%;
    flex-basis: auto;
  }

  .result-card {
    min-height: 320px;
  }

  .profile-hero,
  .profile-identity {
    min-height: 570px;
  }

  .profile-identity {
    gap: 18px;
  }

  .profile-monogram {
    flex-basis: 82px;
    width: 82px;
    height: 82px;
    border-radius: 23px;
    font-size: 1.5rem;
  }

  .profile-identity h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .gallery-grid img {
    grid-row: auto;
    min-height: 270px;
  }

  .support-card {
    min-height: 370px;
    padding: 28px;
  }

  .support-card a {
    left: 28px;
  }

  .value-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .auth-section {
    padding-top: 120px;
  }

  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .auth-card {
    min-height: 0;
    border-radius: 28px;
  }

  .dashboard-main {
    padding-inline: 18px;
  }

  .dashboard-header {
    align-items: flex-start;
  }

  .dashboard-user {
    display: none;
  }

  .status-banner a {
    margin-left: 58px;
  }
}

/* =========================================================
   Pages complémentaires — proposition B
   Même système visuel, navigation complète du prototype.
   ========================================================= */

.prototype-access {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.74rem;
}
.prototype-access span {
  width: 100%;
  color: var(--muted);
  font-weight: 700;
}
.prototype-access a {
  color: var(--sage-link);
  font-weight: 800;
}

.article-grid ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.article-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) 1.18fr;
  min-height: 320px;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 33, 71, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.article-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.article-card-image {
  min-height: 100%;
  overflow: hidden;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.article-card:hover .article-card-image img {
  transform: scale(1.06);
}
.article-card > div {
  display: flex;
  flex-direction: column;
  padding: 30px;
}
.article-card .news-meta {
  margin: 0 0 18px;
  color: var(--terra);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.article-card p:not(.news-meta) {
  margin: 16px 0 24px;
  color: var(--muted);
}
.article-card .arrow-link {
  margin-top: auto;
  color: var(--sage-link);
  font: 800 0.75rem var(--sans);
}

.article-hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 190px 0 105px;
  color: var(--white);
  background: var(--navy);
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(0, 22, 47, 0.97),
    rgba(0, 22, 47, 0.2) 75%
  );
}
.article-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero h1 {
  max-width: 1000px;
  margin: 0;
  font: 750 clamp(3.2rem, 6.5vw, 6.9rem)/0.96 var(--sans);
  letter-spacing: -0.06em;
}
.article-hero .container > p:last-child {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 270px;
  justify-content: center;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 105px;
}
.article-body {
  color: var(--ink);
  font-size: 1.12rem;
}
.article-body .article-lead {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.48rem;
  line-height: 1.55;
}
.article-body h2 {
  margin: 60px 0 18px;
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.article-body figure {
  margin: 52px 0;
}
.article-body figure img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 32px;
}
.article-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}
.article-body blockquote {
  margin: 52px 0;
  padding: 10px 0 10px 30px;
  border-left: 4px solid var(--sage);
  color: var(--navy);
  font: 400 1.6rem/1.45 var(--serif);
}
.article-aside {
  position: sticky;
  top: 118px;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.75);
}
.article-aside > a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--sage-link);
  font: 700 0.76rem var(--sans);
}
.article-share {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 25px;
  font: 700 0.7rem var(--sans);
}
.article-share button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
}
.related-news {
  padding-top: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 120px;
}
.faq-intro h2 {
  margin-bottom: 30px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 35px rgba(0, 22, 47, 0.045);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 23px 26px;
  color: var(--navy);
  font: 750 1rem var(--sans);
  cursor: pointer;
  list-style: none;
  outline: none !important;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(98, 120, 103, 0.12);
  color: var(--sage-link);
  transition: transform 0.25s ease;
}
.faq-item[open] summary span {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 0;
  padding: 0 26px 26px;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 820px);
  justify-content: center;
  gap: clamp(45px, 7vw, 100px);
  align-items: start;
}
.legal-index {
  position: sticky;
  top: 115px;
  padding: 26px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
}
.legal-index span {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
}
.legal-content {
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.8);
}
.legal-notice {
  padding: 18px 20px;
  border-left: 4px solid var(--terra);
  border-radius: 10px;
  background: rgba(197, 56, 27, 0.08);
  color: var(--navy);
  font-weight: 700;
}
.legal-content section {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.legal-content section:last-child {
  border-bottom: 0;
}
.legal-content h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.7rem;
}
.legal-content p {
  margin: 0;
  color: var(--muted);
}

.settings-form {
  display: grid;
  gap: 15px;
}
.settings-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.settings-form label {
  display: grid;
  gap: 7px;
}
.settings-form label > span {
  color: var(--navy);
  font: 750 0.7rem var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.settings-form input,
.settings-form select,
.settings-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: var(--cream);
  color: var(--ink);
}
.settings-form textarea {
  resize: vertical;
}
.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(98, 120, 103, 0.12);
}
.settings-form .button a {
  justify-self: start;
}
.upload-panel {
  display: grid;
  gap: 25px;
}
.upload-zone {
  padding: 45px 25px;
  border: 2px dashed rgba(98, 120, 103, 0.38);
  border-radius: 22px;
  background: rgba(98, 120, 103, 0.055);
  text-align: center;
}
.upload-zone strong {
  color: var(--navy);
  font: 800 1rem var(--sans);
}
.upload-zone p {
  color: var(--muted);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.media-grid article {
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--cream);
}
.media-grid img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}
.media-grid article > span {
  display: block;
  padding: 9px 12px;
  color: var(--navy);
  font: 700 0.7rem var(--sans);
}
.media-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--sage-link);
  text-align: center;
  font: 750 0.78rem var(--sans);
}
.media-placeholder small {
  color: var(--muted);
}
.timeline.large li {
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.timeline.large a {
  color: var(--sage-link);
  font: 800 0.72rem var(--sans);
}
.subscription-detail > p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 13px;
  border-top: 1px solid var(--line);
}
.subscription-detail span {
  color: var(--muted);
}
.subscription-detail strong {
  color: var(--sage-link);
  font-family: var(--sans);
}
.content-table {
  display: grid;
}
.content-table > div {
  display: grid;
  grid-template-columns: 105px 1fr 100px 65px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.content-table span {
  color: var(--muted);
  font-size: 0.82rem;
}
.content-table strong {
  color: var(--navy);
  font-family: var(--sans);
}
.content-table em {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(197, 56, 27, 0.09);
  color: var(--terra);
  font: 800 0.62rem var(--sans);
  font-style: normal;
}
.content-table em.status-published {
  background: rgba(98, 120, 103, 0.12);
  color: var(--sage-link);
}
.content-table a {
  color: var(--sage-link);
  font: 800 0.7rem var(--sans);
}

.prototype-map-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 50px;
  padding: 28px 32px;
  border-radius: 25px;
  background: rgba(98, 120, 103, 0.1);
}
.prototype-map-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
}
.prototype-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.prototype-map-group {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}
.prototype-map-group > div {
  display: grid;
}
.prototype-map-group a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
}
.prototype-map-group a:last-child {
  border-bottom: 0;
}
.prototype-map-group i {
  color: var(--sage);
  font-style: normal;
  transition: transform 0.2s ease;
}
.prototype-map-group a:hover i {
  transform: translateX(5px);
}

@media (max-width: 1100px) {
  .article-grid ul,
  .prototype-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-card {
    grid-template-columns: 1fr;
  }
  .article-card-image {
    min-height: 250px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 800px);
  }
  .article-aside {
    position: relative;
    top: 0;
  }
}

@media (max-width: 820px) {
  .faq-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .faq-intro,
  .legal-index {
    position: relative;
    top: 0;
  }
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-table > div {
    grid-template-columns: 90px 1fr auto;
  }
  .content-table > div a {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .article-grid ul,
  .prototype-map-grid {
    grid-template-columns: 1fr;
  }
  .article-hero {
    min-height: 610px;
    padding-bottom: 75px;
  }
  .article-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }
  .article-layout {
    padding-block: 70px;
  }
  .article-body blockquote {
    padding-left: 20px;
    font-size: 1.3rem;
  }
  .settings-form .form-row,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .timeline.large li {
    grid-template-columns: 16px 1fr;
  }
  .timeline.large a {
    grid-column: 2;
  }
  .content-table > div {
    grid-template-columns: 1fr auto;
  }
  .content-table > div span {
    grid-column: 1 / -1;
  }
  .content-table > div a {
    grid-column: 1;
  }
  .prototype-map-intro {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
}

.tt-bloc-output {
  max-height: fit-content;
  position: sticky;
  top: 70px;
  min-width: max-content;
}

.woocommerce table.variations tr td select,
span.select2-selection.select2-selection--single {
  height: max-content;
}
.wc-block-components-product-price .woocommerce-Price-amount {
  font-weight: bold;
}
.single_variation_wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.woocommerce .single_variation_wrap .woocommerce-variation {
  margin-bottom: 0 !important;
  font-weight: bold;
}
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
  flex-grow: 1 !important;
}
.woocommerce-page header {
  position: relative !important;
  &.is-scrolled {
    position: fixed !important;
  }
}

.wc-block-cart__sidebar {
  background: #fff;
  padding: 30px;
  border-radius: 30px;
  position: sticky;
  top: 120px;
}
.wc-block-cart__submit-button {
  padding: 20px;
}

a.wc-block-components-product-name,
.wc-block-components-formatted-money-amount {
  font-weight: 700 !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 15px !important;
}

header + div {
  margin-top: 0 !important;
}
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: #fff !important;
  border-radius: 30px !important;
}
div#order_review {
  display: flex;
  gap: 40px;
  width: 100%;
  & > div {
    flex-grow: 1;
  }
}

@media only screen and (max-width: 768px) {
  .woocommerce #order_review {
    flex-wrap: wrap;
  }
}

body .woocommerce-page table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #e1e1e1;
}

.tt-accordion-header {
  border-radius: 12px 12px 0 0;
}
.tt-accordion-fields {
  border-radius: 0 0 12px 12px;
}
body .tt-accordion-group.is-open .tt-accordion-inner,
body .tt-accordion-group.is-open {
  overflow: visible;
  min-width: 0;
  max-width: 100%;
}
body .tt-accordion-group.tt-proximity-group {
  overflow: hidden;
}
