@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Mansalva";
  src: url("/fonts/Mansalva-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #f6f0e8;
  --bg-soft: #f2eae3;
  --bg-alt: #e9ded4;
  --ink: #111111;
  --muted: #5b544e;
  --pink: #fb607f;
  --white-soft: #fffaf5;
  --shell-width: min(100% - 64px, 1480px);
  --shell-pad-top: clamp(20px, 2vw, 32px);
  --shell-pad-bottom: clamp(10px, 1.1vw, 16px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.28), transparent 52%),
    var(--bg);
}

.screen__inner {
  width: var(--shell-width);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: var(--shell-pad-top) 0 var(--shell-pad-bottom);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 4vw, 40px);
}

.hero {
  display: grid;
  align-content: start;
  min-height: 0;
}

.hero > h1 {
  margin: clamp(24px, 1.8vw, 34px) 0 0;
  max-width: 13ch;
  font-size: clamp(1.9rem, 2.7vw, 2.85rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
  white-space: nowrap;
  padding-left: clamp(92px, 6vw, 126px);
}

.hero__title-top {
  display: inline-block;
  font-size: 2.04em;
  line-height: 1;
  margin-bottom: 5px;
  color: var(--pink);
}

.hero__title-middle {
  display: inline-block;
  font-size: 0.78em;
  line-height: 1;
  margin-left: 52px;
  letter-spacing: -0.03em;
}

.hero__title-bottom {
  color: var(--ink);
  display: inline-block;
  font-size: 1.18em;
  line-height: 1;
  margin-left: 36px;
  letter-spacing: -0.05em;
}

.hero__zone {
  min-height: 0;
}

.hero__zone--pig {
  margin-top: clamp(28px, 2.6vw, 44px);
}

.hero__zone--support {
  margin-top: clamp(-40px, -2.8vw, -24px);
}

.hero__support {
  max-width: 31rem;
  margin-left: clamp(760px, 53vw, 910px);
  justify-self: start;
  transform: translate(44px, -88px);
}

.hero__text {
  margin: 0;
  font-size: clamp(1.15rem, 1.32vw, 1.32rem);
  line-height: 1.32;
  color: var(--ink);
}

.hero__text-line {
  display: block;
}

.hero__text-emphasis {
  display: inline;
  color: var(--pink);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1.1;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(18px, 1.8vw, 22px);
  padding: 0.88rem 1.12rem;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white-soft);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(251, 96, 127, 0.18);
}

.hero__cta svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: currentColor;
}

.hero__visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 0;
  padding-left: clamp(212px, 13.9vw, 244px);
}

.pig-note {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  transform: translateY(67px);
}

.pig-note img {
  width: clamp(276px, 23vw, 368px);
  flex: 0 0 auto;
}

.pig-note figcaption {
  margin-top: clamp(138px, 9.6vw, 168px);
  margin-left: clamp(-72px, -5vw, -56px);
  font-family: "Mansalva", cursive;
  font-size: clamp(1.28rem, 1.5vw, 1.5rem);
  line-height: 1;
  white-space: nowrap;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  margin-top: clamp(4px, 0.7vw, 12px);
}

.footer__proof {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 20rem;
}

.footer__count {
  margin: 0;
  font-size: clamp(1.72rem, 2.05vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: var(--pink);
}

.footer__proof-text {
  margin: 0;
  max-width: 9rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 700;
}

.footer__proof-text span {
  display: block;
}

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(56px, 4.5vw, 88px);
  min-width: 0;
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--ink);
}

.socials svg {
  width: 100%;
  height: 100%;
}

.footer__legal {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem 0.8rem;
  font-size: 0.58rem;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  flex: 0 0 auto;
  opacity: 0.78;
}

