@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Raleway:ital,wght@0,400;0,500;1,400&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #16281f 0%, #1a2350 60%, #55708f 100%);
  color: #e9e6de;
  font-family: 'Raleway', sans-serif;
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
}

.brand-wrap {
  position: relative;
  display: inline-block;
}
.brand-wrap::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -10px;
  right: -10px;
  bottom: -6px;
  background: rgba(26, 35, 80, 0.55);
  border-radius: 4px;
  z-index: 0;
}
.brand-text {
  position: relative;
  z-index: 1;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #c9a84c;
  text-decoration: none;
}

/* HEADER VALIDE - bloc nom/fonction avec grain et ombre */
.brand-common {
  position: relative;
  display: inline-block;
  padding: 10px 14px 14px 10px;
  border-radius: 6px;
  background-color: #11151c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n0)' opacity='0.22'/%3E%3C/svg%3E");
  box-shadow: 31px 31px 43px rgba(0,0,0,0.75);
}
.brand-opt1 {
  position: relative;
  display: flex;
  align-items: center;
}
.name-block-1 {
  background-color: #0d1015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n1)' opacity='0.15'/%3E%3C/svg%3E");
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: #c9a84c;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}
.func-block-1 {
  background-color: rgba(13,16,21,0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)' opacity='0.15'/%3E%3C/svg%3E");
  padding: 5px 10px;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  color: #e9e6de;
  font-style: italic;
  position: relative;
  top: 10px;
  margin-left: -6px;
  z-index: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* MENU DEROULANT */
.menu-toggle {
  background-color: #0d1015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n3)' opacity='0.15'/%3E%3C/svg%3E");
  border: 1px solid rgba(201,168,76,0.4);
  color: #c9a84c;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1;
  box-shadow: 31px 31px 43px rgba(0,0,0,0.75);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 70px;
  background: #1a2350;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 160px;
  display: none;
  flex-direction: column;
  z-index: 50;
}
.nav-dropdown.open {
  display: flex;
}
.nav-dropdown a {
  color: #e9e6de;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 16px;
}
.nav-dropdown a:hover {
  background: rgba(201, 168, 76, 0.12);
  color: #c9a84c;
}

/* BOUTON FR/EN */
#lang-toggle-btn {
  background-color: #0d1015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n3)' opacity='0.15'/%3E%3C/svg%3E");
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: #c9a84c;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 31px 31px 43px rgba(0,0,0,0.75);
}
#lang-toggle-btn:hover {
  background: rgba(201, 168, 76, 0.15);
}

/* STRUCTURE GENERALE */
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 30px 80px;
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #c9a84c;
  text-align: center;
  font-weight: 400;
}
h1 {
  font-size: 30px;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
h2 {
  font-size: 19px;
  margin: 0 0 10px;
}

.role-line {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 24px;
}

.separator {
  width: 70px;
  height: 1px;
  background: rgba(201, 168, 76, 0.4);
  margin: 32px auto;
  border: none;
}

/* BLOCS BILINGUES */
p {
  line-height: 1.7;
  font-size: 15px;
  margin: 0 0 16px;
}

.lang-en {
  color: #a8a8a8;
  font-style: italic;
}

body:not(.show-en) .lang-en:not(.always) {
  display: none;
}
body.show-en .lang-fr:not(.always) {
  display: none;
}

.always {
  display: block !important;
}

/* CARTES */
.card {
  background: rgba(10, 15, 25, 0.35);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 24px;
}

/* ANIMATION D'ENTREE - titres fixes, seul le texte des blocs services entre en fondu */
@keyframes fadeInText {
  from { opacity: 0; }
  to { opacity: 1; }
}
.svc-card p {
  opacity: 0;
  animation: fadeInText 1s ease forwards;
  animation-delay: 1s;
}

/* CONTACT */
.contact-block {
  text-align: center;
  padding: 60px 0;
}
.contact-email {
  color: #c9a84c;
  font-weight: 500;
  text-decoration: none;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: #a8a8a8;
}

/* MOBILE */
@media (max-width: 600px) {
  .site-header {
    padding: 12px 16px;
  }
  .brand-text {
    font-size: 11px;
  }
  h1 {
    font-size: 24px;
  }
}
