* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7f7f7;
  --white: #ffffff;
  --text: #183153;
  --muted: #555;
  --line: #e5e5e5;
  --accent: #e56b73;
  --accent-hover: #d85d66;
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebe5d;
  --shadow: 0 8px 24px rgba(17, 38, 67, 0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* WRAPPER COMMUN */
.site-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOPBAR */
.topbar {
  background: #f7f7f7;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid #ececec;
}

.topbar .site-width {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding-top: 5px;
  padding-bottom: 5px;
  gap: 16px;
}

/* NAVBAR */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .site-width {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: #27467a;
  line-height: 1.2;
  text-decoration: none;
  max-width: 700px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.logo::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #e56b73;
  margin-top: 4px;
  border-radius: 2px;
}

.logo-dot {
  color: #e56b73;
  font-weight: 800;
}

/* Partie slogan */
.logo-sub {
  font-weight: 500;
  color: inherit;
}

/* Sur les pages internes → on cache le slogan */
.inner-page .logo-sub {
  display: none;
}

.logo:hover {
  opacity: 0.8;
}

/* Thailand plus fort */
.logo-thailand {
  font-weight: 800;
  margin-right: 2px;
}

/* Sense plus léger */
.logo-sense {
  font-weight: 600;
}

/* slogan même couleur */
.logo-sub {
  font-weight: 500;
  color: inherit; /* ← important */
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--accent-hover);
}

.program-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #49607d;
  background: white;
  border: 1px solid #e5e5e5;
  padding: 12px 22px;
  border-radius: 16px;
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}

.program-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff7f8;
}

/* FOOTER */
.footer {
  background: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  color: #666;
  border-top: 1px solid #ececec;
}

/* BOUTONS CTA COMMUNS */
.cta-main {
  width: 100%;
  border: none;
  background: var(--accent);
  color: white;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.cta-main:hover {
  background: var(--accent-hover);
}

.cta-secondary {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  margin: 12px 0;
}

.cta-secondary:hover {
  text-decoration: underline;
}

.cta-whatsapp {
  display: block;
  text-align: center;
  background: var(--whatsapp);
  color: white;
  text-decoration: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.2s;
}

.cta-whatsapp:hover {
  background: var(--whatsapp-hover);
}

/* RESPONSIVE COMMUN */
@media (max-width: 768px) {
  .topbar .site-width,
  .navbar .site-width {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .navbar .site-width {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-right {
    flex-wrap: wrap;
  }

  .logo {
    font-size: 20px;
    max-width: 100%;
  }
}