/*
Theme Name: ANSS Guinée
Theme URI: https://anss-guinee.org
Author: ANSS Guinée
Author URI: https://anss-guinee.org
Description: Thème officiel de l'Agence Nationale de Sécurité Sanitaire de Guinée. Basé sur MedServices, adapté pour la veille épidémique, le signalement de cas et la communication institutionnelle.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anss-guinee
Tags: medical, health, government, institutional, responsive, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   ANSS GUINÉE — Feuille de style principale
   ============================================================ */

/* ── Palette officielle ──────────────────────────────────── */
:root {
  --anss-bleu:        #003F7D;
  --anss-bleu-clair:  #0069B4;
  --anss-rouge:       #C0392B;
  --anss-vert:        #1A7A3C;
  --anss-or:          #D4A017;
  --anss-gris:        #F4F6F9;
  --anss-gris-bord:   #DEE2E8;
  --anss-texte:       #1C2333;
  --anss-texte-2:     #4A5568;
  --anss-blanc:       #FFFFFF;
  --anss-urgence:     #E74C3C;

  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 2px 12px rgba(0,63,125,.10);
  --shadow-lg: 0 6px 32px rgba(0,63,125,.14);
  --trans:     all .25s ease;


  /* === Aliases v3 pour sections premium === */
  --anss-teal:    #009382;
  --anss-green:   #00c798;
  --anss-dark:    #0a2540;
  --anss-gold:    #c89600;
}

/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--anss-texte);
  background: var(--anss-blanc);
  font-weight: 400;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--anss-bleu-clair); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--anss-bleu); }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  color: var(--anss-bleu);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
p  { margin-bottom: 1rem; color: var(--anss-texte-2); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--anss-bleu-clair);
  margin-bottom: .75rem;
  padding: 4px 14px;
  background: rgba(0,105,180,.08);
  border-radius: 100px;
  border-left: 3px solid var(--anss-bleu-clair);
}

/* ── Layout helpers ──────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-light   { background: var(--anss-gris); }
.bg-blue    { background: var(--anss-bleu); }
.bg-blue *  { color: var(--anss-blanc); }
.text-center{ text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1  { gap: 8px; }
.gap-2  { gap: 16px; }
.gap-3  { gap: 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none;
  transition: var(--trans);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--anss-bleu);
  color: var(--anss-blanc);
}
.btn-primary:hover { background: var(--anss-bleu-clair); color: var(--anss-blanc); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-urgence {
  background: var(--anss-urgence);
  color: var(--anss-blanc);
}
.btn-urgence:hover { background: #c0392b; color: var(--anss-blanc); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--anss-bleu);
  border: 2px solid var(--anss-bleu);
}
.btn-outline:hover { background: var(--anss-bleu); color: var(--anss-blanc); }

.btn-white {
  background: var(--anss-blanc);
  color: var(--anss-bleu);
}
.btn-white:hover { background: var(--anss-gris); }

/* ── Top bar ─────────────────────────────────────────────── */
#top-bar {
  background: linear-gradient(135deg, #002D5A 0%, #003F7D 50%, #005F8A 100%);
  color: rgba(255,255,255,.92);
  font-size: .8rem;
  padding: 7px 0;
  position: relative;
}
#top-bar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,188,156,.5) 30%, rgba(0,188,156,.9) 50%, rgba(0,188,156,.5) 70%, transparent 100%);
}
#top-bar .top-bar-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
#top-bar a { color: rgba(255,255,255,.88); transition: color .2s; }
#top-bar a:hover { color: #7fffd4; }
.top-bar-contact { display: flex; gap: 4px; align-items: center; }
.top-bar-contact span {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 12px 3px 9px;
  border-radius: 30px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  transition: all .2s;
  white-space: nowrap;
}
.top-bar-contact span:hover {
  background: rgba(0,188,156,.18);
  border-color: rgba(0,188,156,.35);
}
.top-bar-contact span i { color: #5dffe0; font-size: .8rem; }
.top-bar-social { display: flex; gap: 6px; align-items: center; }
.top-bar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: rgba(255,255,255,.85);
  transition: all .22s;
}
.top-bar-social a:hover {
  background: #00897b;
  border-color: #00897b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,137,123,.4);
}

