/* =========================================================
   Puffs.fr — Coming Soon
   Style aligné sur la maquette générée
   ========================================================= */

:root {
  --purple: #7c5cff;
  --purple-dark: #6d4aff;
  --pink: #d64cff;

  --ink: #0b1533;
  --text: #334155;
  --muted: #64748b;

  --surface: #fbf8ff;
  --white: #ffffff;

  --border: rgba(124, 92, 255, 0.18);
  --border-strong: rgba(124, 92, 255, 0.28);

  --radius: 24px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  font-family:
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  color: var(--ink);

  background:
    radial-gradient(
      900px 500px at 10% 5%,
      rgba(124, 92, 255, 0.18),
      transparent 65%
    ),
    radial-gradient(
      800px 500px at 95% 8%,
      rgba(214, 76, 255, 0.16),
      transparent 62%
    ),
    radial-gradient(
      700px 420px at 12% 92%,
      rgba(124, 92, 255, 0.11),
      transparent 68%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fcfaff 58%,
      #fbf8ff 100%
    );

  overflow-x: hidden;
}

/* =========================================================
   ORBES DE FOND
   ========================================================= */

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;

  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;

  filter: blur(70px);
  opacity: 0.5;
}

.orb-1 {
  width: 420px;
  height: 420px;

  top: -150px;
  left: -90px;

  background:
    radial-gradient(
      circle,
      rgba(124, 92, 255, 0.95),
      rgba(124, 92, 255, 0.25) 45%,
      transparent 72%
    );

  animation: floatOrb 18s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;

  top: -80px;
  right: -120px;

  background:
    radial-gradient(
      circle,
      rgba(214, 76, 255, 0.75),
      rgba(214, 76, 255, 0.18) 45%,
      transparent 72%
    );

  animation: floatOrb 22s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;

  bottom: -110px;
  left: -60px;

  background:
    radial-gradient(
      circle,
      rgba(167, 139, 250, 0.8),
      rgba(167, 139, 250, 0.14) 48%,
      transparent 72%
    );

  animation: floatOrb 26s ease-in-out infinite;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -24px) scale(1.06);
  }
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 2;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding:
    18px
    clamp(22px, 6vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  font-size: 28px;
  font-weight: 900;
  line-height: 1;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #6844ff 0%,
      #8d48ff 55%,
      #c84cff 100%
    );

  box-shadow:
    0 12px 28px rgba(124, 92, 255, 0.32);
}

.brand-text {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;

  letter-spacing: -1px;

  color: var(--ink);
}

.brand-dot {
  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--pink)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 68px;
  height: 46px;

  padding: 0 16px;

  border-radius: 999px;

  font-size: 16px;
  font-weight: 800;

  color: var(--purple-dark);

  background:
    rgba(255, 255, 255, 0.54);

  border:
    1px solid rgba(124, 92, 255, 0.35);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 8px 22px rgba(124, 92, 255, 0.08);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  z-index: 1;

  flex: 1;

  display: grid;
  place-items: center;

  padding:
    18px
    clamp(18px, 5vw, 60px)
    28px;
}

.card {
  width: min(930px, 100%);

  padding:
    clamp(24px, 4vw, 42px)
    clamp(20px, 4vw, 44px);

  border-radius: 32px;

  text-align: center;

  background:
    rgba(255, 255, 255, 0.72);

  border:
    1px solid rgba(255, 255, 255, 0.9);

  outline:
    1px solid rgba(124, 92, 255, 0.11);

  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);

  box-shadow:
    0 42px 100px rgba(66, 37, 129, 0.13),
    0 10px 30px rgba(124, 92, 255, 0.08);
}

/* =========================================================
   BADGE FRANCE
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding:
    8px
    15px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 800;

  color: var(--purple-dark);

  background:
    linear-gradient(
      135deg,
      rgba(124, 92, 255, 0.08),
      rgba(214, 76, 255, 0.08)
    );

  border:
    1px solid rgba(124, 92, 255, 0.18);
}

.flag {
  display: inline-flex;
  align-items: center;

  line-height: 1;
}

.flag svg {
  display: block;

  border-radius: 3px;

  box-shadow:
    0 1px 3px rgba(11, 21, 51, 0.18);
}

/* =========================================================
   TITRE
   ========================================================= */

