/* Variables CSS */
:root {
  --primary-turquoise: #06b6d4;
  --secondary-turquoise: #0891b2;
  --light-turquoise: #67e8f9;
  --accent-cyan: #22d3ee;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f0fdff;
  --white: #ffffff;
  --gradient: linear-gradient(
    135deg,
    var(--secondary-turquoise) 0%,
    var(--primary-turquoise) 50%,
    var(--light-turquoise) 100%
  );
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
}

/* Header */
header {
  background: var(--gradient);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-turquoise);
  font-family: "Ce";
  font-style: italic;
}
.logo img {
  height: 2rem;
  margin-right: 5px;
  vertical-align: middle;
}
.expo {
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--light-turquoise);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 12rem 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>')
    no-repeat bottom;
  background-size: cover;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--light-turquoise);
  color: var(--secondary-turquoise);
}

.btn-primary:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--secondary-turquoise);
}

/* Badge Partenaire Agence Mendes */
.partner-badge {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(103, 232, 249, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}
.partner-badge p {
  vertical-align: middle;
}

.partner-badge i {
  margin-right: 0.4rem;
  color: var(--light-turquoise);
  font-size: 1rem;
}

/* Sections */
section {
  padding: 6rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-turquoise);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon i {
  color: white;
  font-size: 1.5rem;
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  color: white;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.cyber-highlight {
  border: 2px solid var(--light-turquoise);
  position: relative;
}

.cyber-highlight::before {
  content: "NOUVEAU";
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--light-turquoise);
  color: var(--secondary-turquoise);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Contact Section */
.contact {
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-turquoise);
  padding-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-turquoise);
}

textarea {
  height: 240px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: var(--gradient);
  color: white;
  padding: 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(8, 145, 178, 0.3);
}

/* FAQ Section */

/* Section FAQ */
.faq {
  background: var(--bg-light);
  padding: 6rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--gradient);
  color: white;
}

.faq-question:hover {
  background: color-mix(in oklch, var(--secondary-turquoise), white 20%);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-info {
  margin-bottom: 2rem;
}

.footer-info h3 {
  color: var(--light-turquoise);
  margin-bottom: 1rem;
  font-family: "Ce";
  font-style: italic;
}
.footer-logo {
  height: 2rem;
  vertical-align: middle;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  color: var(--text-light);
}

/* Messages de succès et erreur */
.success-message {
  background: #10b981;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
}

.error-message {
  background: #ef4444;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
/* Responsive design */
@media (max-width: 768px) {
  .partner-badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.5rem 0;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-turquoise);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }
  /* Responsive FAQ */
  @media (max-width: 850px) {
    .faq {
      padding: 4rem 0;
    }
  }
}
/* Responsive XL screen */

/* Pour les très grands écrans (au-delà de 1600px) */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }

  nav {
    max-width: 1400px;
  }

  .hero-content {
    max-width: 1400px;
  }

  .footer-content {
    max-width: 1400px;
  }
  .contact-info {
    columns: 2;
    column-gap: 2rem;
  }

  .contact-info h3 {
    column-span: all;
  }

  .contact-item {
    break-inside: avoid;
    display: block;
    height: 8.5rem;
  }
}

/* Pour les écrans ultra-larges (au-delà de 1920px) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  nav {
    max-width: 1600px;
  }

  .hero-content {
    max-width: 1600px;
  }

  .footer-content {
    max-width: 1600px;
  }
}

/* Pour les écrans 4K et plus (au-delà de 2560px) */
@media (min-width: 2560px) {
  .container {
    max-width: 2000px;
  }

  nav {
    max-width: 2000px;
  }

  .hero-content {
    max-width: 2000px;
  }

  .footer-content {
    max-width: 2000px;
  }

  /* Augmenter légèrement les tailles de police pour les très grands écrans */
  body {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .section-header h2 {
    font-size: 3rem;
  }
}
/* Grille des services pour grands écrans */
@media (min-width: 1600px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
  }

  /* Centrer les 2 derniers items de la deuxième ligne */
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    grid-column: span 1;
  }

  /* Centrer la deuxième ligne (items 5 et 6) */
  .service-card:nth-child(5) {
    grid-column: 2;
  }
}
