@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Inter:wght@400;600;700;900&display=swap');

:root {
  --blue: #0646d9;
  --deep-blue: #062b8f;
  --yellow: #ffd43b;
  --red: #e8292f;
  --cream: #fff3d5;
  --dark: #101018;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
}

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

/* ========== HERO SECTION ========== */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(135deg, rgba(6,70,217,.95), rgba(6,43,143,.98)),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,.08) 20px 22px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle, rgba(255,212,59,.55) 0 2px, transparent 3px),
    radial-gradient(circle at center, transparent 0 10%, rgba(0,0,0,.15) 70%);
  background-size: 26px 26px, cover;
  opacity: .35;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 90px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 212, 59, .18);
  border: 18px solid rgba(255,255,255,.08);
}

.nav {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Bangers", cursive;
  font-size: 2.8rem;
  letter-spacing: 2px;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--red), 7px 7px 0 rgba(0,0,0,.35);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .85rem;
}

.nav-links a:hover { color: var(--yellow); }

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 70px auto 0;
  padding: 0 24px 70px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 8px 14px;
  border: 3px solid var(--dark);
  box-shadow: 5px 5px 0 var(--red);
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-1deg);
  margin-bottom: 22px;
}

.badge.red {
  background: var(--red);
  color: white;
  box-shadow: 5px 5px 0 var(--yellow);
}

h1, h2 {
  font-family: "Bangers", cursive;
  letter-spacing: 2px;
  line-height: 1.1;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7rem);
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--red), 10px 10px 0 rgba(0,0,0,.28);
  margin-bottom: 26px;
}

.hero-text p {
  max-width: 690px;
  font-size: 1.13rem;
  color: #fff6d7;
  font-weight: 600;
  margin-bottom: 16px;
}

.actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-photo {
  background: var(--yellow);
  padding: 8px;
  border: 5px solid var(--dark);
  border-radius: 22px;
  transform: rotate(1deg);
  box-shadow: 12px 12px 0 rgba(0,0,0,.28);
  width: min(100%, 620px);
  justify-self: end;
}

.hero-photo img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 3px solid white;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 900;
  text-transform: uppercase;
  border: 3px solid var(--dark);
  box-shadow: 6px 6px 0 rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(0,0,0,.35);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}

.btn-outline {
  background: white;
  color: var(--deep-blue);
}

/* ======================================================
   MAIN — bande diagonale séparatrice après le hero
   ====================================================== */

main {
  background: var(--cream);
  position: relative;
}

main::before {
  content: "";
  display: block;
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, var(--deep-blue) 49.5%, var(--cream) 50%);
}

/* ======================================================
   SECTION BASE — layout centré, pas de border-left générique
   ====================================================== */

.section {
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Numéro décoratif en arrière-plan */
.section::before {
  font-family: "Bangers", cursive;
  font-size: 22rem;
  font-weight: 400;
  position: absolute;
  top: -40px;
  right: -20px;
  opacity: 0.045;
  color: var(--dark);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

#cartes::before { content: "01"; }
#rachat::before { content: "02"; }
#boutique::before { content: "03"; }

.section h2 {
  font-family: "Bangers", cursive;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: 2px;
  line-height: 1.05;
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 36px;
}

.section p {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.85;
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 18px;
}

/* ======================================================
   #CARTES — fond crème + accent bleu
   ====================================================== */

#cartes {
  background: var(--cream);
}

#cartes h2 {
  color: var(--deep-blue);
  text-shadow: 4px 4px 0 var(--yellow), 7px 7px 0 rgba(0,0,0,.12);
}

#cartes h2::after {
  content: "";
  display: block;
  height: 5px;
  background: var(--blue);
  margin-top: 10px;
  border-radius: 3px;
  width: 70%;
  box-shadow: 4px 4px 0 var(--yellow);
}

#cartes p {
  color: var(--dark);
}

