/*
Theme Name: Intelligence Suite
Theme URI: 
Author: 
Author URI: 
Description: Thème personnalisé pour Intelligence Suite
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: intelligence-suite
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap"); /* Noto Sans */
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap"); /* Anton */

/* Styles de base */
:root {
  --primary-color: #00c3ff;
  --secondary-color: #7000ff;
  --neon-blue: #00c3ff;
  --neon-purple: #7000ff;
  --neon-pink: #ff00e6;
  --text-color: #ffffff;
  --dark-bg: #050a18;
  --card-bg: rgba(10, 15, 30, 0.7);

  --font-bold: "Anton", sans-serif;
  --font-default: "Noto Sans", sans-serif;
}

body {
  font-family: var(--font-default);
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--dark-bg);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 24, 0.85);
  z-index: -1;
}
.custom-cursor {
  position: fixed;
  width: 440px;
  height: 440px;
  pointer-events: none;

  background: rgba(255, 255, 255, 0.3);
  mix-blend-mode: normal;
  filter: blur(100px);
  transform: translate(-50%, -50%);
  z-index: 9999;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.site-header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.site-branding {
  padding: 15px 0;
}

.site-title {
  margin: 0;
  font-size: 24px;
}

.site-title a {
  color: var(--neon-blue);
  text-decoration: none;
  text-shadow: 0 0 5px rgba(0, 195, 255, 0.7);
}

/* Navigation */
.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 20px;
}

.menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s;
}

.menu a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 8px var(--neon-blue);
}

/* Menu d'ancrage pour la landing page */
#anchor-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

#anchor-menu li {
  margin-left: 20px;
}

#anchor-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

#anchor-menu a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 8px var(--neon-blue);
}

#anchor-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  transition: width 0.3s;
}

#anchor-menu a:hover::after {
  width: 100%;
}

/* Sections de la landing page */
section {
  padding: 80px 0;
  position: relative;
}
.section-title {
  font-family: var(--font-bold);
  font-weight: 400;
  font-size: 48px;
  line-height: 72px;

  color: #ffffff;
}

/* Styles pour la section clients */
.clients-section .clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.clients-section .client-item {
  flex: 0 0 calc(16.666% - 30px);
  min-width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.clients-section .client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 195, 255, 0.1);
}

/* Styles pour la section à propos */
.about-us-section .about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.about-us-section .about-column {
  flex: 1 1 calc(50% - 15px);
  min-width: 300px;
}

/* Styles pour la section contact */
.contact-section .contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-section .contact-info,
.contact-section .contact-form {
  flex: 1 1 calc(50% - 15px);
  min-width: 300px;
}

.contact-section .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-section .form-group {
  margin-bottom: 20px;
  width: 100%;
}

.contact-section .form-group.half {
  flex: 1 1 calc(50% - 10px);
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--text-color);
  font-family: var(--font-default);
}

.contact-section textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-section .btn-submit {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.contact-section .btn-submit:hover {
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.5);
  transform: translateY(-2px);
}

/* Styles pour les popups des solutions */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 195, 255, 0.3);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s;
}

.popup-close:hover {
  color: var(--neon-blue);
  transform: rotate(90deg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Responsive design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #anchor-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  #anchor-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  #anchor-menu li {
    margin: 10px 0;
  }

  .features-flex {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
  }

  .feature-item {
    flex: 0 0 90%;
    scroll-snap-align: center;
    margin-right: 20px;
  }
}

.reveal-section {
  position: relative;
  overflow: hidden;

  /* Card 1 */

  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  isolation: isolate;

  background: linear-gradient(158.14deg, #1f3248 4.17%, #102034 94.14%);

  border-radius: 14px;

  padding: 20px 17px;
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
  border: 1px solid transparent;
  transition: all 0.5s;
}

.reveal-section:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.6), 0 0 30px rgba(0, 195, 255, 0.4),
    inset 0 0 15px rgba(0, 195, 255, 0.2);
}
.reveal-section .item-title {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.learn-more {
  color: #96d4de;
  text-decoration: none;
}
.reveal-section .content {
  display: none;
}

.reveal-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
  color: var(--text-color);
}

.reveal-section:hover .reveal-content {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section:hover .reveal-content h3 {
  color: var(--neon-blue);
  text-shadow: 0 0 5px var(--neon-blue);
}

.reveal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 195, 255, 0.1),
    rgba(112, 0, 255, 0.1)
  );
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}

.reveal-section:hover .reveal-overlay {
  opacity: 1;
}

/* Footer */
.site-footer {
  background-color: rgba(5, 10, 24, 0.9);
  color: var(--text-color);
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(0, 195, 255, 0.3);
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-widget-title {
  color: var(--neon-blue);
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(0, 195, 255, 0.5);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 195, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(5, 10, 24, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
  }

  .menu.active {
    display: block;
  }

  .menu li {
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 36px;
  }
}

/* Ajout d'effets de particules pour l'ambiance spatiale */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 50%;
  animation: twinkle 5s infinite;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

/* Styles pour les cartes avec effet néon */
.feature-item {
  border-radius: 8px;
  transition: all 0.5s ease;
}

.feature-icon {
  margin-bottom: 20px;
  text-align: center;
}

.feature-icon img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 5px var(--neon-blue));
}

/* HERO */
.hero-section {
  text-align: center;
}
.hero-content {
  height: 90dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero-content .hero-title {
  font-size: 24px;
  margin-bottom: 20px;

  font-family: var(--font-default);
  font-weight: 500;
  letter-spacing: 20px;
}
.hero-content .hero-description {
  font-family: var(--font-default);
  font-weight: 250;
  font-size: 64px;
  line-height: 120%;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #ffffff;

  opacity: 0.1;
  backdrop-filter: blur(2px);
}

.hero-content .hero-description:hover {
  text-shadow: 0px 0px 64px #f0cd6b, 0px 0px 64px #f0cd6b, 0px 0px 64px #f0cd6b,
    0px 0px 64px #f0cd6b, 0px 0px 56px #f0cd6b, 0px 0px 32px #f0cd6b,
    0px 0px 20px #e6eff5, 0px 0px 12px #f0cd6b;
  filter: blur(0.5px);
  opacity: 1;
}
