/* ================================================================
   PNEUS PERFORMANCE — design « affiche Profil Plus »
   Charte 2025 : cyclamen dominant en aplat, boucles-rubans ton sur ton,
   Exo Extra Bold Italique MAJUSCULES, barres obliques du logotype,
   pastilles rondes (dates), pilules (CTA), pictos filaires.
================================================================== */
:root {
  --cyclamen: #d2005a;
  --cyclamen-dark: #a80342;
  --cyclamen-deep: #8c0237;
  --cyclamen-light: #e8407f;
  --ultramarine: #0f4196;
  --ultramarine-dark: #0a2f6e;
  --anthracite: #3f4b4b;
  --anthracite-dark: #2b3333;
  --ciel: #86c2eb;
  --bg: #ffffff;
  --bg-soft: #f4f5f8;
  --text: #22303c;
  --radius: 18px;
  --skew: -2.5deg;            /* angle des barres du logotype */
  --shadow: 0 10px 30px rgba(43, 51, 51, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Exo", "Arial", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--ultramarine); }

/* Titres façon affiches : extra bold italique majuscules */
.display {
  font-weight: 800; font-style: italic; text-transform: uppercase;
  line-height: 1.02; letter-spacing: .005em;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- animations d'entrée (hero) ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise   { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
.rise-1 { animation-delay: .05s; }
.rise-2 { animation-delay: .18s; }
.rise-3 { animation-delay: .32s; }
.rise-4 { animation-delay: .46s; }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.10);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 22px; flex-wrap: wrap;
}
.brand img { height: 42px; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.main-nav a {
  position: relative;
  text-decoration: none; font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: .95rem; color: var(--ultramarine);
  padding: 4px 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; background: var(--cyclamen);
  transform: skewX(-20deg);
  transition: right .22s ease;
}
.main-nav a:not(.btn):hover::after { right: 0; }
.main-nav a:not(.btn):hover { color: var(--cyclamen); }

/* ================= BOUTONS ================= */
.btn {
  display: inline-block; padding: 13px 30px; border: 0; cursor: pointer;
  border-radius: 999px; font-family: inherit; font-weight: 800;
  font-style: italic; font-size: 1.02rem; text-transform: uppercase;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow); }
.btn-cyclamen { background: var(--cyclamen); color: #fff !important; }
.btn-blue { background: var(--ultramarine); color: #fff !important; }
.btn-white { background: #fff; color: var(--ultramarine) !important; }
.btn-danger { background: #fff; color: var(--cyclamen-dark) !important; border: 2px solid var(--cyclamen-dark); font-style: normal; text-transform: none; }
.btn-small { padding: 6px 14px; font-size: .9rem; }

/* ================= HERO : affiche cyclamen ================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--cyclamen);
  color: #fff;
  /* bord bas oblique, même angle que le logo */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 0 100%);
  padding-bottom: 26px;
}
.hero-ribbons {
  position: absolute; inset: 0; pointer-events: none;
  width: 100%; height: 100%;
}
.hero-inner {
  position: relative; display: flex; align-items: center; gap: 48px;
  padding-top: 74px; padding-bottom: 86px; flex-wrap: wrap;
}
.hero-text { flex: 1 1 460px; }
.hero-kicker {
  font-weight: 300; font-style: italic; font-size: 1.35rem; margin: 0 0 10px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin: 0 0 22px;
}
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
}
.hero p.lead {
  font-size: 1.14rem; font-weight: 300; max-width: 540px; margin: 0;
}
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-media { flex: 1 1 340px; position: relative; min-width: 300px; }
/* masque « coin courbe » des photos d'ambiance de la charte
   + léger traitement cyclamen en dégradé (préconisation iconographie) */
.hero-media img {
  display: block; width: 100%;
  aspect-ratio: 16 / 10.5; object-fit: cover; object-position: center;
  border-radius: 24px 24px 42% 24px / 24px 24px 34% 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: 24px 24px 42% 24px / 24px 24px 34% 24px;
  background: linear-gradient(115deg, rgba(210,0,90,.55), rgba(210,0,90,0) 55%);
  mix-blend-mode: multiply;
}
.hero-sticker {
  position: absolute; left: -20px; bottom: -26px; z-index: 2;
  background: var(--ultramarine);
  color: #fff; text-align: center;
  border-radius: 50%;
  width: 138px; height: 138px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: .8rem; line-height: 1.2;
  transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  border: 4px solid rgba(255,255,255,.35);
}
.hero-sticker strong { font-size: 1.02rem; }

/* ---------- bande USP sous le hero : pictos filaires ---------- */
.usp-band { background: #fff; padding: 26px 0 8px; }
.usp-inner {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.usp {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: .88rem; color: var(--anthracite);
}
.usp img { height: 44px; width: 44px; object-fit: contain; }

/* ================= SECTIONS ================= */
.section { padding: 72px 0; position: relative; }
.section-head { margin-bottom: 40px; }
.kicker {
  display: inline-block; color: #fff; background: var(--cyclamen);
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: .85rem; padding: 4px 16px; margin-bottom: 10px;
  transform: skewX(-12deg);
}
.kicker > span { display: inline-block; transform: skewX(12deg); }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--ultramarine);
  margin: 0;
}
.on-dark .section-head h2 { color: #fff; }
.on-dark .kicker { background: #fff; color: var(--cyclamen); }

/* ================= PROMOS : cartes-affiches ================= */
.section-promos {
  background: var(--bg-soft);
  clip-path: polygon(0 0, 100% 8px, 100% 100%, 0 100%);
  margin-top: -8px;
}
.cards {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}
.promo-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--cyclamen) 55%, var(--cyclamen-dark));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; min-height: 250px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.promo-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(140,2,55,.35); }
.promo-rings { position: absolute; inset: 0; pointer-events: none; }
.promo-body { position: relative; padding: 30px 28px 24px; flex: 1; }
.promo-card h3 { font-size: 1.75rem; margin: 0 0 12px; color: #fff; padding-right: 104px; }
.promo-card p { margin: 0; font-weight: 300; padding-right: 40px; }
/* masque photo unifié « coin courbe » (même famille que le hero) */
.photo-curve {
  display: block; width: 100%;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px 14px 34% 14px / 14px 14px 30% 14px;
}
.promo-img { position: relative; margin: auto 16px 16px; }
.promo-badge {
  position: absolute; right: 16px; top: 16px; z-index: 2;
  background: var(--ultramarine);
  border-radius: 50%;
  width: 96px; height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-style: italic; font-size: .78rem; line-height: 1.2;
  text-align: center; text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.promo-badge strong { font-size: .95rem; }

/* ================= SERVICES ================= */
.service-card {
  position: relative;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  padding: 26px 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card::after {
  content: ""; position: absolute; left: -6%; bottom: 0; width: 112%; height: 7px;
  background: var(--cyclamen); transform: skewX(-30deg);
}
.service-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .2s ease;
}
.service-icon img { width: 52px; height: 52px; object-fit: contain; }
.service-icon .picto-white { display: none; }
.service-card:hover .service-icon { background: var(--cyclamen); }
.service-card:hover .service-icon .picto-color { display: none; }
.service-card:hover .service-icon .picto-white { display: block; }
.service-card .card-img { margin: -6px 0 18px; }
.service-card h3 { margin: 0 0 8px; color: var(--ultramarine); font-size: 1.2rem; }
.service-card p { margin: 0; font-size: .97rem; }

/* ================= À PROPOS : bloc anthracite ================= */
.section-about {
  background: var(--anthracite);
  color: #fff; overflow: hidden;
  clip-path: polygon(0 8px, 100% 0, 100% 100%, 0 100%);
}
.about-inner { position: relative; display: flex; gap: 52px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1 1 420px; }
.about-text p { font-weight: 300; font-size: 1.05rem; }
.about-media { flex: 1 1 300px; position: relative; }
.about-media img {
  display: block; width: 100%;
  aspect-ratio: 16 / 12; object-fit: cover;
  border-radius: 24px 24px 42% 24px / 24px 24px 34% 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.45);
}
.profilplus-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; color: var(--ultramarine);
  padding: 12px 26px; border-radius: 999px;
  font-weight: 800; font-style: italic; text-transform: uppercase; font-size: .9rem;
  margin-top: 20px;
}
.profilplus-badge img { height: 36px; width: auto; }

/* ================= CONTACT ================= */
.contact-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.contact-block {
  position: relative;
  background: var(--bg-soft); border-radius: var(--radius); padding: 30px 32px;
  overflow: hidden;
}
.contact-block::before {
  content: ""; position: absolute; left: -6%; top: 0; width: 112%; height: 8px;
  background: var(--ultramarine); transform: skewX(-30deg);
}
.contact-block h3 {
  color: var(--cyclamen); margin-top: 4px;
  font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.25rem;
}
.contact-block .big { font-size: 1.45rem; font-weight: 800; font-style: italic; }
.contact-block .big a { text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 4px; border-bottom: 1px solid #dfe4ee; }
.hours td:last-child { text-align: right; font-weight: 800; font-style: italic; color: var(--ultramarine); white-space: nowrap; }

/* ================= BANDEAU RÉSEAU : marquee ================= */
.network-band {
  position: relative; overflow: hidden;
  background: var(--cyclamen); color: #fff;
  padding: 34px 0 38px;
  clip-path: polygon(0 10px, 100% 0, 100% 100%, 0 100%);
}
.marquee {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
  margin-bottom: 22px;
}
.marquee span {
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  white-space: nowrap; padding-right: 46px;
}
.marquee span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.band-center { text-align: center; position: relative; }
.band-pill {
  background: #fff; color: var(--ultramarine); text-decoration: none;
  font-weight: 800; font-style: italic; text-transform: uppercase; font-size: .92rem;
  padding: 12px 26px; border-radius: 999px; display: inline-flex;
  align-items: center; gap: 14px;
  transition: transform .15s ease;
}
.band-pill:hover { transform: scale(1.05); }
.band-pill img { height: 28px; width: auto; }

/* ================= FOOTER ================= */
.site-footer { background: var(--anthracite-dark); color: #fff; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 36px 22px; flex-wrap: wrap; font-weight: 300;
}
.site-footer a { color: var(--ciel); }
.site-footer strong { font-style: italic; text-transform: uppercase; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-note { opacity: .85; text-align: right; }

/* ================= MENTIONS ================= */
.legal h1 { color: var(--ultramarine); font-weight: 800; font-style: italic; text-transform: uppercase; }
.legal h3 { color: var(--cyclamen); font-weight: 800; font-style: italic; text-transform: uppercase; }

/* ================= ADMIN ================= */
.admin-body { background: var(--bg-soft); }
.login-box {
  max-width: 380px; margin: 10vh auto; background: #fff; padding: 40px;
  border-radius: var(--radius); box-shadow: var(--shadow); text-align: center;
}
.login-box img { height: 40px; margin-bottom: 16px; }
.login-box h1 { font-size: 1.3rem; color: var(--ultramarine); font-weight: 800; }
.login-box input {
  width: 100%; padding: 12px; margin: 14px 0; border: 2px solid #dde4ef;
  border-radius: 8px; font-family: inherit; font-size: 1rem;
}
.login-box .error { color: var(--cyclamen); font-weight: 600; }
.back-link { display: inline-block; margin-top: 18px; font-size: .9rem; }

.admin-header { background: var(--ultramarine); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-header nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.admin-header a { color: #fff; text-decoration: none; font-weight: 600; }
.admin-title { font-weight: 800; }
.admin-main { padding-top: 24px; padding-bottom: 60px; }
.flash {
  background: #e6f6e6; border: 1px solid #9ed89e; color: #226622;
  padding: 10px 18px; border-radius: 8px; margin-bottom: 18px;
}
.admin-stats { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.stat { background: #fff; border-radius: var(--radius); padding: 14px 22px; box-shadow: var(--shadow); }
.stat strong { color: var(--cyclamen); font-size: 1.3rem; }

.admin-section {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 30px; margin-bottom: 28px;
}
.admin-section h2 { color: var(--ultramarine); margin-top: 0; font-weight: 800; }
.admin-form label { display: block; margin: 12px 0; font-weight: 600; }
.admin-form input:not([type=checkbox]), .admin-form textarea, .admin-form select {
  width: 100%; padding: 10px; margin-top: 4px; border: 2px solid #dde4ef;
  border-radius: 8px; font-family: inherit; font-size: .97rem; background: #fff;
}
.admin-form fieldset {
  border: 2px solid #dde4ef; border-radius: var(--radius);
  padding: 6px 20px 16px; margin-bottom: 20px;
}
.admin-form legend { font-weight: 800; color: var(--cyclamen); padding: 0 8px; }
.admin-form .row { display: flex; gap: 18px; align-items: end; flex-wrap: wrap; }
.admin-form .row label { flex: 1 1 140px; }
.admin-form .check { display: flex; align-items: center; gap: 8px; }
.admin-form .check input { width: auto; }
.thumb { display: block; height: 60px; width: auto; margin: 6px 0; border-radius: 6px; }

.add-box, .edit-box {
  border: 2px solid #dde4ef; border-radius: var(--radius);
  padding: 12px 18px; margin-bottom: 12px; background: #fbfcfe;
}
.add-box summary, .edit-box summary { cursor: pointer; font-weight: 800; color: var(--ultramarine); }
.add-box summary { color: var(--cyclamen); }
.edit-box.inactive { opacity: .6; }
.muted { color: #778; font-weight: 400; font-size: .9em; }

/* ================= RESPONSIVE / MOTION ================= */
@media (max-width: 640px) {
  .hero-inner { padding-top: 46px; padding-bottom: 58px; }
  .footer-inner { flex-direction: column; }
  .footer-note { text-align: left; }
  .usp-inner { justify-content: flex-start; }
  .promo-card p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .marquee { animation: none !important; }
}
