:root {
  /* Brand Palette (Amalio Santé) */
  --bg: #00194d;
  --text-primary: #ffffff;
  --text-muted: #d9d9d9;
  --accent: #529e78;
  --accent-hover: #438865;
  --contact-icon: #529e78;
  --logo-chip-bg: #ffffff;
  --logo-chip-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  --divider-color: rgba(255, 255, 255, 0.16);
  --social-border: rgba(255, 255, 255, 0.35);
  --social-hover-bg: #ffffff;
  --social-hover-text: #00194d;
  --focus-outline: rgba(255, 255, 255, 0.6);

  /* Typography */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout & Sizing */
  --content-max-width: 460px;
  --contact-max-width: 330px;

  /* Border Radii */
  --radius-logo-chip: 14px;
  --radius-btn: 10px;
  --radius-social: 50%;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.75em 20px 3.5em;
  overflow-x: hidden;
}

/* Main card (blocks 1–7) */
.card {
  width: 100%;
  max-width: var(--content-max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. Logo chip */
.logo-wrap {
  display: inline-block;
  background-color: var(--logo-chip-bg);
  border-radius: var(--radius-logo-chip);
  padding: 16px 22px;
  margin-bottom: 34px;
  box-shadow: var(--logo-chip-shadow);
}

.logo {
  max-width: min(210px, 60vw);
  max-height: 76px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 2. Heading */
h1 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.25px;
  font-optical-sizing: auto;
  margin-bottom: 16px;
  color: var(--text-primary);
}

/* 3. Lead paragraph */
.lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* 4. Google Reviews badge */
.badge-link {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 18px;
}

.badge-link:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 4px;
}

.gr-badge {
  width: 118px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 5. Primary button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* 6. Divider */
.divider {
  border: 0;
  border-top: 1px solid var(--divider-color);
  margin: 36px 0 26px;
  width: 100%;
  align-self: stretch;
}

/* 7. Contact block */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  width: 100%;
  max-width: var(--contact-max-width);
  margin: 0 auto;
}

.contact .row {
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: var(--contact-max-width);
}

.contact .row svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--contact-icon);
}

.contact a {
  color: var(--text-primary);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.contact a:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Bottom container (blocks 8–9) */
.site-bottom {
  width: 100%;
  max-width: var(--content-max-width);
  margin-top: auto;
  padding-top: 2.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* 8. Social row */
.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--social-border);
  border-radius: var(--radius-social);
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.social a:hover {
  background-color: var(--social-hover-bg);
  color: var(--social-hover-text);
  border-color: var(--social-hover-bg);
}

.social a:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
}

.social svg {
  width: 19px;
  height: 19px;
  flex: none;
}

/* 9. Footer */
footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Accessibility & Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
