﻿/* Styles extraits pour overtdemain.html */


    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f0faf0;
      color: #2f4f2f;
      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: #3a7d3a;
      background: rgba(58, 125, 58, 0.1);
      padding: 8px 12px;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(58, 125, 58, 0.3);
      transition: background-color 0.3s ease;
      z-index: 20;
    }
    a.home-link:hover {
      background: rgba(58, 125, 58, 0.3);
    }

    h1 {
      color: #3a7d3a;
      font-weight: 700;
      margin-bottom: 18px;
      text-align: center;
    }

    .intro-text, .description-text {
      max-width: 800px;
      font-size: 1.15rem;
      color: #3f5a3f;
      text-align: center;
      margin-bottom: 28px;
      padding: 0 10px;
    }

    .quote {
      font-style: italic;
      color: #2f4f2f;
      background: #e6f0e6;
      padding: 15px 20px;
      border-left: 5px solid #3a7d3a;
      max-width: 700px;
      margin: 20px auto;
      border-radius: 6px;
    }

    .carousel-container {
      width: 90%;
      max-width: 900px;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 5px 22px rgba(58, 125, 58, 0.35);
      height: 460px;
      background-color: #e6f0e6;
      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(58, 125, 58, 0.4);
      display: block;
    }

    .caption {
      position: absolute;
      bottom: 0;
      width: 100%;
      background: rgba(58, 125, 58, 0.75);
      color: #f0faf0;
      font-weight: 600;
      padding: 12px 20px;
      font-size: 1.1rem;
      border-radius: 0 0 14px 14px;
      text-align: center;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(58, 125, 58, 0.85);
      border: none;
      font-size: 32px;
      padding: 10px 18px;
      cursor: pointer;
      border-radius: 50%;
      color: white;
      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(58, 125, 58, 1);
      outline: none;
    }
    .carousel-btn.prev { left: 20px; }
    .carousel-btn.next { right: 20px; }

    .join-btn {
      margin-top: 30px;
      padding: 12px 24px;
      background-color: #3a7d3a;
      color: #f0faf0;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(58, 125, 58, 0.6);
      transition: background-color 0.3s ease;
      user-select: none;
    }
    .join-btn:hover, .join-btn:focus {
      background-color: #2f4f2f;
      outline: none;
    }

    @media (max-width: 600px) {
      .carousel-container { height: 320px; }
      .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; }
      .intro-text, .description-text { font-size: 1rem; max-width: 95%; }
    }

