﻿/* Styles extraits pour cafesolidaire.html */


    /* Reset */
    * {
      box-sizing: border-box;
      margin: 0; padding: 0;
    }
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #fff9f7; /* fond crème clair */
      color: #4b3b2b; /* marron foncé */
      line-height: 1.6;
      padding: 80px 20px 0;
      min-height: 100vh;
      display: flex; flex-direction: column; align-items: center;
      position: relative;
    }

    a.home-link {
      position: fixed;
      top: 20px;
      left: 20px;
      text-decoration: none;
      font-weight: 600;
      color: #7c5337; /* marron moyen */
      background: rgba(124, 83, 55, 0.1);
      padding: 8px 12px;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(124, 83, 55, 0.3);
      transition: background-color 0.3s ease;
      z-index: 20;
    }
    a.home-link:hover {
      background: rgba(124, 83, 55, 0.3);
    }

    h1 {
      color: #7c5337; /* marron moyen */
      font-weight: 700;
      margin-bottom: 16px;
      text-align: center;
    }

    /* --- Texte d’introduction et description --- */
    .intro-text, .description-text {
      max-width: 720px;
      font-size: 1.15rem;
      color: #6e5843; /* marron doux */
      text-align: center;
      margin-bottom: 28px;
      padding: 0 10px;
    }

    /* --- Style pour la citation --- */
    .quote {
      font-style: italic;
      color: #4b3b2b;
      background: #f8f1e9;
      padding: 15px 20px;
      border-left: 5px solid #7c5337;
      max-width: 700px;
      margin: 20px auto 35px;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(124, 83, 55, 0.3);
    }

    .quote strong {
      display: block;
      margin-top: 10px;
      font-weight: 700;
      color: #7c5337;
    }

    .carousel-container {
      width: 90%;
      max-width: 900px;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 5px 22px rgba(124, 83, 55, 0.35);
      height: 460px;
      background-color: #f8f1e9; /* fond crème clair */
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .carousel {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }

    .carousel-slide {
      flex: 0 0 100%;
      height: 100%;
      display: flex; justify-content: center; align-items: center;
      position: relative;
    }

    .carousel-slide img {
      max-width: 100%;
      max-height: 100%;
      object-fit: cover;
      border-radius: 14px;
      box-shadow: 0 3px 14px rgba(124, 83, 55, 0.4);
      display: block;
    }

    .caption {
      position: absolute;
      bottom: 0;
      width: 100%;
      background: rgba(124, 83, 55, 0.75);
      color: #f8f1e9;
      font-weight: 600;
      padding: 12px 20px;
      font-size: 1.1rem;
      border-radius: 0 0 14px 14px;
      box-shadow: 0 -2px 8px rgba(124, 83, 55, 0.6);
      user-select: none;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(124, 83, 55, 0.85);
      border: none;
      font-size: 32px;
      padding: 10px 18px;
      cursor: pointer;
      border-radius: 50%;
      color: white;
      user-select: none;
      box-shadow: 0 3px 12px rgba(0,0,0,0.2);
      transition: background 0.3s ease;
      z-index: 10;
    }
    .carousel-btn:hover, .carousel-btn:focus {
      background: rgba(124, 83, 55, 1);
      outline: none;
    }
    .carousel-btn.prev {
      left: 20px;
    }
    .carousel-btn.next {
      right: 20px;
    }

    .join-btn {
      margin-top: 30px;
      padding: 12px 24px;
      background-color: #7c5337;
      color: #f8f1e9;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(124, 83, 55, 0.6);
      transition: background-color 0.3s ease;
      user-select: none;
    }
    .join-btn:hover, .join-btn:focus {
      background-color: #4b3b2b;
      outline: none;
    }

    @media (max-width: 600px) {
      .carousel-container {
        height: 320px;
      }
      .intro-text, .description-text {
        font-size: 1rem;
        max-width: 95%;
        margin-bottom: 20px;
      }
      .caption {
        font-size: 1rem;
        height: 40px;
        padding: 8px 15px;
      }
      .carousel-btn {
        font-size: 24px;
        padding: 8px 14px;
      }
      .join-btn {
        padding: 10px 18px;
        font-size: 1rem;
      }
    }

