/* Présentation — ambiance neutre, carte de visite */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #e8e4dc;
  --bg-2: #d5dfe6;
  --ink: #1c2228;
  --muted: #4a5560;
  --accent: #2f5d6f;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --nav-bg: #e8e4dc;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

body.page-home {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, #c9d7e0 0%, transparent 55%),
    radial-gradient(900px 600px at -10% 40%, #efe8da 0%, transparent 50%),
    linear-gradient(165deg, #ece8e0 0%, #dde5ea 48%, #e7e2d8 100%);
  background-attachment: fixed;
}

.page-home .site-header {
  color: var(--ink);
  background: color-mix(in srgb, var(--nav-bg, #e8e4dc) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.page-home .brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding:
    clamp(5.5rem, 10vh, 6.5rem)
    var(--page-inline)
    clamp(1.5rem, 3vh, 2.25rem);
}

.hero-copy {
  padding-bottom: 0;
  align-self: end;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.25;
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  max-width: none;
}

.lead {
  margin: 0 0 1rem;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
}

.langs {
  margin: 0 0 2rem;
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 500;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
}

.cta-ghost {
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
}

.hero-visual {
  position: relative;
  align-self: end;
  aspect-ratio: 1;
  width: min(100%, 42vh, 380px);
  justify-self: end;
  border-radius: 50%;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.02);
}

.hero-visual::after {
  display: none;
}

.section {
  padding: clamp(3rem, 8vh, 5.5rem) var(--page-inline);
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: none;
  align-items: start;
}

.about-block {
  max-width: 36rem;
}

.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.about-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.about-socials a:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
}

.about-social-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex-shrink: 0;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.section p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-follow {
  margin: 1rem 0 0;
  max-width: 36rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-milestones {
  max-width: none;
}

.section-milestones h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.milestones {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.milestones li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
}

.milestones li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.page-home .site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5.5rem;
  }

  .hero-visual {
    width: min(58vw, 280px);
    justify-self: center;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .hero-visual img {
    animation: home-rise 1.1s ease both;
  }

  .hero-copy {
    animation: home-fade 0.9s ease 0.15s both;
  }
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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