/* =========================================================
   Cabinet Pr M. Bouame — Landing page
   Thème : Rouge bordeaux médical premium
   ========================================================= */

:root {
  /* Palette */
  --red-900: #5a0f1c;          /* bordeaux très profond */
  --red-800: #7a1625;          /* rouge cardiaque principal */
  --red-700: #922033;          /* variante accent */
  --red-500: #c13a4e;          /* rouge plus clair, accents */
  --red-100: #fbeaed;          /* fond doux rosé */
  --red-50:  #fdf5f6;          /* rose très pâle */

  --ink-900: #0f1624;          /* bleu nuit / texte principal */
  --ink-700: #1e293b;
  --ink-500: #4b5563;
  --ink-400: #6b7280;

  --paper: #ffffff;
  --paper-off: #fbfaf8;        /* blanc cassé */
  --line: #ececee;
  --line-soft: #f3e9eb;

  --shadow-sm: 0 1px 2px rgba(15,22,36,.04), 0 1px 3px rgba(15,22,36,.06);
  --shadow-md: 0 8px 24px rgba(15,22,36,.06), 0 2px 6px rgba(15,22,36,.04);
  --shadow-lg: 0 24px 60px rgba(90,15,28,.10), 0 8px 20px rgba(15,22,36,.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1200px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--red-800); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red-700); }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink-900); font-weight: 600; line-height: 1.2; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(135deg, var(--red-800) 0%, var(--red-900) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(122,22,37,.55), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px rgba(122,22,37,.6);
  color: #fff;
}
.btn--outline {
  background: #fff;
  color: var(--red-800);
  border-color: var(--red-800);
}
.btn--outline:hover {
  background: var(--red-800);
  color: #fff;
}
.btn--ghost {
  background: var(--red-50);
  color: var(--red-800);
  border-color: var(--line-soft);
}
.btn--ghost:hover { background: var(--red-100); }
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn--sm { padding: 9px 16px; font-size: .85rem; }

/* ============== Eyebrow ============== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red-800);
  font-size: .78rem;
  letter-spacing: .18em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-800);
  box-shadow: 0 0 0 3px var(--red-100);
}

.text-accent { color: var(--red-800); }

/* ============== Heart Pulse (ECG icon) ============== */
.heart-pulse {
  display: inline-block;
  vertical-align: -0.15em;
  height: 0.95em;
  width: auto;
  margin-left: .15em;
  margin-right: -.55em;
  overflow: visible;
}
.heart-pulse__heart {
  fill: var(--red-800);
  transform-origin: 14px 15px;
  transform-box: fill-box;
  animation: heart-beat 1.4s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(122, 22, 37, .35));
}
.heart-pulse__ecg {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: ecg-sweep 1.4s linear infinite;
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.12); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.08); }
  60%      { transform: scale(1); }
}
@keyframes ecg-sweep {
  0%   { stroke-dashoffset: 120; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -120; }
}
@media (prefers-reduced-motion: reduce) {
  .heart-pulse__heart,
  .heart-pulse__ecg { animation: none; }
  .heart-pulse__ecg { stroke-dashoffset: 0; }
}

/* ============== Topbar ============== */
.topbar {
  background: var(--ink-900);
  color: #dfe3ea;
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  gap: 16px;
}
.topbar__left, .topbar__right {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #dfe3ea; }
.topbar__sep { color: #64748b; }
.topbar__link { color: #fff; font-weight: 500; }
.topbar__link:hover { color: var(--red-500); }
@media (max-width: 640px) {
  .topbar__hide-sm { display: none; }
  .topbar__right { display: none; }
}

/* ============== Header ============== */
.header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-900);
}
.brand__logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 4px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: .01em;
}
.brand__title {
  font-size: .76rem;
  color: var(--red-800);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav__list {
  list-style: none;
  display: flex; align-items: center; gap: 6px;
  margin: 0; padding: 0;
}
.nav__list a {
  color: var(--ink-700);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .92rem;
  white-space: nowrap;
}
.nav__list a:hover { color: var(--red-800); background: var(--red-50); }
.nav__list .btn { padding: 9px 16px; }
.nav__list a.btn--primary,
.nav__list a.btn--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--red-800) 0%, var(--red-900) 100%);
}
.nav__list a.btn--ghost,
.nav__list a.btn--ghost:hover { color: var(--red-800); }
.nav__list a.btn--outline { color: var(--red-800); }
.nav__list a.btn--outline:hover { color: #fff; background: var(--red-800); }
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink-900);
  margin: 4px 0;
  border-radius: 2px;
  transition: .25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__toggle { display: block; }
  .nav__list {
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: .22s ease;
  }
  .nav__list.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__list a { padding: 14px 10px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__list li:last-child a { border-bottom: 0; margin-top: 8px; justify-content: center; }
}

