:root {
  --bg: #f4f1eb;
  --bg-soft: #faf8f4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-dark: #102430;
  --text: #102430;
  --muted: #586b76;
  --muted-strong: #334853;
  --primary: #d12932;
  --primary-dark: #a41d24;
  --secondary: #123847;
  --secondary-soft: #eef3f4;
  --line: rgba(16, 36, 48, 0.1);
  --line-strong: rgba(16, 36, 48, 0.16);
  --success: #0f7a5c;
  --shadow-soft: 0 20px 60px rgba(18, 33, 43, 0.08);
  --shadow-card: 0 32px 90px rgba(16, 36, 48, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(209, 41, 50, 0.1), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(18, 56, 71, 0.08), transparent 24%),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 46%, #f9f6f1 100%);
  animation: pageFadeIn 720ms ease-out both;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.82);
  animation: slideDownSoft 680ms ease-out both;
}

.utility-bar__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.6rem;
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.utility-bar__content p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(244, 241, 235, 0.82);
  border-bottom: 1px solid rgba(16, 36, 48, 0.06);
  animation: slideDownSoft 760ms ease-out both;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-button {
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #ef5c63);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 16px 30px rgba(209, 41, 50, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.brand-text strong {
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted-strong);
  font-weight: 500;
}

.nav-scroll {
  padding: 0;
  color: var(--muted-strong);
  font-weight: 500;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    filter 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.03);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 40px rgba(209, 41, 50, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(16, 36, 48, 0.08);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(16, 36, 48, 0.14);
}

.hero {
  padding: 4.6rem 0 2rem;
}

.hero-grid,
.lead-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
}

.lead-grid {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
}

.hero-copy {
  padding-top: 1rem;
}

