/* -----------------------------------
   RESET GLOBAL
----------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Empêche les images géantes */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -----------------------------------
   HEADER PRINCIPAL (BLEU + OR)
----------------------------------- */
.main-header {
    width: 100%;
    background: #0a3d62; /* Bleu DM */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 2px solid #d4af37; /* Or */
}

/* Logo DM à gauche */
.logo-dm {
    width: 150px; /* taille d’origine */
    height: auto;
}
.hero {
    text-align: center;
    padding: 120px 20px;
}
    color: #d4af37 !important;

/* Logo GEA au centre */
.logo-gea {
    width: 380px;
    max-width: 90%;
    margin: 0 auto;
    animation: geaAppear 1.8s ease-out forwards;
}

/* Animation premium */
@keyframes geaAppear {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* Menu à droite */
.header-right ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-right ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.header-right ul li a:hover,
.header-right ul li a.active {
    background: #d4af37; /* Or */
    color: #0a3d62;      /* Bleu */
}

/* -----------------------------------
   SECTION HERO
----------------------------------- */
.hero {
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 48px;
    color: #d4af37; /* Or */
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    color: white;
}

/* -----------------------------------
   FOOTER
----------------------------------- */
footer {
    background: #052c47; /* Bleu profond */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 60px;
    border-top: 2px solid #d4af37; /* Or */
}

footer p {
    margin: 0;
}

/* -----------------------------------
   BOUTONS
----------------------------------- */
.btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 8px;
    transition: 0.3s ease;
}