h1 {
  margin:
    22px
    auto
    16px;

  max-width: 820px;

  font-size:
    clamp(28px, 3.6vw, 44px);

  line-height: 1.05;

  font-weight: 900;

  letter-spacing:
    clamp(-2px, -0.12vw, -1px);
}

.grad {
  background:
    linear-gradient(
      90deg,
      #6f49ff 0%,
      #9147ff 44%,
      #d64cff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

/* =========================================================
   TEXTE PRINCIPAL
   ========================================================= */

.lead {
  max-width: 740px;

  margin:
    0
    auto
    24px;

  font-size:
    clamp(14px, 1.2vw, 16px);

  line-height: 1.5;

  text-align: left;

  color: var(--text);
}

.lead strong {
  color: var(--ink);
}

/* =========================================================
   FORMULAIRE EMAIL
   ========================================================= */

.notify {
  width: min(760px, 100%);

  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 12px;
}

.email-field {
  position: relative;

  display: flex;
  align-items: center;
}

.email-icon {
  position: absolute;

  left: 20px;

  z-index: 2;

  color: #a2a8d8;

  pointer-events: none;
}

.notify input {
  width: 100%;
  height: 56px;

  padding:
    0
    20px
    0
    56px;

  border-radius: 16px;

  border:
    1px solid rgba(124, 92, 255, 0.25);

  outline: none;

  background:
    rgba(255, 255, 255, 0.92);

  font-family: inherit;
  font-size: 16px;

  color: var(--ink);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.notify input::placeholder {
  color: #a4a9c7;
}

.notify input:focus {
  border-color: var(--purple);

  background: #ffffff;

  box-shadow:
    0 0 0 4px rgba(124, 92, 255, 0.13);
}

.notify button {
  height: 56px;

  padding:
    0
    26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 0;
  border-radius: 16px;

  cursor: pointer;

  white-space: nowrap;

  font-family: inherit;
  font-size: 16px;
  font-weight: 800;

  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      #6848ff 0%,
      #9147ff 48%,
      #d64cff 100%
    );

  box-shadow:
    0 16px 32px rgba(124, 92, 255, 0.28);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

.notify button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 20px 38px rgba(124, 92, 255, 0.36);
}

.notify button:active {
  transform: translateY(0);
}

.notify button:disabled {
  opacity: 0.58;

  cursor: default;

  transform: none;
}

/* =========================================================
   MESSAGE / RGPD
   ========================================================= */

.notify-hint {
  min-height: 32px;

  margin:
    10px
    auto
    0;

  max-width: 720px;

  font-size: 14px;
  line-height: 1.55;

  color: #7780aa;

  transition:
    color 0.2s ease;
}

.notify-hint.is-ok {
  color: #059669;
  font-weight: 600;
}

.notify-hint.is-error {
  color: #dc2626;
  font-weight: 600;
}

/* =========================================================
   BADGES DE RÉASSURANCE
   ========================================================= */

.trust-badges {
  list-style: none;

  margin:
    22px
    auto
    0;

  padding: 0;

  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;

  gap: 12px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding:
    10px
    16px;

  border-radius: 14px;

  font-size: 14px;
  font-weight: 700;

  color: var(--ink);

  background:
    rgba(255, 255, 255, 0.6);

  border:
    1px solid rgba(124, 92, 255, 0.18);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 8px 20px rgba(124, 92, 255, 0.07);
}

.trust-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  color: var(--purple-dark);
}

/* =========================================================
   CTA SUISSE
   ========================================================= */

.ch-cta {
  margin-top: 24px;

  padding:
    16px
    20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  text-align: left;

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(124, 92, 255, 0.055),
      rgba(214, 76, 255, 0.055)
    );

  border:
    1px solid rgba(124, 92, 255, 0.22);
}

.ch-cta-text {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 18px;
}

.ch-flag-box {
  flex: 0 0 auto;

  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      #ff4545,
      #f52222
    );

  box-shadow:
    0 12px 26px rgba(239, 68, 68, 0.22);
}

.ch-cross {
  color: #ffffff;

  font-size: 42px;
  font-weight: 500;
  line-height: 1;

  transform: translateY(-2px);
}

.ch-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.ch-copy strong {
  display: block;

  font-size: 18px;
  font-weight: 800;

  color: var(--ink);
}