.hero-badges,
.hero-copy h1,
.hero-text,
.hero-actions,
.hero-commitments,
.hero-panel {
  opacity: 0;
  animation: revealUp 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-badges {
  animation-delay: 100ms;
}

.hero-copy h1 {
  animation-delay: 170ms;
}

.hero-text {
  animation-delay: 260ms;
}

.hero-actions {
  animation-delay: 340ms;
}

.hero-commitments {
  animation-delay: 420ms;
}

.hero-panel {
  animation-delay: 220ms;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(209, 41, 50, 0.1);
  color: var(--primary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-chip--light {
  background: rgba(18, 56, 71, 0.08);
  color: var(--secondary);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.06;
}

h1 {
  max-width: 11.5ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

h3 {
  font-size: 1.24rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.timeline-item p,
.service-card li,
.lead-side p,
.form-disclosures p,
.faq p,
.site-footer p,
.cookie-banner p,
.confidence-card p,
.field-note,
.commitment-item span,
.next-steps span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.hero-commitments {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}

.commitment-item {
  display: grid;
  gap: 0.18rem;
  padding-left: 1.4rem;
  position: relative;
}

.commitment-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--primary);
}

.commitment-item strong,
.summary-line strong,
.confidence-card strong,
.form-section__title strong,
.next-steps strong {
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hero-panel,
.confidence-card,
.feature-card,
.service-card,
.lead-form,
.lead-side__card,
.notice-card,
.cookie-banner__panel,
.legal-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.46), transparent 34%),
    linear-gradient(180deg, rgba(209, 41, 50, 0.05), transparent 48%);
  pointer-events: none;
  animation: shimmerDrift 10s ease-in-out infinite alternate;
}

.hero-panel__top,
.analysis-card,
.panel-summary,
.lead-side__card,
.lead-form {
  position: relative;
  z-index: 1;
}

.hero-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.panel-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.panel-badge {
  background: rgba(18, 56, 71, 0.08);
  color: var(--secondary);
}

.status-pill {
  background: rgba(15, 122, 92, 0.12);
  color: var(--success);
}

.analysis-card {
  padding: 1.25rem;
  border: 1px solid rgba(16, 36, 48, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 240, 0.96));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.analysis-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.analysis-card__header div {
  display: grid;
  gap: 0.18rem;
}

.analysis-card__header strong {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.analysis-card__header span,
.summary-line span {
  color: var(--muted);
}

.analysis-matrix {
  display: grid;
  gap: 0.85rem;
}

.analysis-matrix article {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(16, 36, 48, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.analysis-matrix article span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-summary {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.summary-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(16, 36, 48, 0.08);
}

.summary-line strong {
  font-size: 1.5rem;
}

.hero-panel:hover,
.hero-panel:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 38px 100px rgba(16, 36, 48, 0.15);
}

.hero-panel:hover .analysis-card,
.hero-panel:focus-within .analysis-card {
  border-color: rgba(209, 41, 50, 0.18);
}

.hero-panel:hover .analysis-matrix article,
.hero-panel:focus-within .analysis-matrix article {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.96);
}

.confidence-strip {
  padding: 1rem 0 2rem;
}

.confidence-grid,
.benefits-grid,
.service-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.confidence-grid {
  grid-template-columns: repeat(4, 1fr);
}

.confidence-card,
.feature-card,
.service-card {
  padding: 1.4rem;
  opacity: 0;
  animation: revealUp 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.confidence-card:nth-child(1),
.feature-card:nth-child(1),
.service-card:nth-child(1),
.timeline-item:nth-child(1),
.faq-list details:nth-child(1) {
  animation-delay: 80ms;
}

.confidence-card:nth-child(2),
.feature-card:nth-child(2),
.service-card:nth-child(2),
.timeline-item:nth-child(2),
.faq-list details:nth-child(2) {
  animation-delay: 160ms;
}

.confidence-card:nth-child(3),
.feature-card:nth-child(3),
.timeline-item:nth-child(3),
.faq-list details:nth-child(3) {
  animation-delay: 240ms;
}

.confidence-card:nth-child(4),
.faq-list details:nth-child(4) {
  animation-delay: 320ms;
}

.confidence-kicker,
.feature-index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  padding: 3.25rem 0;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-heading--wide h2 {
  max-width: 16ch;
}

.section-heading--wide p:last-child {
  max-width: 56rem;
}

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  animation: revealUp 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.timeline-step {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 20px;
  background: rgba(209, 41, 50, 0.1);
  color: var(--primary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.service-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.service-card--highlight {
  background:
    linear-gradient(160deg, rgba(209, 41, 50, 0.08), rgba(255, 255, 255, 0.94)),
    #fff;
}

.confidence-card,
.feature-card,
.service-card,
.lead-side__card,
.lead-form,
.notice-card,
details {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.confidence-card:hover,
.feature-card:hover,
.service-card:hover,
.timeline-item:hover,
.lead-side__card:hover,
.lead-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 38px 100px rgba(16, 36, 48, 0.14);
}

.check-list,
.detail-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.detail-list li {
  position: relative;
  padding-left: 1.5rem;
}

.check-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
}

.check-list li::before {
  background: var(--primary);
}

.detail-list li::before {
  background: var(--secondary);
}

.lead-side__card,
.lead-form {
  padding: 1.25rem;
  opacity: 0;
  animation: revealUp 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.lead-side {
  position: relative;
}

.lead-side__card {
  position: sticky;
  top: 6rem;
  animation-delay: 120ms;
}

.lead-form {
  animation-delay: 220ms;
}

.lead-form h3 {
  font-size: 1.12rem;
}

.lead-form label span,
.lead-form legend {
  font-size: 0.96rem;
  line-height: 1.25;
}

.next-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.next-steps article {
  display: grid;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 36, 48, 0.08);
}

.notice-card {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  background: rgba(18, 56, 71, 0.04);
  box-shadow: none;
}

.form-card-head,
.form-section__title,
.form-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.form-card-head {
  margin-bottom: 1.4rem;
}

.progress-block {
  min-width: 180px;
  text-align: right;
}

.progress-block span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.progress-track {
  overflow: hidden;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(16, 36, 48, 0.08);
}

.progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #f2666d);
  transition:
    width 220ms ease,
    filter 220ms ease;
  animation: progressGlow 2.4s ease-in-out infinite;
}

.form-section {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(16, 36, 48, 0.08);
  animation: sectionLineIn 620ms ease-out both;
}

.form-section__title {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-section__title span {
  max-width: 42rem;
  color: var(--muted);
  text-align: left;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.full-width {
  grid-column: 1 / -1;
}

label,
fieldset {
  display: grid;
  gap: 0.45rem;
}

label span,
legend {
  color: var(--text);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.74rem 0.9rem;
  border: 1px solid rgba(16, 36, 48, 0.14);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(16, 36, 48, 0.22);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(209, 41, 50, 0.18);
  outline-offset: 2px;
  border-color: rgba(209, 41, 50, 0.34);
  transform: translateY(-1px);
}

textarea {
  min-height: 5.6rem;
  resize: vertical;
}

fieldset.form-section {
  min-inline-size: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.insurance-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.insurance-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  min-height: 10rem;
  padding: 0.85rem;
  border: 1px solid rgba(16, 36, 48, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.78);
  cursor: pointer;
  isolation: isolate;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.insurance-choice:has(input:checked) {
  border-color: rgba(209, 41, 50, 0.38);
  background:
    linear-gradient(160deg, rgba(209, 41, 50, 0.09), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 22px 56px rgba(209, 41, 50, 0.12);
}

.insurance-choice:hover,
.insurance-choice:focus-within {
  transform: translateY(-2px);
  border-color: rgba(209, 41, 50, 0.26);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(16, 36, 48, 0.1);
}

.insurance-choice input {
  width: 1.05rem;
  min-height: 1.05rem;
  margin-top: 0.35rem;
}

.insurance-choice input:checked + .insurance-choice__body strong {
  color: var(--primary-dark);
}

.insurance-choice__body {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.insurance-choice__topline,
.insurance-choice__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.insurance-choice__icon,
.insurance-choice__badge,
.insurance-choice__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.insurance-choice__icon {
  width: 2rem;
  height: 2rem;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 0.8rem;
}

.insurance-choice__badge {
  min-height: 1.7rem;
  padding: 0.24rem 0.52rem;
  background: rgba(209, 41, 50, 0.09);
  color: var(--primary-dark);
  font-size: 0.68rem;
}

.insurance-choice small {
  color: var(--muted);
  line-height: 1.38;
}

.insurance-choice__meta {
  margin-top: 0.08rem;
}

.insurance-choice__meta span {
  min-height: 1.5rem;
  padding: 0.2rem 0.45rem;
  background: rgba(16, 36, 48, 0.05);
  color: var(--muted-strong);
  font-size: 0.66rem;
}

.insurance-detail-section[hidden] {
  display: none;
}

.field-note {
  font-size: 0.84rem;
  line-height: 1.5;
}

.consent-group {
  margin: 1.4rem 0;
  padding: 1.25rem;
  border: 1px solid rgba(16, 36, 48, 0.08);
  border-radius: 22px;
  background: rgba(18, 56, 71, 0.03);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.9rem;
}

.checkbox + .checkbox {
  margin-top: 0.95rem;
}

.checkbox input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: auto;
  margin-top: 0.18rem;
}

.checkbox span {
  color: var(--muted);
  font-weight: 500;
}

.checkbox a,
.form-disclosures a,
.site-footer a,
.faq a,
.legal-card a {
  color: var(--primary-dark);
}

.optional span::after {
  content: " Optionnel";
  color: var(--primary);
  font-weight: 700;
}

.form-disclosures {
  display: grid;
  gap: 0.4rem;
}

.form-footer {
  align-items: center;
  margin-top: 1rem;
}

.button-submit {
  min-width: 280px;
}

.form-aside {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: var(--success);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
}

details {
  padding: 1.2rem 1.3rem;
  overflow: hidden;
  transform-origin: top center;
  animation: revealUp 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  list-style: none;
  transition: color 180ms ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transition:
    transform 220ms ease,
    color 220ms ease;
}

details > p {
  margin: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    transform 220ms ease,
    margin-top 220ms ease;
}

details[open] {
  border-color: rgba(209, 41, 50, 0.16);
  background: rgba(255, 255, 255, 0.94);
}

details[open] summary {
  color: var(--primary-dark);
}

details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

details[open] > p {
  max-height: 12rem;
  margin-top: 0.95rem;
  opacity: 1;
  transform: translateY(0);
}

details:hover,
details:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 30px 80px rgba(16, 36, 48, 0.12);
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(16, 36, 48, 0.08);
}

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

.footer-grid > div {
  opacity: 0;
  animation: revealUp 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.footer-grid > div:nth-child(1) {
  animation-delay: 80ms;
}

.footer-grid > div:nth-child(2) {
  animation-delay: 160ms;
}

.footer-grid > div:nth-child(3) {
  animation-delay: 240ms;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 0.55rem;
}

.brand-footer {
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 50;
}

.cookie-banner__panel {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.96);
  animation: cookieLift 280ms ease-out both;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cookie-preferences {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(16, 36, 48, 0.08);
}

.cookie-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  min-height: 2.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(16, 36, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(16, 36, 48, 0.14);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.cookie-fab:hover,
.cookie-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(16, 36, 48, 0.18);
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  padding: 4rem 0;
}

.legal-card {
  padding: 2rem;
}

.legal-card h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.legal-card h2 {
  max-width: none;
  margin: 2rem 0 0.6rem;
  font-size: 1.45rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDownSoft {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes shimmerDrift {
  from {
    transform: translateX(-1.5%);
  }
  to {
    transform: translateX(1.5%);
  }
}

@keyframes progressGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.14);
  }
}

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

@keyframes cookieLift {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 1100px) {
  .insurance-choice-grid {
    grid-template-columns: 1fr;
  }

  .confidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid,
  .service-grid,
  .process-layout,
  .hero-grid,
  .lead-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lead-side__card {
    position: static;
  }

  .section-heading--wide h2,
  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 920px) {
  .header-nav {
    display: none;
  }

  .hero {
    padding-top: 3.6rem;
  }

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

@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card-head,
  .form-section__title,
  .form-footer,
  .hero-panel__top,
  .analysis-card__header,
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-section__title span,
  .progress-block {
    text-align: left;
    max-width: none;
  }

  .summary-line {
    grid-template-columns: 1fr;
  }

  .button,
  .button-submit,
  .cookie-fab {
    width: 100%;
    min-width: 0;
  }
}
