/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to top, #0d3b66 0%, #1a1f3a 50%, #030712 100%);
    color: #ffffff;
}

/* ========================================
   2. NAVBAR
   ======================================== */

/* ============================================================
   2. NAVBAR
   ============================================================ */

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.3s ease;
  animation: slideDown 0.6s ease-out;
}

/* ── 2a. Animations navbar ── */

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1);   }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0);    }
}

.nav-container.scrolled {
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 20px rgba(0, 114, 188, 0.3);
  backdrop-filter: blur(5px);
}

/* ── 2b. Logo ── */

.logo img {
  width: clamp(200px, 17vw, 400px);
  height: auto;
  transition: width 0.3s ease;
  animation: fadeInScale 0.8s ease-out 0.2s both;
}

/* ── 2c. Liens de navigation ── */

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(15px, 2vw, 35px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { animation: fadeInUp 0.6s ease-out both; }
.nav-links li:nth-child(1) { animation-delay: 0.3s; }
.nav-links li:nth-child(2) { animation-delay: 0.4s; }
.nav-links li:nth-child(3) { animation-delay: 0.5s; }
.nav-links li:nth-child(4) { animation-delay: 0.6s; }
.nav-links li:nth-child(5) { animation-delay: 0.7s; }
.nav-links li:nth-child(6) { animation-delay: 0.8s; }

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: clamp(13px, 1.1vw, 17px);
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover { color: #0072BC; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background-color: #0072BC;
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* ── 2d. Boutons CTA ── */

.nav-actions {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.7s both;
}

.phone-button,
.eligibilite-button {
  background: #0099ff;
  color: white;
  border: none;
  padding: clamp(10px, 1.2vw, 14px) clamp(18px, 2.5vw, 28px);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 114, 188, 0.3);
}

.phone-button:hover,
.eligibilite-button:hover {
  background: #0072BC;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #0072BC;
}

/* ── 2e. Menu hamburger ── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-container.open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-container.open .hamburger span:nth-child(2) { opacity: 0; }
.nav-container.open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ==================== CONTENU PRINCIPAL ==================== */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* ==================== EN-TÊTE ==================== */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
}

.page-header.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #a8d0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 18px;
    color: #b8c5d6;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==================== CARTE D'ÉLIGIBILITÉ ==================== */
.eligibility-card {
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.2s;
    border-radius: 20px;
}

.eligibility-card.slide-up {
    opacity: 1;
    transform: translateY(0);
}

.card-header {
    padding: 30px;
    text-align: center;
    color: white;
}

.card-header h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-header p {
    font-size: 15px;
    opacity: 0.9;
}

.card-body {
    padding: 30px;
}

.card-body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    overflow: hidden;
    border-radius: 12px;
}

