/* =============================================
   VARIABLES
   ============================================= */
:root {
  --color-brand:  #fd1367;
  --color-black:  #000000;
  --color-bg:     #ffffff;
  --font-main:    'Open Sans', sans-serif;
  --fs:           0.9rem;
  --lh:           1.75;
  --fw:           500;

  /* Desktop : marge gauche généreuse, top modéré */
  --margin-top:   clamp(24px, 3vw, 48px);
  --margin-left:  clamp(64px, 16vw, 280px);
  --margin-right: clamp(24px, 6vw, 96px);
  --gap-section:  clamp(28px, 4vw, 56px);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-black);        /* tout en noir par défaut */
  font-family: var(--font-main);
  font-weight: var(--fw);
  font-size: var(--fs);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   LAYOUT
   ============================================= */
main {
  padding-top:    var(--margin-top);
  padding-left:   var(--margin-left);
  padding-right:  var(--margin-right);
  padding-bottom: clamp(40px, 8vw, 50px);
  max-width:      960px;
}

/* =============================================
   TYPOGRAPHIE — taille unique pour tout
   ============================================= */
h1, h2, p, a {
  font-size:   var(--fs);
  line-height: var(--lh);
}

h1 {
  font-weight:    800;
  margin-bottom:  clamp(3px, 0.5vw, 0px);
  letter-spacing: -0.01em;
}

h2 {
  font-weight:    400;
  font-style:     italic;
  margin-bottom:  clamp(14px, 2vw, 28px);
}

/* =============================================
   ACCENT — PROFITABLY & GEEK en rose
   ============================================= */
.accent {
  color: var(--color-brand);
}

/* =============================================
   LOGO — canvas GIF
   ============================================= */
.logo-wrapper {
  margin-bottom: clamp(14px, 2vw, 28px);
  line-height: 0;
}

#gif-canvas {
  display: block;
  width:  200px;
  height: 200px;
}

.logo-wrapper img {
  display: block;
  width:  200px;
  height: 200px;
}

/* =============================================
   PITCH
   ============================================= */
.pitch {
  margin-bottom: var(--gap-section);
}

.pitch p {
  margin-bottom: 1.2em;
}

.pitch p:last-child {
  margin-bottom: 0;
}

/* =============================================
   EMAIL — en rose, plus gras
   ============================================= */
.contact {
  margin-bottom: var(--gap-section);
}

.contact--top {
  margin-bottom: var(--gap-section);
}

.email-link {
  font-size:                var(--fs);
  font-weight:              600;
  color:                    var(--color-brand);
  text-decoration:          underline;
  text-underline-offset:    3px;
  text-decoration-thickness:1px;
  transition:               opacity 0.18s ease;
}

.email-link--bold {
  font-weight: 800;
}

.email-link:hover,
.email-link:focus {
  opacity: 0.65;
  outline: none;
}

/* =============================================
   HASHTAG
   ============================================= */
.hashtag {
  font-weight:    800;
  letter-spacing: 0.03em;
  margin-bottom:  1.2em !important;
}

.hashtag--link {
  background:      none;
  border:          none;
  padding:         0;
  font-family:     inherit;
  font-size:       inherit;
  cursor:          pointer;
  color:           #000000;
  text-decoration: none;
  transition:      color 0.15s ease;
}

.hashtag--link:hover {
  animation: colorCycle 0.8s steps(1, end) infinite;
}

@keyframes colorCycle {
  0%    { color: #fd1367; }
  16%   { color: #0097b2; }
  33%   { color: #ffde59; }
  50%   { color: #00bf63; }
  66%   { color: #ff66c4; }
  83%   { color: #000000; }
}

/* =============================================
   BACKGROUND CYCLE — déclenché au clic sur #kindofHAUTECOUTURE
   ============================================= */
body.bg-color-cycle {
  animation: bgColorCycle 0.8s steps(1, end) 2;
}

@keyframes bgColorCycle {
  0%    { background-color: #fd1367; }
  16%   { background-color: #0097b2; }
  33%   { background-color: #ffde59; }
  50%   { background-color: #00bf63; }
  66%   { background-color: #ff66c4; }
  83%   { background-color: #000000; }
}

/* =============================================
   RESPONSIVE — Tablette (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  :root {
    --margin-top:   40px;
    --margin-left:  28px;
    --margin-right: 28px;
    --gap-section:  36px;
  }
}

/* =============================================
   RESPONSIVE — Mobile (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
  :root {
    --margin-top:   28px;
    --margin-left:  20px;
    --margin-right: 20px;
    --gap-section:  28px;
  }

  /* Espace au-dessus du GIF (= marge sous le h2) */
  h2 {
    margin-bottom: 30px;  /* était clamp(14px, 2vw, 28px) */
  }

  /* Espace sous le GIF */
  .logo-wrapper {
    margin-bottom: 30px;  /* était clamp(14px, 2vw, 28px) */
  }

  #gif-canvas {
    width:  160px;
    height: 160px;
  }
}

/* =============================================
   EMAIL OVERLAY — écran blanc de transition
   ============================================= */
.email-overlay {
  position:       fixed;
  inset:          0;
  background:     #ffffff;
  display:        flex;
  align-items:    center;
  justify-content:center;
  z-index:        9999;
  opacity:        0;
  pointer-events: none;
  transition:     opacity 0.2s ease;
}

.email-overlay-content {
  transform: translateY(-50px);
}

.email-overlay.active {
  opacity:        1;
  pointer-events: auto;
}

.email-overlay p {
  font-weight:  800;
  color:        #000000;
  font-size:    clamp(1.5rem, 5vw, 3rem);
  text-align:   center;
  padding:      0 24px;
  line-height:  1.3;
}

.email-overlay p a {
  color: var(--color-brand);
  font: inherit;
  text-decoration: none;
  border-bottom: 3px solid var(--color-brand);
  transition: color .2s ease, border-color .2s ease;
}

.email-overlay p a:hover {
  color: var(--color-black);
  border-bottom-color: var(--color-black);
}

/* =============================================
   TAGLINE FINALE & FOOTER
   ============================================= */
.tagline-bottom {
  margin-top: 1.5em;
  font-weight: var(--fw);
}

footer {
  padding-bottom: clamp(24px, 4vw, 48px);
}

.footer-copy {
  font-size:   var(--fs);
  font-weight: 300;
  color:       var(--color-black);
  margin-top:  clamp(28px, 4vw, 56px);
}
   300 / 300i / 400 / 400i / 500 / 500i
   600 / 600i / 700 / 700i / 800 / 800i
   ============================================= */