/* ============================================
   Papillons Blancs de Mâcon – Version Top+
   ============================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: #0b5f9e;
  background: #fffdf9;
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e9eee9;
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  line-height: 1.05;
  color: #0b5f9e;
}

.brand small {
  font-size: 11px;
  font-weight: 600;
  color: #6b7b76;
  letter-spacing: 0.03em;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 83, 135, 0.16);
}

.footer-brand .brand-logo {
  width: 50px;
  height: 50px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #52635e;
}

.nav nav a:hover { color: #0067a8; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #0067a8;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 103, 168, 0.22);
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  background: #005487;
}

.btn-small { padding: 10px 16px; }

.btn-ghost {
  background: transparent;
  color: #0067a8;
  box-shadow: none;
  border: 1px solid #c9d9d3;
}

.btn-ghost:hover {
  background: rgba(0, 103, 168, 0.06);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: #0067a8;
  box-shadow: none;
}

.btn-light:hover {
  background: #f0f7fc;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 25px;
  color: #0b5f9e;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 90px;
  background: linear-gradient(135deg, #f2f8fc 0%, #fffdf9 58%, #fff6e9 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-one {
  width: 420px;
  height: 420px;
  background: rgba(0, 103, 168, 0.08);
  top: -80px;
  left: -60px;
}

.glow-two {
  width: 380px;
  height: 380px;
  background: rgba(230, 165, 61, 0.12);
  bottom: -60px;
  right: 10%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  color: #0878b8;
  margin-bottom: 14px;
}

.hero h1,
h2 {
  font-family: Manrope, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 78px);
  max-width: 700px;
  color: #0b5f9e;
}

.hero h1 span { color: #e6a53d; }

.hero-text {
  font-size: 18px;
  color: #5e6e69;
  max-width: 650px;
  margin: 25px 0 30px;
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 36px;
  margin-top: 44px;
}

.trust-row div {
  display: flex;
  flex-direction: column;
}

.trust-row strong { font-size: 15px; color: #0b5f9e; }
.trust-row span { font-size: 12px; color: #81908b; }

/* Hero art – logo showcase */
.hero-art {
  height: 480px;
  position: relative;
}

.logo-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 103, 168, 0.16);
}

.orbit-one {
  width: 430px;
  height: 430px;
  right: 10px;
  top: 15px;
}

.orbit-two {
  width: 510px;
  height: 510px;
  right: -30px;
  top: -25px;
  border-style: dashed;
  opacity: 0.65;
}

.logo-panel {
  position: absolute;
  inset: 45px 55px 35px 85px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(5, 74, 119, 0.20);
  background: #fff;
  transform: rotate(2deg);
}

.logo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card {
  position: absolute;
  left: 10px;
  bottom: 30px;
  background: #fff;
  padding: 15px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 45px rgba(35, 75, 65, 0.13);
  font-size: 13px;
  z-index: 2;
}

.art-icon {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: #e5f3ed;
  display: grid;
  place-items: center;
  color: #0067a8;
  font-size: 16px;
}

.art-card small {
  display: block;
  color: #7a8984;
  font-size: 11px;
}

/* ========== INTRO ========== */
.intro { padding: 100px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.intro h2 {
  font-size: 42px;
  max-width: 520px;
  color: #0b5f9e;
}

.intro-text {
  font-size: 17px;
  color: #64736e;
}

.intro-text p { margin: 0 0 1.1rem; }
.intro-text strong { color: #0b5f9e; }

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 10px;
  color: #0067a8;
  font-weight: 800;
}

.text-link:hover { text-decoration: underline; }

/* ========== SERVICES ========== */
.services {
  padding: 100px 0;
  background: #f4f7f3;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: 42px;
  color: #0b5f9e;
}

.section-heading > p {
  max-width: 390px;
  color: #71807b;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 32px;
  border-radius: 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 83, 135, 0.1);
}

