/* ================================================================================== */
/* ========================== COULEURS & VARIABLES BUZYPHARMA ====================== */
/* ================================================================================== */
:root {
  --gold: #e8b23a;
  --gold-light: #f4c95d;
  --black: #0a0a0a;
  --dark: #121212;
  --white: #ffffff;
  --gray-bg: #f7f7f7;

  --text: #1a1a1a;
  --muted: #555;
  --muted-2: #777;

  --shadow-1: 0 6px 16px rgba(0,0,0,.08);
  --shadow-2: 0 12px 32px rgba(0,0,0,.12);
}

/* ================================================================================== */
/* ========================== BASE GLOBALE ======================================== */
/* ================================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  display: block;
  min-height: 100vh;
  background: var(--white);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

/* ================================================================================== */
/* ========================== HEADER / NAVBAR (INTOUCHÉE) ========================== */
/* ================================================================================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-1);
  position: sticky;
  top: 0;
  z-index: 10;
}


.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand .logo {
  font-size: 1.8rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--black);
  letter-spacing: 1px;
  transition: color .3s ease;
}
.brand .logo:hover {
  color: var(--gold);
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: rgba(0,0,0,0.05);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s ease;
}
.burger:hover { background: rgba(0,0,0,0.08); }

.burger-inner {
  position: relative;
  width: 22px;
  height: 16px;
}
.bar {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 300ms cubic-bezier(.2,.9,.2,1),
              opacity 180ms,
              top 300ms;
}
.bar--a { top: 0; }
.bar--b { top: 7px; }
.bar--c { top: 14px; }
.burger[aria-expanded="true"] .bar--a { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .bar--b { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] .bar--c { transform: translateY(-7px) rotate(-45deg); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
  z-index: 4;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

nav.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 78%;
  max-width: 340px;
  background: var(--white);
  box-shadow: -12px 0 30px rgba(0,0,0,0.1);
  transform: translateX(110%);
  transition: transform 350ms cubic-bezier(.2,.9,.2,1);
  z-index: 6;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
nav.mobile-nav.is-open { transform: translateX(0); }
nav .close-aux { display: flex; justify-content: flex-end; }

.nav-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-list a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 16px;
  transition: color .25s ease, transform .25s ease;
}
.nav-list a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

@media(min-width:900px) {
  .burger { display: none; }
  nav.mobile-nav {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    width: auto;
    flex-direction: row;
    gap: 24px;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .overlay { display: none; }
  .nav-list {
    flex-direction: row;
    gap: 20px;
    margin: 0;
  }
}

/* ================================================================================== */
/* ========================== HERO ================================================ */
/* ================================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100vw;
  max-width: 100%;
  min-height: 70vh;
  background: url("../img/background.jpg") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 25%, rgba(232,178,58,0.25) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.2rem;
  color: #f3f3f3;
  line-height: 1.8;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.btn-dark {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,178,58,0.6);
}

.btn-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(3px);
}
.btn-light:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ================================================================================== */
/* ========================== SECTIONS ============================================= */
/* ================================================================================== */
section {
  padding: 90px 20px;
  max-width: 1100px;
  margin: auto;
}
section h2 {
  font-size: 2.1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--black);
  text-align: center;
}
section p {
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}

/* ================================================================================== */
/* ========================== CARTES / WHY / VISION ================================ */
/* ================================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  padding: 40px;
  background: var(--gray-bg);
  border-radius: 24px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all .35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  border-color: var(--gold-light);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card h3 i {
  color: var(--gold);
  font-size: 1.3rem;
  transition: color .3s ease;
}
.card:hover h3 i { color: var(--gold-light); }

.card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

/* ================================================================================== */
/* ========================== SECTION VISION ======================================== */
/* ================================================================================== */
.vision {
  background: var(--gray-bg);
  color: var(--black);
  text-align: center;
  padding: 120px 20px;
  border-top: 4px solid var(--gold);
}

.vision h2 {
  color: var(--black);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.vision p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: black;
}
.vision a {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: 0 8px 24px rgba(232,178,58,0.3);
}
.vision a:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

/* ================================================================================== */
/* ========================== CONTACT / FOOTER ===================================== */
/* ================================================================================== */
.contact form {
  font-family: "Inter", sans-serif;
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input, select, textarea {
  font-family: "Inter", sans-serif;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease;
}
input:focus, select:focus, textarea:focus {
  font-family: "Inter", sans-serif;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,178,58,0.2);
  outline: none;
}
button {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 6px 16px rgba(232,178,58,0.25);
}
button:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}

/* ========================================================= */
/* 💬 FORM STATUS (succès / erreur / envoi) - Buzypharma v3.0 */
/* ========================================================= */

#form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  display: none; /* caché par défaut */
  transition: all 0.3s ease;
}

/* ✅ Apparition active */
#form-status.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

/* 🎨 Succès */
#form-status.success {
  background: #eafbea;
  border: 1px solid #b6e3b6;
  color: #1b6e2a;
  box-shadow: 0 4px 10px rgba(27, 110, 42, 0.15);
}

/* ❌ Erreur */
#form-status.error {
  background: #ffeaea;
  border: 1px solid #e1a1a1;
  color: #b00020;
  box-shadow: 0 4px 10px rgba(176, 0, 32, 0.15);
}

/* ⏳ Chargement */
#form-status.loading {
  background: #fff8e1;
  border: 1px solid #f9b94a;
  color: #806300;
  box-shadow: 0 4px 10px rgba(249, 185, 74, 0.2);
}

/* 🟡 Icônes (Font Awesome ou équivalent) */
#form-status i {
  margin-right: 8px;
  font-size: 1rem;
  vertical-align: middle;
}

/* ✨ Animation douce d’apparition */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
  font-size: .9rem;
}
footer a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
footer a:hover { text-decoration: underline; }

/* ================================================================================== */
/* ========================== RESPONSIVE =========================================== */
/* ================================================================================== */
@media (max-width: 768px) {
  .hero { min-height: 80vh; padding: 60px 20px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  section h2 { font-size: 1.6rem; }
  .cards { padding: 24px; }
}
