/* =========================================
   POLICES & CONFIGURATION GÉNÉRALE
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0097b2;
    --primary-hover: #007c92;
    --accent: #7dc3f4;
    --dark: #0f1720;
    --gray: #64748b;
    --light: #f8fbfd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sora', sans-serif;
}

body {
    background: white;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   NAVBAR (Glassmorphism & Sticky)
   ========================================= */
.custom-navbar {
    padding: 26px 0;
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary) !important;
    text-decoration: none;
}

.nav-link {
    color: var(--dark);
    font-size: .96rem;
    font-weight: 500;
    transition: .3s;
    padding: 10px 15px !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.btn-navbar {
    background: linear-gradient(135deg, #0097b2, #14b8d4);
    color: white !important;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 60px;
    font-size: .92rem;
    font-weight: 700;
    transition: .4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 151, 178, .22);
}

.btn-navbar:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 20px 40px rgba(0, 151, 178, .28);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f4fbff 100%);
    padding: 80px 0;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -4px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.9;
    margin-top: 25px;
    max-width: 600px;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 16px 34px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    transition: .4s;
}

.btn-main:hover {
    background: var(--primary-hover);
    /* transform: translateY(-2px); */
}

.btn-outline-custom {
    border: 2px solid rgba(0, 151, 178, .2);
    padding: 16px 34px;
    border-radius: 60px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    transition: .3s;
}

.btn-outline-custom:hover {
    background: rgba(0, 151, 178, 0.05);
    border-color: var(--primary);
}

/* Animation Blobs */
.blob {
    position: absolute;
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #0097b2, #7dc3f4);
    right: -150px;
    top: -80px;
    opacity: .15;
    border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%;
    animation: morph 10s infinite ease-in-out;
    z-index: 0;
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%; }
    50% { border-radius: 30% 60% 40% 70% / 60% 30% 70% 40%; }
}

/* =========================================
   PROGRAMS SECTION
   ========================================= */
.programs-section {
    padding: 140px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fbfd);
}

.section-tag {
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title {
    margin-top: 18px;
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--dark);
}

.program-card {
    background: white;
    border-radius: 34px;
    padding: 42px;
    height: 100%;
    transition: .4s ease;
    border: 1px solid rgba(15, 23, 32, .05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .04);
    margin-top: 30px;
}

.program-card:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 35px 70px rgba(0, 0, 0, .08);
}

.program-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 151, 178, .12), rgba(125, 195, 244, .2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.program-badge {
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(0, 151, 178, .08);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
}

.program-card h3 {
    margin-top: 35px;
    font-size: 2rem;
    font-weight: 800;
}

.program-link {
    margin-top: 35px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    transition: .3s;
}

.program-link:hover {
    gap: 16px;
}

/* =========================================
   TRAINING SECTION (Swiper)
   ========================================= */
.training-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, #f8fbfd, #ffffff);
}

.trainingSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.training-card {
    background: white;
    border-radius: 28px;
    padding: 38px;
    border: 1px solid rgba(15, 23, 32, .05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .04);
    transition: .35s ease;
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.training-card:hover {
    /* transform: translateY(-7px); */
    box-shadow: 0 25px 55px rgba(0, 0, 0, .07);
}

.training-card h4 {
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 24px;
}

.training-link {
    margin-top: auto; /* Pousse le lien vers le bas */
    padding-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
}

/* Swiper Pagination */
.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 28px !important;
    border-radius: 20px !important;
}

/* =========================================
   CONTACT BOX
   ========================================= */
.contact-box {
    background: linear-gradient(135deg, #0f1720, #172635);
    border-radius: 40px;
    padding: 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-box p {
    color: rgba(255, 255, 255, .7);
    margin-bottom: 30px;
}

/* =========================================
   DROPDOWN MENU
   ========================================= */
.custom-dropdown {
    border: none;
    border-radius: 24px;
    padding: 14px;
    min-width: 260px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
    background: white;
    margin-top: 18px;
}

.dropdown-item {
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 500;
    transition: .3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 151, 178, .08);
    color: var(--primary);
    /* transform: translateX(5px); */
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media(max-width:991px) {
    .navbar-collapse {
        background: white;
        padding: 30px;
        margin-top: 20px;
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .06);
    }
    .hero h1 { font-size: 4rem; }
}

@media(max-width:768px) {
    .hero { text-align: center; padding-top: 120px; }
    .hero h1 { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
    .section-title { font-size: 2.3rem; }
    .contact-box { padding: 50px 30px; }
}



/* ===================================================
HERO
=================================================== */

.aupair-hero{

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
    135deg,
    #ffffff 0%,
    #f5fbff 100%
    );
}

.hero-tag{

    color:var(--primary);

    letter-spacing:3px;

    text-transform:uppercase;

    font-size:.85rem;

    font-weight:700;
}

.aupair-hero h1{

    margin-top:20px;

    font-size:5.3rem;

    font-weight:800;

    line-height:.95;

    letter-spacing:-3px;

    color:var(--dark);
}

.aupair-hero h1 span{
    color:var(--primary);
}

.aupair-hero p{

    margin-top:30px;

    font-size:1.05rem;

    line-height:1.9;

    color:var(--gray);

    max-width:600px;
}

/* ===================================================
BUTTONS
=================================================== */

.hero-buttons{

    margin-top:40px;

    display:flex;

    gap:18px;

    flex-wrap:wrap;
}

.btn-main{

    background:var(--primary);

    color:white;

    padding:18px 34px;

    border-radius:60px;

    text-decoration:none;

    font-weight:700;

    transition:.4s;
}

.btn-main:hover{

    background:#007d94;

    color:white;

    
}



.btn-white{

    background:white;

    color:var(--dark);

    padding:18px 34px;

    border-radius:60px;

    text-decoration:none;

    font-weight:700;
}

/* ===================================================
IMAGE
=================================================== */

.hero-image{

    position:relative;
}

.hero-image img{

    width:100%;

    border-radius:40px;

    object-fit:cover;

    box-shadow:
    0 30px 80px rgba(0,0,0,.08);
}

/* ===================================================
STATS
=================================================== */

.hero-stats{

    margin-top:60px;

    display:flex;

    gap:20px;

    flex-wrap:wrap;
}

.stat-box{

    background:white;

    padding:24px 28px;

    border-radius:24px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.05);
}

