@import url("https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --navy: #1a2332;
  --navy-soft: #243044;
  --gold: #b59d84;
  --gold-deep: #9a846e;
  --cream: #f5f0e8;
  --paper: #faf8f5;
  --text: #2a2f36;
  --muted: #6b7280;
  --white: #ffffff;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(26, 35, 50, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --aldeak-sage: #88a084;
  --aldeak-sage-deep: #6f8a6b;
}

.brand-aldeak {
  color: var(--aldeak-sage);
  font-weight: 600;
}
a:hover .brand-aldeak,
a.brand-aldeak:hover {
  color: var(--aldeak-sage-deep);
}
.btn .brand-aldeak { color: var(--aldeak-sage); }
.btn:hover .brand-aldeak { color: var(--aldeak-sage-deep); }
.site-footer__nav a.brand-aldeak { color: var(--aldeak-sage); }
.site-footer__nav a.brand-aldeak:hover { color: #a3c09f; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Epilogue", system-ui, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
body.is-ready { opacity: 1; }

.contact-link {
  font-family: system-ui, -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  color: inherit;
}
.contact-reveal {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.contact-reveal:hover { color: var(--gold); }
.site-footer .contact-reveal,
.site-footer .contact-link { color: var(--gold); }
.site-footer .contact-reveal:hover,
.site-footer .contact-link:hover { color: #d4c4b0; }
.section--navy .contact-reveal { color: var(--gold); }
.section--navy .contact-reveal:hover { color: #d4c4b0; }

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.form-status {
  margin: 0;
  font-size: 0.88rem;
  color: #b33;
}

.preview-banner {
  background: var(--navy);
  color: #e8e4dc;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
}
.preview-banner a {
  color: #d4c4b0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.preview-banner a:hover { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 35, 50, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(181, 157, 132, 0.2);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  width: auto;
  display: block;
  object-fit: contain;
}
.site-header .site-logo img {
  height: 5.5rem;
  max-width: min(340px, 62vw);
}
.site-footer .site-logo {
  margin-bottom: 1.5rem;
}
.site-footer .site-logo img {
  height: 6rem;
  max-width: min(360px, 82vw);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-nav a {
  color: #f2efe8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: #c9b196; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: rgba(26,35,50,0.05); }
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.cta-nav { background: var(--gold); color: var(--navy) !important; padding: 0.55rem 1rem; border-radius: 999px; }

.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 620px);
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26,35,50,0.88) 0%, rgba(26,35,50,0.55) 55%, rgba(26,35,50,0.75) 100%),
    url("../assets/media/hero-plan-lot.webp") center/cover no-repeat;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  padding: 4rem 1.25rem;
  text-align: center;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold);
  margin: 0 0 1rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  font-weight: 700;
}
.hero__subtitle {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #ece7de;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
  scroll-margin-top: 4.5rem;
}
.hero { scroll-margin-top: 0; }

/* Galerie locaux — façade + intérieurs (bloc Groupe Serenity) */
#groupe .split { align-items: center; }
#groupe .split__media { align-self: stretch; }

.office-gallery {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}
.office-gallery__hero {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8e2d8 0%, var(--cream) 100%);
  box-shadow: 0 10px 32px rgba(26, 35, 50, 0.09);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.office-gallery__hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.office-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.office-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(26, 35, 50, 0.08);
  aspect-ratio: 4 / 5;
}
.office-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* FAQ */
.faq-intro {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.faq-accordion {
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(26, 35, 50, 0.06);
  border: 1px solid rgba(181, 157, 132, 0.2);
  overflow: hidden;
}
.faq-item--extra {
  display: none;
}
.faq-accordion.is-expanded .faq-item--extra {
  display: block;
}
.faq-item__question {
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] .faq-item__question::after {
  content: "−";
}
.faq-item__body {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.95rem;
  color: var(--text);
}
.faq-item__body p {
  margin: 0 0 0.75rem;
}
.faq-item__action {
  margin: 0;
}
.faq-item__cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-deep);
  text-decoration: none;
}
.faq-item__cta:hover {
  color: var(--navy);
  text-decoration: underline;
}
.faq-toggle-wrap {
  text-align: center;
  margin: 1.25rem 0 0;
}
.faq-toggle {
  border: 1px solid rgba(181, 157, 132, 0.45);
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.faq-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(10.5rem, 0.38fr) minmax(0, 1.62fr);
  gap: 1.15rem;
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.contact-grid .form-card {
  max-width: none;
  margin: 0;
}
.form-card--coords {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
}
.form-card--coords h3 {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  color: var(--navy);
}
.form-card--coords p {
  margin: 0 0 0.45rem;
}
.form-card--coords p:last-child {
  margin-bottom: 0;
}
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #f4f1ea; }
.section__inner { max-width: var(--max); margin: 0 auto; }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--gold-deep);
  margin: 0 0 0.5rem;
}
.section--navy .section__eyebrow { color: var(--gold); }
.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.2;
}
.section p { margin: 0 0 1rem; color: inherit; }
.section--navy p { color: #d9d4cb; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--reverse .split__text { order: 1; }
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.split__placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #d8cfc2, #ebe4d8);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.pillar h3 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--navy); }
.pillar p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.highlight {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(181,157,132,0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.highlight h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--gold); }
.highlight p { margin: 0; font-size: 0.92rem; color: #d5d0c7; }

.cta-band {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.site-footer {
  background: var(--navy);
  color: #e7e2d9;
  padding: 3rem 1.25rem 2rem;
}
.site-footer__inner { max-width: var(--max); margin: 0 auto; }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0;
}
.site-footer__nav a { color: #f0ebe3; text-decoration: none; font-size: 0.9rem; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__contact { font-size: 0.95rem; line-height: 1.7; }
.site-footer__copy { margin: 1.5rem 0 0; font-size: 0.85rem; color: #a8a093; }
.site-footer__cta { margin-top: 1.25rem; }

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
}
.page-hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-hero p {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: #d9d4cb;
  font-size: 1.05rem;
}

/* Actualités — liste */
.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.news-search {
  display: grid;
  gap: 0.35rem;
  flex: 1 1 16rem;
  max-width: 28rem;
}
.news-search__label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}
.news-search input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid #d5d0c8;
  border-radius: 10px;
  font: inherit;
  background: var(--white);
}
.news-count {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold);
}
.news-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e2d8, #f3efe8);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0d8cc 0%, #f0ebe3 100%);
}
.news-card__body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}
.news-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 600;
}
.news-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}
.news-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.news-card__title a:hover { color: var(--gold-deep); }
.news-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.news-card__meta {
  margin-top: auto;
  padding-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.news-card__more {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.news-card__more:hover { color: var(--gold-deep); }
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.news-page-btn {
  border: 1px solid #d5d0c8;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.news-page-btn:hover { border-color: var(--gold); }
.news-page-status {
  font-size: 0.9rem;
  color: var(--muted);
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* Actualités — article */
.article-meta {
  margin: 0.85rem 0 0;
  color: #d9d4cb;
  font-size: 0.95rem;
}
.article-back {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}
.article-back a {
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 500;
}
.article-back a:hover { text-decoration: underline; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}
.article-body h2,
.article-body h3 {
  margin: 2rem 0 0.75rem;
  color: var(--navy);
  line-height: 1.25;
  font-size: 1.2rem;
}
.article-body h2:first-child,
.article-body h3:first-child,
.article-body p:first-child { margin-top: 0; }
.article-body p,
.article-body li {
  margin: 0 0 1rem;
  color: var(--text);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}
.article-body a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--navy); }
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
  display: block;
}
.article-body figure { margin: 1.25rem 0; }
.article-body blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--muted);
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1rem; }
.form-grid label { display: grid; gap: 0.35rem; font-weight: 500; font-size: 0.92rem; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d5d0c8;
  border-radius: 10px;
  font: inherit;
}
.form-grid textarea { min-height: 140px; resize: vertical; }

