@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;
}

: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(12px, 1.2vw, 20px);
  --shell-pad-bottom: clamp(10px, 1.1vw, 16px);
  --form-rhythm: clamp(18px, 1.55vw, 22px);
}

*,
*::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;
}

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

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

button,
input {
  font: inherit;
}

.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;
}

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.28), transparent 56%),
    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: auto 1fr auto;
  gap: clamp(6px, 0.9vw, 12px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.92);
}

.back-link svg {
  width: 1.35rem;
  height: 1.35rem;
}

.intro {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(28px, 2.7vw, 40px);
  padding: 0;
  min-height: 0;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: clamp(24px, 2.2vw, 34px);
  width: min(100%, 31rem);
  text-align: left;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.85rem, 5.1vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
  transform: translate(-348px, -72px);
}

.title-top {
  display: inline-block;
  font-size: 0.88em;
}

.title-bottom {
  color: var(--pink);
  display: inline-block;
  font-size: 1.18em;
  margin-left: 24px;
}

.hero-copy__body {
  margin: 0;
  width: max-content;
  max-width: none;
  font-size: clamp(1.15rem, 1.32vw, 1.32rem);
  line-height: 1.32;
  font-weight: 400;
  transform: translate(-72px, 0);
}

.hero-copy__body > span {
  display: block;
}

.hero-copy__body > span + span {
  margin-top: 0.72em;
}

.hero-copy__line-nowrap {
  white-space: nowrap;
}

.hero-copy__emphasis {
  display: inline;
  color: var(--pink);
  font-weight: 700;
  font-size: 1.42em;
  line-height: 1.1;
}

.hero-copy__emphasis-black {
  display: inline;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.42em;
  line-height: 1.1;
}

.hero-copy__accent-hand {
  display: inline;
  color: var(--ink);
  font-family: "Raleway", sans-serif;
  font-size: 1.42em;
  line-height: 1.08;
  font-weight: 700;
}

.signup {
  display: grid;
  justify-items: center;
  gap: var(--form-rhythm);
  width: min(100%, 820px);
  transform: translateY(76px);
}

.signup__kicker {
  margin: 0;
  display: inline-block;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.32vw, 1.32rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: normal;
}

.signup__form {
  display: grid;
  justify-items: center;
  gap: calc(var(--form-rhythm) + 30px);
  width: min(100%, 560px);
}

.email-field {
  width: min(100%, 500px);
  min-height: clamp(56px, 4vw, 66px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0 clamp(20px, 2vw, 28px);
  border: 1.5px solid rgba(251, 96, 127, 0.26);
  border-radius: 20px;
  background: rgba(255, 250, 245, 0.18);
}

.email-field svg {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--ink);
}

.email-field input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1rem, 1.05vw, 1.14rem);
  font-weight: 500;
}

.email-field input::placeholder {
  color: rgba(17, 17, 17, 0.76);
}

.signup__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.88rem 1.12rem;
  border: 0;
  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);
  cursor: pointer;
}

.signup-confirmation {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-align: center;
}

.signup-confirmation__arrow {
  width: 2.9rem;
  height: auto;
  opacity: 1;
}

.signup-confirmation__copy {
  display: grid;
  justify-items: center;
  gap: 0.22rem;
}

.signup-confirmation__title,
.signup-confirmation__text {
  margin: 0;
}