/* Highlight box */
#cartes .highlight-strip {
  background: var(--blue);
  color: white;
  border: 4px solid var(--dark);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--yellow);
  padding: 28px 34px;
  margin-top: 32px;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
}

#cartes .highlight-strip::before {
  content: "★";
  font-size: 2.6rem;
  color: var(--yellow);
  flex-shrink: 0;
  text-shadow: 2px 2px 0 var(--red);
}

/* ======================================================
   #RACHAT — fond sombre comicbook
   ====================================================== */

#rachat {
  background:
    linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  color: white;
  border-top: 6px solid var(--yellow);
  border-bottom: 6px solid var(--red);
}

#rachat::before { color: white; opacity: 0.04; }

#rachat h2 {
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--red), 9px 9px 0 rgba(0,0,0,.4);
}

#rachat > .section-inner > p {
  color: #e0d8c8;
  font-size: 1.1rem;
  margin-bottom: 36px;
}

/* Cards rachat */
#rachat ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

#rachat ul li {
  background: linear-gradient(145deg, #114ef0, #062b8f);
  border: 4px solid white;
  border-radius: 20px;
  box-shadow: 7px 7px 0 var(--red);
  padding: 28px 22px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: default;
}

#rachat ul li:hover {
  transform: translate(-4px, -4px);
  box-shadow: 11px 11px 0 var(--red);
}

#rachat ul li::before {
  font-family: "Bangers", cursive;
  font-size: 2.8rem;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--red);
  line-height: 1;
}

#rachat ul li:nth-child(1)::before { content: "01"; }
#rachat ul li:nth-child(2)::before { content: "02"; }
#rachat ul li:nth-child(3)::before { content: "03"; }

#rachat .process-block {
  margin-top: 36px;
  max-width: 860px;
  background: rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.22);
  border-radius: 22px;
  padding: 28px 32px;
  position: relative;
  z-index: 1;
}

#rachat .process-block h3,
#faq .faq-list h3 {
  font-family: "Bangers", cursive;
  letter-spacing: 1.5px;
  line-height: 1.1;
}

#rachat .process-block h3 {
  color: var(--yellow);
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 3px 3px 0 var(--red);
}

#rachat .process-block ol {
  margin-left: 24px;
  display: grid;
  gap: 12px;
}

#rachat .process-block li {
  color: #fff6d7;
  font-weight: 700;
  line-height: 1.7;
}

#rachat .rachat-cta {
  margin-top: 38px;
  background: var(--cream);
  border: 4px solid var(--dark);
  border-radius: 22px;
  padding: 28px 34px;
  box-shadow: 8px 8px 0 var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

#rachat .rachat-cta p {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  max-width: 100%;
}

/* ======================================================
   #BOUTIQUE — fond blanc cassé + accent rouge
   ====================================================== */

#boutique {
  background: var(--white);
}

#boutique h2 {
  color: var(--red);
  text-shadow: 4px 4px 0 var(--yellow), 7px 7px 0 rgba(0,0,0,.1);
}

#boutique h2::after {
  content: "";
  display: block;
  height: 5px;
  background: var(--red);
  margin-top: 10px;
  border-radius: 3px;
  width: 55%;
  box-shadow: 4px 4px 0 var(--dark);
}

#boutique p { color: var(--dark); }

/* Carte adresse */
#boutique .address-card {
  margin-top: 36px;
  background: var(--cream);
  border: 5px solid var(--dark);
  border-radius: 26px;
  box-shadow: 10px 10px 0 var(--red);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 860px;
  position: relative;
  z-index: 1;
}

#boutique .address-card .addr-label {
  font-family: "Bangers", cursive;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

#boutique .address-card .addr-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
}

#boutique .address-card .addr-sep {
  grid-column: 1 / -1;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--dark) 0 12px, transparent 12px 20px);
  opacity: .25;
  margin: 4px 0;
}

/* Map Google */
#boutique .map-wrapper {
  margin-top: 32px;
  border: 5px solid var(--dark);
  border-radius: 26px;
  box-shadow: 10px 10px 0 var(--blue);
  overflow: hidden;
  max-width: 860px;
  position: relative;
  z-index: 1;
}