.stat-box h3{

    font-size:1.3rem;

    font-weight:800;

    color:var(--primary);
}

.stat-box span{

    color:var(--gray);

    font-size:.9rem;
}

/* ===================================================
BLOBS
=================================================== */

.hero-blob{

    position:absolute;

    width:700px;
    height:700px;

    right:-150px;
    top:-100px;

    background:
    linear-gradient(
    135deg,
    #0097b2,
    #7dc3f4
    );

    opacity:.12;

    border-radius:
    60% 40% 30% 70% /
    60% 30% 70% 40%;

    animation:morph 10s ease-in-out infinite;
}

.hero-outline{

    position:absolute;

    width:520px;
    height:520px;

    right:60px;
    top:120px;

    border:
    2px solid rgba(0,151,178,.12);

    border-radius:
    30% 70% 70% 30% /
    30% 30% 70% 70%;

    animation:rotateBlob 30s linear infinite;
}

@keyframes morph{

    0%{
        border-radius:
        60% 40% 30% 70% /
        60% 30% 70% 40%;
    }

    50%{
        border-radius:
        30% 60% 70% 40% /
        50% 60% 30% 60%;
    }

    100%{
        border-radius:
        60% 40% 30% 70% /
        60% 30% 70% 40%;
    }
}

@keyframes rotateBlob{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

/* ===================================================
SECTIONS
=================================================== */

.program-about,
.benefits-section,
.process-section{

    padding:120px 0;
}

.benefits-section{
    background:var(--light);
}

.section-tag{

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:.85rem;

    font-weight:700;
}

.section-title{

    margin-top:16px;

    font-size:3rem;

    font-weight:800;

    line-height:1.1;

    letter-spacing:-2px;

    color:var(--dark);
}

.section-text{

    margin-top:24px;

    color:var(--gray);

    line-height:1.9;
}

/* ===================================================
ABOUT IMAGE
=================================================== */

.about-image{

    width:100%;

    border-radius:36px;
}

/* ===================================================
FEATURE LIST
=================================================== */

.feature-list{

    margin-top:35px;
}

.feature-item{

    display:flex;

    gap:14px;

    margin-bottom:18px;

    color:var(--dark);

    font-weight:500;
}

.feature-item i{
    color:var(--primary);
}

/* ===================================================
BENEFITS
=================================================== */

.benefit-card{

    background:white;

    border-radius:30px;

    padding:40px;

    height:100%;

    text-align:center;

    transition:.35s;

    box-shadow:
    0 15px 40px rgba(0,0,0,.04);
}


.benefit-card i{

    font-size:2rem;

    color:var(--primary);
}

.benefit-card h4{

    margin-top:24px;

    font-weight:800;
}

.benefit-card p{

    margin-top:16px;

    color:var(--gray);

    line-height:1.8;
}

/* ===================================================
PROCESS
=================================================== */

.step-card{

    background:white;

    border-radius:30px;

    padding:40px;

    height:100%;

    text-align:center;

    box-shadow:
    0 15px 40px rgba(0,0,0,.04);
}

.step-number{

    width:70px;
    height:70px;

    border-radius:50%;

    background:
    rgba(0,151,178,.08);

    color:var(--primary);

    font-weight:800;

    display:flex;

    align-items:center;
    justify-content:center;

    margin:auto;
}

.step-card h5{

    margin-top:24px;

    font-weight:800;
}

.step-card p{

    margin-top:16px;

    color:var(--gray);

    line-height:1.8;
}

/* ===================================================
CTA
=================================================== */

.cta-section{

    padding:120px 0;
}

.cta-box{

    background:
    linear-gradient(
    135deg,
    #0f1720,
    #172635
    );

    border-radius:40px;

    padding:90px 50px;

    text-align:center;

    color:white;
}

.cta-box h2{

    margin-top:20px;

    font-size:3rem;

    font-weight:800;

    line-height:1.1;
}

.cta-box p{

    margin-top:24px;

    color:
    rgba(255,255,255,.7);

    line-height:1.9;

    max-width:700px;

    margin-inline:auto;
}

/* ===================================================
RESPONSIVE
=================================================== */

@media(max-width:992px){

    .aupair-hero h1{
        font-size:4rem;
    }

    .hero-image{
        margin-top:60px;
    }

}

@media(max-width:768px){

    .aupair-hero h1{

        font-size:3rem;

        letter-spacing:-2px;
    }

    .section-title{

        font-size:2.2rem;
    }

    .cta-box{

        padding:60px 30px;
    }

    .cta-box h2{

        font-size:2.2rem;
    }

}