/* =================================================================
   COPAINS POILUS — STYLES PRINCIPAUX
   ================================================================= */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Trebuchet MS', 'Arial Rounded MT Bold', Arial, sans-serif;
  background: #ffffff;
  color: #333333;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Suppression universelle des styles par défaut des liens */
a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: #0f172a;
  color: #e2e8f0;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.5;
}

.top-banner p { margin: 0; }

.top-banner__link {
  color: #ff6eb4;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.top-banner__link:hover { color: #ffd700; }

.top-banner .fi {
  display: inline-block;
  vertical-align: middle;
  width: 1.2em;
  height: 0.9em;
  border-radius: 2px;
  position: relative;
  top: -1px;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: none;
  text-decoration: none;
  transition:
    transform .2s cubic-bezier(.34,1.4,.64,1),
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .4s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

/* Outline : "Devenir poilu-sitter" */
.btn--outline {
  background: #ffffff;
  border: 1.5px solid #2d2d2d;
  color: #1a1a1a;
}
.btn--outline svg { color: #1a1a1a; transition: color .2s; }
.btn--outline:hover {
  background: #f5f5f5;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  color: #1a1a1a;
}

/* Primary : "Se connecter" */
.btn--primary {
  background: #E8264A;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(240,41,122,.28);
}
.btn--primary svg { color: #ffffff; }
.btn--primary:hover {
  background: #d4206b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(240,41,122,.42);
  color: #ffffff;
}

/* CTA hero — violet dégradé */
.btn--cta {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #ffffff;
  font-size: 1.2rem;
  padding: 18px 48px;
  box-shadow: 0 8px 28px rgba(124,58,237,.4);
  font-weight: 800;
}
.btn--cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(124,58,237,.52);
  background: linear-gradient(135deg, #6d28d9, #4c1d95);
  color: #ffffff;
}

/* Icônes SVG dans les boutons */
.btn__icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0;
  display: block;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 112px;
  gap: 0;
  /* Débride la contrainte max-width du .container pour que le header respire */
  max-width: none;
  padding: 0 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 32px;
  text-decoration: none;
  color: inherit;
}

.logo__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__top {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f97316;
  letter-spacing: .02em;
}

.logo__bottom {
  font-size: 1rem;
  font-weight: 900;
  color: #f97316;
  letter-spacing: .01em;
}

/* Logo image (nav__logo) — toutes pages */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 72px;
  text-decoration: none;
  transition: opacity .2s;
}
.nav__logo:hover { opacity: .85; }
.nav__logo img {
  height: 82px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Nav principale */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 1.1rem;
  font-weight: 800;
  color: #3a3a3a;
  padding: 13px 22px;
  border-radius: 14px;
  position: relative;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: #E8264A;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav__link:hover {
  color: #E8264A;
  background: rgba(240,41,122,.06);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--active {
  color: #E8264A;
  font-weight: 700;
}
.nav__link--active::after { transform: scaleX(1); }

/* Actions header */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 40px;
}

/* ===== BURGER MOBILE ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  width: 38px;
  height: 38px;
}

.burger__line {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #333333;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}

.burger--open .burger__line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger--open .burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger--open .burger__line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== MENU MOBILE ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid #f0e0f0;
  padding: 8px 24px 16px;
  gap: 2px;
}

.mobile-nav--open { display: flex; }

.mobile-nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #333333;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s, color .18s;
}

.mobile-nav__link:hover { background: #fff0f7; color: #E8264A; }
.mobile-nav__link--active { color: #E8264A; }

.mobile-nav__link--cta {
  background: linear-gradient(135deg, #E8264A, #C91E3C);
  color: #ffffff !important;
  text-align: center;
  margin-top: 6px;
  border-radius: 50px;
  font-weight: 700;
}
.mobile-nav__link--cta:hover {
  background: linear-gradient(135deg, #d4206b, #a0005c);
  color: #ffffff !important;
}

.mobile-nav__sep {
  border: none;
  border-top: 1px solid #f0e0f0;
  margin: 8px 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(155deg, #fff5fb 0%, #fffbf0 45%, #f0fffe 100%);
  overflow: hidden;
  padding: 64px 0 28px;
}

.bubble {
  position: absolute;
  font-size: 1.8rem;
  opacity: .3;
  pointer-events: none;
  animation: float 4s ease-in-out infinite;
}
.bubble:nth-child(2) { animation-delay: 1s; }
.bubble:nth-child(3) { animation-delay: 2s; }
.bubble:nth-child(4) { animation-delay: .5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero__content { flex: 1; }

/* Badge lancement */
.launch-banner {
  display: inline-block;
  background: linear-gradient(90deg, #ffd700, #ffb347);
  color: #7a4400;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: .03em;
  box-shadow: 0 3px 12px rgba(255,179,71,.4);
}

/* Titre hero */
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.highlight { color: #ff3d9a; }

.hero__location {
  font-size: 1.05rem;
  font-weight: 700;
  color: #40c0b0;
  margin-bottom: 14px;
}

.hero__sub {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.65;
  margin-bottom: 30px;
}

/* Boîte offre tarifaire */
.offer-box {
  background: linear-gradient(135deg, #ff3d9a 0%, #C91E3C 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 24px 32px;
  display: inline-block;
  box-shadow: 0 12px 36px rgba(255,61,154,.45);
  text-align: center;
  max-width: 360px;
}

.offer-box__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #ffffff;
  opacity: .95;
  margin-bottom: 10px;
}

.offer-box__price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.offer-box__amount {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.offer-box__period {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  margin-bottom: 4px;
  color: rgba(255,255,255,.9);
}

.offer-box__desc {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #ffffff;
  opacity: .95;
  margin-bottom: 10px;
  line-height: 1.45;
}

.offer-box__noengagement {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  opacity: .9;
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 10px;
}

.offer-box__cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 26px;
  background: rgba(255,255,255,.22);
  color: #ffffff;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.5);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.offer-box__cta:hover {
  background: rgba(255,255,255,.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  color: #ffffff;
  text-decoration: none;
}

/* Grille animaux */
.hero__animals {
  flex: 0 0 440px;
  position: relative;
}

.animals-grid {
  position: relative;
  width: 440px;
  height: 400px;
}

.animal {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.18);
  border: 5px solid #ffffff;
  transition: transform .3s ease;
}
.animal:hover { transform: scale(1.06) rotate(-2deg); }

.animal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.animal--dog    { width: 220px; height: 220px; top: 20px;    left: 60px;  border-color: #ffb347; z-index: 3; }
.animal--cat    { width: 200px; height: 200px; top: 10px;    right: 0;    border-color: #ff6eb4; z-index: 2; }
.animal--rabbit { width: 165px; height: 165px; bottom: 30px; right: 30px; border-color: #ffd700; z-index: 2; }
.animal--turtle { width: 140px; height: 140px; bottom: 20px; left: 20px;  border-color: #40e0d0; z-index: 1; }

/* ===== FEATURES ===== */
.features {
  background: #ffffff;
  padding: 48px 0;
  border-top: 1px solid #f5e6f5;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  text-align: center;
  padding: 24px 16px;
}

.feature__icon {
  font-size: 1.8rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature__icon--pink   { background: #ffe0ef; }
.feature__icon--teal   { background: #ccfaf3; }
.feature__icon--yellow { background: #fff8cc; }
.feature__icon--purple { background: #ede9fe; }

.feature h3 {
  font-size: 0.97rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.83rem;
  color: #777777;
  line-height: 1.55;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 40px 24px 24px;
  background: linear-gradient(160deg, #fff5fb 0%, #f0fffe 100%);
}

.cta-section__sub {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #888888;
  font-weight: 600;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  background: #ffffff;
  padding: 32px 0 48px;
  text-align: center;
}

.social-proof__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.social-proof__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: #aaaaaa;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.social-proof__stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat__icon { font-size: 1.7rem; }

.stat__number {
  font-size: 1.4rem;
  font-weight: 900;
  color: #1a1a1a;
}

.stat__desc {
  font-size: 0.8rem;
  color: #888888;
  font-weight: 600;
}

.social-proof__mention {
  margin-top: 16px;
  font-size: 0.72rem;
  color: #bbbbbb;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  text-decoration: none;
  color: inherit;
}

.footer__logo-text .logo__top    { color: #fb923c; font-size: 0.72rem; font-weight: 700; }
.footer__logo-text .logo__bottom { color: #fb923c; font-size: 1rem;    font-weight: 900; }

.footer__tagline {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.65;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #94a3b8;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.footer__social-link:hover {
  background: #E8264A;
  color: #ffffff;
  transform: translateY(-3px);
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f1f5f9;
  margin-bottom: 18px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.84rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color .18s, padding-left .18s;
}
.footer__links a:hover { color: #E8264A; padding-left: 4px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer__bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color .18s;
}
.footer__bottom-links a:hover { color: #E8264A; }
.footer__bottom-links span { color: #334155; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav              { display: none; }
  .header__actions  { display: none; }
  .burger           { display: flex; }
  .logo             { margin-right: 0; }

  .hero__inner      { flex-direction: column; text-align: center; padding-bottom: 40px; }
  .hero__animals    { order: -1; }
  .animals-grid     { width: 320px; height: 300px; }
  .animal--dog      { width: 160px; height: 160px; top: 15px; left: 40px; }
  .animal--cat      { width: 148px; height: 148px; top: 8px;  right: 0;   }
  .animal--rabbit   { width: 118px; height: 118px; bottom: 20px; right: 20px; }
  .animal--turtle   { width: 100px; height: 100px; bottom: 10px; left: 10px;  }

  .features__grid   { grid-template-columns: repeat(2, 1fr); }

  .footer__inner    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand    { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .animals-grid     { width: 280px; height: 260px; }
  .animal--dog      { width: 136px; height: 136px; top: 10px; left: 30px; }
  .animal--cat      { width: 122px; height: 122px; top: 5px;  right: 0;   }
  .animal--rabbit   { width: 98px;  height: 98px;  bottom: 15px; right: 15px; }
  .animal--turtle   { width: 82px;  height: 82px;  bottom: 10px; left: 5px;   }

  .offer-box        { max-width: 100%; }
  .hero__title      { font-size: 2rem; }

  .features__grid   { grid-template-columns: 1fr 1fr; gap: 12px; }

  .social-proof__stats { gap: 24px; }

  .footer__inner    { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-links { flex-wrap: wrap; justify-content: center; }

  .btn--cta         { font-size: 1rem; padding: 15px 30px; }
}