#boutique .map-wrapper iframe {
  display: block;
  width: 100%;
}

/* Produits scellés chips */
#boutique .tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

#boutique .tags span {
  background: var(--blue);
  color: white;
  font-weight: 900;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border: 3px solid var(--dark);
  border-radius: 50px;
  box-shadow: 4px 4px 0 var(--dark);
  transition: transform .15s, box-shadow .15s;
}

#boutique .tags span:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--dark);
}

/* ======================================================
   #FAQ — contenu SEO local utile
   ====================================================== */

#faq {
  background: var(--cream);
}

#faq::before { content: "04"; }

#faq h2 {
  color: var(--deep-blue);
  text-shadow: 4px 4px 0 var(--yellow), 7px 7px 0 rgba(0,0,0,.12);
}

#faq h2::after {
  content: "";
  display: block;
  height: 5px;
  background: var(--blue);
  margin-top: 10px;
  border-radius: 3px;
  width: 55%;
  box-shadow: 4px 4px 0 var(--red);
}

#faq .faq-list {
  display: grid;
  gap: 20px;
  max-width: 920px;
  position: relative;
  z-index: 1;
}

#faq .faq-list article {
  background: var(--white);
  border: 4px solid var(--dark);
  border-radius: 20px;
  box-shadow: 7px 7px 0 var(--yellow);
  padding: 26px 30px;
}

#faq .faq-list h3 {
  color: var(--red);
  font-size: 1.7rem;
  margin-bottom: 10px;
}

#faq .faq-list p {
  margin: 0;
  max-width: 100%;
}

/* ======================================================
   #CONTACT — fond bleu foncé dramatique
   ====================================================== */

#contact {
  background:
    linear-gradient(135deg, var(--deep-blue) 0%, #0a3abf 100%),
    repeating-linear-gradient(45deg, transparent 0 30px, rgba(255,255,255,.03) 30px 32px);
  color: white;
  border-top: 6px solid var(--yellow);
  overflow: hidden;
}

/* Pokéball décorative */
#contact::after {
  content: "";
  position: absolute;
  bottom: -140px;
  right: -140px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 40px solid rgba(255,212,59,.12);
  pointer-events: none;
}

#contact::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 28px solid rgba(255,255,255,.05);
  pointer-events: none;
}

#contact .section-inner {
  position: relative;
  z-index: 1;
}

#contact h2 {
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--red);
}

#contact h2::after {
  content: "";
  display: block;
  height: 5px;
  background: var(--yellow);
  margin-top: 10px;
  border-radius: 3px;
  width: 40%;
  box-shadow: 4px 4px 0 var(--red);
}

/* Contact infos en cartes horizontales */
#contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

#contact .contact-card {
  background: rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}

#contact .contact-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
}

#contact .contact-card .cc-label {
  font-family: "Bangers", cursive;
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
}

#contact .contact-card .cc-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  line-height: 1.5;
}

#contact .btn {
  border-color: var(--dark);
}

/* ======================================================
   FOOTER
   ====================================================== */

footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 32px 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: .9rem;
  font-weight: 600;
  border-top: 5px solid var(--yellow);
}

footer strong { color: var(--yellow); }

footer .footer-logo {
  font-family: "Bangers", cursive;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--red);
}

footer .footer-sep {
  color: rgba(255,255,255,.2);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 860px) {
  .nav-links { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-photo {
    transform: rotate(0);
    width: 100%;
    justify-self: stretch;
  }

  .logo { font-size: 2.3rem; }

  .section { padding: 64px 20px; }

  .section::before { font-size: 12rem; opacity: 0.04; }

  #rachat ul {
    grid-template-columns: 1fr;
  }

  #boutique .address-card {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  #contact .contact-grid {
    grid-template-columns: 1fr;
  }

  main::before { height: 36px; }
}
