/* styles.css - Landing Page Ultra-Design */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corps global */
html, body {
  background: #f7f9fc;
  font-family: "Segoe UI", sans-serif;
  color: #333;
  height: 100%;
}

/* Container principal (si besoin) */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* TITRES & TEXTES */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 10px;
}
p {
  line-height: 1.5;
  margin-bottom: 15px;
}
a {
  text-decoration: none;
  color: #3065b5;
}

/* HEADER (Hero) */
.main-header {
  width: 100%;
}
.hero {
  background: linear-gradient(135deg, #2c3e50 0%, #5e87c9 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 800px;
  margin: auto;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}
.btn-hero {
  background: #ffaf00;
  color: #fff;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}
.btn-hero:hover {
  background: #e89500;
  transform: scale(1.04);
}

/* MAIN */
.page-content {
  margin-top: 30px;
}

/* CARTES */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.card-header {
  padding: 15px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  border-radius: 8px 8px 0 0;
  text-align: center;
  font-weight: 500;
  font-size: 1.1rem;
}
.card-body {
  padding: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Disposition en “grid” pour certaines sections */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.landing-card {
  /* On peut styliser ces cartes en particulier */
}

/* CTA CARD */
.cta-card .card-body {
  text-align: center;
}

/* CONTACT CARD */
.contact-card form {
  max-width: 600px;
  margin: auto;
}

/* FORMULAIRE */
.form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: #3065b5;
}

/* BOUTONS GLOBAUX */
.btn {
  display: inline-block;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-size: 0.95rem;
  margin: 5px;
  text-align: center;
}
.btn-primary {
  background: #3065b5;
  color: #fff;
}
.btn-primary:hover {
  background: #204080;
  transform: scale(1.02);
}
.btn-success {
  background: #28a745;
  color: #fff;
}
.btn-success:hover {
  background: #218838;
  transform: scale(1.02);
}

/* FOOTER */
.main-footer {
  background: #eee;
  padding: 20px;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.08);
}

/* EFFET FADE-IN */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* SUPPORT MOBILE */
@media (max-width: 768px){
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-hero {
    font-size: 0.95rem;
  }
}
