/* --------------------------------------------------
   Espace L – Coming Soon
   Palette: #644D2E (principal), #B7A38B (accent)
   Typo: Playfair Display (titres), Source Sans 3 (texte)
   -------------------------------------------------- */

:root {
  --color-primary: #644d2e;
  --color-primary-alt: #503e25; /* légère variante sombre */
  --color-accent: #b7a38b;
  --color-bg: #f8f6f4;
  --color-surface: #ffffffd9;
  --color-text: #3d2f22;
  --color-border: #e4dbd3;
  --color-focus: #d9c2a6;
  --radius-s: 4px;
  --radius-pill: 30px;
  --radius-m: 14px;
  --shadow: 0 6px 20px -8px rgba(50, 35, 20, 0.18);
  --transition: 0.28s cubic-bezier(0.4, 0.2, 0.2, 1);
  --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto,
    Arial, sans-serif;
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  font-family: var(--font-sans);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: radial-gradient(
    circle at 65% 25%,
    #ffffff 0%,
    var(--color-bg) 72%
  );
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga' 1, 'kern' 1;
  font-weight: 400;
  animation: fadeIn 0.9s ease both;
  min-height: 100dvh;
}

.coming-soon {
  width: 100%;
  max-width: 760px;
  text-align: center;
  background: var(--color-surface);
  backdrop-filter: blur(10px) saturate(180%);
  padding: clamp(2.2rem, 5vw, 3.9rem) clamp(1.7rem, 4vw, 3.2rem) 2.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  position: relative;
  margin: 30px auto;
}
@media (max-width: 800px) {
  .coming-soon {
    border: 0;
    backdrop-filter: none;
  }
}

.brand {
  margin-bottom: 1.3rem;
}
.logo {
  width: clamp(90px, 22vw, 140px);
  height: auto;
  display: block;
  margin: 0 auto 0.85rem;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 5.3vw, 3.15rem);
  line-height: 1.06;
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--color-primary);
}
h1::after {
  content: '';
  display: block;
  width: 140px;
  height: 2px;
  margin: 0.85rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 77, 46, 0.55) 12%,
    rgba(100, 77, 46, 0.55) 88%,
    transparent
  );
  position: relative;
}

.tagline {
  margin: 0;
  font-size: clamp(0.85rem, 2.1vw, 0.95rem);
  letter-spacing: 2.05px; /* réduit pour meilleure cohésion visuelle */
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-accent);
}

.intro {
  font-size: clamp(1.02rem, 2.05vw, 1.18rem);
  line-height: 1.6;
  margin: 1.2rem auto 2.1rem;
  font-weight: 400;
  max-width: 54ch;
}

/* Adresse */
.location {
  font-style: normal;
  margin: 0 auto 2.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.location a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 8px;
}
.location a:hover {
  text-decoration-color: var(--color-accent);
}
.location a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* CTA principal */
.cta-wrapper {
  margin: 0 auto 2.6rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 1000px;
  letter-spacing: 0.5px;
  position: relative;
  box-shadow: 0 6px 18px -6px rgba(64, 46, 26, 0.45),
    0 2px 4px -1px rgba(70, 50, 30, 0.25) inset;
  transition: var(--transition);
}
.cta-btn:hover {
  background: var(--color-primary-alt);
  transform: translateY(-2px);
}
.cta-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -6px rgba(64, 46, 26, 0.45);
}
.cta-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--color-focus),
    0 6px 18px -6px rgba(64, 46, 26, 0.45);
}

/* Titre équipe réintroduit */
.team-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin: 0 0 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
}
.team-title::after {
  content: '';
  display: block;
  width: 110px;
  height: 2px;
  margin: 0.7rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 77, 46, 0.55) 15%,
    rgba(100, 77, 46, 0.55) 85%,
    transparent
  );
}

.social ul {
  list-style: none;
  margin: 0 0 2.1rem;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: clamp(0.9rem, 2.1vw, 1.4rem);
}

/* Icônes: pas de fond / bordure, effet léger de mouvement */
.social a {
  display: inline-flex;
  line-height: 1;
  transition: var(--transition);
  transform-origin: center;
  position: relative;
  padding: 6px; /* augmente zone tactile sans altérer le SVG */
}
.social a::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 8px;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(215, 198, 178, 0.35),
    rgba(215, 198, 178, 0) 70%
  );
  transition: var(--transition);
  pointer-events: none;
}
.social a:focus-visible {
  outline: none;
}
.social a:focus-visible::before {
  opacity: 1;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--color-focus);
}
.social a:hover {
  transform: translateY(-3px);
}
.social img {
  width: 48px;
  height: 48px;
  display: block;
}
.social a:hover img {
  filter: brightness(0.9) contrast(1.05);
}

/* Section équipe */
.team {
  margin: 100px 0;
}
.team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: stretch;
}
@media (max-width: 800px) {
  .team-list {
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
  }
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  flex: 1 1 0;
  max-width: 230px;
  margin-bottom: 20px;
}
.team-member .avatar {
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 3px 8px -3px rgba(64, 46, 26, 0.25);
  background: #fff;
}
.team-member .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-member .name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.2rem 0 0;
}
.team-member .role {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #6a5643;
  line-height: 1.3;
}
.team-member .contacts {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.4rem;
  justify-content: center;
}
.team-member .contacts a {
  padding: 4px;
  position: relative;
  display: inline-flex;
  transition: var(--transition);
}
.team-member .contacts a:hover {
  transform: translateY(-2px);
}
.team-member .contacts img {
  width: 35px;
  height: 35px;
}
.team-member .contacts a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.footer {
  font-size: 0.8rem;
  opacity: 0.7;
}
.footer p {
  margin: 0;
}

/* Accessibilité */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 560px) {
  .coming-soon {
    padding: 2.1rem 1.25rem 2.3rem;
  }
  h1 {
    font-size: clamp(1.95rem, 8vw, 2.45rem);
  }
  .social img {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