/* ============== Hero ============== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(193,58,78,.08) 0%, transparent 60%),
    radial-gradient(50% 70% at 10% 80%, rgba(122,22,37,.06) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper-off) 100%);
  padding: 70px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  color: rgba(122,22,37,.08);
  pointer-events: none;
  display: flex; align-items: center;
}
.hero__pulse { width: 100%; height: 200px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  color: var(--ink-900);
  font-weight: 600;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--ink-500);
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.hero__meta {
  list-style: none; margin: 0; padding: 24px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hero__meta li { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-label {
  font-size: .72rem;
  color: var(--red-800);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__meta-value { font-size: .92rem; color: var(--ink-700); font-weight: 500; }
.hero__meta-value a { color: var(--ink-700); }
.hero__meta-value a:hover { color: var(--red-800); }

.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: end;
}
.hero__card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
}
.hero__card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(122,22,37,.0) 40%, rgba(90,15,28,.18) 100%);
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.hero__badge svg { color: var(--red-800); flex-shrink: 0; }
.hero__badge strong { display: block; font-size: .95rem; color: var(--ink-900); }
.hero__badge span { font-size: .8rem; color: var(--ink-500); }

.hero__mini {
  position: absolute;
  left: -10px; bottom: -30px;
  width: 180px; height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-md);
  display: none;
}
.hero__mini img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1100px) {
  .hero__mini { display: block; }
}
@media (max-width: 860px) {
  .hero { padding: 48px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__meta { grid-template-columns: 1fr; gap: 14px; }
  .hero__card { max-width: 100%; aspect-ratio: 5 / 4; }
}

/* ============== Trust ============== */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 22px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.trust__item {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-700);
  font-size: .92rem;
  font-weight: 500;
}
.trust__item svg { color: var(--red-800); flex-shrink: 0; }
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust__item { font-size: .85rem; }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
}

/* ============== Sections ============== */
.section { padding: 90px 0; position: relative; }
.section--alt { background: var(--paper-off); }
.section__header { max-width: 720px; margin: 0 0 50px; }
.section__header--center { margin: 0 auto 50px; text-align: center; }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section__title em {
  font-style: italic;
  color: var(--red-800);
  font-weight: 600;
}
.section__sub {
  color: var(--ink-500);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.section__lead {
  font-size: 1.1rem;
  color: var(--ink-700);
  line-height: 1.7;
  margin-bottom: 16px;
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.section__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.section__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.section__media--small {
  position: absolute;
  right: -20px; bottom: -40px;
  width: 45%;
  aspect-ratio: 1 / 1 !important;
  border: 8px solid #fff;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
}

.bullets {
  list-style: none; padding: 0;
  margin: 24px 0 0;
  display: grid; gap: 12px;
}
.bullets li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-700);
  font-weight: 500;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 22px; height: 10px;
  background:
    linear-gradient(90deg, var(--red-800) 0 20%, transparent 20% 40%, var(--red-500) 40% 60%, transparent 60% 80%, var(--red-800) 80% 100%);
  border-radius: 2px;
  opacity: .9;
}

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .section__grid { grid-template-columns: 1fr; gap: 40px; }
  .section__media--small { right: 0; bottom: -30px; width: 50%; }
}

/* ============== Cards (Services) ============== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-800), var(--red-500), var(--red-800));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-soft);
}
.card:hover::before {
  opacity: 1;
  animation: card-shine 2.4s linear infinite;
}
@keyframes card-shine {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Apparition échelonnée des cartes services */
.cards .card.reveal { transition: opacity .7s ease, transform .7s ease; }
.cards .card.reveal:nth-child(1) { transition-delay: .00s; }
.cards .card.reveal:nth-child(2) { transition-delay: .08s; }
.cards .card.reveal:nth-child(3) { transition-delay: .16s; }
.cards .card.reveal:nth-child(4) { transition-delay: .24s; }
.cards .card.reveal:nth-child(5) { transition-delay: .32s; }
.cards .card.reveal:nth-child(6) { transition-delay: .40s; }
.cards .card.reveal:nth-child(7) { transition-delay: .48s; }
.cards .card.reveal:nth-child(8) { transition-delay: .56s; }

/* Carte mise en avant (rythmologie interventionnelle) */
.card--highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -20%), rgba(191,11,32,.08), transparent 45%);
  opacity: 0;
  transition: opacity .4s ease;
}
.card--highlight:hover::after { opacity: 1; }
.card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--red-800);
  background: var(--red-50);
  border: 1px solid var(--line-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--red-50);
  color: var(--red-800);
  display: grid; place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.card:hover .card__icon {
  transform: translateY(-2px) scale(1.06);
  background: var(--red-800);
  color: #fff;
}
.card:hover .card__icon--spark svg { animation: icon-spark .9s ease-in-out infinite; }
.card:hover .card__icon--pulse svg { animation: icon-pulse 1.1s ease-in-out infinite; }
@keyframes icon-spark {
  0%, 100% { transform: translateX(0) rotate(0); }
  40%      { transform: translateX(1px) rotate(-6deg); }
  70%      { transform: translateX(-1px) rotate(6deg); }
}
@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover::before { animation: none; }
  .card:hover .card__icon--spark svg,
  .card:hover .card__icon--pulse svg { animation: none; }
  .cards .card.reveal { transition-delay: 0s !important; }
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--ink-900);
}
.card p {
  margin: 0;
  color: var(--ink-500);
  font-size: .95rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}

