/* LETGY — reprise statique du site Carrd, sans animations ni JavaScript.
   Tailles en rem : la taille de base change selon la largeur d'écran, comme sur Carrd. */

:root {
  --text: #4e4f5c;
  --text-light: rgba(78, 79, 92, 0.678);
  --violet: #845afa;
  --violet-light: #9d7aff;
  --violet-dark: #6c38ff;
  --font: 'Roboto', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, p { margin: 0; padding: 0; }

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

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  font-family: var(--font);
  line-height: 1;
  color: var(--text);
  background: #fff;
}

.page {
  width: 60rem;
  max-width: 100%;
  padding: 9rem 6rem;
}

/* ---------- Contenu ---------- */

.title {
  font-size: 4em;
  line-height: 1.25;
  font-weight: 500;
}

.tagline,
.footer {
  color: var(--text-light);
  letter-spacing: 0.025rem;
  font-weight: 300;
}

.tagline {
  margin-top: 2rem;
  font-size: 1.25em;
  line-height: 1.875;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  height: 5rem;
  padding: 0 2.5rem 0 calc(2.5rem + 0.025rem);
  border-radius: 2.5rem;
  font-size: 1.25em;
  font-weight: 300;
  letter-spacing: 0.025rem;
  color: #fff;
  text-decoration: none;
  background-color: var(--violet);
  background-image: linear-gradient(227deg, var(--violet-light) 0%, rgba(132, 90, 250, 0.008) 100%);
  box-shadow: 0 0.625rem 1.625rem 0 rgba(0, 0, 0, 0.161);
}

.button:hover { background-color: var(--violet-dark); }
.button:focus-visible { outline: 2px solid var(--violet-dark); outline-offset: 4px; }

.button svg {
  flex: none;
  width: 1.375em;
  height: 1.375em;
  margin: 0 calc(1.25rem + 0.025rem) 0 -0.125em;
  fill: currentColor;
}

.footer {
  margin-top: 3rem;
  font-size: 1em;
  line-height: 2;
}

/* ---------- Responsive (mêmes paliers que Carrd) ---------- */

@media (max-width: 1680px) { html { font-size: 12pt; } }

@media (max-width: 980px) { html { font-size: 10pt; } }

@media (max-width: 736px) {
  html { font-size: 11pt; }
  .page { padding: 4rem 2rem; }
  .title { font-size: 3em; }
  .tagline { margin-top: 1.75rem; letter-spacing: 0.021875rem; }
  .footer { margin-top: 4rem; letter-spacing: 0.021875rem; }
  .actions { margin-top: 2.25rem; }
}

@media (max-width: 360px) {
  .page { padding: 3rem 1.5rem; }
  .tagline { margin-top: 1.5rem; }
  .actions { gap: 0.75rem; }
}