.signup-confirmation__title {
  font-size: clamp(2rem, 2.5vw, 2.55rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.signup-confirmation__text {
  font-size: clamp(1.15rem, 1.32vw, 1.32rem);
  line-height: 1.18;
  font-weight: 400;
}

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

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

.footer__dog img {
  width: clamp(62px, 5.2vw, 86px);
}

.footer__dog p {
  margin: 0 0 9px 0;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 700;
  align-self: flex-end;
}

.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);
    --shell-pad-top: 18px;
    --shell-pad-bottom: 14px;
  }

  .screen__inner {
    gap: 10px;
  }

  .intro {
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 4.6vw, 4.3rem);
    transform: translate(-220px, -32px);
  }

  .hero-copy {
    width: min(100%, 30rem);
    gap: 20px;
  }

  .hero-copy__body {
    max-width: 29ch;
    transform: translate(-24px, 0);
    font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  }

  .email-field {
    width: min(100%, 560px);
    min-height: 74px;
  }

  .signup__form {
    width: min(100%, 620px);
  }

  .signup {
    transform: translateY(42px);
  }

  .signup-confirmation__title {
    font-size: clamp(1.78rem, 2.1vw, 2.2rem);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-copy h1 {
    font-size: clamp(3.85rem, 6.35vw, 5.85rem);
    transform: translate(-220px, -2.5cm);
  }
}

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

  .screen__inner {
    gap: 14px;
  }

  .intro {
    align-content: start;
    justify-items: start;
    gap: 22px;
    padding-top: 2px;
  }

  .hero-copy {
    width: min(100%, 31rem);
    gap: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(2.72rem, 5.35vw, 3.7rem);
    transform: none;
  }

  .hero-copy__body {
    max-width: 28ch;
    font-size: clamp(1.1rem, 1.65vw, 1.22rem);
    transform: none;
  }

  .hero-copy__line-nowrap {
    white-space: normal;
  }

  .signup {
    width: min(100%, 660px);
    justify-items: start;
    transform: translateY(10px);
  }

  .email-field {
    width: min(100%, 540px);
    min-height: 74px;
    border-radius: 22px;
  }

  .email-field input {
    font-size: clamp(1.08rem, 2vw, 1.3rem);
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    transform: none;
  }

  .footer__dog,
  .footer__meta,
  .footer__brand {
    justify-content: flex-start;
  }

  .footer__meta {
    flex-wrap: wrap;
    gap: 16px 28px;
  }

  .footer__legal {
    flex-wrap: wrap;
  }
}

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

  /* Mobile : plein ecran cale sur la hauteur visible (svh) pour garantir
     zero scroll, comme sur l'ecran 1. Repli vh pour les vieux navigateurs. */
  .screen,
  .screen__inner {
    min-height: 100vh;
    min-height: 100svh;
  }

  .screen__inner {
    grid-template-rows: auto auto auto;
    gap: 14px;
  }

  .back-link {
    font-size: 0.84rem;
  }

  .intro {
    justify-items: start;
    gap: 18px;
  }

  .hero-copy {
    width: min(100%, 23rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 7vw, 3.05rem);
    transform: none;
  }

  .title-bottom {
    margin-left: 14px;
  }

  .hero-copy__body {
    max-width: 23ch;
    font-size: 1.02rem;
    transform: none;
  }

  .hero-copy__line-nowrap {
    white-space: normal;
  }

  .signup {
    width: 100%;
    justify-items: start;
    transform: none;
  }

  .signup__form,
  .email-field {
    width: 100%;
  }

  .signup__form {
    gap: 28px;
  }

  .signup-confirmation {
    justify-items: start;
    text-align: left;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    transform: none;
  }

  .footer__dog,
  .footer__meta,
  .footer__brand {
    justify-content: flex-start;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__legal {
    flex-wrap: wrap;
  }
}

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

  .screen__inner {
    gap: 12px;
    /* comme l'ecran 1 : empeche l'etirement des rangees, sinon le footer
       est etire et ses 4 lignes recuperent l'excedent (+6px chacune) */
    align-content: space-between;
  }

  .back-link {
    transform: translateY(-0.4cm);
  }

  .intro {
    justify-items: center;
    align-content: start;
    gap: 18px;
    padding-top: 4px;
  }

  .hero-copy {
    width: min(100%, 18.8rem);
    justify-self: center;
    gap: 14px;
    transform: translate(0.15cm, 0.2cm);
  }

  .hero-copy h1 {
    font-size: clamp(1.72rem, 8.7vw, 2.12rem);
    line-height: 0.95;
  }

  .title-top {
    font-size: 0.97em;
  }

  .hero-copy__body {
    max-width: 24ch;
    font-size: 0.92rem;
    line-height: 1.24;
    transform: translateY(0.5cm);
  }

  .hero-copy__body > span + span {
    margin-top: calc(0.72em + 0.2cm);
    transform: translateX(1.8cm);
    width: 100%;
    text-align: right;
  }

  .hero-copy__emphasis,
  .hero-copy__emphasis-black {
    font-size: 1.26em;
  }

  .hero-copy__accent-hand {
    font-size: 1.28em;
  }

  .signup {
    width: 100%;
    justify-items: center;
    gap: 18px;
    transform: translateY(0.9cm);
  }

  .signup__kicker {
    font-size: 0.92rem;
  }

  .signup__form {
    width: min(100%, 19.6rem);
    gap: 18px;
  }

  .email-field {
    width: 100%;
    min-height: 60px;
    padding-inline: 16px;
  }

  .signup__cta {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    font-size: 0.94rem;
    padding: 0.8rem 0.96rem;
  }

  .signup-confirmation__title {
    font-size: 1.48rem;
  }

  .signup-confirmation__text {
    font-size: 0.9rem;
  }

  .signup-confirmation__arrow {
    width: 2.3rem;
    transform: translateY(-0.5cm);
  }

  .signup-confirmation {
    justify-items: center;
    text-align: center;
    margin-top: 0.7cm;
  }

  .signup-confirmation__copy {
    transform: translateY(-0.5cm);
  }

  /* Footer empile et centre, comme sur l'accueil (ecran 1) */
  .footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "dog"
      "socials"
      "legal"
      "brand";
    justify-items: center;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    text-align: center;
    transform: none;
  }

  .footer__dog {
    grid-area: dog;
    gap: 0.5rem;
    max-width: none;
    justify-self: center;
    transform: none;
  }

  .footer__dog img {
    width: 48px;
  }

  .footer__dog p {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .footer__meta {
    display: contents;
  }

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

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

  .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-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 {
    gap: 12px;
    /* comme l'ecran 1 : empeche l'etirement des rangees, sinon le footer
       est etire et ses 4 lignes recuperent l'excedent (+6px chacune) */
    align-content: space-between;
  }

  .back-link {
    transform: translateY(-0.4cm);
  }

  .intro {
    justify-items: center;
    align-content: start;
    gap: 18px;
    padding-top: 4px;
  }

  .hero-copy {
    width: min(100%, 18.8rem);
    justify-self: center;
    gap: 14px;
    transform: translate(0.15cm, 0.2cm);
  }

  .hero-copy h1 {
    font-size: clamp(1.72rem, 8.7vw, 2.12rem);
    line-height: 0.95;
  }

  .title-top {
    font-size: 0.97em;
  }

  .hero-copy__body {
    max-width: 24ch;
    font-size: 0.92rem;
    line-height: 1.24;
    transform: translateY(0.5cm);
  }

  .hero-copy__body > span + span {
    margin-top: calc(0.72em + 0.2cm);
    transform: translateX(1.8cm);
    width: 100%;
    text-align: right;
  }

  .hero-copy__emphasis,
  .hero-copy__emphasis-black {
    font-size: 1.26em;
  }

  .hero-copy__accent-hand {
    font-size: 1.28em;
  }

  .signup {
    width: 100%;
    justify-items: center;
    gap: 18px;
    transform: translateY(0.9cm);
  }

  .signup__kicker {
    font-size: 0.92rem;
  }

  .signup__form {
    width: min(100%, 19.6rem);
    gap: 18px;
  }

  .email-field {
    width: 100%;
    min-height: 60px;
    padding-inline: 16px;
  }

  .signup__cta {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    font-size: 0.94rem;
    padding: 0.8rem 0.96rem;
  }

  .signup-confirmation {
    justify-items: center;
    text-align: center;
    margin-top: 0.7cm;
  }

  .signup-confirmation__title {
    font-size: 1.48rem;
  }

  .signup-confirmation__text {
    font-size: 0.9rem;
  }

  .signup-confirmation__arrow {
    width: 2.3rem;
    transform: translateY(-0.5cm);
  }

  .signup-confirmation__copy {
    transform: translateY(-0.5cm);
  }

  /* Footer empile et centre, comme sur l'accueil (ecran 1) */
  .footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "dog"
      "socials"
      "legal"
      "brand";
    justify-items: center;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    text-align: center;
    transform: none;
  }

  .footer__dog {
    grid-area: dog;
    gap: 0.5rem;
    max-width: none;
    justify-self: center;
    transform: none;
  }

  .footer__dog img {
    width: 48px;
  }

  .footer__dog p {
    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 {
    gap: 14px;
  }

  .back-link {
    transform: translateY(-1.45cm);
  }

  .intro {
    justify-items: center;
    align-content: start;
    gap: 18px;
    padding-top: 4px;
  }

  .hero-copy {
    width: min(100%, 19.6rem);
    justify-self: center;
    gap: 14px;
    transform: translate(0.15cm, 0.15cm);
  }

  .hero-copy h1 {
    display: inline-block;
    font-size: 2.42rem;
    line-height: 0.9;
    transform: translate(-4.25cm, -1.79cm);
  }

  .title-top {
    font-size: 1em;
  }

  .hero-copy__body {
    max-width: 24ch;
    font-size: 0.92rem;
    line-height: 1.24;
    transform: translate(-0.3cm, 2.2cm);
  }

  .hero-copy__body > span:first-child {
    display: block;
    transform: translateX(-1cm);
  }

  .hero-copy__body > span + span {
    margin-top: calc(0.72em + 0.2cm);
    transform: translateX(1cm);
    width: 100%;
    text-align: right;
  }

  .hero-copy__emphasis,
  .hero-copy__emphasis-black {
    font-size: 1.26em;
  }

  .hero-copy__accent-hand {
    font-size: 1.28em;
  }

  .signup {
    width: 100%;
    justify-items: center;
    gap: 18px;
    transform: translateY(3.65cm);
  }

  .signup__kicker {
    font-size: 0.92rem;
  }

  .signup__form {
    width: min(100%, 23rem);
    gap: 18px;
  }

  .email-field {
    width: 100%;
    min-height: 60px;
    padding-inline: 16px;
  }

  .signup__cta {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    font-size: 0.94rem;
    padding: 0.8rem 0.96rem;
  }

  .signup-confirmation {
    justify-items: center;
    text-align: center;
    margin-top: 0.7cm;
    transform: translateY(0cm);
  }

  .signup-confirmation__title {
    font-size: 1.48rem;
  }

  .signup-confirmation__text {
    font-size: 0.9rem;
  }

  .signup-confirmation__arrow {
    width: 2.3rem;
    transform: translateY(-0.5cm);
  }

  .signup-confirmation__copy {
    transform: translateY(-0.5cm);
  }

  .footer {
    grid-template-columns: auto 1fr auto;
    gap: 26px;
    align-items: center;
    margin-top: 6px;
    transform: translateY(1.8cm);
  }

  .footer__dog {
    gap: 0.28rem;
    max-width: 10rem;
    justify-self: start;
    transform: none;
  }

  .footer__dog img {
    width: 42px;
  }

  .footer__dog p {
    font-size: 0.49rem;
    line-height: 1.02;
  }

  .footer__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-width: 0;
    transform: translateX(0.45cm);
  }

  .socials {
    gap: 0.36rem;
    flex: 0 0 auto;
    transform: none;
  }

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

  .footer__legal {
    display: flex;
    align-items: center;
    font-size: 0.3rem;
    gap: 0.05rem 0.18rem;
    line-height: 1;
    margin-top: 0;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .footer__brand {
    justify-content: flex-end;
    justify-self: end;
    transform: translate(-0.18cm, 0);
  }

  .footer__brand img {
    width: 42px;
  }
}

