/* Variables */
:root {
  --bg: #0e0b1f;
  --accent1: #c7f80d;
  --accent2: #00e1d9;
  --accent3: #ff3bd4;
  --text: #f2f3f7;
  --text-secondary: #c9cbd3;
  --border: #28243f;
  --error: #ff5a6e;
  --success: #2be38a;
  --gradient1: linear-gradient(135deg, #c7f80d, #00e1d9, #ff3bd4);
  --gradient2: linear-gradient(
    180deg,
    rgba(199, 248, 13, 0.08),
    rgba(0, 225, 217, 0.08)
  );
  --shadow-neon: 0 0 15px rgba(199, 248, 13, 0.5);
  --shadow-neon2: 0 0 15px rgba(0, 225, 217, 0.5);
  --shadow-neon3: 0 0 15px rgba(255, 59, 212, 0.5);
  --border-radius: 20px;
  --border-radius-lg: 28px;
  --glass-bg: rgba(14, 11, 31, 0.7);
  --glass-border: rgba(40, 36, 63, 0.6);
  --transition: all 0.3s ease;
  --header-height: 80px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 80px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient1);
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent1);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}

ul {
  list-style: none;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Grid & Flexbox Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card {
  transition: var(--transition);
  height: 100%;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon2);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient1);
  color: var(--bg);
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon), 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent2);
  color: var(--accent2);
}

.btn-outline:hover {
  background: var(--accent2);
  color: var(--bg);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(14, 11, 31, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  display: flex;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav ul {
  display: flex;
}

nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient1);
  transition: var(--transition);
}

nav a:hover:after {
  width: 100%;
}

.burger {
  display: none;
  cursor: pointer;
}

#burger-toggle {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 11, 31, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-neon2);
}

/* Services Section */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card-img {
  height: 200px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card h3 {
  margin-top: 1rem;
  color: var(--accent1);
}

/* Process Section */
.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient1);
  color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-neon);
}

/* Advantages Section */
.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.advantage-item {
  background: var(--gradient2);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
}

/* Testimonials Section */
.testimonial {
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent1);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--accent2);
}

.testimonial-role {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Form Section */
.form-section {
  position: relative;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
  border: 1px solid var(--accent2);
  border-radius: var(--border-radius);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-neon2);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(40, 36, 63, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

select option {
  background-color: #fff;
  color: #000;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 225, 217, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-submit {
  margin-top: 2rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  cursor: pointer;
  font-weight: 600;
  display: block;
  color: var(--accent1);
  background: var(--glass-bg);
}

.faq-question:before {
  content: "+";
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  background: rgba(40, 36, 63, 0.3);
  padding: 0 1rem;
}

.faq-checkbox {
  display: none;
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-checkbox:checked + .faq-question:before {
  content: "−";
}

.faq-checkbox:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

/* Footer */
footer {
  background: rgba(14, 11, 31, 0.9);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
}

.footer-contact li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent2);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-popup p {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Merci Page */
.merci-container {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  margin: 8rem auto 5rem;
  max-width: 700px;
}

.merci-content {
  border: 2px solid var(--accent2);
  border-radius: var(--border-radius);
  padding: 3rem;
  background: var(--gradient2);
  box-shadow: var(--shadow-neon2);
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 8rem auto 5rem;
  padding: 2rem;
}

.policy-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
}

.policy-content h1 {
  color: var(--accent2);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.policy-content h2 {
  color: var(--accent1);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-top: 2rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .burger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    left: 0;
    transition: var(--transition);
  }

  .burger span:nth-child(1) {
    top: 0;
  }

  .burger span:nth-child(2) {
    top: 9px;
  }

  .burger span:nth-child(3) {
    top: 18px;
  }

  #burger-toggle:checked ~ .burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #burger-toggle:checked ~ .burger span:nth-child(2) {
    opacity: 0;
  }

  #burger-toggle:checked ~ .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(14, 11, 31, 0.95);
    height: 0;
    overflow: hidden;
    transition: var(--transition);
  }

  #burger-toggle:checked ~ nav {
    height: 100dvh;
    border-bottom: 1px solid var(--border);
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav a {
    display: block;
    padding: 0.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .service-card-img {
    height: 180px;
  }

  .cookie-popup {
    width: 95%;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}