.card-footer {
    padding: 25px 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.badge-icon {
    background: linear-gradient(135deg, #0072BC 0%, #005f9e 100%);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ==================== SECTION INFORMATIONS ==================== */
.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.info-box p {
    font-size: 14px;
    color: #b8c5d6;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width:3000px){
    .logo img{
    width:300px
  }
  .nav-links a{
    font-size: 24px;
  }
  
  .eligibilite-button,.phone-button{
    font-size: 18px;
  }
}

@media (max-width:1920px){
    .logo img{
    width:200px
  }
  .nav-links a{
    font-size: 20px;
  }
  
}

@media (max-width:1200px){
    .phone-button,
    .eligibilite-button {
        padding: 9px 16px;
        font-size: 13px;
    }
    .logo img{
    width:150px
  }
}
/* Tablette Paysage et inférieur (991px et moins) */
@media (max-width: 991px) {
    /* Navigation mobile */
    .hamburger {
    display: flex;
  }
    .nav-container.open .nav-links {
    display: flex;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    height: calc(100vh - 55px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.98), rgba(13, 59, 102, 0.98));
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 20px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
  }
}

/* Tablette Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .logo img{
    width:150px
  }

    .main-content {
        padding-top: 85px;
    }

    .container {
        padding: 30px 20px;
    }

    .title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 16px;
    }

    .card-header h2 {
        font-size: 24px;
    }

    .card-header p {
        font-size: 14px;
    }

    .card-body {
        padding: 25px 20px;
    }

    .card-footer {
        gap: 20px;
        padding: 22px 20px;
    }

    .info-box {
        padding: 28px;
    }

    .info-icon {
        font-size: 44px;
    }
}

/* Mobile Large et inférieur (767px et moins) */
@media (max-width: 767px) {
    .logo img {
        width: clamp(120px, 30vw, 150px);
    }

    .nav-actions {
        flex-direction: row;
        gap: 6px;
    }

    .phone-button,
    .eligibilite-button {
        padding: 10px 14px;
        font-size: 12px;
    }

    .main-content {
        padding-top: 80px;
    }

    .container {
        padding: 25px 15px;
    }

    .page-header {
        margin-bottom: 30px;
    }

    .title {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.2;
    }

    .subtitle {
        font-size: clamp(13px, 3.5vw, 15px);
        line-height: 1.5;
    }

    .card-header {
        padding: 22px 18px;
    }

    .card-header h2 {
        font-size: clamp(18px, 5vw, 22px);
    }

    .card-header p {
        font-size: clamp(12px, 3vw, 14px);
    }

    .card-body {
        padding: 20px 15px;
    }

    .card-footer {
        padding: 20px 15px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .info-badge {
        font-size: 13px;
    }

    .badge-icon {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .info-section {
        gap: 15px;
        margin-top: 35px;
    }

    .info-box {
        padding: 22px 18px;
    }

    .info-icon {
        font-size: 38px;
        margin-bottom: 12px;
    }

    .info-box h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .info-box p {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Mobile Standard (480px et moins) */
@media (max-width: 480px) {
    .nav-container {
        padding: 10px 12px;
    }

    .logo img {
        width: clamp(110px, 28vw, 130px);
    }

    .phone-button,
    .eligibilite-button {
        padding: 9px 12px;
        font-size: 11px;
    }

    .main-content {
        padding-top: 75px;
    }

    .container {
        padding: 20px 12px;
    }

    .page-header {
        margin-bottom: 25px;
    }

    .title {
        font-size: clamp(22px, 6.5vw, 28px);
    }

    .subtitle {
        font-size: clamp(12px, 3.2vw, 14px);
    }

    .card-header {
        padding: 20px 15px;
    }

    .card-header h2 {
        font-size: clamp(17px, 4.5vw, 20px);
    }

    .card-header p {
        font-size: clamp(11px, 2.8vw, 13px);
    }

    .card-body {
        padding: 18px 12px;
    }

    .card-footer {
        padding: 18px 12px;
        gap: 12px;
    }

    .info-badge {
        font-size: 12px;
    }

    .info-section {
        gap: 12px;
        margin-top: 30px;
    }

    .info-box {
        padding: 20px 15px;
    }

    .info-icon {
        font-size: 34px;
    }

    .info-box h3 {
        font-size: 16px;
    }

    .info-box p {
        font-size: 12px;
    }
}

/* Mobile Small (375px et moins) */
@media (max-width: 375px) {
    .nav-container {
        padding: 10px 10px;
    }

    .logo img {
        width: clamp(100px, 26vw, 120px);
    }


    .nav-links a {
        font-size: 16px;
        padding: 10px 0;
    }

    .phone-button,
    .eligibilite-button {
        padding: 8px 10px;
        font-size: 10px;
    }

    .main-content {
        padding-top: 70px;
    }

    .container {
        padding: 18px 10px;
    }

    .page-header {
        margin-bottom: 22px;
    }

    .title {
        font-size: clamp(20px, 6vw, 24px);
    }

    .subtitle {
        font-size: clamp(11px, 3vw, 13px);
    }

    .card-header {
        padding: 18px 12px;
    }

    .card-header h2 {
        font-size: clamp(16px, 4.2vw, 18px);
    }

    .card-header p {
        font-size: clamp(10px, 2.6vw, 12px);
    }

    .card-body {
        padding: 15px 10px;
    }

    .card-footer {
        padding: 15px 10px;
        gap: 10px;
    }

    .info-badge {
        font-size: 11px;
    }

    .badge-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .info-section {
        gap: 10px;
        margin-top: 25px;
    }

    .info-box {
        padding: 18px 12px;
    }

    .info-icon {
        font-size: 30px;
    }

    .info-box h3 {
        font-size: 15px;
    }

    .info-box p {
        font-size: 11px;
    }
}

/* Mobile Extra Small (320px et moins) */
@media (max-width: 320px) {
    .nav-container {
        padding: 8px 8px;
    }

    .logo img {
        width: clamp(90px, 24vw, 110px);
    }

    .nav-links a {
        font-size: 15px;
        padding: 8px 0;
    }

    .phone-button,
    .eligibilite-button {
        padding: 7px 8px;
        font-size: 9px;
    }

    .main-content {
        padding-top: 65px;
    }

    .container {
        padding: 15px 8px;
    }

    .page-header {
        margin-bottom: 20px;
    }

    .title {
        font-size: clamp(18px, 5.5vw, 22px);
    }

    .subtitle {
        font-size: clamp(10px, 2.8vw, 12px);
    }

    .card-header {
        padding: 15px 10px;
    }

    .card-header h2 {
        font-size: clamp(15px, 4vw, 17px);
    }

    .card-header p {
        font-size: clamp(9px, 2.4vw, 11px);
    }

    .card-body {
        padding: 12px 8px;
    }

    .card-footer {
        padding: 12px 8px;
        gap: 8px;
    }

    .info-badge {
        font-size: 10px;
    }

    .badge-icon {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .info-section {
        gap: 8px;
        margin-top: 20px;
    }

    .info-box {
        padding: 15px 10px;
    }

    .info-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .info-box h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .info-box p {
        font-size: 10px;
    }
}

/* Overlay pour fermer le menu mobile */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-container.open .nav-overlay {
    display: block;
    opacity: 1;
}

@media (min-width: 992px) {
    .nav-overlay {
        display: none !important;
    }
}