/* Lézards Cyniques — grille suisse + polaroïds, noir / blanc / rouge */
:root {
  --noir: #111111;
  --rouge: #e51c30;
  --rouge-fonce: #c01324;
  --blanc: #ffffff;
  --papier: #faf9f6;
  --gris: #555;
  --gris-clair: #999;
  --filet: #ddd;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Helvetica Neue", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--papier); color: var(--noir); line-height: 1.5;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
p { margin-bottom: 1rem; }
a { color: var(--rouge-fonce); }
em { color: var(--rouge); font-style: normal; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 3rem; border-bottom: 3px solid var(--noir); background: var(--blanc); flex-wrap: wrap; gap: 0.6rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; display: block; }
.brand-txt { font-family: Georgia, serif; font-weight: bold; font-size: 1.15rem; color: var(--noir); }
.brand-txt em { color: var(--rouge); }
.links { display: flex; align-items: center; flex-wrap: wrap; }
.links a { color: var(--noir); text-decoration: none; font-size: 0.8rem; font-weight: 600; margin-left: 1.3rem; }
.links a:hover { color: var(--rouge); }
.links .cta { background: var(--noir); color: var(--blanc); padding: 0.4rem 0.95rem; }
.links .cta:hover { background: var(--rouge); color: var(--blanc); }

/* Hero */
.hero { padding: 4rem 3rem 3rem; border-bottom: 1px solid var(--noir); }
.hero .kicker { font-size: 0.8rem; font-weight: 700; color: var(--rouge); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 1rem; }
.hero p { max-width: 460px; color: var(--gris); font-size: 0.98rem; margin-bottom: 0; }

/* Sections */
section { max-width: 1200px; margin: 0 auto; padding: 2.5rem 3rem; }
h2 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; border-bottom: 1px solid var(--noir); padding-bottom: 0.5rem; }
h2 span { color: var(--rouge); }
.subnote { font-size: 0.78rem; color: var(--gris-clair); margin: 0.5rem 0 1.6rem; }

/* Polaroïds */
.table { display: flex; flex-wrap: wrap; gap: 1.7rem 1.4rem; margin-top: 1.8rem; align-items: flex-start; }
.pol {
  background: var(--blanc); padding: 12px 12px 0; width: 228px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 12px 26px rgba(0, 0, 0, 0.12);
  text-decoration: none; display: block; position: relative;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pol:nth-child(3n+1) { --r: -2.2deg; }
.pol:nth-child(3n+2) { --r: 1.4deg; }
.pol:nth-child(3n)   { --r: -0.8deg; }
.pol:hover { transform: rotate(0deg) scale(1.06); z-index: 5; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 22px 44px rgba(0, 0, 0, 0.22); }
.pol::before {
  content: ""; position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 74px; height: 22px; background: rgba(229, 28, 48, 0.16);
  border-left: 1px dashed rgba(0, 0, 0, 0.08); border-right: 1px dashed rgba(0, 0, 0, 0.08);
}
.pol .ph { background: var(--noir); aspect-ratio: 1/1; overflow: hidden; }
.pol .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.pol:hover .ph img { transform: scale(1.05); }
.pol .ph.no-photo { display: flex; align-items: center; justify-content: center; padding: 1.1rem; text-align: center; background: #161618; position: relative; }
.pol .ph.no-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(229, 28, 48, 0.25), transparent 55%);
}
.pol .ph.no-photo span { color: var(--papier); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.pol .legende { height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; padding: 0 0.4rem; }
.pol .legende h3 { font-size: 1.02rem; font-weight: 700; color: var(--noir); }
.pol:hover .legende h3 { color: var(--rouge); }
.pol .legende span { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gris-clair); }
.pol .legende span.red { color: var(--rouge); }