/* ── Header / Navigation ─────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(4px) saturate(150%);
  box-shadow: 0 1px 0 rgba(0,63,125,.08), 0 4px 20px rgba(0,63,125,.08);
  transition: all .3s;
}
#site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(0,63,125,0) 0%,
    rgba(0,137,123,.5) 30%,
    rgba(0,188,156,1) 50%,
    rgba(0,137,123,.5) 70%,
    rgba(0,63,125,0) 100%
  );
  pointer-events: none;
}
#site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,63,125,.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 20px;
}
.site-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.site-logo img {
  height: 56px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,63,125,.18));
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), filter .3s;
}
.site-logo:hover img {
  transform: scale(1.06) rotate(-1deg);
  filter: drop-shadow(0 4px 14px rgba(0,63,125,.28));
}
.site-logo .logo-text { display: flex; flex-direction: column; }
.site-logo .logo-main {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.28rem; font-weight: 700;
  color: #003F7D; line-height: 1;
  letter-spacing: -.02em;
}
.site-logo .logo-sub {
  font-size: .61rem; color: #6b7f99;
  letter-spacing: .08em; text-transform: uppercase; margin-top: 3px;
  font-weight: 500;
}
#site-nav ul { display: flex; align-items: center; gap: 1px; margin: 0; padding: 0; list-style: none; }
#site-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px;
  font-size: .875rem; font-weight: 600;
  color: #1a2a4a;
  border-radius: 8px;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  letter-spacing: -.01em;
  position: relative; white-space: nowrap;
}
#site-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2.5px;
  background: linear-gradient(90deg, #003F7D, #00897b);
  border-radius: 2px;
  transition: left .25s cubic-bezier(.34,1.56,.64,1), right .25s cubic-bezier(.34,1.56,.64,1);
}
#site-nav > ul > li > a:hover::after,
#site-nav .current-menu-item > a::after { left: 12%; right: 12%; }
#site-nav > ul > li > a:hover {
  color: #003F7D;
  background: rgba(0,63,125,.07);
}
#site-nav .current-menu-item > a {
  color: #003F7D; font-weight: 700;
}
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px;
  color: var(--anss-bleu); font-size: 1.4rem;
}
#site-nav li { position: relative; }
#site-nav .sub-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff;
  border: 1px solid rgba(0,63,125,.1);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,63,125,.14), 0 4px 12px rgba(0,0,0,.06);
  min-width: 215px; padding: 6px;
  animation: subMenuIn .2s cubic-bezier(.34,1.56,.64,1);
}
@keyframes subMenuIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
#site-nav li:hover > .sub-menu { display: block; }
#site-nav .sub-menu a {
  padding: 9px 14px; border-radius: 8px;
  font-size: .86rem; font-weight: 500;
  display: block; color: #2c3e50; transition: all .18s;
}
#site-nav .sub-menu a:hover {
  background: rgba(0,63,125,.06); color: #003F7D; padding-left: 18px;
}

/* ── Hero Section ────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--anss-bleu) 0%, #00539B 55%, #006BB5 100%);
  color: var(--anss-blanc);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--anss-or); margin-bottom: 16px; }
#hero h1 { color: var(--anss-blanc); margin-bottom: 20px; }
#hero p   { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-urgence-box {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 40px;
  display: flex; align-items: center; gap: 20px;
}
.hero-urgence-icon { font-size: 2.5rem; flex-shrink: 0; }
.hero-urgence-num  { font-size: 2.2rem; font-weight: 800; color: var(--anss-or); line-height: 1; }
.hero-urgence-txt  { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 2px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-stat-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
}
.hero-stat-num  { font-size: 2rem; font-weight: 800; color: var(--anss-or); line-height: 1; }
.hero-stat-lbl  { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 6px; line-height: 1.3; }

/* ── Alert Banner ────────────────────────────────────────── */
#alert-banner {
  background: #FEF3CD;
  border-bottom: 3px solid var(--anss-or);
  padding: 14px 0;
  display: none; /* affiché via JS/WordPress quand actif */
}
#alert-banner.active { display: block; }
.alert-inner { display: flex; align-items: center; gap: 16px; }
.alert-badge {
  background: var(--anss-urgence); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: 100px; flex-shrink: 0;
}
.alert-text { font-size: .88rem; color: #7B4E00; flex: 1; }
.alert-link { font-size: .82rem; font-weight: 700; color: var(--anss-urgence); white-space: nowrap; }

/* ── Missions section ────────────────────────────────────── */
.missions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
.mission-card {
  background: var(--anss-blanc);
  border: 1px solid var(--anss-gris-bord);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border-top: 4px solid var(--anss-bleu-clair);
  transition: var(--trans);
}
.mission-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mission-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: rgba(0,105,180,.1); color: var(--anss-bleu-clair);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.mission-card h4 { margin-bottom: 10px; font-size: 1.05rem; }
.mission-card p  { font-size: .9rem; margin: 0; }

/* ── Dispositifs ─────────────────────────────────────────── */
.dispositifs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.dispositif-card {
  background: var(--anss-blanc);
  border: 1px solid var(--anss-gris-bord);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
}
.dispositif-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.dispositif-header {
  background: var(--anss-bleu);
  padding: 22px 24px;
  display: flex; align-items: center; gap: 14px;
}
.dispositif-badge {
  background: var(--anss-or); color: var(--anss-bleu);
  font-weight: 800; font-size: .75rem; letter-spacing: .08em;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
}
.dispositif-header h4 { color: var(--anss-blanc); font-size: .95rem; margin: 0; }
.dispositif-body { padding: 22px 24px; }
.dispositif-body p { font-size: .88rem; margin: 0; }

/* ── Services ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 48px; }
.service-card {
  background: var(--anss-blanc);
  border: 1px solid var(--anss-gris-bord);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--trans);
}
.service-card:hover { border-color: var(--anss-bleu-clair); box-shadow: var(--shadow); }
.service-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,63,125,.07); color: var(--anss-bleu);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 18px;
}
.service-card h5 { font-size: .95rem; color: var(--anss-bleu); margin-bottom: 8px; }
.service-card p  { font-size: .82rem; margin: 0; }

/* ── Signalement CTA ─────────────────────────────────────── */
#signalement-cta {
  background: var(--anss-bleu);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.signalement-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.signalement-title  { color: var(--anss-blanc); margin-bottom: 14px; }
.signalement-text   { color: rgba(255,255,255,.78); margin-bottom: 28px; }
.signalement-form   { background: var(--anss-blanc); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-lg); }
.signalement-form h4 { color: var(--anss-bleu); margin-bottom: 22px; font-size: 1.1rem; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--anss-texte); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--anss-gris-bord);
  border-radius: var(--radius); font-size: .9rem;
  color: var(--anss-texte); background: var(--anss-blanc);
  transition: var(--trans);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--anss-bleu-clair);
  box-shadow: 0 0 0 3px rgba(0,105,180,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group textarea { min-height: 90px; resize: vertical; }

/* ── Ligne verte ─────────────────────────────────────────── */
.ligne-verte-box {
  background: rgba(255,255,255,.1);
  border: 2px solid var(--anss-or);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; align-items: center; gap: 20px;
  margin-top: 28px;
}
.lv-icon { font-size: 2.8rem; flex-shrink: 0; }
.lv-num  { font-size: 2.6rem; font-weight: 900; color: var(--anss-or); line-height: 1; }
.lv-sub  { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ── Stats banner ────────────────────────────────────────── */
#stats-banner { background: var(--anss-bleu); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.6rem; font-weight: 800; color: var(--anss-or); line-height: 1; }
.stat-plus { color: var(--anss-or); }
.stat-lbl  { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 8px; line-height: 1.3; }

/* ── Team ─────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 48px; }
.team-card { background: var(--anss-blanc); border: 1px solid var(--anss-gris-bord); border-radius: var(--radius-lg); overflow: hidden; transition: var(--trans); }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-photo { height: 220px; background: var(--anss-gris); overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#003F7D,#0069B4); font-size: 3rem; color: rgba(255,255,255,.4); }
.team-info { padding: 20px; }
.team-info h5 { font-size: 1rem; color: var(--anss-bleu); margin-bottom: 4px; }
.team-role { font-size: .8rem; color: var(--anss-bleu-clair); font-weight: 700; margin-bottom: 0; }

/* ── Partenaires ─────────────────────────────────────────── */
#partenaires { padding: 60px 0; border-top: 1px solid var(--anss-gris-bord); }
.partenaires-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; margin-top: 36px; }
.partenaire-logo { filter: grayscale(80%); opacity: .65; transition: var(--trans); }
.partenaire-logo:hover { filter: grayscale(0); opacity: 1; }
.partenaire-logo img { height: 48px; width: auto; object-fit: contain; }

/* ── Blog / Actualités ───────────────────────────────────── */
.actu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; }
.actu-card { background: var(--anss-blanc); border: 1px solid var(--anss-gris-bord); border-radius: var(--radius-lg); overflow: hidden; transition: var(--trans); }
.actu-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.actu-thumbnail { height: 195px; background: var(--anss-gris); overflow: hidden; }
.actu-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.actu-card:hover .actu-thumbnail img { transform: scale(1.04); }
.actu-body { padding: 22px; }
.actu-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.actu-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 10px;
  border-radius: 100px; background: rgba(0,105,180,.1); color: var(--anss-bleu-clair);
}
.actu-tag.urgence { background: rgba(231,76,60,.1); color: var(--anss-urgence); }
.actu-date { font-size: .78rem; color: var(--anss-texte-2); }
.actu-card h4 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.actu-card h4 a { color: var(--anss-bleu); }
.actu-card h4 a:hover { color: var(--anss-bleu-clair); }
.actu-card p  { font-size: .86rem; margin-bottom: 14px; }
.actu-lire { font-size: .85rem; font-weight: 700; color: var(--anss-bleu-clair); display: flex; align-items: center; gap: 5px; }
.actu-lire:hover { gap: 9px; }

