/* 
   Style principal pour Oventramilo.com
   Palette de couleurs:
   - Fond principal: #0B1B3A (bleu foncé)
   - Accent: #00FFD1 (turquoise néon)
   - Secondaire: #FFDD00 (jaune soleil)
   - Texte: #FFFFFF (blanc pur)
   - Fond dégradé: #3D2C8D (violet profond) à #FF6F61 (corail)
   - Liens: #B4FF39 (lime doux)
*/

/* ===== RESET ET BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
  scroll-padding-top: 8rem; /* Correction pour les ancres - évite que le header ne cache les titres */
}

body {
  font-family: 'Arial', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #FFFFFF;
  background-color: #0B1B3A;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #B4FF39;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 2rem;
  line-height: 1.2;
}

h2 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  color: #00FFD1;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background: linear-gradient(90deg, #00FFD1, #B4FF39);
  border-radius: 0.2rem;
}

p {
  margin-bottom: 1.5rem;
}

/* ===== BOUTONS ===== */
.cta-button {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  background: linear-gradient(90deg, #00FFD1, #B4FF39);
  color: #0B1B3A;
  font-weight: bold;
  border-radius: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  box-shadow: 0 0 1.5rem rgba(0, 255, 209, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 2rem rgba(0, 255, 209, 0.7);
  text-decoration: none;
}

/* ===== HEADER ===== */
.site-header {
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(11, 27, 58, 0.95);
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(0.5rem);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 3rem;
  color: #00FFD1;
  text-transform: lowercase;
  position: relative;
  text-shadow: 0 0 1rem rgba(0, 255, 209, 0.7);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: #FFFFFF;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #00FFD1;
  text-decoration: none;
}

.cta-menu {
  background-color: #00FFD1;
  color: #0B1B3A !important;
  padding: 0.8rem 1.6rem !important;
  border-radius: 2rem;
}

.cta-menu:hover {
  background-color: #B4FF39;
  color: #0B1B3A !important;
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #091429;
  padding: 6rem 0 2rem;
  margin-top: 8rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: #00FFD1;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #091429;
  padding: 1.5rem;
  box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 120rem;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
}

.cookie-btn {
  background: #00FFD1;
  color: #0B1B3A;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 3rem;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  background: #B4FF39;
  transform: translateY(-2px);
}

/* ===== SECTIONS PRINCIPALES ===== */
/* HERO */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 8rem;
  background: linear-gradient(135deg, #3D2C8D, #FF6F61);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(0,255,209,0.15), transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 2.4rem;
  margin-bottom: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

/* SECTIONS GÉNÉRIQUES */
.section-intro {
  max-width: 800px;
  margin: 0 auto 5rem;
  text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

/* ===== STYLE DES AVANTAGES ===== */
.advantage-item {
  background: linear-gradient(145deg, #091429, #132347);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 255, 209, 0.1);
}

.advantage-item:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 255, 209, 0.5);
}

.advantage-icon {
  margin: 0 auto 2rem;
  width: 100%;
  height: 150px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.advantage-item h3 {
  color: #00FFD1;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

/* ===== STYLE DU FORMULAIRE ===== */
.form-section {
  background: linear-gradient(45deg, #0f1e3c, #232559);
  border-radius: 2rem;
  margin: 5rem auto;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.form-group {
  margin-bottom: 2.5rem;
  width: 100%;
}

.contact-form label {
  display: block;
  margin-bottom: 0.8rem;
  color: #00FFD1;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem 1.6rem;
  border: 2px solid rgba(0, 255, 209, 0.2);
  border-radius: 0.8rem;
  background-color: rgba(11, 27, 58, 0.7);
  color: #fff;
  font-size: 1.6rem;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #00FFD1;
  outline: none;
  box-shadow: 0 0 1rem rgba(0, 255, 209, 0.5);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.checkbox-container input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.5rem;
}

.form-submit {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.8rem;
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #091429, #132347);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 255, 209, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-question:hover {
  background-color: rgba(0, 255, 209, 0.1);
}

.faq-question h3 {
  margin: 0;
  font-size: 2rem;
  flex: 1;
}

.faq-toggle {
  font-size: 2.5rem;
  color: #00FFD1;
  text-decoration: none;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 255, 209, 0.1);
}

.faq-question.active {
  background: linear-gradient(90deg, rgba(0, 255, 209, 0.1), transparent);
  border-bottom: 1px solid rgba(0, 255, 209, 0.2);
}

.faq-answer {
  padding: 0 2rem 2rem;
  line-height: 1.8;
}

/* ===== PAGE DE REMERCIEMENT ===== */
.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0;
}

.thank-you-content {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(145deg, #091429, #132347);
  border-radius: 2rem;
  padding: 4rem;
  border: 2px solid #00FFD1;
  box-shadow: 0 0 2rem rgba(0, 255, 209, 0.3);
  text-align: center;
}

.thank-you-icon {
  width: 10rem;
  height: 10rem;
  margin: 0 auto 3rem;
  background-color: rgba(0, 255, 209, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #00FFD1;
}

.thank-you-content h1 {
  color: #00FFD1;
  font-size: 3.6rem;
  margin-bottom: 2rem;
}

.thank-you-message {
  font-size: 2rem;
  margin-bottom: 4rem;
}

.thank-you-details {
  margin: 4rem 0;
  text-align: center;
}

.next-steps {
  list-style-position: inside;
  margin: 3rem 0;
  padding: 0;
}

.next-steps li {
  margin-bottom: 2rem;
  counter-increment: step;
  position: relative;
}

.next-steps strong {
  color: #00FFD1;
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
}

.thank-you-cta {
  margin-top: 4rem;
}

/* ===== SECTION CONTACT ===== */
.contact-section {
  background: linear-gradient(45deg, #0f1e3c, #232559);
  border-radius: 2rem;
  margin: 5rem auto;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-method {
  flex: 1;
  min-width: 25rem;
  background: rgba(11, 27, 58, 0.7);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 255, 209, 0.1);
}

.contact-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
  background-color: rgba(0, 255, 209, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method h3 {
  color: #00FFD1;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-map {
  height: 100%;
  min-height: 40rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 255, 209, 0.1);
}

.google-map {
  width: 100%;
  height: 100%;
  border: none;
}