/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #2a7a78;
  --teal-dark:  #1a5452;
  --teal-light: #e0f0ef;
  --olive:      #6a8c1e;
  --olive-dark: #4e6914;
  --beige:      #f0e8d8;
  --beige-mid:  #e8dcc8;
  --salmon:     #d4956a;
  --salmon-light: #f5e6da;
  --text:       #2c2c2c;
  --text-light: #6b6b6b;
  --white:      #ffffff;
  --radius:     14px;
  --shadow:     0 4px 28px rgba(26,84,82,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 2.5rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-mid);
}

.logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 1rem; font-weight: bold; color: var(--teal-dark);
}
.logo span {
  display: block; font-size: 0.73rem; font-weight: normal;
  color: var(--text-light); letter-spacing: 0.09em; font-family: sans-serif;
  text-transform: uppercase;
}
.logo-placeholder {
  width: 46px; height: 46px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
}
.logo-placeholder img {
  width: 100%; height: 100%; object-fit: cover;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--text); font-family: sans-serif;
  font-size: 0.88rem; letter-spacing: 0.03em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--teal-dark); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 55%, #3a9a96 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 2rem 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 80%, rgba(240,232,216,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 20%, rgba(106,140,30,0.08) 0%, transparent 50%);
}
/* Cercle décoratif beige inspiré du logo */
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(240,232,216,0.07);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-psi {
  font-size: 3rem; color: rgba(240,232,216,0.35);
  margin-bottom: 0.5rem; letter-spacing: 0;
  font-family: Georgia, serif;
}

.hero-tag {
  display: inline-block; margin-bottom: 1.2rem;
  padding: 0.35rem 1.1rem; border-radius: 50px;
  background: rgba(255,255,255,0.13); color: rgba(240,232,216,0.9);
  font-family: sans-serif; font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem); color: var(--white);
  line-height: 1.25; margin-bottom: 1.2rem;
}

.hero-sub {
  color: rgba(255,255,255,0.80); font-size: 1.05rem;
  margin-bottom: 2.2rem; font-family: sans-serif;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block; padding: 0.9rem 2.2rem;
  background: var(--beige); color: var(--teal-dark);
  border-radius: 50px; font-family: sans-serif; font-weight: bold;
  text-decoration: none; font-size: 0.92rem; letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(26,84,82,0.2);
}

/* === SECTIONS === */
.section { padding: 5.5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }

.section-tag {
  display: inline-block; font-family: sans-serif; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--olive);
  font-weight: bold; margin-bottom: 0.75rem;
}
.section-tag.centered { display: block; text-align: center; }

h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--teal-dark); margin-bottom: 1.2rem; line-height: 1.3;
}
h2.centered { text-align: center; }
h2 em { font-style: italic; color: var(--teal); }

/* === À PROPOS === */
.apropos { background: var(--beige); }

.apropos-logo {
  width: 100%; max-width: 420px;
  display: block; margin: 0 auto;
  border-radius: var(--radius);
  background: transparent;
}

.apropos-text p { color: var(--text-light); margin-bottom: 1rem; font-family: sans-serif; font-size: 0.95rem; }

.apropos-list { list-style: none; margin-top: 1.5rem; }
.apropos-list li {
  padding: 0.55rem 0; font-family: sans-serif; font-size: 0.88rem;
  color: var(--text); border-bottom: 1px solid var(--beige-mid);
}
.apropos-list li::before { content: 'Ψ  '; color: var(--olive); font-size: 0.75rem; font-weight: bold; }

/* === SERVICES === */
.services { background: var(--white); }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}

.card {
  padding: 2rem; border-radius: var(--radius);
  border: 1px solid #e2ddd5;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-featured {
  border-color: var(--teal);
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(240,232,216,0.4) 100%);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: 14px;
  padding: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.card-icon svg { width: 100%; height: 100%; }
.card:hover .card-icon { transform: scale(1.08) rotate(-3deg); background: var(--beige); }
.card-featured .card-icon { background: var(--beige); }
.card h3 { font-size: 1.05rem; color: var(--teal-dark); margin-bottom: 0.6rem; }
.card p { font-family: sans-serif; font-size: 0.88rem; color: var(--text-light); }

.card-tag {
  display: inline-block; margin-top: 1rem;
  padding: 0.2rem 0.75rem; border-radius: 50px;
  background: var(--olive); color: white;
  font-family: sans-serif; font-size: 0.7rem; font-weight: bold;
  text-transform: uppercase; letter-spacing: 0.09em;
}

