/*
  style.css
  Version : 0.1.2
  © 2025 Solvana Group Corporation – Tous droits réservés

  Développement :
    - Rafael Dos Santos (Solvana Digital / Solvana Group Corp.)
    - Assistance IA : ChatGPT (OpenAI, 2025)

  Propriété intellectuelle :
    Ce code appartient exclusivement à Solvana Group Corporation.
    Toute reproduction, modification, distribution ou usage non autorisé est strictement interdit.

  AVERTISSEMENT :
    Toute utilisation, copie ou reproduction non autorisée de ce code,
    en tout ou partie, fera l'objet de poursuites judiciaires conformément
    aux lois sur la propriété intellectuelle en vigueur.

  Contact développeur : contact@solvana.group

  Description :
    Feuille de styles principale pour le site institutionnel de Solvana Group Corporation.
    Définit l'identité visuelle, la grille, la typographie et le design général du site.
*/

:root {
  --color-main: #111;
  --color-bg: #fff;
  --color-accent: #1b1f23;
  --color-grey: #e5e5e5;
  --color-link: #0b63ce;
  --color-footer: #181a1b;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  font-family: 'Inter', Arial, sans-serif;
  color: var(--color-main);
}
header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  z-index: 10;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 4vw;
  max-width: 1400px;
  margin: 0 auto;
}
.navbar .logo {
  display: flex;
  align-items: center;
}
.navbar .logo img {
  height: 60px;
  width: auto;
  display: block;
}
.navbar nav {
  display: flex;
  align-items: center;
}
.navbar nav a {
  color: var(--color-main);
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.2rem;
  transition: color 0.2s;
  position: relative;
}
.navbar nav a[aria-current="page"] {
  color: var(--color-link);
  font-weight: 700;
}
.navbar nav a:hover {
  color: var(--color-link);
}

/* Dropdown Secteurs */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
  padding: 0;
  margin-left: 2.2rem;
  cursor: pointer;
  outline: none;
}
.dropdown-toggle:after {
  display: none !important; /* cache toute flèche éventuelle */
}
/* >>> Correction de la gouttière gauche */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 14px rgba(11,99,206,0.07);
  z-index: 100;
  border-radius: 12px;
  padding: 0.5rem 0;         /* pas de padding horizontal */
}
.dropdown.open .dropdown-menu {
  display: block;
}
/* Liens = flex pour coller l’icône au texte sans marge fantôme */
.dropdown-menu a {
  display: flex;             /* was: block */
  align-items: center;
  gap: .55rem;
  padding: 0.7rem 1rem;      /* padding horizontal modéré, hover actif jusque bord gauche */
  color: #1b1f23;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
  font-size: 1rem;
  margin-left: 0;
}
.dropdown-menu a:hover {
  background: #f5f8fc;
  color: #0b63ce;
}
/* Icônes du menu (logo Music) */
.dropdown-menu .menu-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  flex: 0 0 18px;
}
/* Masque les placeholders pour éviter tout espace vide */
.dropdown-menu .menu-icon.placeholder {
  display: none !important;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #fff, #eaf0f8 100%);
  text-align: center;
  padding: 5rem 2rem 3.5rem 2rem;
  border-bottom: 1px solid var(--color-grey);
}
.hero h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.hero p {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 1.5rem;
}

/* Secteurs (home) */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 1.8rem auto;
  padding: 0 2rem;
}
.sector-card {
  background: #f6f7f9;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.sector-card:hover {
  box-shadow: 0 4px 24px rgba(11,99,206,0.07);
}
.sector-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.sector-card p {
  font-size: 1rem;
  color: #444;
}

/* News */
.news-section {
  max-width: 1200px;
  margin: 2.5rem auto 1.5rem auto;
  padding: 0 2rem;
}
.news-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  color: var(--color-link);
}
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}
.news-card {
  background: #fff;
  border: 1px solid var(--color-grey);
  border-radius: 13px;
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 350px;
  padding: 1.2rem 1rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}
.news-card h4 {
  margin: 0 0 0.4rem 0;
  font-size: 1.04rem;
  color: #0b63ce;
}
.news-card p {
  margin: 0;
  font-size: 0.97rem;
  color: #222;
}

/* Mission / About / History / Team Sections (aboutus.html & autres pages internes) */
.about-section,
.history-section,
.team-section,
.mission-section {
  max-width: 1100px;
  margin: 2.8rem auto 2.2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 22px rgba(20,32,54,0.07);
  font-size: 1.13rem;
  color: #1b1f23;
}
.about-section h1,
.history-section h2,
.team-section h2,
.mission-section h2 {
  font-size: 2rem;
  color: #0b63ce;
  margin-bottom: 1rem;
}
.about-section h2,
.mission-section h2 {
  font-size: 1.17rem;
  margin-top: 2rem;
  color: #111;
}
.mission-values,
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin: 2.1rem 0 1.6rem 0;
}
.value-item,
.value-block {
  flex: 1 1 220px;
  background: #f6f7f9;
  border-radius: 13px;
  padding: 1.1rem 1rem 0.7rem 1rem;
  min-width: 200px;
  text-align: left;
  box-shadow: 0 1px 7px rgba(11,99,206,0.03);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0b63ce;
  display: inline-block;
  margin-right: 0.6em;
  vertical-align: middle;
}

/* Bloc équipe (aboutus) */
.team-list {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.team-member {
  flex: 1 1 220px;
  min-width: 210px;
  background: #f6f7f9;
  border-radius: 14px;
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
  text-align: left;
}
.team-name {
  font-weight: bold;
  font-size: 1.11rem;
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.98rem;
  color: #666;
}
.team-desc {
  font-size: 0.95rem;
  margin-top: 0.6rem;
  color: #444;
}

/* Responsive */
@media (max-width: 900px) {
  .mission-content,
  .about-values,
  .mission-values,
  .team-list {
    flex-direction: column !important;
    gap: 1.2rem !important;
    display: flex !important;
  }
  .about-section,
  .history-section,
  .team-section,
  .mission-section {
    font-size: 1rem;
    padding: 1.2rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* Footer */
footer {
  background: var(--color-footer);
  color: #fafafa;
  padding: 2.2rem 2rem 1.2rem 2rem;
  font-size: 1rem;
  margin-top: 3.5rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
}
.footer-section {
  flex: 1 1 200px;
  min-width: 170px;
  margin-bottom: 1.2rem;
}
.footer-section h5 {
  margin-bottom: 0.8rem;
  font-size: 1.07rem;
  letter-spacing: 1px;
  color: #eee;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section li {
  margin-bottom: 0.5rem;
}
.footer-section a {
  color: #adc5ea;
  text-decoration: none;
  font-size: 0.97rem;
  transition: color 0.2s;
}
.footer-section a:hover {
  color: #fff;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #999;
  font-size: 0.93rem;
}