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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  background-color: #FFFFFF;
  color: #1C354D;
  line-height: 1.75;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(245, 247, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.monogram {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #1C354D;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.monogram:hover {
  transform: rotate(8deg);
}

.brand-name {
  color: #1C354D;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  transition: color 0.3s ease;
}
.brand-name:hover {
  color: #2E6FB7;
}

.main-nav a {
  text-decoration: none;
  color: #1C354D;
  font-weight: 600;
  margin-left: 28px;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}
.main-nav a:hover {
  color: #2E6FB7;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #2E6FB7;
  transition: width 0.3s ease;
}
.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid #1C354D;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background-color: #1C354D;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ===========================
   HERO
   =========================== */
.hero {
  background-image: url('/image/rayane-hero.png');
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #FFFFFF;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  animation: fadeInUp 1.4s ease forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.hero p {
  font-size: 18px;
  color: #E8EEF6;
  margin-bottom: 32px;
}

.hero-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===========================
   BOUTONS
   =========================== */
.btn {
  background-color: #2E6FB7;
  color: #FFFFFF;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
  font-size: 16px;
}
.btn:hover {
  background-color: #215A95;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.btn-outline {
  background: transparent;
  border: 1px solid #FFFFFF;
}
.btn-outline:hover {
  background-color: rgba(255,255,255,0.12);
}

.btn-dark {
  background-color: #1C354D;
  color: #fff;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.btn-dark:hover {
  background-color: #2E6FB7;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* ===========================
   CONTAINERS & TITRES
   =========================== */
.container {
  max-width: 1080px;
  margin: 120px auto;
  padding: 0 26px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  text-align: center;
  margin-bottom: 70px;
  color: #1C354D;
  position: relative;
}
h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #1C354D, #2E6FB7);
  display: block;
  margin: 20px auto 0;
  border-radius: 2px;
  opacity: 0.4;
}

/* ===========================
   QUI SUIS-JE
   =========================== */
#about p, #about ul {
  max-width: 850px;
  margin: 0 auto 22px;
  text-align: justify;
}

#about ul li {
  margin-bottom: 10px;
  font-size: 17px;
}

/* === Mes valeurs centrée === */
#about .grid {
  display: flex;
  justify-content: center;
}

#about .card {
  background-color: #F8FAFC;
  border-left: 4px solid #2E6FB7;
  border-radius: 8px;
  padding: 40px 30px;
  margin-top: 60px;
  width: 60%;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
#about .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* ===========================
   EXPERTISES
   =========================== */
.cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.card {
  background-color: #F8FAFC;
  border-left: 4px solid #2E6FB7;
  border-radius: 8px;
  padding: 26px 28px;
  font-size: 17px;
  line-height: 1.7;
  transition: all 0.3s ease;
  text-align: left;
  max-width: 460px;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* === Bouton “Découvrir la méthode” centré === */
.center {
  text-align: center;
  margin-top: 70px;
}
.center .btn {
  display: inline-block;
  margin: 0 auto;
  background-color: #2E6FB7;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 44px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.center .btn:hover {
  background-color: #1C354D;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* ===========================
   MÉTHODE
   =========================== */
#method {
  text-align: center;
  padding: 100px 0;
}

#method ol.steps {
  list-style: none;
  margin: 0 auto;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
#method ol.steps li {
  background: #F8FAFC;
  border-left: 4px solid #2E6FB7;
  border-radius: 8px;
  padding: 26px 28px;
  text-align: left;
  transition: all 0.3s ease;
}
#method ol.steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* ===========================
   CTA
   =========================== */
.cta {
  text-align: center;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-top: 1px solid rgba(46,111,183,0.15);
  border-bottom: 1px solid rgba(46,111,183,0.15);
  padding: 140px 20px;
}

.btn-dark {
  background-color: #1C354D;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 44px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 40px;
  transition: transform 0.25s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-35px);
  will-change: transform;
}

.btn-dark:hover {
  background-color: #2E6FB7;
  box-shadow: 0 8px 20px rgba(46,111,183,0.25);
  transform: translateY(-38px);
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 24px;
  color: #1C354D;
}
.cta p {
  font-size: 17px;
  color: #22364B;
  margin-bottom: 40px;
  line-height: 1.8;
}
.cta .contact-mini {
  margin-top: 18px;
  font-size: 16px;
  color: #1C354D;
}
.cta .contact-mini a {
  color: #2E6FB7;
  font-weight: 600;
  text-decoration: none;
}
.cta .contact-mini a:hover {
  text-decoration: underline;
}

