/* =============================================
   CONFLUENCE SECRETARIAT — CSS GLOBAL
   Beatrice Debougy | confluencesecretariat.fr
   ============================================= */

/* --- Vos 3 couleurs officielles --- */
:root {
  --marine:        #1A1F5E;
  --bordeaux:      #8B1A4A;
  --or:            #C9A84C;
  --marine-light:  #ecedf7;
  --bx-light:      #f7eaee;
  --or-light:      #f5ecd4;
  --white:         #ffffff;
  --text:          #1a1a1a;
  --gris:          #666666;
}

/* --- Reset de base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
}

/* --- Navigation --- */
#navigation {
  background: var(--marine);
  padding: 0;
  position: sticky;
  top: 0;

/* --- Logo dans cadre blanc arrondi --- */
#header img {
  height: 70px !important;
  width: auto !important;
  background: white !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  display: block !important;
}
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 62px;
}
#nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
#nav-logo img { height: 42px; }
#nav-logo-name {
  font-family: Georgia, serif;
  font-size: 15px;
  color: var(--white);
  font-weight: bold;
  letter-spacing: 0.04em;
  display: block;
}
#nav-logo-sub {
  font-size: 10px;
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
#navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
#navigation ul li a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 14px;
  display: block;
  font-family: Georgia, serif;
  transition: color 0.2s;
}
#navigation ul li a:hover { color: var(--or); }
#navigation ul li.active > a {
  color: var(--or);
  border-bottom: 2px solid var(--or);
}
#navigation ul li.nav-cta > a {
  background: var(--bordeaux);
  color: var(--white) !important;
  border-radius: 4px;
  margin-left: 8px;
}
#navigation ul li.nav-cta > a:hover { background: #a02056; }

/* --- Conteneur principal --- */
#container { max-width: 1100px; margin: 0 auto; }
#content { padding: 0; }

/* --- Bandeau degrade or --- */
.divider-or {
  height: 3px;
  background: linear-gradient(90deg, var(--marine), var(--or), var(--marine));
}

/* --- Sections --- */
.section          { padding: 3rem 2rem; }
.section-marine   { background: var(--marine); }
.section-light    { background: var(--marine-light); }
.section-bx       { background: var(--bx-light); }
.section-or       { background: var(--or-light); }
.section-white    { background: var(--white); }
.section-bordeaux { background: var(--bordeaux); }

/* --- Titres --- */
h1 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: bold;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1rem;
}
h2 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: bold;
  color: var(--marine);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--or);
  display: inline-block;
}
h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--bordeaux);
  margin-bottom: 0.4rem;
}
p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text);
}

/* --- Texte blanc (sur fond sombre) --- */
.text-white p  { color: rgba(255,255,255,0.82); }
.text-white h2 { color: var(--white); border-bottom-color: var(--or); }
.text-white h3 { color: var(--or); }

/* --- Label badge --- */
.label-or {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--or);
  color: var(--or);
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  font-family: Georgia, serif;
}
.s-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
}

/* --- Boutons --- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  font-family: Georgia, serif;
}
.btn:hover { opacity: 0.88; }
.btn-bordeaux { background: var(--bordeaux); color: var(--white); }
.btn-marine   { background: var(--marine);   color: var(--white); }
.btn-or       { background: var(--or);       color: var(--marine); }
.btn-outline  {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

/* --- Cartes --- */
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.4rem;
  border: 0.5px solid #e0e0e0;
}
.card-marine   { border-top: 3px solid var(--marine); }
.card-bordeaux { border-top: 3px solid var(--bordeaux); }
.card-or       { border-top: 3px solid var(--or); }

/* --- Grilles responsive --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

/* --- Temoignages --- */
.tem-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.2rem;
  border: 0.5px solid #e0e0e0;
}
.tem-stars  { color: var(--or); font-size: 16px; margin-bottom: 6px; }
.tem-text   { font-style: italic; font-size: 14px; color: #444; margin-bottom: 10px; }
.tem-author { font-weight: bold; font-size: 13px; color: var(--bordeaux); }
.tem-source { font-size: 11px; color: var(--gris); margin-top: 2px; }

/* --- Stats hero --- */
.stat-num   { font-size: 26px; font-weight: bold; color: var(--or); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* --- Timeline parcours --- */
.tl-item {
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 1.1rem;
  border-left: 3px solid var(--or);
}
.tl-date  { font-size: 11px; color: var(--or); font-weight: bold; margin-bottom: 5px; }
.tl-title { font-size: 14px; font-weight: bold; color: var(--white); margin-bottom: 4px; }
.tl-desc  { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.55; }

/* --- Footer --- */
#footer {
  background: var(--marine);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
#footer p, #footer a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-decoration: none;
  line-height: 1.8;
}
#footer a:hover { color: var(--or); }
.footer-copy {
  text-align: center;
  padding: 0.6rem;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* --- Responsive mobile --- */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  .section { padding: 2rem 1rem; }
  #navigation { flex-wrap: wrap; height: auto; padding: 0.5rem 1rem; }
  #navigation ul { flex-wrap: wrap; }
}
/* --- Correction header fond marine --- */
#header {
  background: #1A1F5E;
  padding: 10px 2rem;
  display: flex;
  align-items: center;
}

#header a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

#header img {
  height: 42px;
  width: auto;
}

#nav-logo-name {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #ffffff;
  font-weight: bold;
  display: block;
  letter-spacing: 0.04em;
}

#nav-logo-sub {
  font-size: 10px;
  color: #C9A84C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
/* --- Header logo + texte alignés --- */
#header {
  background: #1A1F5E !important;
  padding: 0 2rem !important;
  min-height: 90px !important;
  display: flex !important;
  align-items: center !important;
}

#header a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

#header img {
  height: 90px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
}

#nav-logo-name {
  font-family: Georgia, serif !important;
  font-size: 17px !important;
  font-weight: bold !important;
  color: #ffffff !important;
  display: block !important;
  letter-spacing: 0.04em !important;
  line-height: 1.3 !important;
}

#nav-logo-sub {
  font-size: 11px !important;
  color: #C9A84C !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  display: block !important;
  margin-top: 3px !important;
}

/* === HEADER OPTION B === */
#header {
  background: linear-gradient(135deg, #1A1F5E 0%, #252b7a 60%, #6B1238 100%) !important;
  padding: 0 !important;
  height: auto !important;
}

#header-banner {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 18px 2rem !important;
  position: relative;
  overflow: hidden;
}

#header-banner::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
}

#header-banner::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -50px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(139,26,74,0.15);
}

#header-icon {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important;
  border: 2px solid rgba(201,168,76,0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  z-index: 1;
  overflow: hidden !important;
}

#header-icon {
  width: 82px !important;
  height: 82px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(201,168,76,0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
  background: transparent !important;
  padding: 0 !important;
}

#header-icon img {
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  min-height: 82px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  background: transparent !important;
}
}

#header-texts {
  z-index: 1;
}

#header-name {
  font-family: Georgia, serif !important;
  font-size: 22px !important;
  font-weight: bold !important;
  color: #ffffff !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
}

#header-sub {
  font-size: 12px !important;
  color: #C9A84C !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-top: 5px !important;
}

#header-since {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  font-style: italic !important;
  margin-top: 4px !important;
}

#navigation {
  background: rgba(10,14,50,0.6) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

/* === Correction navigation === */
#navigation {
  background: #1A1F5E !important;
  border-top: none !important;
}

#navigation ul {
  background: #1A1F5E !important;
}

#navigation li a {
  color: rgba(255,255,255,0.85) !important;
}

#navigation li a:hover {
  color: #C9A84C !important;
}