.card-blue { background: #e8f1fa; }
.card-green { background: #e4f2e9; }
.card-orange { background: #fff0d9; }

.card-icon {
  font-size: 30px;
  margin-bottom: 28px;
}

.card h3 {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  margin: 0 0 6px;
  color: #0b5f9e;
}

.card-loc {
  font-size: 12px;
  font-weight: 700;
  color: #0878b8;
  margin: 0 0 12px !important;
}

.card p {
  color: #61716c;
  font-size: 14px;
  margin: 0 0 18px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
}

.card-list li {
  font-size: 13px;
  color: #52635e;
  padding: 3px 0 3px 14px;
  position: relative;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0067a8;
  font-weight: 700;
}

/* ========== FEATURE / VALUES ========== */
.feature { padding: 100px 0; }

.feature-box {
  background: #0b5f9e;
  color: #fff;
  border-radius: 34px;
  padding: 65px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.feature .eyebrow { color: #a9dcff; }

.feature h2 {
  font-size: 40px;
  color: #fff;
}

.feature p {
  color: #c3d0cb;
  max-width: 620px;
  margin-top: 22px;
}

.values { display: grid; gap: 16px; }

.values div {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 10px;
}

.values span {
  grid-row: span 2;
  color: #a8d8c4;
  font-weight: 800;
  font-size: 18px;
}

.values b { font-size: 15px; color: #fff; }
.values small { color: #b4c4bf; }

/* ========== HISTORY ========== */
.history {
  padding: 80px 0 100px;
  background: #fffdf9;
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 3px;
  background: linear-gradient(to bottom, #0067a8, #87b8d4);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 13px;
  height: 13px;
  background: #e6a53d;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #0067a8;
  transform: translateX(-5px);
}

.timeline-year {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0067a8;
  margin-bottom: 0.2rem;
}

.timeline-content h4 {
  font-family: Manrope, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: #0b5f9e;
}

.timeline-content p {
  font-size: 0.92rem;
  color: #64736e;
  margin: 0;
}

/* ========== SUPPORT ========== */
.support { padding: 0 0 100px; }

.support-box {
  background: #e5f3fb;
  border-radius: 32px;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.support h2 {
  font-size: 38px;
  color: #0b5f9e;
}

.support p {
  color: #60716b;
  margin: 12px 0 0;
  max-width: 520px;
}

/* ========== FOOTER ========== */
footer {
  background: #064b78;
  color: #fff;
  padding: 70px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr 0.9fr;
  gap: 40px;
}

.footer-brand { color: #fff; }

.footer-grid > div > p {
  color: #aebeb8;
  font-size: 13px;
  line-height: 1.55;
}

.footer-meta {
  margin-top: 1rem !important;
  font-size: 12px !important;
  color: #9fd0bc !important;
}

.footer-grid h4 {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9fd0bc;
}

.footer-grid a:not(.brand) {
  display: block;
  color: #c6d2ce;
  font-size: 13px;
  margin: 8px 0;
}

.footer-grid a:not(.brand):hover { color: #fff; }

.footer-bottom {
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  color: #8ea29b;
  font-size: 11px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .feature-box {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav nav { display: none; }
  .menu-toggle { display: block; }

  .nav nav.open {
    display: flex;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px;
    border: 1px solid #e4ebe7;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(30, 55, 47, 0.12);
  }

  .hero-art { height: 390px; }
  .hero { padding-top: 55px; }

  .support-box {
    padding: 38px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .logo-panel { inset: 35px 35px 35px 55px; }
  .orbit-one { width: 330px; height: 330px; right: 10px; }
  .orbit-two { width: 390px; height: 390px; right: -20px; }

  .container { width: min(100% - 28px, 1160px); }
  .nav { height: 72px; }

  .hero h1 { font-size: 42px; }
  .hero-text { font-size: 16px; }
  .trust-row { gap: 18px; flex-wrap: wrap; }

  .hero-art {
    transform: scale(0.9);
    transform-origin: center top;
    margin-bottom: -40px;
  }

  .intro,
  .services,
  .feature,
  .history {
    padding: 70px 0;
  }

  .intro h2,
  .section-heading h2,
  .feature h2,
  .support h2 {
    font-size: 30px;
  }

  .feature-box { padding: 35px 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { margin-top: 35px; }
}

/* ========== PAGE SOUTENIR ========== */
.support-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f2f8fc 0%, #fffdf9 60%, #fff6e9 100%);
  text-align: center;
}

.support-hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: #0b5f9e;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.support-hero h1 span { color: #e6a53d; }

.support-lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  color: #5e6e69;
  line-height: 1.65;
}

.support-ways {
  padding: 70px 0 90px;
}

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

.way-card {
  background: #fff;
  border: 1px solid #e5ebe7;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(30, 55, 47, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.way-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 83, 135, 0.1);
}

.way-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #e8f1fa;
  color: #0067a8;
}

.way-icon svg {
  width: 22px;
  height: 22px;
}

.way-don .way-icon { background: #fde8e8; color: #c45c5c; }
.way-adhesion .way-icon { background: #e8f1fa; color: #0067a8; }
.way-benevolat .way-icon { background: #e4f2e9; color: #2d8a5e; }
.way-legs .way-icon { background: #fff0d9; color: #c48a2d; }

.way-card h3 {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  color: #0b5f9e;
  margin: 0 0 12px;
}

.way-card > p {
  color: #61716c;
  font-size: 15px;
  margin: 0 0 20px;
  line-height: 1.55;
}

.way-details {
  border-top: 1px solid #eef2f0;
  padding-top: 18px;
}

.way-details h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0878b8;
  margin: 0 0 8px;
}

.way-details p {
  font-size: 14px;
  color: #52635e;
  margin: 0 0 14px;
  line-height: 1.55;
}

.way-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.way-details li {
  font-size: 14px;
  color: #52635e;
  padding: 4px 0 4px 16px;
  position: relative;
}

.way-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0067a8;
  font-weight: 700;
}

.way-details a {
  color: #0067a8;
  font-weight: 600;
}

.way-details a:hover { text-decoration: underline; }

.way-note {
  background: #f0f7fc;
  border-radius: 12px;
  padding: 12px 14px !important;
  font-size: 13px !important;
  color: #0b5f9e !important;
}

.tax-section {
  padding: 0 0 80px;
}

.tax-box {
  background: #0b5f9e;
  color: #fff;
  border-radius: 28px;
  padding: 48px 56px;
}

.tax-box .eyebrow { color: #a9dcff; }

.tax-box h2 {
  font-family: Manrope, sans-serif;
  font-size: 32px;
  color: #fff;
  margin: 0 0 18px;
}

.tax-box p {
  color: #c3d0cb;
  max-width: 680px;
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
}

.tax-box strong { color: #fff; }

.tax-example {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 18px !important;
  display: inline-block;
  color: #fff !important;
  font-weight: 600;
}

.support-contact {
  padding: 0 0 100px;
}

.support-contact-box {
  background: #e5f3fb;
  border-radius: 28px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.support-contact-box h2 {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  color: #0b5f9e;
  margin: 0 0 12px;
}

.support-contact-box p {
  color: #60716b;
  margin: 0;
  line-height: 1.55;
}

.support-contact-info {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 83, 135, 0.08);
}

.support-contact-info p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #52635e;
}

.support-contact-info p:last-child { margin-bottom: 0; }

.support-contact-info a {
  color: #0067a8;
  font-weight: 600;
}

.support-contact-info a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .ways-grid {
    grid-template-columns: 1fr;
  }

  .support-contact-box {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .tax-box {
    padding: 36px;
  }

  .tax-box h2 {
    font-size: 26px;
  }
}

@media (max-width: 560px) {
  .support-hero {
    padding: 60px 0 40px;
  }

  .support-lead {
    font-size: 16px;
  }

  .way-card {
    padding: 24px;
  }
}
