/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* =========================
   FONT
========================= */
@font-face {
    font-family: 'Momcake';
    src: url('Asset/FONT/MomcakeBold-WyonA.otf') format('opentype');
}

/* =========================
   BODY
========================= */
body {
    min-height: 100vh;
    background: #050b23;
    overflow-x: hidden;
    overflow-y: auto;

    color: white;
    position: relative;
    font-family: 'Momcake', sans-serif;
}

/* 🌌 HALO */
body::before,
body::after {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.18), transparent 60%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

body::before {
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
}

body::after {
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
}

select {
    width: 100%;

    background: rgba(12, 18, 48, 0.95);

    border: 1px solid rgba(0, 162, 255, 0.2);

    border-radius: 14px;

    padding: 16px 18px;

    color: white;

    font-size: 15px;

    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;

    transition: 0.3s ease;

    box-shadow:
        inset 0 0 15px rgba(255,255,255,0.02),
        0 0 15px rgba(0, 132, 255, 0.05);
}

/* Hover */
select:hover {
    border-color: rgba(0, 162, 255, 0.45);
}

/* Focus */
select:focus {
    border-color: #00a2ff;

    box-shadow:
        0 0 20px rgba(0, 162, 255, 0.25);
}

/* OPTIONS */
select option {
    background: #0b1233;
    color: white;
}

/* =========================
   ✨ STARS
========================= */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.stars span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

/* =========================
   HEADER
========================= */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 45px;

    background: rgba(8, 12, 35, 0.65);
    backdrop-filter: blur(12px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 132, 255, 0.12);

    border-bottom: 1px solid rgba(0, 162, 255, 0.08);
}
.header a {
    font-family: 'Momcake', sans-serif;
    font-size: 18px !important;
}

/* =========================
   LOGO
========================= */
.logo-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;

    box-shadow:
        0 0 18px rgba(0, 162, 255, 0.35),
        0 0 40px rgba(0, 162, 255, 0.12);

    transition: 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.06);
}

.burger {
    display: none;

    width: 30px;
    height: 22px;

    position: relative;

    cursor: pointer;

    z-index: 2000;
}

.burger span {
    position: absolute;

    width: 100%;
    height: 3px;

    background: white;

    border-radius: 20px;

    transition: 0.3s ease;
}

/* POSITIONS */
.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:nth-child(3) {
    top: 18px;
}

/* ANIMATION */
.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* =========================
   MENU
========================= */
.right-menu ul {
    display: flex;
    align-items: center;
    gap: 35px;

    list-style: none;
}

.right-menu ul li a {
    position: relative;

    color: white;
    text-decoration: none;

    font-size: 13px;
    letter-spacing: 1px;

    display: flex;
    align-items: center;
    gap: 8px;

    transition: 0.3s ease;
}

/* Hover Glow */
.right-menu ul li a:hover {
    color: #00a2ff;
    text-shadow: 0 0 12px rgba(0, 162, 255, 0.7);
}

/* Underline Animation */
.right-menu ul li a::after {
    content: "";
    position: absolute;

    bottom: -7px;
    left: 0;

    width: 0%;
    height: 2px;

    background: #00a2ff;
    border-radius: 10px;

    box-shadow: 0 0 10px rgba(0, 162, 255, 0.8);

    transition: 0.3s ease;
}

.right-menu ul li a:hover::after {
    width: 100%;
}