.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  #groupe .split__media { align-self: stretch; }
  .office-gallery { margin: 0 auto 0.5rem; }
  .office-gallery__grid { gap: 0.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media, .split--reverse .split__text { order: unset; }
  .pillars, .highlights { grid-template-columns: 1fr; }
}

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

@media (max-width: 600px) {
  .office-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .office-gallery__item:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
  }
}

@media (max-width: 520px) {
  .office-gallery__hero { aspect-ratio: 4 / 3; }
  .office-gallery__grid {
    grid-template-columns: 1fr;
  }
  .office-gallery__item,
  .office-gallery__item:last-child {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }
}

/* Language switcher — floating pill */
.lang-switch-float {
  position: fixed;
  right: max(0.875rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 55;
}

.lang-switch-group {
  display: inline-flex;
  align-items: stretch;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--white);
  box-shadow:
    0 4px 18px rgba(26, 35, 50, 0.18),
    0 0 0 3px rgba(181, 157, 132, 0.15);
}

.lang-switch-group__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4375rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.lang-switch-group__item--current {
  background: rgba(181, 157, 132, 0.14);
  color: var(--navy);
  min-width: 2.125rem;
}

.lang-switch-group__item--link {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.lang-switch-group__item--link:hover {
  background: var(--navy-soft);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(26, 35, 50, 0.28);
}

.lang-switch-group__item--link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.lang-switch-globe {
  flex-shrink: 0;
  opacity: 0.95;
}

.article-lang-note {
  margin: 0 0 1.5rem;
  padding: 0.875rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(181, 157, 132, 0.12);
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .lang-switch-group__item {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .lang-switch-float {
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-soft);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }
  .site-header.is-open .site-nav { display: flex; }
}

/* ——— Bot Claire (qualification leads) ——— */
.form-card--bot { padding: 1.25rem 1.35rem 1.5rem; }
.bot-embed__subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.bot-embed__footer {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.bot-embed__error { color: #b33; display: none; margin: 0 0 0.5rem; font-size: 0.88rem; }
.bot-embed #chat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  max-height: min(48vh, 380px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: var(--radius);
  padding: 0.85rem;
}
.bot-embed #input-area { display: flex; flex-direction: column; gap: 0.55rem; }
.bubble {
  max-width: 92%;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.bubble.bot {
  background: var(--cream);
  border: 1px solid rgba(26, 35, 50, 0.08);
  align-self: flex-start;
  color: var(--text);
}
.bubble.user {
  background: var(--navy);
  color: #f4f1ea;
  align-self: flex-end;
  font-weight: 600;
}
.bubble.system {
  align-self: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: transparent;
  padding: 0.25rem 0.5rem;
}
.bot-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-end;
  align-self: flex-start;
  max-width: 95%;
}
.bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center center;
  background: var(--cream);
  box-shadow:
    0 0 0 2px var(--navy),
    0 0 0 3.5px var(--gold);
}
.bot-avatar--claire {
  object-position: center 12%;
}
.bot-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.2rem;
}
.choices { display: flex; flex-direction: column; gap: 0.4rem; }
.choice-btn {
  text-align: left;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(26, 35, 50, 0.14);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.choice-btn:hover {
  border-color: var(--gold);
  background: rgba(181, 157, 132, 0.1);
  box-shadow: 0 2px 10px rgba(26, 35, 50, 0.06);
}
.bot-field { display: flex; flex-direction: column; gap: 0.45rem; }
.bot-field__form { display: flex; gap: 0.45rem; align-items: flex-end; }
.bot-field__form--stacked { flex-direction: column; align-items: stretch; }
.bot-field__input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(26, 35, 50, 0.16);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
}
.bot-field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 157, 132, 0.25);
}
.bot-field__input--error { border-color: #c45; }
textarea.bot-field__input { min-height: 5rem; resize: vertical; }
.bot-field__send {
  width: 2.6rem;
  height: 2.6rem;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bot-field__send:hover { background: var(--navy-soft); }
.bot-field__skip {
  align-self: flex-start;
  padding: 0.25rem 0;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.84rem;
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}
.bot-embed .btn-primary,
.bot-field__continue {
  padding: 0.7rem 1.15rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.bot-embed .btn-primary:hover,
.bot-field__continue:hover { background: var(--navy-soft); }
.bot-exit-link { margin-top: 0.25rem; }
.bot-consent { display: flex; flex-direction: column; gap: 0.75rem; }
.bot-consent__label {
  font-size: 0.84rem;
  line-height: 1.5;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.bot-consent__label a { color: var(--gold-deep); }
.postal-ac__field { position: relative; }
.postal-ac__list {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0.3rem 0;
  background: var(--white);
  border: 1px solid rgba(26, 35, 50, 0.12);
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: 200px;
  overflow-y: auto;
}
.postal-ac__item {
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  font-size: 0.88rem;
}
.postal-ac__item:hover,
.postal-ac__item.is-active { background: rgba(181, 157, 132, 0.12); }
.postal-ac__hint { margin: 0.3rem 0 0; font-size: 0.76rem; color: var(--muted); }
.score-badge {
  align-self: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.score-A { background: #1a5c3a; color: #e8f5ee; }
.score-B { background: #2d4a6e; color: #e8eef5; }
.score-C { background: #5c4a1a; color: #f5f0e8; }
.score-nurture { background: #4a4a52; color: #ececef; }