/* ==========================================
RESET
========================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f4f7fb;
    color:#1e293b;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================================
HEADER
========================================== */

.header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 15px rgba(0,0,0,.05);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
    gap:20px;
}

.logo-container{
    display:flex;
    align-items:center;
    gap:15px;
    color:#0f172a;
}

.logo{
    width:55px;
    height:55px;
    object-fit:contain;
}

.logo-text h2{
    font-size:20px;
    font-weight:700;
}

.logo-text span{
    font-size:13px;
    color:#64748b;
}

.nav-menu ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.nav-menu a{
    color:#0f172a;
    font-weight:600;
    transition:.3s;
}

.nav-menu a:hover{
    color:#2563eb;
}

/* ==========================================
HERO
========================================== */

.hero{
    padding:80px 0;
    background:linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );
    color:#fff;
    text-align:center;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
    line-height:1.2;
}

.hero p{
    max-width:800px;
    margin:auto;
    font-size:18px;
}

.badge{
    display:inline-block;
    background:#dbeafe;
    color:#2563eb;
    padding:8px 18px;
    border-radius:999px;
    font-weight:700;
    margin-bottom:20px;
}

/* ==========================================
BUTTONS
========================================== */

.hero-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    margin-top:30px;
    flex-wrap:wrap;
}

.hero-buttons a,
.hero-buttons button{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
}

.btn-primary{
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:12px;
    padding:15px 26px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.btn-primary:hover{
    background:#1d4ed8;
}

.btn-secondary{
    background:#fff;
    color:#2563eb;
    border:none;
    border-radius:12px;
    padding:15px 26px;
    font-weight:700;
    cursor:pointer;
}

/* ==========================================
SECTION TITLE
========================================== */

.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title span{
    display:inline-block;
    background:#dbeafe;
    color:#2563eb;
    padding:6px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    margin-bottom:10px;
}

.section-title h2{
    font-size:36px;
    margin-bottom:10px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#64748b;
}
/* ==========================================
CARDS
========================================== */

.hero-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    margin-bottom:30px;
}

/* ==========================================
FORM
========================================== */

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
}

.form-group label{
    font-weight:600;
    margin-bottom:8px;
    color:#0f172a;
}

.form-group span{
    color:#dc2626;
}

.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:15px;
    border:1px solid #dbe2ea;
    border-radius:12px;
    background:#fff;
    font-size:15px;
    transition:.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.form-group textarea{
    resize:vertical;
    min-height:140px;
}

#emailBox{
    display:none;
    margin-top:25px;
    background:#f8fafc;
    padding:25px;
    border-radius:18px;
    border:1px solid #dbe2ea;
}

#userEmail{
    width:100%;
    padding:15px;
    border:1px solid #dbe2ea;
    border-radius:12px;
    margin-bottom:18px;
}

#agreeMail{
    width:18px;
    height:18px;
    margin-top:3px;
}

#emailBox label{
    display:flex;
    gap:10px;
    align-items:flex-start;
    line-height:1.7;
    cursor:pointer;
}

/* ==========================================
CONSEILS
========================================== */

#conseils ul{
    padding-left:20px;
}

#conseils li{
    margin-bottom:14px;
    line-height:1.8;
    color:#475569;
}

/* ==========================================
CONTACT
========================================== */

#contact a{
    color:#2563eb;
    font-weight:700;
}

#contact a:hover{
    text-decoration:underline;
}

/* ==========================================
RESPONSIVE
========================================== */

@media(max-width:992px){

.navbar{
flex-direction:column;
}

.nav-menu ul{
justify-content:center;
flex-wrap:wrap;
}

}

@media(max-width:768px){

.container{
width:95%;
}

.hero{
padding:55px 0;
}

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

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

.form-grid{
grid-template-columns:1fr;
}

.hero-card{
padding:22px;
}

.section-title h2{
font-size:28px;
}

.hero-buttons{
flex-direction:column;
}

.hero-buttons a,
.hero-buttons button{
width:100%;
max-width:320px;
}

}
/* ==========================================
FOOTER
========================================== */

footer{
    background:#0f172a;
    color:#fff;
    text-align:center;
    padding:50px 20px;
    margin-top:60px;
}

.footer-logo{
    height:60px;
    width:auto;
    display:block;
    margin:0 auto 20px;
}

.footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin:25px 0;
}

.footer-links a{
    color:#cbd5e1;
    transition:.3s;
}

.footer-links a:hover{
    color:#fff;
}

footer p{
    color:#cbd5e1;
    line-height:1.8;
}

/* ==========================================
LOADING
========================================== */

.loading-box{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.95);
    z-index:999999;
}

.loading-card{
    width:100%;
    max-width:340px;
    background:#fff;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.18);
}

.spinner{
    width:65px;
    height:65px;
    margin:0 auto 20px;
    border:6px solid #dbeafe;
    border-top:6px solid #2563eb;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{

to{

transform:rotate(360deg);

}

}

.loading-card h3{
    color:#0f172a;
    font-size:24px;
    margin-bottom:12px;
}

.loading-card p{
    color:#64748b;
    line-height:1.7;
}

/* ==========================================
SUCCESS
========================================== */

.success-box{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(15,23,42,.65);
    z-index:999999;
    padding:20px;
}

.success-card{
    width:100%;
    max-width:430px;
    background:#fff;
    padding:40px 30px;
    border-radius:28px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.22);
    animation:popup .3s ease;
}

.success-check{
    width:90px;
    height:90px;
    margin:0 auto 25px;
    border-radius:50%;
    background:#22c55e;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:42px;
    font-weight:700;
}

.success-card h3{
    font-size:30px;
    color:#0f172a;
    margin-bottom:15px;
}

.success-card p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:30px;
}

@keyframes popup{

from{

opacity:0;
transform:scale(.85);

}

to{

opacity:1;
transform:scale(1);

}

}

/* ==========================================
PRINT
========================================== */

@media print{

header,
footer,
.hero,
.hero-buttons,
.loading-box,
.success-box,
#emailBox{

display:none !important;

}

.hero-card{

box-shadow:none;
border:none;
padding:0;

}

body{

background:#fff;

}

}

/* ==========================================
MOBILE
========================================== */

@media(max-width:768px){

.footer-links{

flex-direction:column;
gap:12px;

}

.footer-logo{

height:50px;

}

.loading-card,
.success-card{

max-width:95%;
padding:28px 20px;

}

.loading-card h3,
.success-card h3{

font-size:24px;

}

.success-check{

width:75px;
height:75px;
font-size:34px;

}

}