/* Bleu DM */
.btn-blue { background-color: #0A2A66; }
.btn-blue:hover { background-color: #0C347D; }

/* Or premium */
.btn-gold { background-color: #D4AF37; color: #000; }
.btn-gold:hover { background-color: #E5C45A; }

/* Vert émeraude */
.btn-green { background-color: #0FAF6A; }
.btn-green:hover { background-color: #12C97A; }

/* Rouge bordeaux */
.btn-red { background-color: #8A1C1C; }
.btn-red:hover { background-color: #A32424; }

/* Violet royal */
.btn-purple { background-color: #5A2EA6; }
.btn-purple:hover { background-color: #6D3BC4; }

/* Turquoise */
.btn-turquoise { background-color: #1BAFBF; }
.btn-turquoise:hover { background-color: #22C8D9; }

/* -----------------------------------
   DM-CONCIERGERIE
----------------------------------- */
.page-conciergerie h1,
.page-conciergerie h2,
.page-conciergerie h3,
.page-conciergerie h4 {
    color: #f2c14f;
}


.prestation-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.prestation-num {
  font-weight: 700;
  color: #f2c14f;
  margin-bottom: 10px;
}

.btn-primary {
  background: #f2c14f;
  color: #0b1b33;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.page-conciergerie {
    background: linear-gradient(135deg, #F7E9B5, #D4AF37, #B8860B);
    color: #0A1A3A;
    padding: 50px 0;
}

.conciergerie-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
}

.conciergerie-photo img.photo-dg {
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* -----------------------------------
   PAGE ACCUEIL
----------------------------------- */
body.accueil {
    background: linear-gradient(to bottom, #0a3d62, #052c47);
    color: white;
}

.slogan-accueil {
    color: #d4af37;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
}

/* -----------------------------------
   PROJETS
----------------------------------- */
.projet-card {
    display: block;
    padding: 20px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}

.projet-card:hover {
    transform: translateY(-6px);
    opacity: 0.95;
}

.projet-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.projet-lieu {
    font-style: italic;
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.9;
    color: white;
}

/* Couleurs des cartes */
.projet-card:nth-child(1) { background: linear-gradient(135deg, #0A3D62, #145A8D); }
.projet-card:nth-child(2) { background: linear-gradient(135deg, #8A1C1C, #B32424); }
.projet-card:nth-child(3) { background: linear-gradient(135deg, #0FAF6A, #12C97A); }
.projet-card:nth-child(4) { background: linear-gradient(135deg, #5A2EA6, #6D3BC4); }

/* Section 2 */
.projets-grid:nth-of-type(2) .projet-card:nth-child(1) {
    background: linear-gradient(135deg, #1BAFBF, #22C8D9);
}

.projets-grid:nth-of-type(2) .projet-card:nth-child(2) {
    background: linear-gradient(135deg, #D4AF37, #E5C45A);
    color: #0A1A3A;
}
/* PAGE DIRECTION — VERSION D’HIER */
.page-direction {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    color: #0A1A3A;
}

.photo-direction {
    width: 260px;
    border-radius: 12px;
    display: block;
    margin: 0 auto 25px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.bloc-direction {
    line-height: 1.6;
    font-size: 17px;
}

.citation {
    font-style: italic;
    font-size: 18px;
    color: #d4af37;
    margin-bottom: 20px;
}

.bloc-direction h1 {
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 5px;
}

.bloc-direction h2 {
    font-size: 18px;
    color: white;
    opacity: 0.9;
    margin-bottom: 20px;
}

.bloc-direction h3 {
    margin-top: 25px;
    color: #d4af37;
}

.bloc-direction ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.bloc-direction ul li {
    margin-bottom: 8px;
}
/* FORÇAGE TOTAL DE LA PAGE DIRECTION */
.page-direction {
    max-width: 800px !important;
    margin: 40px auto !important;
    padding: 40px 20px !important;
    text-align: center !important;
    color: #0A1A3A !important;
}

.page-direction .photo-direction {
    width: 260px !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 auto 25px auto !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25) !important;
}

.page-direction .bloc-direction {
    line-height: 1.6 !important;
    font-size: 17px !important;
    text-align: center !important;
}

.page-direction .citation {
    font-style: italic !important;
    font-size: 18px !important;
    color: #d4af37 !important;
    margin-bottom: 20px !important;
}

.page-direction .bloc-direction h1 {
    font-size: 28px !important;
    color: #d4af37 !important;
    margin-bottom: 5px !important;
}

.page-direction .bloc-direction h2 {
    font-size: 18px !important;
    color: white !important;
    opacity: 0.9 !important;
    margin-bottom: 20px !important;
}

.page-direction .bloc-direction h3 {
    margin-top: 25px !important;
    color: #d4af37 !important;
}

.page-direction .bloc-direction ul {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 10px !important;
}

.page-direction .bloc-direction ul li {
    margin-bottom: 8px !important;
}
/* --- HEADER BOUTONS PREMIUM --- */
.header-buttons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.btn-header {
    padding: 10px 18px;
    background: #0a1a3b;
    border: 1px solid #d4af37;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.btn-header:hover {
    background: #d4af37;
    color: #0a1a3b;
}

.btn-header.active {
    background: #d4af37;
    color: #0a1a3b;
    font-weight: bold;
}
/* ===== HEADER GLOBAL ===== */
.main-header {
    width: 100%;
    padding: 15px 30px;
    background: #0a1a3b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Logo DM à gauche */
.logo-dm {
    height: 60px;
}

/* Logo GEA au centre */
.logo-gea {
    height: 60px;
    margin: 0 auto;
    display: block;
}

/* Boutons à droite */
.header-buttons {
    display: flex;
    gap: 15px;
}

.btn-header {
    padding: 10px 18px;
    background: #d4af37;
    color: #0a1a3b;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-header:hover {
    background: white;
    color: #0a1a3b;
}

.btn-header.active {
    background: white;
    color: #0a1a3b;
}
/* ===== HEADER AVEC DEUX LOGOS ===== */
.main-header {
    width: 100%;
    padding: 10px 30px;
    background: #0a1a3b;
    display: flex;
    justify-content: center; /* on centre le groupe */
    align-items: center;
    gap: 40px; /* espace entre les deux logos */
}

/* Logo DM à gauche */
.logo-dm {
    height: 70px;
    display: block;
}

/* Logo GEA à droite */
.logo-gea {
    height: 70px;
    display: block;
}
.main-header {
    width: 100%;
    background: #0a1a3b;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-dm,
.logo-gea {
    height: 70px;
}
/* ===== HEADER SIMPLE, NON DÉFORMÉ ===== */
.header-simple {
    width: 100%;
    background: #0a1a3b;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo DM à gauche */
.logo-left {
    height: 70px;
    width: auto;
}

/* Logo GEA à droite */
.logo-right {
    height: 70px;
    width: auto;
}
/* ===== HEADER FIXE FINAL, PRIORITAIRE ===== */
#header-fixe-final {
    width: 100% !important;
    background: #0a1a3b !important;
    padding: 10px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border-bottom: 3px solid #d4af37 !important;
}

#header-fixe-final .hf-logos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 40px !important;
    margin-bottom: 10px !important;
}

#header-fixe-final .hf-logo-dm,
#header-fixe-final .hf-logo-gea {
    height: 70px !important;
    width: auto !important;
    display: block !important;
}

#header-fixe-final .hf-menu {
    display: flex !important;
    gap: 25px !important;
}

#header-fixe-final .hf-menu a {
    color: white !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 15px !important;
}

#header-fixe-final .hf-menu a.active,
#header-fixe-final .hf-menu a:hover {
    color: #d4af37 !important;
}
/* CORRECTION DÉFINITIVE : les logos ne doivent PAS être redimensionnés */
.logo-dm,
.logo-gea {
    max-width: none !important;
    width: auto !important;
    height: 80px !important;
    display: inline-block !important;
}