.footer__brand {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer__brand img {
  width: clamp(82px, 7.4vw, 110px);
}

@media (max-width: 1279px) {
  :root {
    --shell-width: min(100% - 56px, 1220px);
  }

  .screen__inner {
    gap: 28px;
  }

  .hero {
    gap: 0;
  }

  .hero > h1 {
    font-size: clamp(2rem, 3.45vw, 2.7rem);
    padding-left: 42px;
    margin-top: 10px;
  }

  .hero__zone--pig {
    margin-top: 44px;
  }

  .hero__zone--support {
    margin-top: -20px;
  }

  .hero__support {
    max-width: 24rem;
    margin-left: clamp(440px, 38vw, 560px);
    transform: translate(30px, -10px);
  }

  .hero__visual {
    padding-left: 118px;
  }

  .pig-note img {
    width: clamp(225px, 20vw, 280px);
  }

  .footer {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "proof brand"
      "meta brand";
    row-gap: 1rem;
    margin-top: 10px;
  }

  .footer__proof {
    grid-area: proof;
  }

  .footer__meta {
    grid-area: meta;
  }

  .footer__brand {
    grid-area: brand;
    align-self: center;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__zone--pig {
    margin-top: calc(62px + 1.5cm);
  }

  .pig-note {
    transform: translateY(1.5cm);
  }

  .pig-note figcaption {
    transform: translate(0.5cm, -0.5cm);
  }

  .hero__support {
    transform: translate(calc(30px + 0.5cm), calc(-10px - 1.5cm));
  }

  .footer {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "proof meta brand";
    column-gap: 32px;
    row-gap: 0;
    align-items: end;
    margin-top: 14px;
  }

  .footer__proof {
    align-self: end;
  }

  .footer__meta {
    align-self: end;
    justify-self: center;
  }

  .footer__brand {
    align-self: end;
    transform: translateY(8px);
  }
}

@media (max-width: 1023px) {
  :root {
    --shell-width: min(100% - 40px, 980px);
    --shell-pad-top: 40px;
    --shell-pad-bottom: 24px;
  }

  .screen__inner {
    gap: 22px;
  }

  .hero {
    gap: 18px;
  }

  .hero > h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 4.8vw, 2.7rem);
    white-space: normal;
    padding-left: 0;
    margin-top: 0;
  }

  .hero__zone--pig {
    margin-top: 32px;
  }

  .hero__zone--support {
    margin-top: 22px;
  }

  .hero__support {
    max-width: 24rem;
    margin-left: 0;
    transform: translateY(-0.1cm);
  }


  .hero__visual {
    justify-content: flex-start;
    padding-top: 0;
    padding-left: 24px;
  }

  .pig-note {
    gap: 10px;
  }

  .pig-note img {
    width: clamp(280px, 36vw, 338px);
  }

  .pig-note figcaption {
    margin-top: 20px;
    margin-left: 0;
    font-size: 1.5rem;
  }

  .footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "proof"
      "meta"
      "brand";
    gap: 18px;
    align-items: start;
  }

  .footer__brand {
    justify-content: flex-start;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform: none;
  }

  .footer__legal {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  :root {
    --shell-width: min(100% - 32px, 760px);
    --shell-pad-top: 28px;
    --shell-pad-bottom: 20px;
  }

  /* Mobile : cale le plein ecran sur la hauteur visible barre d'URL affichee
     (svh = plus petit etat) pour garantir zero scroll et supprimer l'espace
     vide sous le footer. Repli vh pour les vieux navigateurs. */
  .screen,
  .screen__inner {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__visual {
    padding-left: 0;
  }

  .pig-note {
    flex-direction: column;
    align-items: flex-start;
    transform: none;
  }

  .pig-note img {
    width: min(100%, 320px);
  }

  .pig-note figcaption {
    margin-top: 4px;
    font-size: 1.35rem;
  }

  .hero__text {
    font-size: 1.06rem;
  }

  .hero__cta {
    width: fit-content;
  }

  .footer__proof {
    max-width: 18rem;
  }

  .footer__proof-text {
    max-width: 8.2rem;
  }
}

@media (max-width: 430px) {
  :root {
    --shell-width: min(100% - 24px, 430px);
    --shell-pad-top: 14px;
    --shell-pad-bottom: 14px;
  }

  .screen__inner {
    grid-template-rows: auto auto;
    gap: 12px;
    /* hero en haut, footer en bas a sa taille naturelle : le vide se loge
       entre les deux, jamais dans les espaces internes du footer */
    align-content: space-between;
  }

  .hero {
    align-content: start;
    gap: 12px;
  }

  .hero > h1 {
    width: fit-content;
    max-width: 100%;
    font-size: 2rem;
    line-height: 0.9;
    letter-spacing: -0.06em;
    padding-left: 0;
    margin-top: 0;
    transform: translate(1cm, 0.2cm);
  }

  .hero__title-top {
    font-size: 1.5em;
  }

  .hero__title-middle {
    margin-left: 8px;
    font-size: 0.82em;
  }

  .hero__title-bottom {
    margin-left: 6px;
    font-size: 1.04em;
  }

  .hero__zone--pig {
    margin-top: 14px;
  }

  .hero__zone--support {
    margin-top: 20px;
  }

  .hero__visual {
    justify-content: center;
  }

  .pig-note {
    position: relative;
    align-items: center;
    transform: translate(-1.5cm, 0.1cm);
  }

  .pig-note img {
    width: 192px;
  }

  .pig-note figcaption {
    position: absolute;
    top: calc(44% + 1.2cm);
    left: calc(50% + 34px + 0.5cm);
    width: auto;
    margin: 0;
    text-align: left;
    font-size: 1.08rem;
    transform: translateY(-50%);
  }

  .hero__support {
    width: min(100%, 21.5rem);
    margin-inline: auto;
    transform: none;
  }

  .hero__text {
    max-width: none;
    font-size: 0.97rem;
    line-height: 1.24;
    text-align: center;
  }

  .hero__text-line--wide {
    white-space: nowrap;
  }

  .hero__text-emphasis {
    font-size: 1.14em;
  }

  .hero__cta {
    display: flex;
    width: fit-content;
    margin-top: calc(12px + 0.5cm);
    margin-inline: auto;
    padding: 0.8rem 0.96rem;
    font-size: 0.94rem;
    transform: none;
  }

  .footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "proof"
      "socials"
      "legal"
      "brand";
    justify-items: center;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    text-align: center;
  }

  .footer__proof {
    grid-area: proof;
    max-width: none;
    justify-content: center;
    gap: 0.5rem;
    justify-self: center;
    transform: none;
  }

  .footer__count {
    font-size: 1.55rem;
    line-height: 0.95;
  }

  .footer__proof-text {
    max-width: none;
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .footer__meta {
    display: contents;
  }

  .socials {
    grid-area: socials;
    gap: 1.5rem;
    justify-self: center;
    transform: none;
  }

  .socials a {
    width: 2rem;
    height: 2rem;
  }

  .footer__legal {
    grid-area: legal;
    display: flex;
    justify-content: center;
    align-self: auto;
    font-size: 0.82rem;
    gap: 0.2rem 0.6rem;
    line-height: 1.3;
    opacity: 0.85;
    margin-top: 0;
  }

  .footer__brand {
    grid-area: brand;
    justify-content: center;
    justify-self: center;
    transform: none;
  }

  .footer__brand img {
    width: 68px;
  }
}

@media (max-width: 390px) {
  :root {
    --shell-width: min(100% - 22px, 390px);
    --shell-pad-top: 14px;
    --shell-pad-bottom: 14px;
  }

  .screen__inner {
    grid-template-rows: auto auto;
    gap: 12px;
    /* hero en haut, footer en bas a sa taille naturelle : le vide se loge
       entre les deux, jamais dans les espaces internes du footer */
    align-content: space-between;
  }

  .hero {
    gap: 12px;
  }

  .hero > h1 {
    width: fit-content;
    font-size: 2rem;
    line-height: 0.9;
    letter-spacing: -0.06em;
    padding-left: 0;
    margin-top: 0;
    transform: translate(1cm, 0.2cm);
  }

  .hero__title-top {
    font-size: 1.5em;
  }

  .hero__title-middle {
    margin-left: 8px;
    font-size: 0.82em;
  }

  .hero__title-bottom {
    margin-left: 6px;
    font-size: 1.04em;
  }

  .hero__zone--pig {
    margin-top: 14px;
  }

  .hero__zone--support {
    margin-top: 20px;
  }

  .hero__visual {
    justify-content: center;
  }

  .pig-note {
    position: relative;
    align-items: center;
    transform: translate(-1.5cm, 0.1cm);
  }

  .pig-note img {
    width: 192px;
  }

  .pig-note figcaption {
    position: absolute;
    top: calc(44% + 1.2cm);
    left: calc(50% + 34px + 0.5cm);
    width: auto;
    margin: 0;
    text-align: left;
    font-size: 1.08rem;
    transform: translateY(-50%);
  }

  .hero__support {
    width: min(100%, 21.5rem);
    margin-inline: auto;
    transform: none;
  }

  .hero__text {
    max-width: none;
    font-size: 0.97rem;
    line-height: 1.24;
    text-align: center;
  }

  .hero__text-line--wide {
    white-space: nowrap;
  }

  .hero__text-emphasis {
    font-size: 1.14em;
  }

  .hero__cta {
    display: flex;
    width: fit-content;
    margin-top: calc(12px + 0.5cm);
    margin-inline: auto;
    padding: 0.8rem 0.96rem;
    font-size: 0.94rem;
    transform: none;
  }

  .footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "proof"
      "socials"
      "legal"
      "brand";
    justify-items: center;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    text-align: center;
  }

  .footer__proof {
    grid-area: proof;
    max-width: none;
    justify-content: center;
    gap: 0.5rem;
    justify-self: center;
    transform: none;
  }

  .footer__count {
    font-size: 1.5rem;
    line-height: 0.95;
  }

  .footer__proof-text {
    max-width: none;
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .footer__meta {
    display: contents;
  }

  .socials {
    grid-area: socials;
    gap: 1.5rem;
    justify-self: center;
    transform: none;
  }

  .socials a {
    width: 1.9rem;
    height: 1.9rem;
  }

  .footer__legal {
    grid-area: legal;
    display: flex;
    justify-content: center;
    align-self: auto;
    font-size: 0.8rem;
    gap: 0.2rem 0.6rem;
    line-height: 1.3;
    opacity: 0.85;
    margin-top: 0;
  }

  .footer__brand {
    grid-area: brand;
    justify-content: center;
    justify-self: center;
    transform: none;
  }

  .footer__brand img {
    width: 64px;
  }
}

@media (min-width: 431px) and (max-width: 820px) {
  .screen__inner {
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .hero {
    align-content: start;
    gap: 16px;
  }

  .hero > h1 {
    max-width: 20rem;
    font-size: 2rem;
    line-height: 0.9;
    letter-spacing: -0.06em;
    padding-left: 0;
    margin-top: 0;
    transform: translate(1.1cm, 1.1cm);
  }

  .hero__title-top {
    font-size: 1.5em;
  }

  .hero__title-middle {
    margin-left: 8px;
    font-size: 0.82em;
  }

  .hero__title-bottom {
    margin-left: 6px;
    font-size: 1.04em;
  }

  .hero__zone--pig {
    margin-top: calc(18px + 1cm);
  }

  .hero__zone--support {
    margin-top: calc(6px + 2.1cm);
  }

  .hero__visual {
    justify-content: center;
  }

  .pig-note {
    position: relative;
    align-items: center;
    transform: translate(-2.9cm, 5.2cm);
  }

  .pig-note img {
    width: 260px;
  }

  .pig-note figcaption {
    position: absolute;
    top: calc(48% + 1.4cm);
    left: calc(50% + 52px + 1cm);
    width: auto;
    margin: 0;
    text-align: left;
    font-size: 1.08rem;
    transform: translateY(-50%);
  }

  .hero__support {
    width: min(100%, 23rem);
    margin-inline: auto;
    transform: translateY(2.4cm);
  }

  .hero__text {
    max-width: none;
    font-size: 0.97rem;
    line-height: 1.24;
    text-align: center;
    transform: translateY(0.5cm);
  }

  .hero__text-line {
    display: block;
  }

  .hero__text-line:first-child {
    transform: translateX(-1.2cm);
  }

  .hero__text-line--wide {
    white-space: nowrap;
    transform: translateX(1.2cm);
  }

  .hero__text-emphasis {
    font-size: 1.14em;
  }

  .hero__cta {
    display: flex;
    width: fit-content;
    margin-top: calc(12px + 0.9cm);
    margin-inline: auto;
    padding: 0.8rem 0.96rem;
    font-size: 0.94rem;
    transform: none;
  }

  .footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "proof"
      "socials"
      "legal"
      "brand";
    justify-items: center;
    gap: 14px;
    align-items: center;
    margin-top: 8px;
    text-align: center;
    transform: translateY(0.22cm);
  }

  .footer__proof {
    grid-area: proof;
    max-width: none;
    justify-content: center;
    gap: 0.5rem;
    justify-self: center;
    transform: none;
  }

  .footer__count {
    font-size: 1.7rem;
    line-height: 0.95;
  }

  .footer__proof-text {
    max-width: none;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .footer__meta {
    display: contents;
  }

  .socials {
    grid-area: socials;
    gap: 1.6rem;
    justify-self: center;
    transform: none;
  }

  .socials a {
    width: 2rem;
    height: 2rem;
  }

  .footer__legal {
    grid-area: legal;
    display: flex;
    justify-content: center;
    align-self: auto;
    font-size: 0.85rem;
    gap: 0.2rem 0.6rem;
    line-height: 1.3;
    opacity: 0.85;
    margin-top: 0;
  }

  .footer__brand {
    grid-area: brand;
    justify-content: center;
    justify-self: center;
    transform: none;
  }

  .footer__brand img {
    width: 72px;
  }
}


/* ============================================================
   YeP — NORMALISATION LOGO FOOTER / base page 4
   Même taille + même logique de placement sur pages 1, 2 et 4.
   ============================================================ */

/* Grand desktop */
@media screen and (min-width: 1440px) {
  .footer__brand {
    justify-content: flex-end;
    justify-self: end;
    align-self: center;
    transform: translateX(-36px);
  }

  .footer__brand img {
    width: clamp(82px, 7.4vw, 110px);
  }
}

/* Desktop standard */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
  .footer__brand {
    justify-content: flex-end;
    justify-self: end;
    align-self: center;
    transform: none;
  }

  .footer__brand img {
    width: clamp(82px, 7.4vw, 110px);
  }
}

/* Petit desktop */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .footer__brand {
    justify-content: flex-end;
    justify-self: end;
    align-self: end;
    transform: translate(-0.3cm, 0);
  }

  .footer__brand img {
    width: 42px;
  }
}

