@charset "utf-8";

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --green: #4a7c59;
      --green-light: #6aa37a;
      --green-dark: #2e5c3a;
      --white: #ffffff;
      --off-white: #f7f7f5;
      --text: #2d2d2d;
      --text-muted: #666;
      --border: #e0e0d8;
    }

	@font-face {
	  font-family: "Fugi";
	  src: url("Fugi.woff") format("woff2");
	  font-weight: normal;
	  font-style: normal;
	}

    body {
      font-family: 'Lato', sans-serif;
      color: var(--text);
      background: var(--white);
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 48px;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid var(--border);
    }
    nav .logo img { height: 52px; }
    nav .nav-links { display: flex; align-items: center; gap: 32px; }
    nav .nav-links a {
      text-decoration: none;
      color: var(--text);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: .06em;
      text-transform: uppercase;
      transition: color .2s;
    }
    nav .nav-links a:hover { color: var(--green); }
    nav .nav-links .btn-contact {
      background: var(--green);
      color: #fff;
      padding: 9px 22px;
      border-radius: 4px;
      transition: background .2s;
    }
    nav .nav-links .btn-contact:hover { background: var(--green-dark); }

    /* ── HERO ── */
    .hero {
      margin-top: 81px;
      min-height: 88vh;
      background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #7bb88d 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 80px 24px;
      gap: 28px;
    }
    .hero img { height: 222px; filter: brightness(0) invert(1); }
    .hero h1 {
      font-family: 'fugi', serif;
      font-size: clamp(2rem, 5vw, 3.4rem);
      font-weight: 300;
      color: #fff;
      line-height: 1.25;
      max-width: 720px;
      letter-spacing: -.01em;
    }

    /* ── SECTIONS COMMUNES ── */
    section {
      padding: 80px 48px;
      max-width: 1100px;
      margin: 0 auto;
    }
    section h2 {
      font-family: 'Merriweather', serif;
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 400;
      color: var(--green-dark);
      margin-bottom: 32px;
      position: relative;
    }
    section h2::after {
      content: '';
      display: block;
      width: 50px;
      height: 3px;
      background: var(--green);
      margin-top: 12px;
    }
    section p {
      font-size: 16px;
      line-height: 1.8;
      color: var(--text-muted);
      max-width: 680px;
    }

    /* ── PRÉSENTATION ── */
    .section-presentation {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .section-presentation img {
      width: 100%;
      border-radius: 8px;
      box-shadow: 0 12px 40px rgba(0,0,0,.12);
    }
    .tag-qui {
      display: inline-block;
      background: var(--green);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 6px 16px;
      border-radius: 3px;
      margin-top: 20px;
    }

    /* ── ESPACES ── */
    .section-espaces { background: var(--off-white); max-width: 100%; padding: 80px 48px; }
    .section-espaces-inner { max-width: 1100px; margin: 0 auto; }
    .espaces-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-top: 48px;
    }
    .espace-card {
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,.07);
      transition: transform .25s, box-shadow .25s;
    }
    .espace-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
    .espace-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
    .espace-card .card-body { padding: 28px; }
    .espace-card h3 {
      font-family: 'Merriweather', serif;
      font-size: 1.25rem;
      font-weight: 400;
      color: var(--green-dark);
      margin-bottom: 14px;
    }
    .espace-card p { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

    /* ── PRISE DE RENDEZ-VOUS ── */
    .section-rdv {
      border-top: 1px solid var(--border);
      max-width: 100%;
      padding: 80px 48px;
      background: var(--off-white);
    }
    .section-rdv-inner { max-width: 1100px; margin: 0 auto; }
    .section-rdv h2 {
      font-family: 'Merriweather', serif;
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 400;
      color: var(--green-dark);
      margin-bottom: 10px;
      position: relative;
    }
    .section-rdv h2::after {
      content: '';
      display: block;
      width: 50px;
      height: 3px;
      background: var(--green);
      margin-top: 12px;
    }
    .section-rdv .rdv-subtitle {
      font-size: 15px;
      color: var(--text-muted);
      margin-bottom: 44px;
      margin-top: 20px;
    }
    .rdv-layout {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 40px;
      align-items: start;
    }

    /* Calendrier */
    .rdv-calendar {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 4px 28px rgba(0,0,0,.08);
      overflow: hidden;
    }
    .cal-header {
      background: var(--green-dark);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 22px;
    }
    .cal-header h3 {
      font-family: 'Merriweather', serif;
      font-weight: 400;
      font-size: 1.05rem;
      text-transform: capitalize;
    }
    .cal-nav-btn {
      background: rgba(255,255,255,.18);
      border: none;
      color: #fff;
      width: 34px; height: 34px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 16px;
      display: flex; align-items: center; justify-content: center;
      transition: background .2s;
    }
    .cal-nav-btn:hover { background: rgba(255,255,255,.35); }
    .cal-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      background: var(--green);
      padding: 0 12px;
    }
    .cal-weekdays span {
      text-align: center;
      color: rgba(255,255,255,.85);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .07em;
      text-transform: uppercase;
      padding: 10px 0;
    }
    .cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 0;
      padding: 12px;
    }
    .cal-day {
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      font-size: 14px;
      cursor: pointer;
      transition: background .15s, color .15s;
      position: relative;
      font-weight: 400;
      color: var(--text);
    }
    .cal-day:hover:not(.empty):not(.past):not(.closed) {
      background: #e8f3ec;
      color: var(--green-dark);
    }
    .cal-day.empty { cursor: default; }
    .cal-day.past { color: #ccc; cursor: default; }
    .cal-day.closed { color: #ddd; cursor: default; text-decoration: line-through; }
    .cal-day.today {
      background: #e8f3ec;
      font-weight: 700;
      color: var(--green-dark);
    }
    .cal-day.selected {
      background: var(--green) !important;
      color: #fff !important;
      font-weight: 700;
    }
    .cal-day.has-slots::after {
      content: '';
      position: absolute;
      bottom: 4px;
      left: 50%;
      transform: translateX(-50%);
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--green);
    }
    .cal-day.selected.has-slots::after { background: rgba(255,255,255,.7); }
    .cal-day.past.has-slots::after, .cal-day.closed.has-slots::after { display: none; }

    /* Créneaux */
    .rdv-slots-panel {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 4px 28px rgba(0,0,0,.08);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .slots-header {
      padding: 20px 24px 16px;
      border-bottom: 1px solid var(--border);
    }
    .slots-header h4 {
      font-family: 'Merriweather', serif;
      font-weight: 400;
      font-size: 1rem;
      color: var(--green-dark);
      margin-bottom: 4px;
    }
    .slots-header p { font-size: 13px; color: var(--text-muted); }
    .slots-body { padding: 20px 24px; flex: 1; }
    .slots-empty {
      text-align: center;
      color: var(--text-muted);
      font-size: 14px;
      padding: 32px 0;
    }
    .slots-empty .slots-icon { font-size: 36px; margin-bottom: 12px; }
    .slots-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .slot-btn {
      border: 1.5px solid var(--border);
      background: #fff;
      border-radius: 8px;
      padding: 10px;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      color: var(--green-dark);
      cursor: pointer;
      transition: all .2s;
      font-family: 'Lato', sans-serif;
    }
    .slot-btn:hover { border-color: var(--green); background: #f0f8f3; }
    .slot-btn.slot-selected { background: var(--green); border-color: var(--green); color: #fff; }
    .slot-btn.slot-booked { background: #f5f5f5; border-color: #e5e5e5; color: #bbb; cursor: not-allowed; text-decoration: line-through; }

    /* Formulaire */
    .rdv-form {
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }
    .rdv-form h5 {
      font-family: 'Merriweather', serif;
      font-weight: 400;
      font-size: .95rem;
      color: var(--green-dark);
      margin-bottom: 14px;
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
    .form-field { display: flex; flex-direction: column; gap: 5px; }
    .form-field label { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase; }
    .form-field input, .form-field select, .form-field textarea {
      border: 1.5px solid var(--border);
      border-radius: 7px;
      padding: 9px 12px;
      font-family: 'Lato', sans-serif;
      font-size: 14px;
      color: var(--text);
      outline: none;
      transition: border-color .2s;
      background: #fff;
    }
    .form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); }
    .form-field.full { grid-column: span 2; }
    .form-field textarea { resize: vertical; min-height: 70px; }
    .btn-confirm {
      width: 100%;
      margin-top: 14px;
      background: var(--green);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 14px;
      font-family: 'Lato', sans-serif;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: .05em;
      transition: background .2s;
    }
    .btn-confirm:hover { background: var(--green-dark); }
    .btn-confirm:disabled { background: #bbb; cursor: not-allowed; }

    /* Confirmation */
    .rdv-confirmation {
      display: none;
      text-align: center;
      padding: 40px 24px;
    }
    .rdv-confirmation .confirm-icon { font-size: 52px; margin-bottom: 16px; }
    .rdv-confirmation h4 {
      font-family: 'Merriweather', serif;
      color: var(--green-dark);
      font-size: 1.2rem;
      font-weight: 400;
      margin-bottom: 10px;
    }
    .rdv-confirmation p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
    .confirm-recap {
      background: #f0f8f3;
      border: 1px solid #c8e4d2;
      border-radius: 10px;
      padding: 16px;
      font-size: 14px;
      color: var(--green-dark);
      margin-bottom: 20px;
      text-align: left;
    }
    .confirm-recap strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 2px; }
    .confirm-recap .recap-row { margin-bottom: 10px; }
    .btn-nouveau {
      background: transparent;
      border: 1.5px solid var(--green);
      color: var(--green);
      border-radius: 8px;
      padding: 10px 28px;
      font-family: 'Lato', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s;
    }
    .btn-nouveau:hover { background: var(--green); color: #fff; }

    /* Légende */
    .cal-legend {
      padding: 12px 20px;
      border-top: 1px solid var(--border);
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .legend-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .legend-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
    }

    @media (max-width: 768px) {
      .section-rdv { padding: 60px 20px; }
      .rdv-layout { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .form-field.full { grid-column: span 1; }
    }

    /* ── INFO PRATIQUE / CARTE ── */
    .section-info {
      background: var(--green-dark);
      max-width: 100%;
      padding: 80px 48px;
    }
    .section-info-inner {
      max-width: 1100px;
      margin: 0 auto;
    }
    .section-info h2 {
      color: #fff;
      font-family: 'Merriweather', serif;
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 400;
      margin-bottom: 8px;
    }
    .section-info h2::after { background: rgba(255,255,255,.4); }
    .section-info .subtitle {
      color: rgba(255,255,255,.75);
      font-size: 15px;
      margin-bottom: 40px;
    }
    .info-layout {
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 48px;
      align-items: start;
    }
    .info-details { color: #fff; }
    .info-details .address-block {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 28px;
    }
    .info-details .icon {
      width: 40px; height: 40px;
      background: rgba(255,255,255,.15);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: 18px;
    }
    .info-details .address-block strong {
      display: block;
      font-size: 13px;
      letter-spacing: .08em;
      text-transform: uppercase;
      opacity: .65;
      margin-bottom: 4px;
    }
    .info-details .address-block span {
      font-size: 16px;
      line-height: 1.55;
    }
    .map-wrapper {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 16px 48px rgba(0,0,0,.35);
      height: 380px;
    }
    .map-wrapper iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }

    /* ── FOOTER ── */
    footer {
      background: #1a1a1a;
      color: rgba(255,255,255,.5);
      text-align: center;
      padding: 28px 24px;
      font-size: 13px;
    }
    footer span { color: var(--green-light); }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      nav { padding: 12px 20px; }
      section { padding: 60px 20px; }
      .section-presentation { grid-template-columns: 1fr; }
      .espaces-grid { grid-template-columns: 1fr; }
      .partenaires-grid { grid-template-columns: 1fr; }
      .section-info { padding: 60px 20px; }
      .info-layout { grid-template-columns: 1fr; }
      .map-wrapper { height: 300px; }
    }