/* Michkati Madi — coming soon (palette minérale, alignée sur le site Angular) */
:root {
  --stone: #6b6560;
  --stone-dark: #3d3935;
  --chalk: #f7f4ef;
  --sand: #e8dcc8;
  --ochre: #c4853a;
  --rust: #a0532d;
  --granite-pink: #c49a8c;
  --teal: #1a4a45;
  --teal-deep: #0f2e2b;
  --black: #1a1816;
  --white: #fffcf8;
  --muted: #8a847c;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-accent: "DM Sans", var(--font-body);

  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 36rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--stone-dark);
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(196, 133, 58, 0.08), transparent 55%),
    radial-gradient(90% 70% at 100% 20%, rgba(26, 74, 69, 0.07), transparent 50%),
    linear-gradient(180deg, var(--chalk) 0%, var(--sand) 100%);
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--rust);
}

a:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100%;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: var(--space-sm);
}

.page {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-xl);
  gap: var(--space-lg);
}

.brand__mark {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, var(--ochre) 0 28%, transparent 29%),
    radial-gradient(circle at 68% 58%, var(--granite-pink) 0 32%, transparent 33%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: 0 0 0 1px rgba(26, 24, 22, 0.06);
  margin-bottom: var(--space-sm);
}

.brand__eyebrow {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
  max-width: 28ch;
  margin-bottom: var(--space-md);
}

.hero__text {
  max-width: 42ch;
  margin-bottom: var(--space-sm);
}

.hero__aside {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: var(--space-lg);
}

.hero__cta {
  margin-bottom: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal-deep);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  color: var(--white);
  background: var(--teal-deep);
}

.btn:active {
  transform: translateY(1px);
}

.hero__contact {
  font-size: 0.95rem;
  color: var(--stone);
}

.foot {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(107, 101, 96, 0.2);
}

.foot p {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__visual {
  margin: 0 0 var(--space-lg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(26, 24, 22, 0.06),
    0 12px 32px rgba(26, 24, 22, 0.1);
  background: var(--sand);
  aspect-ratio: 1;
  max-width: min(100%, 22rem);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 720px) {
  .page {
    --max: 42rem;
  }

  .hero__visual {
    max-width: 26rem;
  }
}