/* === DÉROULEMENT === */
.deroulement { background: var(--beige); }

.steps {
  display: flex; align-items: flex-start; gap: 1rem;
  margin: 2.5rem 0; flex-wrap: wrap;
}

.step {
  flex: 1; min-width: 200px;
  background: var(--white);
  padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow);
}

.step-num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: bold; font-family: sans-serif;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; color: var(--teal-dark); margin-bottom: 0.5rem; }
.step p { font-family: sans-serif; font-size: 0.87rem; color: var(--text-light); }

.step-arrow { font-size: 1.5rem; color: var(--salmon); padding-top: 2.5rem; flex-shrink: 0; }

.tarifs {
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow); margin-top: 2rem;
  border-top: 4px solid var(--teal);
}
.tarifs h3 { color: var(--teal-dark); margin-bottom: 1.5rem; font-size: 1.2rem; }

.tarif-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 1rem;
}

.tarif-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.5rem; border: 2px solid var(--beige-mid); border-radius: var(--radius);
  text-align: center; transition: border-color 0.2s;
}
.tarif-item:hover { border-color: var(--teal); }

.tarif-featured {
  border-color: var(--teal);
  background: var(--teal-light);
}

.tarif-label { font-family: sans-serif; font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.5rem; }
.tarif-price { font-size: 1.9rem; font-weight: bold; color: var(--teal-dark); line-height: 1; }
.tarif-duration { font-family: sans-serif; font-size: 0.78rem; color: var(--text-light); margin-top: 0.3rem; }
.tarif-note { font-family: sans-serif; font-size: 0.82rem; color: var(--text-light); margin-top: 1.2rem; line-height: 1.6; }

/* === CONTACT === */
.contact { background: var(--salmon-light); }

.contact-info p { font-family: sans-serif; font-size: 0.93rem; color: var(--text-light); margin-bottom: 1.5rem; }

.contact-list { list-style: none; }
.contact-list li {
  padding: 0.65rem 0; font-family: sans-serif; font-size: 0.93rem;
  border-bottom: 1px solid rgba(212,149,106,0.2); display: flex; gap: 0.7rem; align-items: center;
}
.contact-list a { color: var(--teal); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.map-container {
  margin-top: 1.5rem; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.map-link {
  display: block; text-align: center;
  padding: 0.55rem 1rem;
  background: var(--white); color: var(--teal);
  font-family: sans-serif; font-size: 0.83rem;
  text-decoration: none; border-top: 1px solid var(--beige-mid);
  transition: background 0.2s, color 0.2s;
}
.map-link:hover { background: var(--teal); color: var(--white); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-family: sans-serif; font-size: 0.83rem; font-weight: bold; color: var(--teal-dark); letter-spacing: 0.03em; }

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.78rem 1rem; border: 1.5px solid #d8d0c4; border-radius: 10px;
  font-size: 0.93rem; font-family: sans-serif; outline: none;
  background: var(--white); transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }

.form-confirm { font-family: sans-serif; font-size: 0.9rem; color: var(--olive); font-weight: bold; }
.form-confirm:not(:empty) { margin-top: 1.1rem; }
.form-confirm p { font-weight: normal; color: var(--text); line-height: 1.6; }
.form-fallback-mail {
  margin-top: 0.5rem;
  font-weight: bold !important;
  color: var(--teal-dark) !important;
  word-break: break-all;
  user-select: all;
}
.btn-copier {
  display: inline-block; margin-top: 0.9rem;
  padding: 0.6rem 1.4rem;
  background: var(--teal); color: var(--white);
  border: none; border-radius: 50px; cursor: pointer;
  font-family: sans-serif; font-size: 0.85rem; font-weight: bold;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}
.btn-copier:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* === FOOTER === */
footer {
  background: var(--teal-dark);
  color: rgba(240,232,216,0.8);
  text-align: center; padding: 2.5rem 2rem;
  font-family: sans-serif; font-size: 0.85rem;
}
footer p + p { margin-top: 0.6rem; font-size: 0.78rem; opacity: 0.65; }
.footer-psi { font-size: 1.4rem; display: block; margin-bottom: 0.75rem; color: rgba(240,232,216,0.3); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 1.5rem 2rem; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; padding-top: 0; }
  .navbar { padding: 0.85rem 1.2rem; }
}