/* ICON */
.right-menu ul li a i {
    font-size: 20px;
}
body {
background: #020b36;
color: white;
overflow-x: hidden;
position: relative;
}
/* ÉTOILES */
.stars {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
}
.stars span {
position: absolute;
width: 2px;
height: 2px;
background: white;
border-radius: 50%;
opacity: 0.8;
animation: twinkle 3s infinite;
}
@keyframes twinkle {
0%,100% { opacity: 0.2; }
50% { opacity: 1; }
}
/* HERO */
.devis-hero {
position: relative;
z-index: 2;
padding: 170px 8% 80px;
display: flex;
justify-content: center;
align-items: center;

text-align: center;
}
.planet-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 900px;
height: 900px;
border-radius: 50%;
background:
radial-gradient(circle,
rgba(70, 90, 255, 0.16),
transparent 70%);
filter: blur(40px);
z-index: -1;
}
.hero-content h1 {
font-size: 42px;
font-weight: 800;
line-height: 1;
margin-bottom: 30px;
}
.hero-content h1 span {
background: linear-gradient(90deg, #00a2ff, #8f3cff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-content p {
font-size: 24px;
color: rgba(255,255,255,0.72);
max-width: 950px;
line-height: 1.7;

margin: auto;
}
.hero-divider {
width: 170px;
height: 4px;
border-radius: 50px;
margin: 45px auto 0;
background:
linear-gradient(90deg,
#00a2ff,
#a855f7);
box-shadow:
0 0 20px rgba(0,162,255,0.4);
}
/* SECTION */
.devis-section {
position: relative;
z-index: 2;
width: 100%;
padding: 0 8% 120px;
display: grid;
grid-template-columns: 2fr 1fr;
gap: 40px;
align-items: start;
}
/* FORM */
.devis-form-container,
.devis-benefits {
background:
linear-gradient(
180deg,
rgba(14,22,60,0.82),
rgba(8,14,40,0.96)
);
border: 1px solid rgba(0,162,255,0.15);
border-radius: 35px;
backdrop-filter: blur(18px);

box-shadow:
0 0 60px rgba(0,162,255,0.08),
inset 0 0 25px rgba(255,255,255,0.02);
}
.devis-form-container {
padding: 45px;
}
.form-header {
display: flex;
align-items: center;
gap: 18px;
margin-bottom: 40px;
}
.form-header i {
font-size: 34px;
color: #00a2ff;
}
.form-header h2 {
font-size: 34px;
margin-bottom: 6px;
}
.form-header p {
color: rgba(255,255,255,0.65);
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}
.input-box {
display: flex;
flex-direction: column;
gap: 12px;
}
.input-box label {
font-size: 15px;
color: rgba(255,255,255,0.75);
}
.input-wrapper,
.textarea-wrapper {

position: relative;
}
.input-wrapper i,
.textarea-wrapper i {
position: absolute;
top: 50%;
left: 20px;
transform: translateY(-50%);
color: #00a2ff;
}
.textarea-wrapper i {
    position: absolute;

    top: 24px;
    left: 22px;

    color: #00a2ff;

    font-size: 18px;

    z-index: 2;
}
.input-wrapper input,
.input-wrapper select,
.textarea-wrapper textarea {
width: 100%;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(0,162,255,0.15);
border-radius: 18px;
color: white;
outline: none;
}
.input-wrapper input,
.input-wrapper select {
height: 65px;
padding: 0 20px 0 55px;
font-size: 16px;
}
.textarea-wrapper textarea {
    width: 100%;
    min-height: 240px;

    padding: 24px 24px 24px 58px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(0,162,255,0.15);

    border-radius: 22px;

    color: white;

    font-size: 17px;
    line-height: 1.7;

    resize: none;

    outline: none;

    transition: 0.3s ease;
}
.textarea-wrapper textarea:focus {
    border-color: #00a2ff;

    box-shadow:
        0 0 25px rgba(0,162,255,0.15);
}
.textarea-wrapper textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.full-width {
margin-top: 24px;
grid-column: span 2;
}
.submit-btn {
    margin: 45px auto 0;

    border: none;

    width: 320px;
    height: 68px;

    border-radius: 18px;

    background:
        linear-gradient(
            90deg,
            #009dff,
            #9b3fff
        );

    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    box-shadow:
        0 0 25px rgba(0,162,255,0.35),
        0 0 45px rgba(147,51,234,0.2);

    transition: 0.35s ease;
}

.submit-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 0 35px rgba(0,162,255,0.45),
        0 0 60px rgba(147,51,234,0.35);
}
/* BENEFITS */
.devis-benefits {
padding: 40px;
}
.devis-benefits h2 {
display: flex;
align-items: center;
gap: 14px;

margin-bottom: 35px;
font-size: 30px;
}
.devis-benefits h2 i {
color: #00a2ff;
}
.benefit-item {
display: flex;
gap: 20px;
margin-bottom: 30px;
}
.benefit-icon {
width: 65px;
height: 65px;
border-radius: 50%;
background: rgba(0,162,255,0.06);
border: 1px solid rgba(0,162,255,0.15);
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
}
.benefit-icon i {
font-size: 24px;
color: #00a2ff;
}
.benefit-item h3 {
font-size: 22px;
margin-bottom: 8px;
}
.benefit-item p {
color: rgba(255,255,255,0.68);
line-height: 1.7;
}
/* CTA */
.cta-section {

position: relative;
z-index: 2;
padding: 0 8% 120px;
}
.cta-card {
padding: 40px 50px;
border-radius: 35px;
background:
linear-gradient(
180deg,
rgba(14,22,60,0.82),
rgba(8,14,40,0.96)
);
border: 1px solid rgba(0,162,255,0.15);
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
}
.cta-left {
display: flex;
align-items: center;
gap: 30px;
}
.cta-left img {
width: 150px;
}
.cta-left h2 {
font-size: 42px;
margin-bottom: 14px;
}
.cta-left h2 span {
color: #8f3cff;
}
.cta-left p {
color: rgba(255,255,255,0.7);
max-width: 650px;

line-height: 1.7;
}
.cta-btn {
min-width: 300px;
height: 70px;
border-radius: 18px;
background:
linear-gradient(90deg,
#009dff,
#8f3cff);
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
color: white;
text-decoration: none;
font-weight: 600;
transition: 0.35s ease;
}
.cta-btn:hover {
transform: translateY(-4px);
}

.alert{
    margin-bottom:20px;
    padding:15px;
    border-radius:12px;
    font-weight:600;
}

.success{
    background:#d1fae5;
    color:#065f46;
    border:1px solid #10b981;
}

.error{
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #ef4444;
}



.g-recaptcha{
    margin-top:30px;
    display:flex;
    justify-content:center;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
.devis-section {
grid-template-columns: 1fr;
}
.cta-card {
flex-direction: column;
text-align: center;
}
.cta-left {
flex-direction: column;
}
}
@media(max-width: 900px) {
.hero-content h1 {

font-size: 42px;
}
.form-grid {
grid-template-columns: 1fr;
}
.cta-btn {
width: 100%;
min-width: unset;
}
}

/* =========================
   MOBILE
========================= */
/* =========================
   MOBILE MENU
========================= */
@media (max-width: 900px) {

    .burger {
        display: block;
    }

    /* MENU FULLSCREEN */
    .right-menu {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        display: flex;
        justify-content: center;
        align-items: center;

        opacity: 0;
        visibility: hidden;

        transition: 0.4s ease;

        z-index: 1500;

        /* FOND TRANSPARENT */
        background: rgba(5, 10, 35, 0.35);

        backdrop-filter: blur(14px);
    }

    /* ACTIVE */
    .right-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* MENU */
    .right-menu ul {
        flex-direction: column;

        gap: 45px;

        text-align: center;
    }

    /* LIENS */
    .right-menu ul li a {
        font-size: 30px;

        color: white;

        text-transform: uppercase;

        letter-spacing: 2px;

        font-family: 'Momcake', sans-serif;

        text-shadow:
            0 0 20px rgba(0,162,255,0.25);
    }

    /* BURGER */
    .burger {
        position: relative;
        z-index: 2000;
    }
}