/* Actus */
.actus-strip { padding-top: 2.6rem; }
.actus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.actus-item { background: var(--blanc); border-left: 4px solid var(--rouge); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07); }
.actus-item h3 { font-size: 1.05rem; }
.actus-item p { margin: 0.3rem 0 0; font-size: 0.93rem; color: #4a483f; }

/* Pages détail */
.page-hero { background: var(--blanc); border-bottom: 1px solid var(--noir); padding: 2.8rem 3rem 2.2rem; }
.page-hero .inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; margin: 0.5rem 0 0.6rem; }
.page-hero .badge { margin-right: 0.35rem; }
.page-hero-img { max-width: 760px; width: 100%; border-radius: 6px; display: block; margin: 1.4rem auto 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.badge { display: inline-block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 999px; padding: 0.22rem 0.75rem; background: var(--rouge); color: var(--blanc); }
.badge.archive { background: transparent; color: var(--gris-clair); border: 1.5px solid #ccc; }
.content { max-width: 760px; margin: 0 auto; padding: 2.4rem 1.5rem 2.6rem; font-size: 1.02rem; }
.content h2 { margin-top: 1.9rem; font-size: 1.4rem; text-transform: none; letter-spacing: -0.01em; border-bottom: none; padding-bottom: 0; }
.ext-link { margin-top: 1.5rem; }
.ext-link a { font-weight: 700; }
blockquote { border-left: 3px solid var(--rouge); padding: 0.6rem 1.1rem; margin: 1.2rem 0; background: var(--blanc); border-radius: 0 10px 10px 0; font-style: italic; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem; margin: 1.5rem 0; }
.gallery img { width: 100%; border-radius: 4px; }
.equipe-box { background: var(--blanc); border-radius: 10px; padding: 1.4rem 1.7rem; margin-top: 1.8rem; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07); }
.equipe { list-style: none; }
.equipe li { padding: 0.5rem 0; border-bottom: 1px solid #eee; font-size: 0.97rem; }
.equipe li:last-child { border-bottom: none; }

/* En ce moment (Karin) */
.encours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin: 1.6rem 0; }
.encours-item { background: var(--blanc); border: 1px solid #e8e6e1; border-radius: 12px; padding: 1.4rem 1.5rem; text-decoration: none; color: var(--noir); display: flex; flex-direction: column; gap: 0.4rem; transition: transform 0.18s, box-shadow 0.18s; }
.encours-item:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12); }
.encours-item h3 { font-size: 1.1rem; }
.encours-item h3::before { content: "● "; color: var(--rouge); }
.encours-item p { font-size: 0.92rem; color: #4a4a4e; margin: 0; }
.encours-item .plus { color: var(--rouge); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Vidéo + carte */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-embeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.1rem; margin: 1.5rem 0; }

/* Audio */
.audio-wrap { margin: 1.4rem 0 1.6rem; background: var(--blanc); border-radius: 10px; padding: 1.1rem 1.3rem; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07); }
.audio-wrap audio { width: 100%; }
.audio-legend { font-size: 0.78rem; color: var(--gris-clair); margin: 0.5rem 0 0; text-transform: uppercase; letter-spacing: 0.08em; }

/* PDF / presse */
.pdf-links { margin: 1.2rem 0; }
.pdf-btn { display: inline-block; }
.press-list { display: flex; flex-direction: column; gap: 0.6rem; }
.press-dl { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--papier); border: 1px solid var(--filet); border-radius: 8px; padding: 0.7rem 1rem; text-decoration: none; color: var(--noir); font-size: 0.94rem; font-weight: 600; }
.press-dl:hover { border-color: var(--rouge); color: var(--rouge-fonce); }
.pdf-tag { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; background: var(--noir); color: var(--blanc); border-radius: 999px; padding: 0.18rem 0.6rem; white-space: nowrap; }
.press-block { background: var(--blanc); border-radius: 10px; padding: 1.3rem 1.6rem; margin-top: 1.3rem; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07); }
.press-block h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.press-block h3 a { text-decoration: none; color: var(--noir); }
.press-block h3 a:hover { color: var(--rouge); }
.press-block .mentions { font-size: 0.85rem; color: var(--gris); margin: 0.7rem 0 0; }
.page-hero-plain { max-width: 1200px; margin: 0 auto; padding: 2.2rem 3rem 0; }
.page-hero-plain h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; }

/* Partenaires */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.partner { background: var(--blanc); border: 1px solid #eceae4; border-radius: 10px; padding: 1.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; text-decoration: none; color: var(--gris); text-align: center; min-height: 170px; font-size: 0.88rem; }
.partner:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13); }
.partner img { max-height: 90px; max-width: 100%; object-fit: contain; }

/* Contact */
.contact-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin: 1.5rem 0 2rem; }
.contact-box { background: var(--blanc); border-radius: 10px; padding: 1.6rem; text-align: center; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07); border-top: 3px solid var(--rouge); }
.map { margin-top: 1rem; }

/* A propos */
.apropos { text-align: center; }
.apropos p { max-width: 680px; margin: 0 auto 1.4rem; }
.logo-panel { max-width: 520px; width: 100%; border-radius: 10px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14); margin: 0 auto 2rem; display: block; }
.hero-logo { max-width: 500px; width: 100%; border-radius: 8px; display: block; margin: 0 auto 1.4rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }

/* Footer */
footer { border-top: 3px solid var(--noir); background: var(--blanc); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2.2rem 3rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
footer h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
footer h4 em { color: var(--rouge); }
footer p { font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--gris); }
footer a { color: var(--rouge-fonce); text-decoration: none; }
footer a:hover { color: var(--rouge); }
.copyright { text-align: center; padding: 1rem; font-size: 0.75rem; color: var(--gris-clair); border-top: 1px solid var(--filet); }

@media (max-width: 760px) {
  .nav, .hero, section, .footer-inner { padding-left: 1.2rem; padding-right: 1.2rem; }
  .table { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
}
