/* ─────────────────────────────────────────
   Studio D—AD—A — Feuille de style commune
   ───────────────────────────────────────── */

/* Titre H1 sémantique (SEO/lecteurs d'écran) : le titre visible animé
   reste un <p> pour ne pas toucher aux styles/scripts existants */
.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;
}

@font-face {
  font-family: "DADA";
  src: url("Font/DADA_font.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "DADA";
  src: url("Font/DADA_Font_Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Mise en page */
body {
  min-height: 100vh;
  padding: 140px 64px 100px;
}

.container {
  max-width: 50vw;
  width: 100%;
}

/* Typographie */
p {
  font-family: "DADA", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.35;
  margin-bottom: 1.4em;
  letter-spacing: -0.02em;
  text-align: left;
}

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

/* Animation — mots */
.word {
  display: inline-block;
  opacity: 0;
}

/* Points de chargement */
.dots {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 1.6em 0 1.2em;
  height: 20px;
}

.dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.25;
}

/* Intro de paragraphe et noms (soulignement animé) */
.intro,
.name {
  display: inline-block;
  position: relative;
}

a.name {
  color: inherit;
  text-decoration: none;
}

.underline-bar {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.nav-link {
  font-family: "DADA", "Helvetica Neue", sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 64px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "DADA", "Helvetica Neue", sans-serif;
  font-size: clamp(0.6rem, 0.85vw, 0.78rem);
  font-weight: bold;
  letter-spacing: 0.05em;
  color: inherit;
  background-color: #F6F6F4;
  border-top: 1.5px solid currentColor;
  z-index: 100;
}

.footer-left  { flex: 1; display: flex; align-items: center; }
.footer-mid   { flex: 1; display: flex; justify-content: center; align-items: center; }
.footer-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; }

.footer-mid img { height: 26px; width: auto; display: block; }
.footer-mid::after { display: none !important; }

.footer a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}

.footer a {
  position: relative;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.footer a:hover::after,
.footer a.active::after {
  transform: scaleX(1);
}

.lang-switch {
  display: flex;
  gap: 1.4em;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "DADA", "Helvetica Neue", sans-serif;
  font-size: inherit;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: inherit;
  padding: 0 0 2px 0;
  opacity: 0.35;
  transition: opacity 0.2s ease;
  position: relative;
}

.lang-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.lang-btn:hover {
  opacity: 0.7;
}

.lang-btn.active {
  opacity: 1;
}

.lang-btn.active::after {
  transform: scaleX(1);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 96px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  padding: 1em 1.4em;
  background-color: #F6F6F4;
  border: 1.5px solid currentColor;
  font-family: "DADA", "Helvetica Neue", sans-serif;
  font-size: clamp(0.6rem, 0.85vw, 0.78rem);
  letter-spacing: 0.03em;
  color: #1a1a1a;
}

.cookie-banner p {
  margin: 0;
  font-size: inherit;
  letter-spacing: inherit;
}

.cookie-banner a {
  color: inherit;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1em;
  flex-shrink: 0;
}

.cookie-banner button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
  padding: 0;
  position: relative;
}

.cookie-banner button::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.cookie-banner button:hover::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 88px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8em;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer { padding: 0 24px; height: 64px; }
  .footer-mid img { height: 24px; }
  .lang-switch { gap: 0.6em; }
  body {
    padding: 72px 24px;
  }
  .container {
    max-width: 100%;
  }
  .nav-link::after,
  .footer a::after,
  .underline-bar {
    height: 2px;
  }
}
