/* La Case A Kat | lacaseakat.fr */
/* SPECIAL DESIGN: Comic book / BD themed - Bold colorful pop art style */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Nunito:wght@700;800;900&family=Comic+Neue:wght@400;700&display=swap');

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

:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --yellow: #fbbf24;
  --yellow-dark: #f59e0b;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --black: #111111;
  --dark: #1a1a1a;
  --white: #ffffff;
  --bg: #fff9f0;
  --panel-bg: #fffdf7;
  --font-display: 'Bangers', 'Impact', sans-serif;
  --font-heading: 'Nunito', 'Arial Black', sans-serif;
  --font-body: 'Comic Neue', 'Comic Sans MS', cursive;
  --border: 3px solid var(--black);
  --border-heavy: 5px solid var(--black);
  --shadow: 5px 5px 0 var(--black);
  --shadow-red: 5px 5px 0 var(--red);
  --shadow-blue: 5px 5px 0 var(--blue);
  --shadow-yellow: 5px 5px 0 var(--yellow);
  --transition: 0.2s ease;
  --max-width: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: 0.04em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); text-transform: uppercase; }
h4 { font-size: 1.2rem; text-transform: uppercase; }
p { margin-bottom: 1.2em; color: var(--dark); font-size: 1rem; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
strong { color: var(--black); font-weight: 900; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }

/* HALFTONE EFFECT */
.halftone-bg {
  background-image: radial-gradient(circle, rgba(220,38,38,0.08) 1px, transparent 1px);
  background-size: 12px 12px;
}

/* SPEECH BUBBLE */
.speech-bubble {
  position: relative;
  background: var(--yellow);
  border: var(--border-heavy);
  padding: 1.5rem 2rem;
  display: inline-block;
  border-radius: 0;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 0px solid transparent;
  border-top: 20px solid var(--black);
}
.speech-bubble.right::after { left: auto; right: 30px; }
.speech-bubble.blue { background: var(--blue); color: var(--white); }
.speech-bubble.red { background: var(--red); color: var(--white); }
.speech-bubble.white { background: var(--white); }

/* PANEL BORDERS (comic panel look) */
.panel {
  border: var(--border-heavy);
  background: var(--panel-bg);
}

/* ACTION WORD */
.action-word {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--black);
  text-shadow: 4px 4px 0 var(--black);
  display: inline-block;
  transform: rotate(-3deg);
  letter-spacing: 0.06em;
}

/* HEADER */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--yellow);
  border-bottom: var(--border-heavy);
  box-shadow: 0 4px 0 var(--black);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-menu li { border-left: 3px solid var(--black); }
.nav-menu li:first-child { border-left: none; }
.nav-menu a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0.5rem 1.2rem;
  display: block;
  transition: all var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { background: var(--red); color: var(--white); }
.nav-cta {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--red);
  color: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.nav-cta:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--black); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 28px; height: 3px; background: var(--black); }

/* HERO */
.hero {
  position: relative;
  height: 100vh; min-height: 650px;
  display: flex; align-items: center;
  background-image: url('/images/hero-bd.jpg');
  background-size: cover; background-position: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(17,17,17,0.8); }
.hero-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  display: block;
}
.hero h1 { color: var(--white); margin-bottom: 0.5rem; text-shadow: 4px 4px 0 var(--red); }
.hero h1 span { color: var(--yellow); }
.hero p { font-size: 1.1rem; max-width: 560px; color: var(--bg); margin-bottom: 2rem; font-family: var(--font-heading); font-weight: 700; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  transition: all var(--transition);
  cursor: pointer;
  border: var(--border);
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0 var(--black); background: var(--red-dark); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: var(--shadow); }
.btn-yellow:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0 var(--black); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.btn-blue:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0 var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); box-shadow: var(--shadow); }
.btn-outline:hover { background: var(--black); color: var(--white); transform: translate(-4px, -4px); }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll a { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); border: 2px solid var(--yellow); padding: 0.4rem 1rem; }