/* ── Footer ──────────────────────────────────────────────── */
#site-footer {
  background: var(--anss-bleu);
  color: rgba(255,255,255,.8);
  padding: 70px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .footer-logo { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: rgba(255,255,255,.8);
  transition: var(--trans);
}
.footer-social a:hover { background: var(--anss-or); color: var(--anss-bleu); }
.footer-col h5 { color: var(--anss-blanc); font-size: .9rem; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: .85rem; color: rgba(255,255,255,.7); transition: var(--trans); }
.footer-col ul a:hover { color: var(--anss-or); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .85rem; }
.footer-contact-item .icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; color: var(--anss-or); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--anss-or); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats  { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .signalement-cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  #site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--anss-blanc); box-shadow: var(--shadow-lg); padding: 16px; }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; width: 100%; }
  #site-nav .sub-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats  { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .header-inner { position: relative; }
  .top-bar-contact { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
  .hero-btns  { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .missions-grid { grid-template-columns: 1fr; }
}

/* ── WordPress specifics ─────────────────────────────────── */
.wp-block-image img { border-radius: var(--radius); }
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { text-align: center; margin: 0 auto 16px; }
.alignwide  { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull  { max-width: 100%; }
.page-content, .entry-content { max-width: 820px; margin: 0 auto; padding: 60px 20px; }
.entry-content h2 { font-size: 1.6rem; margin: 32px 0 14px; }
.entry-content h3 { font-size: 1.3rem; margin: 28px 0 12px; }
.entry-content p  { margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2rem 1.4rem; }
.entry-content li { margin-bottom: 6px; }
/* Pagination */
.nav-links { display: flex; gap: 8px; justify-content: center; margin: 40px 0; }
.nav-links a, .nav-links span {
  padding: 8px 16px; border-radius: var(--radius);
  border: 1px solid var(--anss-gris-bord); font-size: .9rem;
}
.nav-links .current { background: var(--anss-bleu); color: #fff; border-color: var(--anss-bleu); }
/* Screen reader */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


/* ═════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════════
   ANSS GUINÉE — DESIGN SYSTEM PREMIUM v2.0
   ═══════════════════════════════════════════════════════════ */
:root{--ms-teal:#00bcd4;--ms-teal-dark:#0097a7;--ms-teal-deeper:#006978;--ms-teal-light:#e0f7fa;--ms-teal-glow:rgba(0,188,212,.15);--ms-dark:#0d1b2a;--ms-dark-2:#1a2e45;--ms-text:#4a5568;--ms-text-light:#718096;--ms-white:#fff;--ms-bg:#f8fafe;--ms-bg-2:#eef2f7;--ms-border:#e2e8f0;--ms-red:#e53e3e;--ms-green:#38a169;--ms-radius:10px;--ms-radius-lg:18px;--ms-shadow-sm:0 2px 8px rgba(0,0,0,.06);--ms-shadow:0 4px 24px rgba(0,0,0,.09);--ms-shadow-lg:0 12px 48px rgba(0,0,0,.14);--ms-shadow-teal:0 8px 32px rgba(0,188,212,.25);--ms-transition:all .3s cubic-bezier(.4,0,.2,1)}
*,*::before,*::after{box-sizing:border-box}
.ms-container{max-width:1180px;margin:0 auto;padding:0 24px}
/* BUTTONS */
.ms-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 28px;border-radius:6px;font-weight:700;font-size:.88rem;text-decoration:none;text-transform:uppercase;letter-spacing:.8px;transition:var(--ms-transition);cursor:pointer;border:2px solid transparent;position:relative;overflow:hidden}
.ms-btn-primary{background:var(--ms-teal);color:#fff;border-color:var(--ms-teal)}
.ms-btn-primary:hover{background:var(--ms-teal-dark);border-color:var(--ms-teal-dark);color:#fff;transform:translateY(-2px);box-shadow:var(--ms-shadow-teal)}
.ms-btn-white{background:#fff;color:var(--ms-teal-deeper);border-color:#fff}
.ms-btn-white:hover{background:rgba(255,255,255,.9);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.2);color:var(--ms-teal-deeper)}
.ms-btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.ms-btn-outline:hover{background:rgba(255,255,255,.12);border-color:#fff;color:#fff}
.ms-btn-outline-dark{background:transparent;color:var(--ms-teal);border-color:var(--ms-teal)}
.ms-btn-outline-dark:hover{background:var(--ms-teal);color:#fff;transform:translateY(-2px)}
.ms-btn-white-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.ms-btn-white-outline:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}
.ms-btn-lg{padding:16px 36px;font-size:1rem}.ms-btn-full{width:100%;justify-content:center}
/* SECTION HEADERS */
.ms-section-badge{display:inline-block;background:var(--ms-teal-light);color:var(--ms-teal-deeper);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:2.5px;padding:6px 16px;border-radius:20px;margin-bottom:14px;border:1px solid rgba(0,188,212,.2)}
.ms-section-header{text-align:center;margin-bottom:55px}
.ms-section-header h2{font-size:2.1rem;font-weight:800;color:var(--ms-dark);margin-bottom:16px;line-height:1.25}
.ms-section-header p{color:var(--ms-text-light);font-size:1.05rem;max-width:660px;margin:0 auto;line-height:1.75}
.ms-section-cta{text-align:center;margin-top:44px}
/* ══ HERO ══════════════════════════════════════════════════ */
.ms-hero{display:flex;min-height:620px;align-items:stretch;position:relative}
.ms-hero-left{flex:0 0 55%;background:linear-gradient(135deg,#00acc1 0%,#006978 100%);display:flex;align-items:center;padding:80px 64px 80px 56px;position:relative;overflow:hidden}
.ms-hero-left::before{content:'';position:absolute;top:-80px;right:-80px;width:340px;height:340px;background:rgba(255,255,255,.05);border-radius:50%}
.ms-hero-left::after{content:'';position:absolute;bottom:-60px;left:-60px;width:220px;height:220px;background:rgba(0,0,0,.06);border-radius:50%}
.ms-hero-content{position:relative;z-index:2}
.ms-hero-badge{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.15);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;padding:8px 16px;border-radius:30px;margin-bottom:22px;animation:slideInLeft .7s ease forwards}
.ms-badge-pulse{width:8px;height:8px;background:#fff;border-radius:50%;display:inline-block;position:relative;animation:pulseBadge 1.8s infinite}
@keyframes pulseBadge{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}70%{box-shadow:0 0 0 8px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
@keyframes slideInLeft{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}
@keyframes slideInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeInScale{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
.ms-hero-title{font-size:3rem;font-weight:800;color:#fff;line-height:1.15;margin-bottom:22px;animation:slideInUp .8s .1s ease both}
.ms-hero-accent{position:relative;display:inline-block}
.ms-hero-accent::after{content:'';position:absolute;bottom:4px;left:0;width:100%;height:3px;background:rgba(255,255,255,.5);border-radius:2px}
.ms-hero-desc{color:rgba(255,255,255,.88);font-size:1.05rem;line-height:1.75;margin-bottom:32px;max-width:480px;animation:slideInUp .8s .2s ease both}
.ms-hero-btns{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px;animation:slideInUp .8s .3s ease both}
.ms-hero-trust{display:flex;gap:24px;animation:slideInUp .8s .4s ease both}
.ms-trust-item{display:flex;align-items:center;gap:7px;color:rgba(255,255,255,.8);font-size:.82rem;font-weight:600}
.ms-trust-item i{font-size:1rem;color:rgba(255,255,255,.9)}
.ms-hero-right{flex:0 0 45%;position:relative;overflow:hidden}
.ms-hero-right img{width:100%;height:100%;object-fit:cover;display:block;animation:fadeInScale 1.2s ease both}
.ms-hero-right::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,rgba(0,105,120,.25) 0%,transparent 50%)}
.ms-hero-overlay-card{position:absolute;bottom:28px;left:24px;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);padding:12px 18px;border-radius:10px;display:flex;align-items:center;gap:12px;box-shadow:0 4px 24px rgba(0,0,0,.09);z-index:10;animation:slideInUp 1s .5s ease both}
.ms-pulse-dot{width:12px;height:12px;background:#38a169;border-radius:50%;flex-shrink:0;animation:pulseGreen 2s infinite}
@keyframes pulseGreen{0%{box-shadow:0 0 0 0 rgba(56,161,105,.6)}70%{box-shadow:0 0 0 10px rgba(56,161,105,0)}100%{box-shadow:0 0 0 0 rgba(56,161,105,0)}}
.ms-hero-overlay-card strong{display:block;font-size:.85rem;font-weight:700;color:#0d1b2a}
.ms-hero-overlay-card span{font-size:.76rem;color:#718096}
/* INFOBAR */
.ms-infobar{margin:-52px 60px 0;position:relative;z-index:20;background:#fff;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.12);overflow:hidden}
.ms-infobar-grid{display:grid;grid-template-columns:1fr 1fr 1fr}
.ms-infobar-item{padding:38px 34px;border-right:1px solid #e2e8f0;transition:all .3s cubic-bezier(.4,0,.2,1)}
.ms-infobar-item:last-child{border-right:none}
.ms-infobar-item:hover{background:#f8fafe}
.ms-infobar-icon{width:48px;height:48px;background:#e0f7fa;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;transition:all .3s}
.ms-infobar-item:hover .ms-infobar-icon{transform:scale(1.1)}
.ms-infobar-icon i{font-size:1.2rem;color:#00bcd4}
.ms-icon-red{background:#fff5f5}.ms-icon-red i{color:#e53e3e}
.ms-infobar-item h4{font-size:1rem;font-weight:700;color:#0d1b2a;margin-bottom:14px}
.ms-infobar-item ul{list-style:none;padding:0;margin:0 0 14px}
.ms-infobar-item ul li{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px dashed #e2e8f0;font-size:.88rem;color:#4a5568}
.ms-infobar-item ul li span{font-weight:700;color:#0d1b2a}
.ms-always-open{background:#e6fffa;color:#047857!important;padding:2px 10px;border-radius:20px;font-size:.78rem!important;border:1px solid #c6f6d5}
.ms-infobar-center{background:#f8fafe}
.ms-infobar-item p{font-size:.9rem;color:#4a5568;line-height:1.65;margin-bottom:16px}
.ms-emergency-number{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.ms-big-number{font-size:3rem;font-weight:900;color:#e53e3e;line-height:1}
.ms-free-badge{background:#fff5f5;color:#e53e3e;font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:20px;border:1px solid #fed7d7}
.ms-phone-alt{font-size:.95rem;font-weight:600;color:#0d1b2a;margin-bottom:10px!important}
/* ══ STATS ══════════════════════════════════════════════════ */
.ms-stats{background:linear-gradient(135deg,#006978 0%,#00acc1 50%,#006978 100%);background-size:200% 200%;animation:gradientShift 8s ease infinite;padding:70px 0;margin-top:70px;position:relative;overflow:hidden}
@keyframes gradientShift{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
.ms-stats::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 50%,rgba(255,255,255,.05) 0%,transparent 50%),radial-gradient(circle at 80% 50%,rgba(255,255,255,.05) 0%,transparent 50%)}
.ms-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);position:relative;z-index:2}
.ms-stat-item{text-align:center;padding:30px 20px;border-right:1px solid rgba(255,255,255,.15);color:#fff;transition:all .3s}
.ms-stat-item:last-child{border-right:none}
.ms-stat-item:hover{transform:translateY(-4px)}
.ms-stat-icon{width:52px;height:52px;background:rgba(255,255,255,.15);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.ms-stat-icon i{font-size:1.3rem}
.ms-stat-number{font-size:3.4rem;font-weight:900;line-height:1;display:inline-block}
.ms-stat-plus{font-size:2rem;font-weight:700;display:inline-block;vertical-align:top;margin-top:6px}
.ms-stat-label{font-size:.82rem;text-transform:uppercase;letter-spacing:1.5px;opacity:.85;margin-top:8px;font-weight:600}
/* ══ SERVICES ══════════════════════════════════════════════ */
.ms-services{padding:90px 0;background:#f8fafe}
.ms-services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.ms-service-card{background:#fff;padding:32px 24px 28px;border-radius:10px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:all .3s cubic-bezier(.4,0,.2,1);border-bottom:3px solid transparent;position:relative;overflow:hidden}
.ms-service-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#00bcd4;transform:scaleX(0);transition:transform .3s ease;transform-origin:left}
.ms-service-card:hover{transform:translateY(-6px);box-shadow:0 4px 24px rgba(0,0,0,.09);border-bottom-color:#00bcd4}
.ms-service-card:hover::before{transform:scaleX(1)}
.ms-service-icon-wrap{width:68px;height:68px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;transition:all .3s}
.ms-service-card:hover .ms-service-icon-wrap{transform:scale(1.1) rotate(-5deg)}
.ms-service-icon-wrap i{font-size:1.6rem}
.ms-color-1{background:#e0f7fa}.ms-color-1 i{color:#00838f}
.ms-color-2{background:#e8f5e9}.ms-color-2 i{color:#2e7d32}
.ms-color-3{background:#e3f2fd}.ms-color-3 i{color:#1565c0}
.ms-color-4{background:#fce4ec}.ms-color-4 i{color:#c62828}
.ms-color-5{background:#fff8e1}.ms-color-5 i{color:#f57f17}
.ms-color-6{background:#f3e5f5}.ms-color-6 i{color:#6a1b9a}
.ms-service-card h3{font-size:.88rem;font-weight:700;color:#0d1b2a;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}
.ms-service-card p{font-size:.88rem;color:#4a5568;line-height:1.65;margin-bottom:16px}
.ms-card-link{display:inline-flex;align-items:center;gap:5px;color:#00bcd4;font-size:.82rem;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:.5px;transition:gap .2s}
.ms-card-link:hover{gap:9px;color:#0097a7}
/* ══ ABOUT ══════════════════════════════════════════════════ */
.ms-about{padding:90px 0;background:#fff}
.ms-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.ms-about-img-wrap{position:relative;border-radius:18px;overflow:visible}
.ms-about-img-wrap img{width:100%;height:460px;object-fit:cover;border-radius:18px;display:block;box-shadow:0 12px 48px rgba(0,0,0,.14)}
.ms-about-badge-float{position:absolute;bottom:-22px;right:-22px;background:#00bcd4;color:#fff;padding:16px 20px;border-radius:10px;display:flex;align-items:center;gap:12px;box-shadow:0 8px 32px rgba(0,188,212,.25)}
.ms-about-badge-float i{font-size:1.8rem;opacity:.9}
.ms-about-badge-float strong{display:block;font-size:.95rem;font-weight:800}
.ms-about-badge-float span{font-size:.78rem;opacity:.85}
.ms-about-content h2{font-size:2rem;font-weight:800;color:#0d1b2a;margin-bottom:18px;line-height:1.3}
.ms-about-content p{color:#4a5568;line-height:1.75;margin-bottom:16px}
.ms-about-pillars{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0 32px}
.ms-pillar{display:flex;align-items:flex-start;gap:12px;padding:14px;background:#f8fafe;border-radius:10px;border-left:3px solid #00bcd4;transition:all .3s}
.ms-pillar:hover{background:#e0f7fa;transform:translateX(4px)}
.ms-pillar-icon{width:36px;height:36px;background:#e0f7fa;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ms-pillar-icon i{font-size:1rem;color:#00bcd4}
.ms-pillar strong{display:block;font-size:.9rem;font-weight:700;color:#0d1b2a;margin-bottom:2px}
.ms-pillar span{font-size:.8rem;color:#718096}
.ms-about-cta{display:flex;gap:14px;flex-wrap:wrap}
/* ══ DISEASES ════════════════════════════════════════════ */
.ms-diseases{background:#0d1b2a;padding:70px 0;position:relative;overflow:hidden}
.ms-diseases .ms-section-header h2{color:#fff}
.ms-diseases .ms-section-badge{background:rgba(0,188,212,.2);color:#00bcd4;border-color:rgba(0,188,212,.3)}
.ms-diseases-grid{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;position:relative}
.ms-disease-item{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.88);padding:12px 22px;border-radius:30px;font-size:.88rem;font-weight:600;transition:all .3s;cursor:default}
.ms-disease-item:hover{background:#00bcd4;border-color:#00bcd4;color:#fff;transform:translateY(-3px);box-shadow:0 8px 32px rgba(0,188,212,.25)}
.ms-disease-item i{font-size:1rem;color:#00bcd4;transition:color .2s}
.ms-disease-item:hover i{color:#fff}
/* ══ TEAM ═══════════════════════════════════════════════ */
.ms-team{padding:90px 0;background:#f8fafe}
.ms-team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ms-team-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:all .3s}
.ms-team-card:hover{transform:translateY(-6px);box-shadow:0 4px 24px rgba(0,0,0,.09)}
.ms-team-img{height:230px;overflow:hidden;position:relative}
.ms-team-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ms-team-card:hover .ms-team-img img{transform:scale(1.06)}
.ms-team-img::after{content:'';position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(transparent,rgba(0,0,0,.3))}
.ms-team-img-placeholder{background:#e0f7fa;display:flex;align-items:center;justify-content:center}
.ms-team-img-placeholder i{font-size:4rem;color:#00bcd4}
.ms-team-info{padding:20px}
.ms-team-info h3{font-size:1rem;font-weight:700;color:#0d1b2a;margin-bottom:4px}
.ms-team-role{color:#00bcd4;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.ms-team-info p{color:#4a5568;font-size:.85rem;line-height:1.55;margin-bottom:14px}
.ms-team-link{display:inline-flex;align-items:center;gap:6px;color:#00bcd4;font-weight:700;font-size:.82rem;text-decoration:none;transition:gap .2s}
.ms-team-link:hover{gap:10px;color:#0097a7}
/* ══ CTA ════════════════════════════════════════════════ */
.ms-cta{padding:90px 0;background:#0d1b2a;position:relative;overflow:hidden}
.ms-cta-bg-pattern{position:absolute;inset:0;background:radial-gradient(ellipse at 20% 50%,rgba(0,188,212,.12) 0%,transparent 60%),radial-gradient(ellipse at 80% 50%,rgba(0,105,120,.15) 0%,transparent 60%)}
.ms-cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;position:relative;z-index:2}
.ms-cta-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(229,62,62,.15);color:#fc8181;border:1px solid rgba(229,62,62,.3);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;padding:6px 14px;border-radius:20px;margin-bottom:20px}
.ms-cta-badge i{animation:alertBlink 1.5s infinite}
@keyframes alertBlink{0%,100%{opacity:1}50%{opacity:.3}}
.ms-cta-content h2{font-size:2rem;font-weight:800;color:#fff;margin-bottom:16px;line-height:1.3}
.ms-cta-content>p{color:rgba(255,255,255,.75);line-height:1.75;margin-bottom:32px}
.ms-cta-contacts{display:flex;flex-direction:column;gap:18px;margin-bottom:28px}
.ms-cta-contact-item{display:flex;align-items:center;gap:16px}
.ms-cta-icon-wrap{width:48px;height:48px;background:rgba(0,188,212,.2);border:1px solid rgba(0,188,212,.3);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .3s}
.ms-cta-icon-wrap i{font-size:1.1rem;color:#00bcd4}
.ms-cta-icon-wrap.ms-urgent{background:rgba(229,62,62,.2);border-color:rgba(229,62,62,.3)}
.ms-cta-icon-wrap.ms-urgent i{color:#fc8181}
.ms-cta-contact-item:hover .ms-cta-icon-wrap{transform:scale(1.1)}
.ms-cta-contact-item span{display:block;font-size:.78rem;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:1px;margin-bottom:3px}
.ms-cta-contact-item strong{font-size:1.1rem;color:#fff;font-weight:700}
.ms-cta-note{display:flex;align-items:center;gap:8px;font-size:.8rem;color:rgba(255,255,255,.45)}
.ms-cta-note i{color:#00bcd4}
.ms-cta-form{background:#fff;border-radius:18px;padding:38px;box-shadow:0 12px 48px rgba(0,0,0,.14)}
.ms-form-header{text-align:center;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid #e2e8f0}
.ms-form-header i{font-size:2rem;color:#00bcd4;margin-bottom:10px;display:block}
.ms-form-header h3{font-size:1.2rem;font-weight:800;color:#0d1b2a;margin-bottom:5px}
.ms-form-header p{font-size:.82rem;color:#718096}
.ms-form{display:flex;flex-direction:column;gap:14px}
.ms-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ms-form-group label{display:flex;align-items:center;gap:7px;font-size:.8rem;font-weight:700;color:#4a5568;text-transform:uppercase;letter-spacing:.5px;margin-bottom:7px}
.ms-form-group label i{color:#00bcd4;font-size:.85rem}
.ms-form-group input,.ms-form-group textarea,.ms-form-group select{width:100%;padding:11px 14px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:.9rem;color:#0d1b2a;transition:all .3s;box-sizing:border-box;font-family:inherit;background:#f8fafe}
.ms-form-group input:focus,.ms-form-group textarea:focus,.ms-form-group select:focus{outline:none;border-color:#00bcd4;background:#fff;box-shadow:0 0 0 4px rgba(0,188,212,.1)}
.ms-form-group textarea{resize:vertical;min-height:90px}
/* ══ NEWS ═══════════════════════════════════════════════════ */
.ms-news{padding:90px 0;background:#fff}
.ms-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.ms-news-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:all .3s;border:1px solid #e2e8f0}
.ms-news-card:hover{transform:translateY(-6px);box-shadow:0 4px 24px rgba(0,0,0,.09);border-color:transparent}
.ms-news-img{position:relative;height:210px;overflow:hidden}
.ms-news-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ms-news-card:hover .ms-news-img img{transform:scale(1.05)}
.ms-news-cat{position:absolute;top:14px;left:14px;background:#00bcd4;color:#fff;padding:4px 12px;border-radius:4px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.ms-news-content{padding:24px}
.ms-news-meta{font-size:.78rem;color:#718096;margin-bottom:10px}
.ms-news-meta i{margin-right:5px;color:#00bcd4}
.ms-news-content h3{font-size:.98rem;font-weight:700;color:#0d1b2a;margin-bottom:10px;line-height:1.45}
.ms-news-content h3 a{color:#0d1b2a;text-decoration:none;transition:color .2s}
.ms-news-content h3 a:hover{color:#00bcd4}
.ms-news-content p{font-size:.88rem;color:#4a5568;line-height:1.65;margin-bottom:16px}
.ms-news-link{display:inline-flex;align-items:center;gap:6px;color:#00bcd4;font-weight:700;font-size:.82rem;text-decoration:none;transition:gap .2s}
.ms-news-link:hover{gap:10px}
/* ══ PARTNERS ════════════════════════════════════════════ */
.ms-partners{padding:80px 0;background:#f8fafe}
.ms-partners-logos{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}
.ms-partner-item{background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;padding:20px 28px;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:150px;transition:all .3s;cursor:default}
.ms-partner-item:hover{border-color:#00bcd4;box-shadow:0 8px 32px rgba(0,188,212,.25);transform:translateY(-3px)}
.ms-partner-abbr{font-size:1.4rem;font-weight:900;color:#0d1b2a;letter-spacing:1px}
.ms-partner-item span{font-size:.72rem;color:#718096;text-align:center;line-height:1.3}
/* ══ EMERGENCY BANNER ════════════════════════════════════ */
.ms-emergency-banner{background:linear-gradient(135deg,#00acc1,#006978);padding:50px 0;position:relative;overflow:hidden}
.ms-emergency-banner::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 50%,rgba(255,255,255,.1) 0%,transparent 60%)}
.ms-emergency-content{display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;z-index:2}
.ms-emergency-icon-wrap{width:70px;height:70px;background:rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;animation:pulseWhite 2s infinite}
@keyframes pulseWhite{0%{box-shadow:0 0 0 0 rgba(255,255,255,.4)}70%{box-shadow:0 0 0 16px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.ms-emergency-icon-wrap i{font-size:1.8rem;color:#fff}
.ms-emergency-text h3{font-size:1.4rem;font-weight:800;color:#fff;margin-bottom:6px}
.ms-emergency-text p{color:rgba(255,255,255,.85);font-size:.9rem}
.ms-emergency-text i{margin-right:6px}
.ms-emergency-cta{display:flex;gap:12px;flex-shrink:0}
/* ══ RESPONSIVE ═════════════════════════════════════════ */
@media(max-width:1200px){.ms-services-grid{grid-template-columns:repeat(3,1fr)}.ms-hero-title{font-size:2.5rem}}
@media(max-width:1024px){.ms-about-grid{gap:40px}.ms-stats-grid{grid-template-columns:repeat(2,1fr)}.ms-team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.ms-hero{flex-direction:column}.ms-hero-left{flex:none;padding:60px 32px}.ms-hero-right{min-height:320px;flex:none}.ms-hero-title{font-size:2.2rem}.ms-infobar{margin:20px 20px 0}.ms-infobar-grid{grid-template-columns:1fr}.ms-infobar-item{border-right:none;border-bottom:1px solid #e2e8f0}.ms-services-grid{grid-template-columns:repeat(2,1fr)}.ms-about-grid{grid-template-columns:1fr}.ms-about-badge-float{bottom:16px;right:16px}.ms-cta-grid{grid-template-columns:1fr;gap:40px}.ms-news-grid{grid-template-columns:1fr}}
@media(max-width:600px){.ms-hero-title{font-size:1.8rem}.ms-hero-trust{flex-wrap:wrap;gap:14px}.ms-services-grid{grid-template-columns:1fr}.ms-team-grid{grid-template-columns:1fr}.ms-stats-grid{grid-template-columns:repeat(2,1fr)}.ms-emergency-content{flex-direction:column;text-align:center}.ms-emergency-cta{flex-direction:column}.ms-about-pillars{grid-template-columns:1fr}.ms-form-row{grid-template-columns:1fr}.ms-section-header h2{font-size:1.6rem}.ms-diseases-grid{gap:10px}.ms-partners-logos{gap:12px}.ms-partner-item{min-width:120px}.ms-infobar{margin:16px}}

/* ============================================================
   ANSS v3 — Nouvelles sections: DG Message, Map, Partners v2
   ============================================================ */

/* ---- DG MESSAGE ---- */
.anss-dg-message { background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%); }

.dg-message-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 50px rgba(0,147,130,0.12);
  border: 1px solid rgba(0,147,130,0.1);
  position: relative;
  overflow: hidden;
}

.dg-message-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--anss-teal) 0%, var(--anss-green) 100%);
}

.dg-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dg-photo-wrap {
  position: relative;
  width: 220px;
}

.dg-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,147,130,0.25);
  border: 4px solid #fff;
  filter: brightness(1.05);
}

.dg-photo-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--anss-teal), var(--anss-green));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0,147,130,0.4);
}

.dg-identity {
  text-align: center;
  margin-top: 16px;
}

.dg-identity h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--anss-dark);
  margin: 0 0 4px;
}

.dg-identity span {
  font-size: 0.82rem;
  color: var(--anss-teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dg-message-col {
  position: relative;
  padding-top: 10px;
}

.dg-quote-icon {
  color: var(--anss-teal);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: -10px;
  line-height: 1;
}

.dg-quote-icon svg { width: 64px; height: 64px; }

.dg-quote-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #445;
  font-style: italic;
  margin: 0 0 30px;
  padding-left: 20px;
  border: none;
  position: relative;
  z-index: 1;
}

.dg-signature {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dg-sig-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--anss-teal), var(--anss-green));
  border-radius: 2px;
  flex-shrink: 0;
}

.dg-signature strong {
  display: block;
  font-size: 1rem;
  color: var(--anss-dark);
  font-weight: 700;
}

.dg-signature span {
  font-size: 0.82rem;
  color: #666;
}

@media (max-width: 900px) {
  .dg-message-card { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px; }
  .dg-photo-wrap { margin: 0 auto; }
}

/* ---- MAP SECTION ---- */
.anss-map-section { background: #f7f9fb; }

.map-contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.map-embed-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 3px solid #fff;
}

.map-embed-wrap iframe {
  display: block;
  border-radius: 15px;
}

.map-info-col {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(0,147,130,0.1);
  border: 1px solid rgba(0,147,130,0.1);
}

.map-info-col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--anss-dark);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--anss-teal);
}

.map-info-items { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.map-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--anss-teal), var(--anss-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,147,130,0.3);
}

.map-info-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--anss-dark); margin-bottom: 3px; }
.map-info-item p { margin: 0; font-size: 0.87rem; color: #555; line-height: 1.55; }
.text-teal { color: var(--anss-teal); font-weight: 700; }

.btn-map-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--anss-teal), var(--anss-green));
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,147,130,0.3);
}

.btn-map-directions:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,147,130,0.4);
  color: white;
  text-decoration: none;
}

@media (max-width: 900px) {
  .map-contact-grid { grid-template-columns: 1fr; }
}

/* ---- PARTNERS LOGO GRID v2 ---- */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.partner-logo-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #e8ecef;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  min-height: 110px;
}

.partner-logo-card:hover {
  border-color: var(--anss-teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,147,130,0.15);
}

.partner-logo-card img {
  max-width: 100px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partner-logo-card:hover img { filter: grayscale(0%); }

.partner-logo-card span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .partners-logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .partners-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- SECTION LIGHT PAD ---- */
.section-pad-light { padding: 80px 0; background: #f7f9fb; }

/* ---- SERVICES ICON IMPROVEMENTS ---- */
.svc-icon-box { border-radius: 18px; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: transform 0.3s ease; }
.service-card:hover .svc-icon-box { transform: scale(1.1) rotate(5deg); }

.svc-teal { background: linear-gradient(135deg, #00938240, #00c79840); color: var(--anss-teal); }
.svc-red { background: linear-gradient(135deg, #ff303040, #ff606040); color: #d32f2f; }
.svc-blue { background: linear-gradient(135deg, #1565c040, #1e88e540); color: #1565c0; }
.svc-purple { background: linear-gradient(135deg, #6a1b9a40, #8e24aa40); color: #6a1b9a; }
.svc-orange { background: linear-gradient(135deg, #e65100 40%, #ff6d0040); color: #e65100; }
.svc-green { background: linear-gradient(135deg, #1b5e2040, #2e7d3240); color: #2e7d32; }

/* ---- STAT ICON IMPROVEMENTS ---- */
.stat-icon-wrap { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.stat-icon-red { background: linear-gradient(135deg, #ff303040, #ff606040); color: #d32f2f; }
.stat-icon-teal { background: linear-gradient(135deg, #00938240, #00c79840); color: var(--anss-teal); }
.stat-icon-orange { background: linear-gradient(135deg, #e6510040, #ff6d0040); color: #e65100; }
.stat-icon-green { background: linear-gradient(135deg, #1b5e2040, #2e7d3240); color: #2e7d32; }

/* ---- CTA FEATURES LIST ---- */
.cta-features { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.cta-features li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; color: #334; }
.cta-features li svg { color: var(--anss-teal); flex-shrink: 0; }
.cta-features li strong { color: var(--anss-dark); }

/* ---- DISEASE PILLS WITH ICONS ---- */
.disease-pill { display: inline-flex; align-items: center; gap: 7px; }
.disease-pill svg { flex-shrink: 0; }

/* ---- ABOUT YEARS BADGE ---- */
.about-years-badge {
  position: absolute;
  bottom: 20px;
  right: -15px;
  background: white;
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border: 2px solid var(--anss-teal);
}
.about-years-badge span { display: block; font-size: 0.7rem; color: #888; text-transform: uppercase; font-weight: 600; }
.about-years-badge strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--anss-teal); line-height: 1; }

/* ---- MENU IMPROVEMENTS ---- */
.main-nav a { transition: color 0.25s ease; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--anss-teal); transition: width 0.3s ease; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { width: 100%; }


/* ============================================================
   ANSS v3 — Team Page + Menu Styles
   ============================================================ */

/* ---- TEAM PAGE HERO ---- */
.team-page-hero {
  background: linear-gradient(135deg, var(--anss-dark) 0%, #0d3352 50%, #0a6660 100%);
  padding: 80px 0 60px;
  color: white;
  position: relative;
  overflow: hidden;
}

.team-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 { font-size: 2.8rem; font-weight: 800; margin: 10px 0; }
.page-hero-content p { font-size: 1.1rem; opacity: 0.85; margin: 0 0 20px; }

.team-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  opacity: 0.75;
}
.team-breadcrumb a { color: white; text-decoration: none; }
.team-breadcrumb a:hover { text-decoration: underline; }
.team-breadcrumb svg { opacity: 0.6; }

/* ---- TEAM LEVEL HEADERS ---- */
.team-section { }
.bg-light-team { background: #f7f9fb; }
.bg-dark-team { background: linear-gradient(135deg, var(--anss-dark) 0%, #0d3352 100%); }

.team-level-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-level-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--anss-dark);
  margin: 14px 0 16px;
}

.team-level-header h2.light { color: #fff; }

.team-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-dg { background: linear-gradient(135deg, #c8960030, #ffd70030); color: #8a6500; border: 1.5px solid #c89600; }
.badge-dept { background: linear-gradient(135deg, #00938220, #00c79820); color: var(--anss-teal); border: 1.5px solid var(--anss-teal); }
.badge-unit { background: linear-gradient(135deg, #1565c020, #1e88e520); color: #1565c0; border: 1.5px solid #1565c0; }
.badge-support { background: rgba(255,255,255,0.1); color: #cde; border: 1.5px solid rgba(255,255,255,0.3); }

.team-level-line { height: 3px; width: 60px; margin: 0 auto; border-radius: 2px; }
.line-gold { background: linear-gradient(90deg, #c89600, #ffd700); }
.line-teal { background: linear-gradient(90deg, var(--anss-teal), var(--anss-green)); }
.line-blue { background: linear-gradient(90deg, #1565c0, #1e88e5); }
.line-white { background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.8)); }

/* ---- DG CARDS ---- */
.team-cards-dg {
  display: grid;
  grid-template-columns: repeat(2, 380px);
  gap: 30px;
  justify-content: center;
}

.team-card-dg {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,147,130,0.12);
  border: 1px solid rgba(200,150,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-dg:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,147,130,0.2);
}

.team-card-photo-wrap {
  background: linear-gradient(135deg, var(--anss-teal), var(--anss-green));
  padding: 30px;
  position: relative;
  display: flex;
  justify-content: center;
}

.team-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.placeholder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.8);
}

.team-rank-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.rank-dg { background: linear-gradient(135deg, #c89600, #ffd700); color: white; box-shadow: 0 4px 12px rgba(200,150,0,0.4); }
.rank-dga { background: linear-gradient(135deg, #1565c0, #1e88e5); color: white; box-shadow: 0 4px 12px rgba(21,101,192,0.4); }

.team-card-body {
  padding: 28px 24px 24px;
}

.team-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--anss-dark);
  margin: 10px 0 4px;
}

.team-card-post {
  font-size: 0.8rem;
  color: var(--anss-teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card-divider {
  height: 1px;
  background: #e8ecef;
  margin: 14px 0;
}

.team-card-bio {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
  margin: 0 0 18px;
}

.team-card-actions { }

.team-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1.5px solid var(--anss-teal);
  color: var(--anss-teal);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.team-btn-contact:hover {
  background: var(--anss-teal);
  color: white;
  text-decoration: none;
}

/* ---- DEPT CARDS ---- */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e8ecef;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.team-card-top {
  padding: 20px 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dept-smir { background: linear-gradient(135deg, #00938215, #00c79815); }
.dept-cou { background: linear-gradient(135deg, #d32f2f15, #ef535015); }
.dept-comm { background: linear-gradient(135deg, #1565c015, #1e88e515); }
.dept-labo { background: linear-gradient(135deg, #6a1b9a15, #8e24aa15); }
.dept-prev { background: linear-gradient(135deg, #e6510015, #ff6d0015); }
.dept-info { background: linear-gradient(135deg, #1b5e2015, #2e7d3215); }

.team-dept-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  color: var(--anss-teal);
}

.team-rank-badge-sm {
  background: var(--anss-teal);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card-photo.placeholder-photo-sm {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 20px 14px;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}

.placeholder-photo-sm {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 20px 14px;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}

.team-card-content { padding: 0 20px 20px; }
.team-card-content h4 { font-size: 0.95rem; font-weight: 700; color: var(--anss-dark); margin: 0 0 8px; }
.team-card-content p { font-size: 0.83rem; color: #666; line-height: 1.6; margin: 8px 0 0; }

.dept-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 10px;
}
.tag-smir { background: #00938215; color: var(--anss-teal); }
.tag-cou { background: #d32f2f15; color: #d32f2f; }
.tag-comm { background: #1565c015; color: #1565c0; }
.tag-labo { background: #6a1b9a15; color: #6a1b9a; }
.tag-prev { background: #e6510015; color: #e65100; }
.tag-info { background: #1b5e2015; color: #1b5e20; }

/* ---- UNIT CARDS ---- */
.team-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.team-unit-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  border: 1px solid #e8ecef;
  transition: all 0.3s ease;
}

.team-unit-card:hover {
  border-color: var(--anss-teal);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,147,130,0.1);
}

.unit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.unit-color-1 { background: #00938215; color: var(--anss-teal); }
.unit-color-2 { background: #6a1b9a15; color: #6a1b9a; }
.unit-color-3 { background: #1565c015; color: #1565c0; }
.unit-color-4 { background: #d32f2f15; color: #d32f2f; }
.unit-color-5 { background: #e6510015; color: #e65100; }
.unit-color-6 { background: #1b5e2015; color: #1b5e20; }

.team-unit-card strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--anss-dark); margin-bottom: 3px; }
.team-unit-card span { font-size: 0.8rem; color: #777; }

/* ---- SUPPORT SERVICES ---- */
.support-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 24px;
  color: white;
  transition: all 0.3s ease;
}

.support-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

.support-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--anss-teal), var(--anss-green));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0,147,130,0.3);
}

.support-card h4 { font-size: 0.98rem; font-weight: 700; margin: 0 0 10px; color: white; }
.support-card p { font-size: 0.84rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0; }

/* ---- JOIN CTA ---- */
.team-join-cta { background: linear-gradient(135deg, var(--anss-teal) 0%, var(--anss-green) 100%); }

.join-cta-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}

.join-cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.join-cta-content { flex: 1; color: white; }
.join-cta-content h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; }
.join-cta-content p { font-size: 0.92rem; opacity: 0.88; margin: 0; line-height: 1.6; }

.btn-join {
  background: white;
  color: var(--anss-teal);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  color: var(--anss-teal);
  text-decoration: none;
}

@media (max-width: 900px) {
  .team-cards-dg { grid-template-columns: 1fr; }
  .team-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .team-unit-grid { grid-template-columns: 1fr; }
  .support-services-grid { grid-template-columns: repeat(2, 1fr); }
  .join-cta-inner { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .team-cards-grid { grid-template-columns: 1fr; }
  .support-services-grid { grid-template-columns: 1fr; }
  .page-hero-content h1 { font-size: 2rem; }
}


/* ============================================================
   HERO FIX v3 — .anss-hero class alias + layout
   ============================================================ */
.anss-hero,
#anss-hero-section {
  background: linear-gradient(135deg, var(--anss-dark, #0a2540) 0%, #00539B 55%, var(--anss-teal, #009382) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.anss-hero .container,
#anss-hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0,199,152,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content { z-index: 2; position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00FF9A;
  display: inline-block;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: white;
  margin: 0 0 20px;
}

.hero-title-accent {
  text-decoration: underline;
  text-decoration-color: var(--anss-teal, #009382);
  text-underline-offset: 6px;
}

.hero-desc {
  font-size: 1.05rem;
  opacity: 0.88;
  line-height: 1.75;
  margin: 0 0 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: white;
  color: var(--anss-dark, #0a2540);
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--anss-dark, #0a2540);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
  text-decoration: none;
}

.hero-visual { position: relative; z-index: 2; }

.hero-img-wrap { position: relative; }

.hero-img-wrap img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  object-fit: cover;
  height: 380px;
  display: block;
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  font-size: 0.88rem;
}

.hero-float-card strong { color: #0a2540; }
.hero-float-card small { color: #888; }

.float-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00FF9A;
  flex-shrink: 0;
  animation: pulseGreen 1.5s infinite;
}

/* ---- INFOBAR ---- */
.anss-infobar {
  background: #0a2540;
  padding: 14px 0;
  border-bottom: 2px solid var(--anss-teal, #009382);
}

.infobar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.infobar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.infobar-item svg { color: var(--anss-teal, #009382); }

.text-alert { color: #FF4444; font-size: 1.1rem; font-weight: 800; }

.badge-free {
  background: #00C79820;
  border: 1px solid #00c798;
  color: #00c798;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* ---- STATS SECTION ---- */
.anss-stats {
  background: linear-gradient(135deg, #003F7D 0%, #0a2540 100%);
  padding: 60px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  color: white;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  display: inline-block;
}

.stat-suffix { font-size: 2rem; font-weight: 700; color: var(--anss-teal, #009382); }
.stat-label { font-size: 0.85rem; opacity: 0.75; margin: 8px 0 0; }

/* ---- SECTION UTILITIES ---- */
.section-pad { padding: 80px 0; }
.section-pad-dark { padding: 80px 0; background: linear-gradient(135deg, #0a2540 0%, #00338d 100%); }

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

.section-header { text-align: center; margin-bottom: 50px; }
.section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--anss-teal, #009382); display: block; margin-bottom: 8px; }
.section-label-light { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); display: block; margin-bottom: 8px; }
.section-title { font-size: 2.2rem; font-weight: 800; color: #0a2540; margin: 0 0 14px; line-height: 1.25; }
.section-title.light { color: white; }
.section-subtitle { font-size: 1rem; color: #666; max-width: 600px; margin: 0 auto; }
.section-subtitle.light { color: rgba(255,255,255,0.7); }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e8ecef;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,147,130,0.15);
  border-color: var(--anss-teal, #009382);
}

.service-card h3 { font-size: 1.1rem; font-weight: 700; color: #0a2540; margin: 0 0 12px; }
.service-card p { font-size: 0.87rem; color: #666; line-height: 1.65; margin: 0 0 18px; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--anss-teal, #009382);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.svc-link:hover { gap: 10px; text-decoration: none; }

/* ---- ABOUT SECTION ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap { position: relative; }

.about-img-wrap img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  object-fit: cover;
  height: 420px;
}

.about-badge-oms {
  position: absolute;
  top: 20px;
  right: -15px;
  background: linear-gradient(135deg, #009382, #00c798);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,147,130,0.4);
}

.about-content-col h2 { font-size: 2rem; font-weight: 800; color: #0a2540; margin: 0 0 16px; }
.about-content-col > p { font-size: 0.95rem; color: #555; line-height: 1.75; margin: 0 0 30px; }

.about-pillars { display: flex; flex-direction: column; gap: 18px; }

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00938220, #00c79820);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009382;
  flex-shrink: 0;
}

.pillar-item strong { display: block; font-size: 0.95rem; font-weight: 700; color: #0a2540; margin-bottom: 4px; }
.pillar-item p { margin: 0; font-size: 0.85rem; color: #666; line-height: 1.55; }

/* ---- DISEASES SECTION ---- */
.diseases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.disease-pill {
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.pill-red { background: rgba(255,48,48,0.15); color: #ff3030; border: 1px solid rgba(255,48,48,0.3); }
.pill-orange { background: rgba(255,109,0,0.15); color: #ff6d00; border: 1px solid rgba(255,109,0,0.3); }
.pill-yellow { background: rgba(255,200,0,0.15); color: #c8a000; border: 1px solid rgba(255,200,0,0.3); }
.pill-green { background: rgba(0,199,152,0.15); color: #00c798; border: 1px solid rgba(0,199,152,0.3); }
.pill-blue { background: rgba(21,101,192,0.15); color: #1e88e5; border: 1px solid rgba(21,101,192,0.3); }
.pill-purple { background: rgba(106,27,154,0.15); color: #ab47bc; border: 1px solid rgba(106,27,154,0.3); }
.pill-teal { background: rgba(0,147,130,0.15); color: #009382; border: 1px solid rgba(0,147,130,0.3); }

.diseases-cta { text-align: center; margin-top: 36px; }

.btn-diseases-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-diseases-more:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
  text-decoration: none;
}

/* ---- CTA SECTION ---- */
.anss-cta { background: #f7f9fb; }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.cta-form-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(0,147,130,0.12);
  border: 1px solid rgba(0,147,130,0.1);
}

.cta-form-card h3 { font-size: 1.2rem; font-weight: 700; color: #0a2540; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 2px solid #009382; }

/* ---- EMERGENCY BANNER ---- */
.anss-emergency-banner {
  background: linear-gradient(90deg, #0a2540 0%, #003F7D 100%);
  padding: 16px 0;
  border-top: 3px solid #c0392b;
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.emergency-left {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}

.emergency-left strong { display: block; font-size: 0.9rem; color: white; }
.emergency-left span { font-size: 0.78rem; opacity: 0.7; }

.emergency-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00FF00;
  flex-shrink: 0;
  animation: pulseGreen 1.5s infinite;
  box-shadow: 0 0 10px #00FF00;
}

.emergency-right { display: flex; gap: 12px; align-items: center; }

.btn-emergency-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c0392b;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-emergency-call:hover {
  background: #e74c3c;
  color: white;
  text-decoration: none;
}

.btn-emergency-docs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-emergency-docs:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
}

@media (max-width: 900px) {
  .anss-hero .container,
  #anss-hero-section .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .infobar-inner { gap: 20px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   FIX: Elementor Animations - Force visibility 
   ============================================================ */
.elementor-invisible {
  visibility: visible !important;
}
