﻿/* Styles extraits pour ovisite.html */


  * {
    box-sizing: border-box;
    margin: 0; padding: 0;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f7f5ff;
    color: #3a3a4d;
    line-height: 1.6;
    padding: 80px 20px 0;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center;
  }

  a.home-link {
    position: fixed;
    top: 20px;
    left: 20px;
    text-decoration: none;
    font-weight: 600;
    color: #5b3ca6;
    background: rgba(106, 78, 182, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(106, 78, 182, 0.3);
    transition: background-color 0.3s ease;
    z-index: 20;
  }
  a.home-link:hover {
    background: rgba(106, 78, 182, 0.3);
    color: white;
  }

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

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

  .quote {
    font-style: italic;
    color: #4a3c66;
    background: #ece9ff;
    padding: 15px 20px;
    border-left: 5px solid #5b3ca6;
    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(106, 78, 182, 0.35);
    height: 460px;
    background-color: #ece9ff;
    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(106, 78, 182, 0.4);
    display: block;
  }

  .caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(106, 78, 182, 0.75);
    color: #f7f5ff;
    font-weight: 600;
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 -2px 8px rgba(106, 78, 182, 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(106, 78, 182, 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(106, 78, 182, 1);
    outline: none;
  }

  .carousel-btn.prev { left: 20px; }
  .carousel-btn.next { right: 20px; }

  .join-btn {
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #5b3ca6;
    color: #f7f5ff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(106, 78, 182, 0.6);
    transition: background-color 0.3s ease;
    user-select: none;
  }

  .join-btn:hover, .join-btn:focus {
    background-color: #4a2c91;
    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; }
  }

