/* ============================================================
   Hey Booksies — main.css
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────── */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid hsl(35 25% 85%); }

  :root {
    --forest:   #1d5c48;
    --forest-light: #3d8b6e;
    --forest-d: #133d30;
    --forest-l: #2a7a61;
    --salmon: #e8956d;
    --salmon-dark: #e0753f;
    --salmon-light: #f0c4af;
    --salmon-l:  #f2b99a;
    --cream: #f5f0e8;
    --cream-dark: #e6ddd0;
    --sand:     #f0e9db;
    --ink:      #0f2d22;
    --muted:    rgba(15,45,34,.55);
    --shadow:   rgba(15,45,34,.12);
    --foreground: #112e23;
    --muted-fg: #4a6e5e;
    --white: #faf8f4;
  }

    body {
      font-family: 'DM Sans', system-ui, sans-serif;
      background: var(--cream);
      color: var(--foreground);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      line-height: 1.6;
    }

    h1, h2, h3, h4, h5, h6 { font-family: 'Fraunces', serif; }

    .page_wrap {
      max-width: 1920px;
      margin: 7rem auto 4rem;
      }

    .container { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

    /* ===== NAVBAR ===== */
    .navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 50;
      background: hsla(40, 33%, 96%, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid hsla(35, 25%, 85%, 0.5);
    }
    .navbar .container {
      display: flex; align-items: center; justify-content: space-between;
      @media (min-width: 769px) {
        height: 64px;
      }
    }
    .navbar-brand {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.5rem; font-weight: 700;
      color: var(--forest); text-decoration: none; letter-spacing: -0.02em;
    }
    .navbar-links { display: flex; align-items: center; gap: 2rem; }
    .navbar-links a {
      font-size: 17.5px; font-weight: 500;
      color: rgba(17, 46, 35, 0.7); text-decoration: none;
      transition: color 0.2s;
    }
    .navbar-links a:hover { color: var(--forest); }
    .navbar-cta {
      display: inline-flex; align-items: center;
      padding: 0.625rem 1.25rem; border-radius: 9999px;
      background: var(--salmon); color: var(--white);
      font-weight: 600; font-size: 0.875rem; text-decoration: none;
      box-shadow: 0 4px 14px rgba(232, 149, 109, 0.2);
      transition: box-shadow 0.2s, transform 0.15s;
    }
    .navbar-cta:hover { box-shadow: 0 8px 24px rgba(232, 149, 109, 0.3); }
    .navbar-cta:active { transform: scale(0.97); }
    .mobile-toggle { display: none; background: none; cursor: pointer; padding: 0.5rem; color: var(--forest);}
    .mobile-menu { display: none; }

    
  section{ padding: 7rem 0; }

    /* ===== HERO ===== */
    .hero {
      position: relative; min-height: 90vh;
      display: flex; align-items: center;
      padding: 4rem 0 0; overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0;
    }
    .hero-bg img {
      width: 100%; height: 100%; object-fit: cover;
    }
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, hsla(40,33%,96%,0.95), hsla(40,33%,96%,0.7), transparent);
    }
    .hero .container { position: relative; padding-top: 6rem; padding-bottom: 8rem; }
    .hero-content { 
      margin-left: 20%;
      .hero-desc { max-width: 44%; }
    }
    
    @media (max-width: 489px) {
.hero-content {margin: auto;

.hero-desc {  max-width: 90%;  }
}
    }
     @media (min-width: 490px) and (max-width: 659px) {
.hero-content {margin: auto; 

.hero-desc {  max-width: 65%; }
}
     }

    .container-iel {
      margin: initial;
    }
    .hero-badge {
      display: inline-block; padding: 0.375rem 1rem; border-radius: 9999px;
      background: rgba(29, 92, 72, 0.1); color: var(--forest);
      font-size: 18px; font-weight: 600; letter-spacing: 0.025em;
    }
    .hero h1 {
      margin-top: 2rem; font-size: 56px; font-weight: 700;
      color: var(--forest); line-height: 1; text-wrap: balance;
    }
    .hero h1 .accent { color: var(--salmon); font-style: italic; }
    h1 {
  font-family: 'Fraunces', serif; font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 900; line-height: 1.05; color: var(--white); margin-bottom: 1.6rem;
}
h1 em { color: var(--salmon); font-style: italic; }
h1 .script { font-family: 'Caveat', cursive; font-size: 1.25em; font-weight: 700; }
.hero-sub {
  font-size: 1.02rem; line-height: 1.8; color: rgba(255,255,255,.65);
  max-width: 42ch; margin-bottom: 1rem;
}

    .hero-desc {
      margin-top: 2rem; font-size: 21px; color: var(--forest);
     line-height: 1.7; text-wrap: pretty;
    }
    .hero-buttons { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
    .btn-primary {
      display: inline-flex; align-items: center;
      padding: 0.875rem 1.75rem; border-radius: 9999px;
      background: var(--forest); color: var(--cream);
      font-weight: 600; font-size: 17.5px; text-decoration: none;
      box-shadow: 0 4px 14px rgba(29, 92, 72, 0.2);
      transition: box-shadow 0.2s, transform 0.15s;
    }
    .btn-primary:hover { box-shadow: 0 8px 24px rgba(29, 92, 72, 0.3); }
    .btn-primary:active { transform: scale(0.97); }
    .btn-outline {
      display: inline-flex; align-items: center;
      padding: 0.875rem 1.75rem; border-radius: 9999px;
      border: 2px solid rgba(29, 92, 72, 0.2); color: var(--forest);
      font-weight: 600; font-size: 17.5px; text-decoration: none;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-outline:hover { background: rgba(29, 92, 72, 0.05); }
    .btn-outline:active { transform: scale(0.97); }


    /* ── ACTIVITÉS ──────────────────────────────────────────── */
.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest); }

