/* VARIABLES (Apaisant, Minimaliste, Nature, Paramédical) */
:root {
  --bg-color: #fdfdfc; /* Off-white warm */
  --bg-alt: #f3f7f4; /* Sage light */
  --text-main: #2d3f35; /* Dark sage */
  --text-muted: #748c7e;
  --accent: #5e8b6e; /* Sage green main */
  --accent-hover: #466c54;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Lato', sans-serif;
  --transition: all 0.3s ease-in-out;
  --shadow: 0 15px 40px rgba(45, 63, 53, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

h1, h2, h3, h4, .brand {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 100;
  background: rgba(253, 253, 252, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(94, 139, 110, 0.1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--accent);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px; /* Soft, Medical feel */
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(94, 139, 110, 0.2);
}

.btn-solid:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(94, 139, 110, 0.3);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(94, 139, 110, 0.05);
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-alt);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 5rem;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}
.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-img {
  position: relative;
  height: 80vh;
  min-height: 500px;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION GLOBAL */
.section {
  padding: 8rem 0;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}
.section-header.center {
  text-align: center;
  margin: 0 auto 4rem;
}

.section-header .subtitle {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--text-main);
}

/* DISCIPLINES (Cards) */
.disciplines {
  background: #fff;
}

.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.disc-card {
  background: var(--bg-color);
  padding: 3.5rem 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(94, 139, 110, 0.08);
  transition: var(--transition);
  text-align: center;
}

.disc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(94, 139, 110, 0.2);
}

.disc-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--accent);
}

.disc-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.disc-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* PHILOSOPHIE (Split) */
.philo {
  background: var(--bg-alt);
}

.philo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.philo-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.philo-img img {
  width: 100%;
  display: block;
}

.philo-text p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* TARIFS & ACCES */
.infos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.info-pane {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.info-pane h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}
.info-pane h3 i { color: var(--accent); }

.price-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
  padding: 1rem 0;
}
.price-item:last-child { border-bottom: none; }

.price-item span:first-child {
  font-weight: 500;
  color: var(--text-main);
}
.price-item span:last-child {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: var(--text-muted);
}
.schedule-list li strong {
  color: var(--text-main);
  font-weight: 500;
}

/* MODAL RDV (Simule Doctolib) */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 63, 53, 0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  z-index: 1000;
  width: 90%;
  max-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { color: var(--accent); }

.modal h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.modal p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--bg-color);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 139, 110, 0.2);
}

/* FOOTER */
.footer {
  padding: 4rem 0 2rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.disclaimer {
  background: var(--bg-alt);
  border: 1px solid rgba(94, 139, 110, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.disclaimer h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8rem;
  }
  .hero-content p {
    margin: 0 auto 2.5rem;
  }
  .hero-img {
    height: 60vh;
    border-radius: 40px;
  }
  .disc-grid, .philo-wrapper, .infos-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 3rem; }
}