/* ============== Reasons ============== */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.reason {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  transition: all .3s ease;
}
.reason:hover {
  border-color: var(--red-100);
  box-shadow: var(--shadow-md);
}
.reason__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--red-800);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.reason__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.reason p {
  margin: 0;
  color: var(--ink-500);
  font-size: .94rem;
  line-height: 1.6;
}
@media (max-width: 900px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* ============== CTA Band ============== */
.ctaband {
  position: relative;
  padding: 70px 0;
  background:
    radial-gradient(60% 100% at 20% 0%, rgba(255,255,255,.07), transparent 70%),
    linear-gradient(135deg, var(--red-900) 0%, var(--red-800) 50%, var(--red-700) 100%);
  color: #fff;
  overflow: hidden;
}
.ctaband::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200'><path d='M0 100 L150 100 L180 50 L210 150 L240 30 L280 170 L320 100 L800 100' fill='none' stroke='white' stroke-opacity='0.08' stroke-width='2'/></svg>");
  background-size: 800px 200px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: .6;
}
.ctaband__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.ctaband__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 6px;
  font-weight: 600;
}
.ctaband__text p { margin: 0; color: rgba(255,255,255,.85); font-size: 1.02rem; }
.ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ctaband .btn--primary {
  background: #fff;
  color: var(--red-800);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.ctaband .btn--primary:hover { transform: translateY(-1px); color: var(--red-900); }

/* ============== FAQ ============== */
.faq__wrap { max-width: 860px; margin: 0 auto; }
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] {
  border-color: var(--red-100);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  width: 14px; height: 14px;
  border-right: 2px solid var(--red-800);
  border-bottom: 2px solid var(--red-800);
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq__item[open] .faq__chev { transform: rotate(-135deg); }
.faq__content {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: .96rem;
  line-height: 1.7;
}
.faq__content p { margin: 0; }

/* ============== Contact ============== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: stretch;
}
.contact__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-sm);
}
.contact__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red-800);
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
}
.contact__label {
  font-size: .74rem;
  color: var(--red-800);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.contact__value {
  margin: 0;
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.5;
}
.contact__value a { color: var(--ink-900); }
.contact__value a:hover { color: var(--red-800); }
.contact__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.contact__actions .btn { padding: 11px 18px; font-size: .88rem; }

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact__map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
}

.contact__notice {
  margin: 36px auto 0;
  max-width: 820px;
  text-align: center;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--red-50);
  border: 1px solid var(--line-soft);
  color: var(--red-900);
  font-size: .92rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}

/* ============== Footer ============== */
.footer {
  background: var(--ink-900);
  color: #c7cbd3;
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand {
  display: flex; align-items: center; gap: 14px;
}
.footer__brand img {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}
.footer__brand strong {
  display: block;
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}
.footer__brand span {
  font-size: .8rem;
  color: #9aa1ad;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer__cols p { margin: 0; font-size: .92rem; line-height: 1.7; color: #c7cbd3; }
.footer__cols a { color: #c7cbd3; }
.footer__cols a:hover { color: var(--red-500); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a { font-size: .92rem; }

.footer__bottom { padding: 20px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: .82rem;
  color: #8a91a0;
  flex-wrap: wrap;
}
.footer__note { max-width: 60%; text-align: right; }

@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__note { text-align: left; max-width: 100%; }
}
@media (max-width: 500px) {
  .footer__cols { grid-template-columns: 1fr; }
}

/* ============== Floating action button ============== */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-800), var(--red-900));
  color: #fff !important;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(122,22,37,.45);
  z-index: 50;
  animation: fab-pulse 2.4s infinite ease-out;
}
@keyframes fab-pulse {
  0% { box-shadow: 0 14px 30px rgba(122,22,37,.45), 0 0 0 0 rgba(193,58,78,.4); }
  70% { box-shadow: 0 14px 30px rgba(122,22,37,.45), 0 0 0 16px rgba(193,58,78,0); }
  100% { box-shadow: 0 14px 30px rgba(122,22,37,.45), 0 0 0 0 rgba(193,58,78,0); }
}
@media (max-width: 720px) {
  .fab { display: flex; }
}

/* ============== Reveal animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============== Focus ============== */
:focus-visible {
  outline: 2px solid var(--red-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============== Selection ============== */
::selection { background: var(--red-100); color: var(--red-900); }