/* Tablette */
@media screen and (min-width: 821px) and (max-width: 1023px) {
  .footer__brand {
    justify-content: flex-end;
    justify-self: end;
    transform: none;
  }

  .footer__brand img {
    width: 82px;
  }
}

/* Grand mobile / petite tablette : référence page 4 */
@media screen and (min-width: 431px) and (max-width: 820px) {
  .footer__brand {
    justify-content: flex-end;
    justify-self: end;
    align-self: start;
    transform: translateY(-0.5cm);
  }

  .footer__brand img {
    width: 42px;
  }
}

/* Mobile */
@media screen and (min-width: 391px) and (max-width: 430px) {
  .footer__brand {
    justify-content: center;
    justify-self: center;
    align-self: center;
    transform: none;
  }

  .footer__brand img {
    width: 68px;
  }
}

/* Petit mobile */
@media screen and (max-width: 390px) {
  .footer__brand {
    justify-content: center;
    justify-self: center;
    align-self: center;
    transform: none;
  }

  .footer__brand img {
    width: 64px;
  }
}

/* ============================================================
   YeP — Page 1 / micro-ajustement logo grand desktop
   +20 px vers la droite uniquement à partir de 1440 px.
   Mobile / tablette / autres pages : inchangés.
   ============================================================ */
