/* Pages de comptes et d’offres : photographie de terrain, typographie et repères lisibles. */
.account-page {
  background: var(--q-bg, #fafbf8);
}
.account-page main {
  padding: 36px clamp(18px, 4vw, 64px) 64px;
  max-width: 1540px;
  position: relative;
}
.account-page h1,
.account-page h2,
.account-page h3 {
  letter-spacing: -0.045em;
}
.account-page main h1 {
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1.09;
  margin: 22px 0;
}
.account-page main h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 16px;
}
.account-page main em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
}
.account-page main p {
  line-height: 1.7;
  color: var(--q-muted, #54645c);
}
.account-page a,
.account-page button,
.account-page input,
.account-page summary {
  -webkit-tap-highlight-color: transparent;
}
.account-page :is(a, button, input, summary):focus-visible {
  outline: 3px solid #2a7586;
  outline-offset: 4px;
}
.account-page .button {
  min-height: 50px;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 14px;
}
.account-page .button svg,
.account-page .text-link svg {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}
.account-page .button:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}
.account-page .button-light {
  background: rgba(255, 255, 255, 0.65);
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: stretch;
  gap: 22px;
  min-height: 710px;
}
.auth-story {
  border-radius: 30px;
  padding: clamp(30px, 4.1vw, 64px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #152e28;
}
.account-page .auth-story::before,
.account-page .auth-story::after {
  display: none;
}
.auth-story .auth-photograph {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}
.auth-photograph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}
.auth-photograph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #071b18f5 0%,
    #10251eda 44%,
    #132b2087 69%,
    #071b18e0 100%
  );
}
.auth-photograph figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(30px, 4.1vw, 64px);
  right: clamp(30px, 4.1vw, 64px);
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  color: #e5ebdd;
  font-size: 0.63rem;
  line-height: 1.5;
}
.auth-photograph figcaption a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-story-photographic .story-bottom {
  margin-top: auto;
  padding-top: 60px;
  padding-bottom: 45px;
  border-top: 0;
}
.auth-story > * {
  position: relative;
  z-index: 1;
}
.account-page .auth-story .eyebrow {
  margin: 0 0 36px;
  color: #c4d7c7;
  font-size: 0.69rem;
}
.account-page .auth-story h2 {
  color: #f4f5e9;
  font-size: clamp(2.4rem, 4.1vw, 4.8rem);
  line-height: 1.06;
  margin-bottom: 25px;
}
.account-page .auth-story h2 em {
  color: #d2dec4;
}
.account-page .auth-story > p:not(.eyebrow) {
  color: #d8e2d7;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.65;
}
.story-bottom {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: #d8e2d7;
  font-size: 0.8rem;
  line-height: 1.5;
}
.context-signal {
  background: #bbcdb1;
  border-radius: 50%;
  height: 7px;
  width: 7px;
  flex-shrink: 0;
  margin-top: 6px;
}
.auth-panel {
  padding: clamp(28px, 4.6vw, 68px);
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 30px;
  background: linear-gradient(130deg, #ffffffdf, #f2f7efb8);
}
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 0.78rem;
  color: var(--q-muted, #54645c);
  margin-bottom: 25px;
}
.auth-back svg {
  height: 16px;
  width: 16px;
  transform: rotate(180deg);
}
.account-page .auth-panel .q-chip {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  background: #ebf1e8;
  border: 1px solid #dfe8dc;
}
.auth-panel .q-chip svg {
  height: 15px;
  width: 15px;
}
.account-page .auth-panel h1 {
  font-size: clamp(2.1rem, 3.3vw, 3.35rem);
  max-width: 13ch;
  margin: 24px 0 15px;
}
.account-page .auth-panel .auth-intro {
  margin: 0 0 30px;
  font-size: 0.95rem;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 21px;
}
.field-group > label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--q-ink, #16231f);
  line-height: 1.45;
}
.label-optional {
  margin-left: 6px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--q-muted, #54645c);
}
.field-group input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  min-height: 54px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--q-ink, #16231f);
  border: 1px solid #cbd9ce;
  background: #ffffffd4;
  border-radius: 12px;
  padding: 13px 15px;
  box-shadow: 0 2px 3px #17312203;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field-group input::placeholder {
  color: #6d7c71;
  opacity: 1;
}
.field-group input[aria-invalid="true"] {
  border-color: #a43d36;
}
.password-control {
  position: relative;
}
.password-control input:not([type="checkbox"]) {
  padding-right: 58px;
}
.password-toggle {
  position: absolute;
  right: 4px;
  top: 5px;
  height: 44px;
  width: 44px;
  padding: 12px;
  display: grid;
  place-items: center;
  color: #4b6958;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}
.password-toggle svg {
  height: 21px;
  width: 21px;
}
.password-toggle:hover {
  background: #e5eee4;
}
.password-toggle[aria-pressed="true"] {
  color: var(--q-water, #2a7586);
  background: #e5f0ed;
}
.account-page .field-hint,
.account-page .field-error {
  font-size: 0.77rem;
  line-height: 1.55;
  margin: 0;
}
.account-page .field-error {
  color: #9c302d;
}
.form-message {
  border: 1px solid #dcb5ad;
  border-radius: 12px;
  background: #fdf1ed;
  padding: 13px 16px;
  color: #853428 !important;
  font-size: 0.85rem;
}
.form-message-info {
  border-color: #b7d4c6;
  background: #edf5ec;
  color: #285441 !important;
}
.account-page .auth-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 9px;
}
.auth-register {
  border-top: 1px solid var(--q-line, #d9e3db);
  margin-top: 29px;
  padding-top: 23px;
  display: grid;
  gap: 9px;
  font-size: 0.85rem;
}
.auth-register > span {
  color: var(--q-muted, #54645c);
}
.auth-register a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--q-forest, #245d48);
  font-weight: 600;
  width: fit-content;
}
.auth-register svg {
  height: 18px;
  width: 18px;
}
.account-page .auth-privacy {
  margin: 28px 0 0;
  color: #607264;
  font-size: 0.75rem;
  line-height: 1.6;
}
.auth-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-recovery {
  margin-top: 15px;
}
.account-recovery > summary {
  width: fit-content;
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--q-forest, #245d48);
  font-size: 0.84rem;
  list-style: none;
}
.account-recovery summary::-webkit-details-marker {
  display: none;
}
.account-recovery > summary::after {
  content: "+";
  margin-left: 10px;
  font-size: 1rem;
}
.account-recovery[open] > summary::after {
  content: "−";
}
.recovery-content {
  padding: 24px 0 2px;
  border-top: 1px solid var(--q-line, #d9e3db);
}
.account-page .recovery-content h2 {
  font-size: 1.4rem;
  letter-spacing: -0.035em;
}
.account-page .recovery-content p {
  font-size: 0.85rem;
}
.account-page .recovery-back {
  margin-top: 16px;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--q-forest, #245d48);
}
.register-progress {
  list-style: none;
  display: flex;
  margin: 0 0 32px;
  padding: 0;
  width: 100%;
}
.register-progress li {
  flex: 1;
  display: grid;
  gap: 8px;
  position: relative;
  color: #647269;
  font-size: 0.76rem;
}
.register-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  height: 1px;
  background: #d7e1d7;
  left: 44px;
  right: 10px;
}
.register-progress li > span {
  border: 1px solid #cbd9ce;
  background: #f7faf5;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.register-progress li > strong {
  font-weight: 500;
}
.register-progress li[aria-current="step"] {
  color: var(--q-forest, #245d48);
}
.register-progress li[aria-current="step"] > span {
  color: #fff;
  background: var(--q-forest, #245d48);
  border-color: var(--q-forest, #245d48);
}
.register-progress li.is-complete > span {
  background: #deecdc;
  border-color: #c5dbc5;
}
.auth-panel fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.auth-panel legend {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  padding: 0;
  margin-bottom: 9px;
  letter-spacing: -0.015em;
}
.account-page .step-explanation {
  font-size: 0.84rem;
  margin: 0 0 21px;
}
.step-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
.step-actions .button-dark {
  flex: 1;
  justify-content: space-between;
}
.step-actions .button[data-auth-submit] {
  margin: 0;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400 !important;
  font-size: 0.77rem !important;
}
.checkbox-field input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--q-forest, #245d48);
}
.checkbox-field a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.register-success {
  padding: 18px 0;
}
.success-orbit {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 0 0 20px;
  color: #245d48;
  font-size: 1.5rem;
  background: #dcead6;
}
.account-footer {
  padding: 20px clamp(24px, 5vw, 80px) 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.76rem;
  color: var(--q-muted, #54645c);
  max-width: 1540px;
  margin: auto;
}
.account-footer > a {
  font-weight: 600;
  color: var(--q-ink, #16231f);
}
.account-footer > span {
  flex: 1;
}
.account-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.account-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.account-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px 35px;
  gap: 30px;
}
.account-intro .eyebrow {
  margin-bottom: 12px;
}
.account-intro h1 {
  margin-top: 0 !important;
}
.account-state {
  text-align: center;
  padding: 58px 32px;
  max-width: 1000px;
  margin: auto;
}
.account-state p {
  max-width: 56ch;
  margin: 0 auto 26px;
}
.account-state .action-row {
  justify-content: center;
}
.account-state .q-chip {
  margin-bottom: 24px;
}
.account-spinner {
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid #d8e3d6;
  border-top-color: #245d48;
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: account-spin 1s linear infinite;
}
@keyframes account-spin {
  to {
    transform: rotate(360deg);
  }
}
.account-workspace {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
}
.account-sidebar {
  padding: 26px 14px;
  align-self: start;
  position: sticky;
  top: 115px;
}
.account-sidebar .eyebrow {
  margin: 0 0 16px;
}
.account-sidebar nav {
  display: grid;
  gap: 5px;
}
.account-sidebar nav a {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--q-line, #d9e3db);
  font-size: 0.87rem;
}
.account-sidebar svg {
  width: 18px;
  height: 18px;
}
.account-support {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  color: var(--q-muted, #54645c);
  font-size: 0.77rem;
}
.account-support span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--q-forest, #245d48);
}
.account-sections {
  display: grid;
  gap: 20px;
}
.account-card {
  padding: 35px;
  scroll-margin-top: 110px;
}
.account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.account-card-head .eyebrow {
  margin: 0 0 12px;
  font-size: 0.68rem;
}
.account-card-head h2 {
  margin-bottom: 0 !important;
}
.account-card-head .q-chip {
  font-size: 0.72rem;
}
.account-data {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 40px;
}
.account-data > div {
  min-width: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e1e8df;
}
.account-data dt {
  color: var(--q-muted, #54645c);
  font-size: 0.77rem;
  margin-bottom: 9px;
}
.account-data dd {
  font-size: 0.96rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.account-line-icon svg {
  width: 26px;
  height: 26px;
  color: var(--q-forest, #245d48);
}
.account-inline-message {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #eff4ea;
}
.account-inline-message > p {
  font-size: 0.85rem;
  margin-top: 0;
}
.account-page .account-card > .field-hint {
  margin: 20px 0;
}
.account-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--q-forest, #245d48);
  font-size: 0.85rem;
}
.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  padding: 32px 28px 42px;
  gap: 40px;
}
.pricing-intro .eyebrow {
  margin-bottom: 16px;
}
.account-page .pricing-intro h1 {
  margin-top: 0;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
}
.account-page .pricing-intro > p:not(.eyebrow) {
  max-width: 48ch;
  font-size: 1.06rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.pricing-scene {
  text-align: center;
}
.pricing-scene {
  margin: 0;
}
.pricing-scene img {
  display: block;
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: 54% center;
  border-radius: 20px;
}
.pricing-scene figcaption {
  display: grid;
  justify-items: start;
  gap: 1px;
  margin-top: 14px;
  text-align: left;
  color: var(--q-muted, #54645c);
  font-size: 0.75rem;
  line-height: 1.6;
}
.pricing-scene figcaption a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.67rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-intro-index {
  border-left: 1px solid var(--q-line, #d9e3db);
  min-width: 235px;
  padding: 10px 0 10px 32px;
  display: grid;
  gap: 10px;
}
.account-page .account-intro-index p {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--q-ink, #16231f);
  font-size: 0.83rem;
}
.account-intro-index p span {
  font-size: 0.63rem;
  color: var(--q-muted, #54645c);
  font-variant-numeric: tabular-nums;
}
.pricing-context {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  background: #f0f5ec;
}
.context-signal {
  background: #a68653;
  height: 8px;
  width: 8px;
}
.pricing-context strong {
  font-size: 0.87rem;
  font-weight: 600;
}
.account-page .pricing-context p {
  margin: 5px 0 0;
  font-size: 0.79rem;
  max-width: 112ch;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.pricing-card {
  padding: 28px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  min-width: 0;
  background: #ffffffc9;
  box-shadow: 0 12px 35px #27463104;
}
.pricing-card-featured {
  border-color: #8fa991 !important;
  background: linear-gradient(140deg, #f9fbf5, #eef5e7);
}
.plan-badge {
  position: absolute;
  left: 25px;
  right: 25px;
  top: -13px;
  width: fit-content;
  border: 1px solid #bdd0b8;
  border-radius: 99px;
  background: #e0ecd5;
  padding: 5px 11px;
  color: #285441;
  font-size: 0.68rem;
  font-weight: 600;
}
.plan-symbol {
  display: block;
  color: #245d48;
  width: 36px;
  height: 36px;
  margin-bottom: 23px;
}
.plan-symbol svg {
  width: 100%;
  height: 100%;
}
.account-page .plan-audience {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 11px;
}
.account-page .pricing-card h2 {
  font-size: clamp(1.25rem, 1.75vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.account-page .pricing-card-top > p:not(.plan-audience) {
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0;
  min-height: 66px;
}
.account-page .plan-price {
  margin: 30px 0 25px;
  color: var(--q-ink, #16231f);
  display: grid;
  gap: 6px;
}
.plan-price > strong {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.plan-price > span {
  color: var(--q-muted, #54645c);
  font-size: 0.71rem;
}
.plan-price-custom > strong {
  font-size: 2.15rem;
  padding-top: 7px;
}
.pricing-card > .button {
  font-size: 0.78rem;
  padding: 14px 12px;
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  line-height: 1.4;
}
.pricing-card > .button svg {
  width: 15px;
  height: 15px;
}
.plan-features {
  margin: 26px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid #dce5d7;
  display: grid;
  gap: 15px;
}
.plan-features li {
  padding-left: 21px;
  position: relative;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #375543;
}
.plan-features li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 0;
  top: 6px;
  border-radius: 50%;
  border: 1px solid #6c8f71;
}
.account-page .plan-note {
  font-size: 0.71rem;
  line-height: 1.65;
  color: #61725f;
  padding-top: 27px;
  margin: auto 0 0;
}
.pricing-principles {
  padding: clamp(55px, 7vw, 95px) 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(35px, 7vw, 110px);
}
.pricing-principles .eyebrow {
  margin-bottom: 22px;
}
.account-page .pricing-principles h2 {
  font-size: clamp(2rem, 3.1vw, 3.7rem);
  margin-bottom: 22px;
}
.pricing-principles > div > p:last-child {
  max-width: 43ch;
  font-size: 0.95rem;
}
.principle-list {
  display: grid;
  gap: 25px;
}
.principle-list article {
  display: flex;
  gap: 24px;
}
.principle-list article > span {
  color: #7a937c;
  font-size: 0.72rem;
  padding-top: 5px;
}
.account-page .principle-list h3 {
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.account-page .principle-list p {
  font-size: 0.83rem;
  line-height: 1.7;
  margin: 0;
}
.pricing-faq {
  padding: clamp(26px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.3fr);
  gap: 40px;
}
.pricing-faq .eyebrow {
  margin: 0 0 18px;
}
.faq-list details {
  border-bottom: 1px solid #dce5d7;
}
.faq-list summary {
  cursor: pointer;
  padding: 19px 28px 19px 0;
  min-height: 54px;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  list-style: none;
  line-height: 1.6;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 19px;
  color: #54745b;
}
.faq-list details[open] summary::after {
  content: "−";
}
.account-page .faq-list p {
  margin: 0 28px 22px 0;
  font-size: 0.82rem;
}
@media (min-width: 1600px) {
  .auth-layout {
    min-height: 790px;
  }
}
@media (max-width: 1180px) {
  .auth-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }
  .auth-story {
    padding: 34px;
  }
  .auth-panel {
    padding: 35px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }
  .pricing-card {
    padding: 30px;
  }
  .account-page .pricing-card h2 {
    font-size: 1.8rem;
  }
  .account-page .pricing-card-top > p:not(.plan-audience) {
    min-height: 48px;
  }
}
@media (max-width: 780px) {
  .account-intro-index {
    display: none;
  }
  .account-page main {
    padding: 20px 18px 45px;
  }
  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 16px;
  }
  .auth-story {
    padding: 29px;
    min-height: 300px;
  }
  .account-page .auth-story h2 {
    font-size: 2.8rem;
    max-width: 11ch;
  }
  .account-page .auth-story .eyebrow {
    margin-bottom: 22px;
  }
  .account-page .auth-story > p:not(.eyebrow) {
    max-width: 32ch;
    font-size: 0.89rem;
  }
  .story-bottom {
    max-width: 30ch;
    margin-top: 30px;
    font-size: 0.73rem;
  }
  .auth-panel {
    padding: 28px;
    border-radius: 25px;
  }
  .account-page .auth-panel h1 {
    font-size: 2.6rem;
  }
  .auth-back {
    margin-bottom: 14px;
  }
  .account-footer {
    padding: 0 22px 24px;
    gap: 8px 20px;
    flex-wrap: wrap;
  }
  .account-footer > span {
    flex: 1 1 160px;
    font-size: 0.7rem;
  }
  .account-footer > div {
    flex-basis: 100%;
    gap: 20px;
  }
  .account-intro {
    padding: 18px 12px 25px;
  }
  .account-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .account-sidebar {
    position: static;
    padding: 15px 10px 25px;
  }
  .account-sidebar .eyebrow,
  .account-support {
    display: none;
  }
  .account-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .account-sidebar nav a {
    border: 0;
    padding: 9px 0;
    font-size: 0.79rem;
  }
  .account-sidebar nav svg {
    display: none;
  }
  .account-card {
    padding: 25px;
  }
  .account-card-head {
    flex-wrap: wrap;
    gap: 13px;
  }
  .account-data {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .pricing-hero {
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 12px;
    padding: 22px 10px 35px;
  }
  .account-page .pricing-intro h1 {
    font-size: 3.3rem;
  }
  .pricing-context {
    padding: 18px;
    margin-bottom: 32px;
  }
  .pricing-principles {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 60px 16px;
  }
  .pricing-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .auth-story {
    min-height: 290px;
    border-radius: 24px;
  }
  .account-page .auth-story h2 {
    font-size: 2.5rem;
  }
  .auth-panel {
    padding: 25px 22px;
  }
  .account-page .auth-panel h1 {
    font-size: 2.2rem;
  }
  .account-page .auth-panel .auth-intro {
    font-size: 0.88rem;
  }
  .auth-story p {
    position: relative;
    z-index: 2;
  }
  .account-intro h1 {
    font-size: 2.4rem !important;
  }
  .account-state {
    padding: 35px 22px;
  }
  .account-state .action-row > .button {
    width: 100%;
  }
  .account-actions .button {
    width: 100%;
    justify-content: space-between;
    font-size: 0.84rem;
  }
  .pricing-hero {
    display: block;
  }
  .pricing-scene {
    display: none;
  }
  .account-page .pricing-intro h1 {
    font-size: 3.2rem;
  }
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-card {
    padding: 28px;
  }
  .account-page .pricing-card-top > p:not(.plan-audience) {
    min-height: auto;
  }
  .pricing-card .button {
    min-height: 50px;
    font-size: 0.86rem;
  }
  .plan-price > strong {
    font-size: 2.8rem;
  }
  .plan-features {
    gap: 13px;
  }
  .plan-features li {
    font-size: 0.87rem;
  }
  .account-page .plan-note {
    font-size: 0.77rem;
  }
}
/* Sur téléphone, le parcours de compte passe avant la scène d’introduction. */
@media (max-width: 650px) {
  .auth-story {
    display: block;
    min-height: 0;
    padding: 22px;
    border-radius: 22px;
  }
  .account-page .auth-story .eyebrow {
    font-size: 0.62rem;
    margin-bottom: 12px;
  }
  .account-page .auth-story h2 {
    font-size: 1.625rem;
    line-height: 1.12;
    letter-spacing: -0.035em;
    max-width: none;
    margin-bottom: 12px;
  }
  .account-page .auth-story > p:not(.eyebrow),
  .auth-story .auth-photograph {
    display: none;
  }
  .auth-story .story-bottom {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 12px;
    max-width: none;
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .account-page .auth-panel h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7.5vw, 2.1rem);
    line-height: 1.12;
    margin: 18px 0 12px;
  }
  .account-page .auth-panel .auth-intro {
    margin-bottom: 24px;
  }
}
/* Sur ordinateur, la saisie reste à une largeur de lecture confortable. */
@media (min-width: 1000px) {
  .account-page main {
    max-width: 1360px;
    margin-inline: auto;
    padding: 24px clamp(24px, 3vw, 48px) 48px;
  }
  .auth-layout {
    max-width: 1120px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: 24px;
    min-height: 0;
  }
  .auth-story {
    min-height: clamp(540px, calc(100svh - 170px), 680px);
    padding: 34px;
    border-radius: 24px;
  }
  .account-page .auth-story .eyebrow {
    margin-bottom: 24px;
  }
  .account-page .auth-story h2 {
    font-size: clamp(2.2rem, 3vw, 3.1rem);
    margin-bottom: 20px;
  }
  .auth-story-photographic .story-bottom {
    padding-top: 32px;
    padding-bottom: 36px;
  }
  .auth-photograph figcaption {
    left: 34px;
    right: 34px;
    bottom: 12px;
  }
  .auth-panel {
    padding: 32px;
    border-radius: 24px;
  }
  .auth-back {
    margin-bottom: 14px;
  }
  .account-page .auth-panel h1 {
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    max-width: 20ch;
    margin: 16px 0 12px;
  }
  .account-page .auth-panel .auth-intro {
    margin-bottom: 20px;
  }
  .account-page [data-auth-availability] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    margin-bottom: 20px;
  }
  .account-page [data-auth-availability] p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
  }
  .account-page [data-auth-availability] p:first-child,
  .account-page [data-auth-availability-message] {
    grid-column: 1 / -1;
  }
  .account-page [data-auth-availability] .button {
    min-height: 44px;
    font-size: 0.82rem;
    padding: 10px 14px;
    justify-self: start;
  }
  .account-page [data-auth-availability] p:last-child {
    align-self: center;
    justify-self: end;
  }
  .field-group {
    margin-bottom: 17px;
  }
  .auth-register {
    margin-top: 20px;
    padding-top: 17px;
  }
  .account-page .auth-privacy {
    margin-top: 20px;
  }
  .register-progress {
    margin-bottom: 24px;
  }
  .account-intro {
    padding: 14px 0 24px;
  }
  .account-page .account-intro h1 {
    font-size: clamp(2.3rem, 3vw, 3rem);
    margin-bottom: 16px;
  }
  .account-state {
    max-width: 860px;
    padding: 36px 28px;
  }
  .account-page .account-state h2 {
    font-size: 1.8rem;
  }
  .account-state p {
    margin-bottom: 18px;
  }
  .pricing-hero {
    grid-template-columns: minmax(0, 1fr) 240px;
    padding: 18px 0 28px;
    gap: 32px;
  }
  .account-page .pricing-intro h1 {
    font-size: clamp(2.8rem, 3.7vw, 3.4rem);
    margin-bottom: 16px;
  }
  .account-page .pricing-intro > p:not(.eyebrow) {
    font-size: 1rem;
    margin-bottom: 18px;
  }
  .pricing-context {
    margin-bottom: 26px;
  }
  .pricing-card {
    padding: 24px 22px;
  }
  .plan-symbol {
    margin-bottom: 16px;
  }
  .account-page .pricing-card h2 {
    font-size: 1.5rem;
  }
  .account-page .pricing-card-top > p:not(.plan-audience) {
    min-height: 56px;
  }
  .account-page .plan-price {
    margin: 22px 0 20px;
  }
  .plan-features {
    margin-top: 22px;
    padding-top: 18px;
    gap: 12px;
  }
  .account-page .plan-note {
    padding-top: 20px;
  }
  .pricing-principles {
    padding: 64px 12px;
    gap: 48px;
  }
  .account-page .pricing-principles h2 {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .account-spinner {
    animation: none;
  }
  .field-group input {
    transition: none;
  }
}
