* {
  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;
}

/* CONTENEUR PAGES LÉGALES */
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.6;
}

.page-container h1 {
  margin-bottom: 24px;
}

.page-container h2 {
  margin: 28px 0 12px;
}

.page-container p,
.page-container ul {
  margin-bottom: 16px;
}

.page-container ul {
  padding-left: 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;
}

/* LANG SWITCH */
.topbar a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.topbar a:visited {
  color: inherit;
}

.topbar a:hover {
  color: var(--accent);
}

/* 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;
}

.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;
}

.logo-thailand {
  font-weight: 800;
  margin-right: 2px;
}

.logo-sense {
  font-weight: 600;
}

.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;
}

/* 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);
}

/* BOUTON RETOUR */
.back-container {
  text-align: center;
  margin: 32px 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s;
}

.back-btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* FOOTER */
.footer.footer-enhanced {
  background: #fff;
  color: var(--text);
  border-top: 1px solid #ececec;
  margin-top: 40px;
}

.footer.footer-enhanced .site-width {
  padding: 16px 20px 10px;
}

/* Partie haute */
.footer-enhanced .footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid #ececec;
}

/* Ligne verticale */
.footer-enhanced .footer-top::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #ececec;
  transform: translateX(-50%);
}

/* Colonnes */
.footer-enhanced .footer-contact,
.footer-enhanced .footer-social {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* Léger décalage visuel à droite */
.footer-enhanced .footer-social {
  transform: translateX(20px);
}

/* Titres */
.footer-enhanced .footer-contact h3,
.footer-enhanced .footer-social h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1f3f73;
  margin-bottom: 10px;
  text-align: left;
}

/* Liens contact */
.footer-enhanced .footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #2b4e86;
  font-size: 14px;
  margin-bottom: 8px;
  transition: 0.2s;
}

.footer-enhanced .footer-line:hover {
  color: var(--accent);
}

.footer-enhanced .footer-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-enhanced .footer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-enhanced .whatsapp-dot {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9bf0aa, #3aa857);
}

/* Réseaux sociaux */
.footer-enhanced .footer-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-enhanced .social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.2s;
}

.footer-enhanced .social-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
  display: block;
}

/* Couleurs réseaux */
.footer-enhanced .facebook {
  background: #1877f2;
}

.footer-enhanced .instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.footer-enhanced .tiktok {
  background: #000;
}

.footer-enhanced .youtube {
  background: #ff0000;
}

/* Hover */
.footer-enhanced .social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Ligne compacte du bas */
.footer-enhanced .footer-compact {
  text-align: center;
  font-size: 13px;
  color: #666;
  padding: 8px 0 4px;
  line-height: 1.4;
}

.footer-enhanced .footer-compact a {
  text-decoration: none;
  color: #2b4e86;
  font-weight: 500;
  margin: 0 4px;
  transition: 0.2s;
}

.footer-enhanced .footer-compact a:hover {
  color: var(--accent);
}

.footer-enhanced .footer-compact span {
  color: #9aa5b1;
  margin: 0 4px;
}

/* RESPONSIVE COMMUN */
@media (max-width: 992px) {
  .trust-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-card:nth-child(2)::after {
    display: none;
  }
}

@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%;
  }

  .page-container {
    padding: 40px 16px;
  }

/* TRUST SECTION */
.trust-section {
  padding: 22px 0 12px;
}

.trust-wrap {
  position: relative;
  padding-top: 14px; /* laisse la place au titre qui chevauche */
}

.trust-kicker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: var(--bg);
  padding: 0 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #e56b73;
  white-space: nowrap;
}

.trust-panel {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(17, 38, 67, 0.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  padding: 22px 0 18px;
}

.trust-card {
  position: relative;
  text-align: center;
  padding: 18px 24px 14px;
}

.trust-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  width: 1px;
  height: calc(100% - 44px);
  background: #ececec;
}

.trust-card-icon {
  margin-bottom: 10px;
}

.trust-svg {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  color: #d4777d;
}

.trust-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.trust-card h3 {
  font-size: 15px;
  line-height: 1.35;
  color: #183153;
  margin: 0 0 8px;
  font-weight: 700;
}

.trust-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #667085;
  margin: 0 auto;
  max-width: 240px;
}

/* TABLET */
@media (max-width: 992px) {
  .trust-panel {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0 14px;
  }

  .trust-card:nth-child(2)::after {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .trust-section {
    padding: 18px 0 8px;
  }

  .trust-wrap {
    padding-top: 10px;
  }

  .trust-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    padding: 0 10px;
    white-space: normal;
    width: calc(100% - 40px);
  }

  .trust-panel {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 12px 0;
  }

  .trust-card {
    padding: 18px 18px 16px;
  }

  .trust-card:not(:last-child)::after {
    display: none;
  }

  .trust-card:not(:last-child) {
    border-bottom: 1px solid #ececec;
  }

  .trust-svg {
    width: 36px;
    height: 36px;
  }

  .trust-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .trust-card p {
    font-size: 13px;
    max-width: none;
  }
}

  .footer-enhanced .footer-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-enhanced .footer-top::after {
    display: none;
  }

  .footer-enhanced .footer-social {
    transform: none;
  }

  .footer-enhanced .footer-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
}