@media screen and (min-width: 1440px) {
  .footer__brand {
    transform: translate(14px, -4px);
  }
}


/* ============================================================
   YeP — NORMALISATION RÉSEAUX SOCIAUX
   Même taille d’icônes + même espacement sur pages 1, 2 et 4.
   Les positions propres à chaque footer restent inchangées.
   ============================================================ */

/* Grand desktop */
@media screen and (min-width: 1280px) {
  .socials {
    gap: 0.9rem;
  }

  .socials a {
    width: 2rem;
    height: 2rem;
  }
}

/* Petit desktop */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .socials {
    gap: 0.55rem;
  }

  .socials a {
    width: 1.35rem;
    height: 1.35rem;
  }
}

/* Tablette */
@media screen and (min-width: 821px) and (max-width: 1023px) {
  .socials {
    gap: 0.75rem;
  }

  .socials a {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Grand mobile / petite tablette */
@media screen and (min-width: 431px) and (max-width: 820px) {
  .socials {
    gap: 0.36rem;
  }

  .socials a {
    width: 1.06rem;
    height: 1.06rem;
  }
}

/* Mobile */
@media screen and (min-width: 391px) and (max-width: 430px) {
  .socials {
    gap: 1.3rem;
  }

  .socials a {
    width: 2rem;
    height: 2rem;
  }
}

/* Petit mobile */
@media screen and (max-width: 390px) {
  .socials {
    gap: 1.3rem;
  }

  .socials a {
    width: 1.9rem;
    height: 1.9rem;
  }
}


/* ============================================================
   YeP — RÈGLE COMMUNE RÉSEAUX DESKTOP
   À partir de 1280 px, les réseaux sont centrés sur l'écran,
   indépendamment du contenu gauche / mentions / logo.
   Mobile et tablette restent inchangés.
   ============================================================ */
@media screen and (min-width: 1280px) {
  .footer {
    position: relative;
  }

  .footer .socials {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
}

/* ============================================================
   YeP — MENTIONS LÉGALES / MICRO-CORRECTION DESKTOP
   Ne touche ni au logo, ni aux réseaux, ni au chien.
   Mobile / tablette : inchangés.
   ============================================================ */
@media screen and (min-width: 1280px) {
  .footer {
    position: relative;
  }

  .footer__legal {
    position: absolute;
    left: 75%;
    transform: translateX(-50%);
    z-index: 1;
    margin: 0;
    white-space: nowrap;
  }
}
