/* ===========================
   COMMUNITY / ACCEUIL PAGE
   =========================== */

.acceuil-page {
  font-family: 'Montserrat', sans-serif;
  color: #111;
  margin: 0;
  background: #fff;
}

.acceuil-page .site-header--dark .navbar {
  background: #000;
}

.acceuil-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Hero --- */
.a-hero {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)),
    url('Photos/neptune Photos/ALL.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.a-hero-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.a-breadcrumb {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.a-breadcrumb:hover {
  opacity: 0.7;
}

.a-hero-label {
  color: #ccc;
  font-size: 14px;
  font-weight: 300;
}

.a-hero-content {
  text-align: center;
  color: #fff;
  padding: 80px 24px 40px;
}

.a-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  margin: 0 0 28px;
}

.a-hero-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}

.a-hero-btn:hover {
  background: #fff;
  color: #111;
}

/* --- Tabs --- */
.a-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: -28px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
  flex-wrap: wrap;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.a-tab {
  flex: 1;
  max-width: 280px;
  min-width: 160px;
  padding: 18px 24px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background: #111;
  color: rgba(255, 255, 255, 0.65);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s, color 0.2s;
}

.a-tab:last-child {
  border-right: none;
}

.a-tab--active,
.a-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* --- Stats --- */
.a-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 60px 24px;
  background: #111;
  flex-wrap: wrap;
}

.a-stat-box {
  background: #fff;
  padding: 36px 56px;
  text-align: center;
  min-width: 220px;
}

.a-stat-number {
  display: block;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.a-stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

/* --- Testimonial --- */
.a-testimonial {
  background: #000;
  color: #fff;
  padding: 80px 10%;
}

.a-testimonial-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.a-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
}

.a-testimonial-text p {
  font-size: 17px;
  line-height: 1.85;
  color: #ccc;
  margin: 0;
}

.a-testimonial-author {
  margin-top: 24px !important;
  font-size: 14px !important;
  color: #888 !important;
}

.a-testimonial-photo {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.a-testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.12);
  border: none;
}

/* Video block uses shared .site-video-block in layout.css */

/* --- Team --- */
.a-team {
  padding: 80px 5%;
}

.a-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.a-team-card {
  text-align: center;
}

.a-team-card img {
  width: 100%;
  object-fit: cover;
}

.a-team-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.a-team-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 20px;
}

.a-read-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.a-read-btn:hover {
  background: #333;
}

/* --- Gallery --- */
.a-gallery-section {
  background: #fff;
  padding: 48px 5% 64px;
}

.a-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(200px, 240px));
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.a-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.a-g1 { grid-column: 1; grid-row: 1; }
.a-g2 { grid-column: 1; grid-row: 2; }
.a-g3 { grid-column: 2; grid-row: 1; }
.a-g4 { grid-column: 2; grid-row: 2; }
.a-gallery-tall { grid-column: 3; grid-row: 1 / 3; }
.a-g6 { grid-column: 4; grid-row: 1; }
.a-g7 { grid-column: 4; grid-row: 2; }

.a-gallery-cell {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.a-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a-voir-plus {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 8px 18px;
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
  border-radius: 24px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  transition: background 0.2s, border-color 0.2s;
}

.a-voir-plus:hover {
  background: #f5f5f5;
  border-color: #999;
}

.a-gallery-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  text-align: center;
  color: #444;
  max-width: 720px;
  margin: 40px auto 0;
  line-height: 1.6;
}

/* --- Newsletter --- */
.a-newsletter {
  padding: 80px 10%;
  text-align: center;
}

.a-newsletter h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin: 0 0 32px;
}

.a-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.a-newsletter-form input {
  padding: 14px 16px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 14px;
}

.a-newsletter-form button {
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
}

.a-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #666;
  text-align: left;
  margin-top: 8px;
}

/* --- Steps + stacked team collage --- */
.a-steps {
  padding: 32px 40px;
  color: #fff;
  background-color: #111;
  background-image:
    /* Raise 0.78 / 0.86 to make the background darker */
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.86)),
    var(--a-steps-bg, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.a-steps-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.a-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 420px;
}

.a-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.45;
  font-weight: 400;
}

.a-steps-list li:last-child {
  margin-bottom: 0;
}

.a-steps-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.a-steps-collage {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 580px;
  margin-left: auto;
  margin-right: 24px;
}

.a-steps-img {
  position: absolute;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

/* Top right — square */
.a-steps-img--1 {
  width: 270px;
  height: auto;
  top: 0;
  right: 12px;
  z-index: 2;
}

/* Middle left — tall portrait */
.a-steps-img--2 {
  width: 190px;
  height: auto;
  top: 22px;
  left: 0;
  z-index: 3;
}

/* Bottom left — anchor with top so size grows downward */
.a-steps-img--3 {
  width: 190px;
  height: auto;
  top: 320px;
  left: 32px;
  bottom: auto;
  z-index: 2;
}

/* Bottom right — largest, foreground */
.a-steps-img--4 {
  width: 300px;
  height: auto;
  bottom: 0;
  right: 0;
  z-index: 4;
}

/* --- Posts --- */
.a-posts {
  padding: 80px 10%;
}

.a-posts-title {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  text-align: center;
  margin: 0 0 40px;
}

.a-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.a-post-card {
  border: 1px solid #e0e0e0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.a-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.a-post-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.a-post-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  flex: 1;
  margin: 0;
}

.a-post-tag {
  display: block;
  width: calc(100% + 56px);
  margin: auto -28px -28px;
  padding: 14px 20px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

/* --- Contact express --- */
.a-contact-express {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.a-contact-express h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin: 0 0 8px;
}

.a-contact-express p {
  font-size: 14px;
  color: #aaa;
  margin: 0 0 28px;
}

.a-contact-select {
  display: block;
  margin: 0 auto 20px;
  padding: 12px 20px;
  min-width: 280px;
  font-family: inherit;
  font-size: 14px;
}

.a-contact-link {
  color: #fff;
  font-size: 14px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .a-hero-bar {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .a-team-grid,
  .a-posts-grid {
    grid-template-columns: 1fr;
  }

  .a-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .a-g1, .a-g2, .a-g3, .a-g4, .a-g6, .a-g7 {
    grid-column: auto;
    grid-row: auto;
    min-height: 200px;
  }

  .a-gallery-tall {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }

  .a-steps {
    padding: 28px 20px;
  }

  .a-steps-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .a-steps-list {
    max-width: none;
  }

  .a-steps-collage {
    margin: 0 auto;
    max-width: 380px;
    height: 480px;
    margin-right: 0;
  }

  .a-steps-img--1 { width: 130px; height: 130px; right: 8px; }
  .a-steps-img--2 { width: 140px; height: 215px; }
  .a-steps-img--3 { width: 114px; height: auto; top: 260px; left: 24px; bottom: auto; }
  .a-steps-img--4 { width: 168px; height: 232px; }

  .a-testimonial-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .a-tabs {
    flex-direction: column;
  }

  .a-tab {
    max-width: 100%;
    width: 100%;
  }
}