.citation {
  text-align: center;
  .quote {
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    color: rgb(89, 84, 84);
    font-kerning: none;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
  }
  .author {
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    color: rgb(89, 123, 106);
    font-kerning: none;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
  }
}

.newsletter {
  h2 {
    color: var(--cream);
  }
}
.section-eyebrow {
  font-family: 'Caveat', cursive; font-size: 35px; 
        color: var(--salmon);
  display: block; margin-bottom: .6rem; font-weight: 700;
}
.section-title {
  font-family: 'Fraunces', serif; font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900; line-height: 1.1; color: var(--ink); margin-bottom: 40px;
}
.section-title em { color: var(--forest); font-style: italic; }
.section-intro { font-size: 20px; line-height: 1.8; color: var(--muted); margin-bottom: 3rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.card {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 20px var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
  background: var(--white);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px var(--shadow); }
.card-top {
  height: 188px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.card-top.green  { background: var(--forest);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; }
.card-top.salmon  { background: var(--salmon); }
.card-top.sand   { background: var(--sand); }
.card-top-emoji  { font-size: 4.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); position: relative; z-index:1; 
  display: flex;
  justify-content: center;
  align-items: center;
   height: 100%;

}
.card-top-emoji img {
  height: auto;
  width: 95%;
  object-fit: contain;
  
}

.card-top.green .card-top-emoji img {
  width: 70%;
}
.card-top-deco {
  position: absolute; font-family: 'Fraunces', serif; font-size: 9rem;
  font-weight: 900; opacity: .07; bottom: -1.5rem; right: -.5rem;
  line-height: 1; pointer-events: none; color: var(--white);
}
.card-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.card-title {
  font-family: 'Fraunces', serif; font-size: 25px; font-weight: 700;
  margin-bottom: .6rem; color: var(--ink);
}
.card-desc { font-size: 17px; line-height: 1.75; color: var(--muted); flex:1; margin-bottom: 1.2rem; text-align: justify;}
.card-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.pill {
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 100px;
}
.pill.g { background: rgba(29,92,72,.1); color: var(--forest); }
.pill.p { background: rgba(232,149,109,.15); color: #b05030; }
.pill.s { background: rgba(240,233,219,.8); color: var(--ink); }
.card-link {
  font-size: 18px; font-weight: 600; color: var(--forest);
  text-decoration: none; display: inline-flex; align-items: center; gap: .3rem;
  transition: gap .2s;
}
.card-link:hover { gap: .6rem; }
.card-link::after { content: ' →'; }

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

}
    /* ===== ACTIVITIES ===== */


    .activities { padding: 6rem 0; background: var(--white); }
    .section-title {
      font-size: 2.5rem; font-weight: 700; color: var(--forest);
      text-align: center; text-wrap: balance;
    }
    .section-subtitle {
      margin-top: 1rem; font-size: 1.125rem; color: var(--muted-fg);
      text-align: center; text-wrap: pretty;
    }
    .activities-grid {
      margin-top: 4rem;
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    }
    .activity-card {
      display: block; background: var(--cream); border-radius: 1rem;
      padding: 2rem; text-decoration: none; color: inherit;
      box-shadow: 0 1px 3px rgba(29, 92, 72, 0.05);
      transition: box-shadow 0.3s, transform 0.15s;
    }
    .activity-card:hover {
      box-shadow: 0 12px 32px rgba(29, 92, 72, 0.1);
    }
    .activity-card:active { transform: scale(0.98); }
    .activity-icon {
      width: 5rem; height: 5rem; border-radius: 0.75rem;
      background: hsla(18, 73%, 82%, 0.4); padding: 0.75rem;
      margin-bottom: 1.5rem; transition: transform 0.3s;
    }
    .activity-card:hover .activity-icon { transform: scale(1.05); }
    .activity-icon img { width: 100%; height: 100%; object-fit: contain; }
    .activity-card h3 {
      font-size: 1.25rem; font-weight: 600; color: var(--forest); margin-bottom: 0.75rem;
    }
    .activity-card p { color: var(--muted-fg); line-height: 1.7; text-wrap: pretty; }
    .activity-card .cta-arrow {
      display: inline-block; margin-top: 1.25rem;
      font-size: 0.875rem; font-weight: 600; color: var(--salmon);
      transition: transform 0.2s;
    }
    .activity-card:hover .cta-arrow { transform: translateX(4px); }

    /* ===== MISSION ===== */
    .mission { padding: 6rem 0; background: var(--forest); }
    .mission-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    }
    .mission-text h2 {
      font-size: 2.5rem; font-weight: 700; color: var(--cream);
      text-wrap: balance; line-height: 1.15;
    }
    .mission-text em {
      color: var(--salmon);

    }
    .mission-text p {
      margin-top: 1.5rem; font-size: 1.125rem;
      color: var(--white);  line-height: 1.7; text-wrap: pretty;
      text-align: justify;
    }
    .bigp {
font-size: 1.5rem !important;
    }
    .mission-text strong { color: var(--cream); }
        .pub-list { list-style: none; margin: 1.8rem 0 2.5rem; display: flex; flex-direction: column; gap: .8rem; color: var(--white); }