/* INTRO */
.intro-section { background: var(--white); border-bottom: var(--border-heavy); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-label { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 0.8rem; }
.intro-text h2 { margin-bottom: 1.5rem; color: var(--black); }
.intro-text p { color: var(--dark); font-size: 1rem; }
.intro-image { border: var(--border-heavy); box-shadow: var(--shadow); }
.intro-image img { width: 100%; height: 500px; object-fit: cover; display: block; }
.stats-row { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: var(--border); flex-wrap: wrap; }
.stat-number { font-family: var(--font-display); font-size: 3rem; color: var(--red); display: block; line-height: 1; }
.stat-label { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark); }

/* BANNER */
.banner-section {
  position: relative; padding: 8rem 0;
  background-image: url('/images/bd-selection.jpg');
  background-size: cover; background-position: center;
}
.banner-overlay { position: absolute; inset: 0; background: rgba(17,17,17,0.82); }
.banner-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; text-align: center; }
.banner-content h2 { color: var(--white); margin-bottom: 1rem; text-shadow: 4px 4px 0 var(--red); }
.banner-content p { color: var(--bg); max-width: 600px; margin: 0 auto 2rem; font-family: var(--font-heading); font-weight: 700; }

/* SERVICES / FEATURES */
.features-section { background: var(--bg); border-bottom: var(--border-heavy); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { color: var(--black); margin-bottom: 1rem; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--dark); font-family: var(--font-heading); font-weight: 700; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
  background: var(--white);
  border: var(--border-heavy);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--red); }
.feature-card:nth-child(2)::before { background: var(--yellow); }
.feature-card:nth-child(3)::before { background: var(--blue); }
.feature-card:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0 var(--black); }
.feature-number { font-family: var(--font-display); font-size: 4rem; color: rgba(0,0,0,0.06); line-height: 1; display: block; margin-bottom: -1rem; }
.feature-card h3 { color: var(--black); margin-bottom: 1rem; font-size: 1.4rem; }
.feature-card p { font-size: 0.95rem; color: var(--dark); }

/* PRODUCTS / CATALOGUE GRID */
.catalogue-section { background: var(--yellow); border-top: var(--border-heavy); border-bottom: var(--border-heavy); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--black); }
.product-card { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--white); }
.product-card.large { grid-column: span 2; aspect-ratio: auto; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover img { transform: scale(1.06); }
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.1) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; opacity: 0; transition: opacity var(--transition);
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay h3 { color: var(--yellow); margin-bottom: 0.3rem; font-size: 1.3rem; }
.product-card-overlay span { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; color: var(--white); }