/* ============================================================
   États du formulaire (pilotés par JS) — ajout inscription API
   ============================================================ */

/* Honeypot anti-spam : hors écran, jamais visible */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Message d'erreur sous le formulaire */
.signup__error {
  margin: 0;
  min-height: 1.2em;
  color: var(--pink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

/* Bouton pendant l'envoi */
.signup__cta[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* Confirmation cachée par défaut, révélée après succès */
.signup-confirmation {
  display: none;
}

.signup.is-success .signup__form,
.signup.is-success .signup__kicker,
.signup.is-success .signup__error {
  display: none;
}

.signup.is-success .signup-confirmation {
  display: grid;
}


/* YeP — micro-réglage indépendant mobile du texte près du chien */
@media screen and (max-width: 767px) {
  .footer__dog p {
    margin-bottom: 5px;
  }
}


/* YeP — desktop : léger décalage de la 2e phrase du texte d'intro */
@media screen and (min-width: 1024px) {
  .hero-copy__body > span + span {
    transform: translateX(68px);
  }
}


/* YeP — desktop : alignement horizontal du footer */
@media screen and (min-width: 1024px) {
  .footer {
    align-items: center;
  }

  .footer__dog,
  .footer__meta,
  .footer__brand {
    align-self: center;
  }

  .footer__dog {
    min-height: 86px;
  }

  .footer__dog p {
    margin-bottom: 9px;
  }
}


/* YeP — desktop : footer réellement centré et symétrique
   bloc chien à gauche / meta au centre / logo à droite */
@media screen and (min-width: 1024px) {
  .footer {
    grid-template-columns: 1fr auto 1fr;
  }

  .footer__dog {
    justify-self: start;
  }

  .footer__meta {
    justify-self: center;
  }

  .footer__brand {
    justify-self: end;
  }
}


/* YeP — desktop : remonter légèrement le bloc chien + phrase */
@media screen and (min-width: 1024px) {
  .footer__dog {
    transform: translateY(-4px);
  }
}


/* ============================================================
   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 — 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;
  }
}