.pub-list li {
  display: flex; gap: .8rem; align-items: flex-start;
   font-size: 1.125rem; line-height: 1.65; margin-left: 27px;
}
.pub-list li::before { content: '✦'; color: var(--salmon); font-size: .65rem; margin-top: .45rem; flex-shrink: 0; }

    .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .stat-card {
      background:  var(--sand); border-radius: 1rem;
      padding: 1.5rem 10%; backdrop-filter: blur(4px);
.section-eyebrow {
        color: var(--salmon-dark);
}
      .pub-list { color: var(--ink); font-weight: 500; }

    }
    .stat-card .stat-number {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 2rem; font-weight: 700; color: var(--salmon);
      font-variant-numeric: tabular-nums;
    }
    .stat-card .stat-label {
      margin-top: 0.5rem; font-size: 0.875rem;
      color: hsla(40, 33%, 96%, 0.7); line-height: 1.4;
    }

    .text-center { text-align: center;}
    /* ===== HOW IT WORKS ===== */
    .steps-grid {
      margin-top: 4rem;
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
      max-width: 56rem; margin-left: auto; margin-right: auto;
      text-align: center;
    }
    .step-icon {
      margin: 0 auto; width: 6rem; height: 6rem; border-radius: 1rem;
      background: hsla(18, 73%, 82%, 0.4);
      display: flex; align-items: center; justify-content: center;
    }
    .step-icon svg { width: 2.75rem; height: 2.75rem; color: var(--forest); stroke-width: 1.5; }
    .step-label {
      margin-top: 1rem; font-size: 0.875rem; font-weight: 600; font-size: 20px !important;
      color: var(--salmon); letter-spacing: 0.025em;
    }
    .step h3 {
      margin-top: 0.5rem; font-size: 23px; font-weight: 600; color: var(--forest); 
    }
    .step p { margin-top: 0.5rem; color: var(--muted-fg); line-height: 1.7; text-wrap: pretty;font-size: 18px; }
    .how-cta {
      display: inline-flex; align-items: center; margin-top: 3.5rem;
      padding: 1rem 2rem; border-radius: 9999px;
      background: var(--salmon); color: var(--white);
      font-weight: 600; font-size: 17.5px; text-decoration: none;
      box-shadow: 0 4px 14px rgba(232, 149, 109, 0.2);
      transition: box-shadow 0.2s, transform 0.15s;
    }
    .how-cta:hover { box-shadow: 0 8px 24px rgba(232, 149, 109, 0.3); }
    .how-cta:active { transform: scale(0.97); }

    /* ===== FOOTER ===== */
    .footer { background: var(--forest); padding: 2rem 0; border-top: 1px solid hsla(157, 30%, 40%, 0.2); }
    .footer-inner {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1.5rem;
    }
    .footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 700; color: var(--cream); }
    .footer-brand .custom-logo {         width: auto;
        max-height: 73px;}
    .footer-tagline { font-size: 0.875rem; color: hsla(40, 33%, 96%, 0.6); margin-top: 0.25rem; }
    .footer-links { display: flex; align-items: center; gap: 1.5rem; }
    .footer-links a {
      font-size: 0.875rem; color: hsla(40, 33%, 96%, 0.6);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--salmon); }
    .footer-links svg { width: 1.25rem; height: 1.25rem; }
    .footer-bottom {
      margin-top: 2rem; padding-top: 1.5rem;
      border-top: 1px solid hsla(40, 33%, 96%, 0.1);
      text-align: center;
    }
    .footer-bottom p { font-size: 0.75rem; color: hsla(40, 33%, 96%, 0.4); }

    /* ===== ANIMATIONS ===== */
    @keyframes reveal-up {
      from { opacity: 0; filter: blur(4px); transform: translateY(20px); }
      to { opacity: 1; filter: blur(0); transform: translateY(0); }
    }
    @keyframes reveal-left {
      from { opacity: 0; filter: blur(4px); transform: translateX(-20px); }
      to { opacity: 1; filter: blur(0); transform: translateX(0); }
    }
    .animate-reveal-up { animation: reveal-up 0.7s cubic-bezier(0.16,1,0.3,1) both; }

    .social-icon svg {
    width: 35px;
    height: 35px;
    fill: rgba(255, 255, 255, .72);
    display: block;
}

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      .navbar-links { display: none; }
      .mobile-toggle { display: block; }
      .hero h1 { font-size: 2.5rem; }
      .hero-desc { font-size: 1rem; }
      .activities-grid { grid-template-columns: 1fr; }
      .mission-grid { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
      .section-title { font-size: 2rem; }
      .mission-text h2 { font-size: 2rem; }
      .footer-inner { flex-direction: column; text-align: center; }
    }
    @media (min-width: 769px) and (max-width: 1024px) {
      .hero h1 { font-size: 2.75rem; }
    }

    .custom-logo-link {
      img {
        width: auto;
        max-height: 60px;
        vertical-align: middle;
      }
    }.navbar-brand svg {
    height: 40px;
    width: auto;
    background: white; /* ou transparent si fond navbar clair */
}

 .newsletter-form {        
        text-align: center;
        .wpcf7-form-control-wrap.mail {
            display: flex;
            flex-direction: column;
        }
        input {
            border: none;
            border-radius: 25px;
            height: 50px;
            
        }
        input[type=email] {
            width: 292px;
            height: 40px;
            padding-top: 5px;
            padding-left: 20px;
            font-weight: 400;
            
            @media (min-width: 769px){
                width: 494px;
                height: 50px;
            }

            &::placeholder {
                padding-left: 15px;
            }
        }
        input[type=submit] {
            display: inline-flex;
            align-items: center;
            padding: 0.625rem 1.25rem;
            border-radius: 9999px;
            background: var(--salmon);
            
            font-size: 17.5px; font-weight: 500;
            color: rgba(17, 46, 35, 0.7); text-decoration: none;
            transition: color 0.2s;

            @media (max-width: 489px) {
              margin-top: 25px;
            }
        }
        .wpcf7-form-control-wrap, p {
            display: inline-block;
        }

        .wpcf7-spinner { 
          display: none;
        }
    }

.citations {
    display: flex;
    justify-content: center;
    text-align: center;

  .quote {
      font-size: 1.8rem;
      font-style: italic;
      line-height: 1.6;
      position: relative;
      padding: 20px 30px;
  }
  .quote::before,
  .quote::after {
      font-size: 4rem;
      color: #ccc;
      position: absolute;
      font-family: serif;
  }

  .quote::before {
      content: "“";
      left: 0;
      top: -10px;
  }

  .quote::after {
      content: "”";
      right: 0;
      bottom: -20px;
  }

  .author {
      margin-top: 20px;
      font-size: 1.2rem;
      font-weight: 600;
      opacity: 0.7;
}
}
.wpcf7-response-output {
  border: none !important;
  color: var(--cream);
}
.container form span.wpcf7-not-valid-tip {
    position: absolute;
    width: 100%;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
}

.hero_title {
  color: var(--forest);
  margin-bottom: 2.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem; 
}