/* CTA */
.cta-section { background: var(--white); border-bottom: var(--border-heavy); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta-image { border: var(--border-heavy); box-shadow: var(--shadow-red); }
.cta-image img { width: 100%; height: 480px; object-fit: cover; display: block; }
.cta-content { padding: 1rem 0; }
.cta-content h2 { margin-bottom: 1.5rem; }
.cta-content p { margin-bottom: 1.5rem; color: var(--dark); font-family: var(--font-heading); font-weight: 700; }

/* BLOG */
.blog-section { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card {
  background: var(--white);
  border: var(--border-heavy);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0 var(--black); }
.blog-card-img { overflow: hidden; aspect-ratio: 16/10; border-bottom: var(--border); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.blog-card h3 a { color: var(--black); }
.blog-card h3 a:hover { color: var(--red); }
.blog-card p { font-size: 0.9rem; color: var(--dark); margin-bottom: 1rem; }
.read-more { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); background: var(--blue); padding: 0.3rem 0.8rem; border: 2px solid var(--black); display: inline-block; transition: all var(--transition); }
.read-more:hover { background: var(--red); color: var(--white); }

/* ARTICLE */
.article-hero { position: relative; height: 500px; display: flex; align-items: flex-end; }
.article-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.4) 100%); }
.article-hero-content { position: relative; z-index: 2; padding: 3rem 2rem; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.article-hero-meta { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 3.5rem); max-width: 780px; color: var(--white); text-shadow: 3px 3px 0 var(--red); }
.article-body { max-width: 820px; margin: 0 auto; padding: 4rem 2rem; }
.article-body h2 { font-size: 2rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.article-body p { color: var(--dark); margin-bottom: 1.5rem; line-height: 1.85; font-size: 1rem; }
.article-body a { color: var(--blue); border-bottom: 2px solid rgba(59,130,246,0.3); font-weight: 700; }
.article-body a:hover { color: var(--red); border-bottom-color: var(--red); }
.article-img { width: 100%; margin: 2.5rem 0; border: var(--border-heavy); box-shadow: var(--shadow); }
.article-img img { width: 100%; height: 400px; object-fit: cover; display: block; }

/* PAGE HERO */
.page-hero {
  padding: 9rem 0 4rem;
  background: var(--red);
  border-bottom: var(--border-heavy);
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 15px 15px; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; text-shadow: 4px 4px 0 var(--black); }
.page-hero p { max-width: 560px; color: var(--bg); font-family: var(--font-heading); font-weight: 700; }
.breadcrumb { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--yellow); margin-bottom: 1rem; }
.breadcrumb a { color: var(--yellow); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.7; }

/* BLOG INDEX */
.blog-index-hero { padding: 9rem 0 4rem; background: var(--blue); border-bottom: var(--border-heavy); position: relative; overflow: hidden; }
.blog-index-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 15px 15px; }
.blog-index-hero h1 { color: var(--white); text-shadow: 4px 4px 0 var(--black); }
.blog-index-hero p { color: var(--bg); font-family: var(--font-heading); font-weight: 700; max-width: 560px; }
.blog-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* CONTACT */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-star { font-family: var(--font-display); font-size: 1.5rem; color: var(--red); flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg);
  border: var(--border);
  color: var(--black);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* SITEMAP */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.sitemap-col h3 { font-size: 1.2rem; color: var(--black); margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: var(--border); }
.sitemap-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.sitemap-col ul li a { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--blue); }
.sitemap-col ul li a:hover { color: var(--red); }

/* 404 */
.error-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--bg); }
.error-code { font-family: var(--font-display); font-size: clamp(8rem, 20vw, 15rem); color: var(--red); line-height: 1; display: block; -webkit-text-stroke: 4px var(--black); text-shadow: 8px 8px 0 var(--yellow); }
.error-section h2 { color: var(--black); margin-bottom: 1rem; }
.error-section p { color: var(--dark); margin-bottom: 2rem; font-family: var(--font-heading); font-weight: 700; }

/* FOOTER */
footer { background: var(--black); padding: 4rem 0 2rem; border-top: var(--border-heavy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 42px; margin-bottom: 1.2rem; display: block; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,249,240,0.7); line-height: 1.7; font-family: var(--font-heading); font-weight: 700; }
.footer-col h4 { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-family: var(--font-heading); font-size: 0.87rem; font-weight: 700; color: rgba(255,249,240,0.6); }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 2px solid rgba(255,249,240,0.12); font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; color: rgba(255,249,240,0.4); }

/* ZAP / POP decorative text */
.zap { font-family: var(--font-display); font-size: 1.5rem; color: var(--yellow); -webkit-text-stroke: 2px var(--black); display: inline-block; transform: rotate(-5deg); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .intro-grid, .cta-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.large { grid-column: span 1; }
  .features-grid, .blog-grid, .blog-grid-full { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: fixed; top: 73px; left: 0; right: 0; background: var(--yellow); flex-direction: column; border-bottom: var(--border-heavy); }
  .nav-menu li { border-left: none; border-top: 2px solid var(--black); }
  .nav-menu.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .features-grid, .blog-grid, .blog-grid-full { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .stats-row { flex-wrap: wrap; gap: 1.5rem; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