/* ===========================
   FORMULAIRE CONTACT + PAGE RDV
   =========================== */
.formulaire-contact {
  max-width: 600px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulaire-contact label {
  font-weight: 600;
}

.formulaire-contact input,
.formulaire-contact textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
}

.formulaire-contact button {
  background-color: #2E6FB7;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulaire-contact button:hover {
  background-color: #1C354D;
}

/* PAGE RDV + MERCI */
.rdv-page h1 {
  text-align: center;
  margin-top: 80px;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
}

.rdv-page .lead {
  text-align: center;
  color: #2E6FB7;
  margin-bottom: 40px;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background-color: #F5F7FA;
  border-top: 1px solid #E2E8F0;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  font-size: 16px;
  flex-wrap: wrap;
  row-gap: 12px;
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  #about .card { width: 80%; }
}

@media (max-width: 576px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .btn { width: 100%; text-align: center; }
  .cta { padding: 100px 16px; }
  #about .card { width: 95%; padding: 36px 22px; }
}
/* ===========================
   RESPONSIVE ULTRA-COMPLET
   =========================== */

/* 🎯 Très grands écrans — UltraWide / 4K (≥ 1920px) */
@media (min-width: 1920px) {
  html { font-size: 20px; }

  .container {
    max-width: 1400px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero p {
    font-size: 20px;
  }

  .card {
    max-width: 520px;
  }

  .btn {
    font-size: 18px;
    padding: 16px 36px;
  }

  .site-header {
    padding: 26px 60px;
  }
}

/* 💼 Grands écrans — Bureau standard / 2K léger (1600px à 1919px) */
@media (max-width: 1919px) and (min-width: 1440px) {
  html { font-size: 19px; }

  .container {
    max-width: 1250px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .card {
    max-width: 500px;
  }
}

/* 💻 Écrans classiques laptop (1280px à 1439px) */
@media (max-width: 1439px) and (min-width: 1080px) {
  html { font-size: 18px; }

  .container {
    max-width: 1080px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

  .card {
    max-width: 460px;
  }

  .main-nav a {
    font-size: 15px;
  }
}

/* 📘 Tablettes paysage (992px à 1079px) */
@media (max-width: 1079px) and (min-width: 992px) {
  html { font-size: 17px; }

  .container {
    max-width: 920px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }

  .main-nav a {
    margin-left: 20px;
  }

  .card {
    max-width: 420px;
  }

  #about .card {
    width: 70%;
  }
}

/* 📗 Tablettes portrait (768px à 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  html { font-size: 16px; }

  .site-header {
    padding: 14px 22px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 80vh;
    background-position: top;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 15px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 80%;
  }

  #about .card {
    width: 80%;
  }

  #method ol.steps li {
    padding: 22px 24px;
  }
}

/* 📱 Grands smartphones (576px à 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  html { font-size: 15px; }

  .hero {
    min-height: 70vh;
    background-position: center;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 15px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .center {
    margin-top: 60px;
  }

  #method ol.steps li {
    padding: 20px 20px;
  }

  .cta {
    padding: 80px 16px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .monogram {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .brand-name {
    font-size: 18px;
  }
}

/* 📲 Petits smartphones (375px à 575px) */
@media (max-width: 575px) and (min-width: 375px) {
  html { font-size: 14px; }

  .hero {
    min-height: 65vh;
    background-position: center;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    margin-bottom: 10px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 95%;
  }

  #about .card {
    margin-top: 50px;
    padding: 32px 20px;
  }

  #method ol.steps li {
    padding: 18px;
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .cta {
    padding: 70px 14px;
  }

  .cta h2 {
    font-size: 24px;
  }

  .cta p {
    font-size: 15px;
  }
}

/* 📞 Ultra-petits smartphones (moins de 375px) */
@media (max-width: 374px) {
  html { font-size: 13px; }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 13px;
  }

  .card {
    width: 100%;
    padding: 20px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .cta h2 {
    font-size: 20px;
  }

  .site-header {
    padding: 10px 12px;
  }
}