.ch-copy span {
  max-width: 430px;

  font-size: 14px;
  line-height: 1.45;

  color: var(--muted);
}

.ch-btn {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 50px;

  padding:
    0
    20px;

  border-radius: 14px;

  text-decoration: none;

  font-size: 15px;
  font-weight: 800;

  color: var(--purple-dark);

  background:
    rgba(255, 255, 255, 0.95);

  border:
    1px solid rgba(124, 92, 255, 0.3);

  box-shadow:
    0 10px 24px rgba(124, 92, 255, 0.09);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.ch-btn:hover {
  transform: translateY(-2px);

  color: #ffffff;

  border-color: transparent;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--pink)
    );

  box-shadow:
    0 14px 30px rgba(124, 92, 255, 0.28);
}

.ch-btn svg {
  transition:
    transform 0.16s ease;
}

.ch-btn:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  z-index: 1;

  width: 100%;

  padding:
    12px
    clamp(18px, 5vw, 48px)
    22px;

  text-align: center;

  font-size: 13px;
  line-height: 1.6;

  color: var(--muted);
}

.site-footer p {
  margin: 7px 0;
}

.legal-warning {
  max-width: 850px;

  margin-left: auto !important;
  margin-right: auto !important;
}

.footer-links,
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  flex-wrap: wrap;
}

.footer-links a,
.footer-legal a {
  color: var(--purple-dark);

  text-decoration: none;

  font-weight: 600;
}

.footer-links a:hover,
.footer-legal a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 6px;
}

/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}

/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 820px) {

  .site-header {
    padding:
      16px
      22px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;

    font-size: 24px;
  }

  .hero {
    padding:
      14px
      18px
      24px;
  }

  .card {
    padding:
      28px
      24px;

    border-radius: 26px;
  }

  h1 {
    font-size:
      clamp(28px, 5.5vw, 40px);
  }

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

  .notify button {
    width: 100%;
  }

  .ch-cta {
    flex-direction: column;

    align-items: stretch;
  }

  .ch-btn {
    width: 100%;
  }
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .site-header {
    padding:
      18px
      16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;

    border-radius: 12px;

    font-size: 22px;
  }

  .brand-text {
    font-size: 23px;
  }

  .age-badge {
    min-width: 58px;
    height: 40px;

    padding: 0 13px;

    font-size: 14px;
  }

  .hero {
    padding:
      10px
      12px
      18px;
  }

  .card {
    padding:
      22px
      18px;

    border-radius: 22px;
  }

  .eyebrow {
    padding:
      8px
      12px;

    font-size: 13px;
  }

  h1 {
    margin-top: 16px;

    font-size:
      clamp(25px, 7.5vw, 33px);

    line-height: 1.08;
  }

  .lead {
    font-size: 13px;

    line-height: 1.45;

    margin-bottom: 20px;
  }

  .notify input,
  .notify button {
    height: 52px;
  }

  .notify button {
    padding:
      0
      18px;

    font-size: 15px;
  }

  .notify-hint {
    font-size: 12px;
  }

  .trust-badges {
    flex-direction: column;
    align-items: stretch;

    gap: 8px;

    max-width: 320px;
  }

  .trust-badge {
    justify-content: flex-start;

    padding:
      10px
      16px;

    font-size: 13px;
  }

  .ch-cta {
    padding:
      14px;

    gap: 14px;

    text-align: center;
  }

  .ch-cta-text {
    flex-direction: column;

    gap: 12px;
  }

  .ch-copy strong {
    font-size: 17px;
  }

  .ch-copy span {
    font-size: 13px;
  }

  .ch-flag-box {
    width: 50px;
    height: 50px;
  }

  .ch-cross {
    font-size: 38px;
  }

  .site-footer {
    padding-bottom: 18px;

    font-size: 12.5px;
  }
}

/* =========================================================
   ÉCRANS BAS
   ========================================================= */

@media (min-width: 561px) and (max-height: 780px) {

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .card {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  h1 {
    margin-top: 16px;
    margin-bottom: 12px;
  }

  .lead {
    margin-bottom: 18px;
  }

  .ch-cta {
    margin-top: 18px;
  }

  .site-footer {
    padding-top: 8px;
    padding-bottom: 14px;
  }
}

/* =========================================================
   RÉDUCTION DES ANIMATIONS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .orb {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
