/* ================== THEME ================== */
:root {
    --color-primary: #54a7e0;
    --color-secondary: #5e7888;
    --color-accent: #f59e0b;
    --color-dark: #222222;
    --bg-soft: #fbfdff;
    --max-width: 1200px;
}

/* ================== RESET & BASE ================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    color: var(--color-dark);
    background: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.blue {
    color: var(--color-primary);
}

.orange {
    color: var(--color-accent);
}
/* ================== NAVIGATION ================== */
.navbar-brand {
    font-weight: 700;
    color: var(--color-dark);
}

.nav-link {
    color: rgba(0, 0, 0, 0.7);
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* ================== HERO ================== */
header.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url('../images/krakenimages-376KN_ISplE-unsplash.jpg');
    background-size: contain;
    background-position: center 50px;
    background-repeat: no-repeat;
}

header.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    padding: 36px;
}

.badge-start {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.hero-lead {
    font-size: 1.25rem;
    color: #eef4ff;
    margin-bottom: 1.2rem;
    opacity: 0.95;
}

/* ================== BUTTONS ================== */
.btn-primary-custom {
    background: var(--color-accent);
    border: none;
    color: #fff;
    padding: 0.65rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--bg-soft);
    color: var(--color-accent);
}

.btn-outline-light-custom {
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--color-accent);
    text-decoration: none;
}

.btn-custom {
    background: var(--color-accent);
    border: none;
    color: #fff;
    padding: 0.65rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--color-secondary);
    color: var(--bg-soft);
}

/* ================== SECTIONS ================== */
section {
    padding: 72px 0;
}
section[id], [id] {
    scroll-margin-top: 60px; /* ajuste à la hauteur de ta navbar + marge désirée */
}
.section-title {
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.section-sub {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.65);
    max-width: 900px;
    margin: 20px auto 38px;
    text-align: center;
}

/* ================== WHY CARDS ================== */
#avantages {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    padding: 5rem 0;
}

#avantages::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(86, 169, 227, 0.08);
    border-radius: 50%;
    z-index: 1;
}

#avantages::after {
    content: '';
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 300px;
    height: 300px;
    background: rgba(245, 180, 80, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.why-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.why-col {
    display: flex;
}

.why-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(15, 20, 40, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(86, 169, 227, 0.3);
}

.why-card:hover .why-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.why-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.why-icon.primary {
    background: var(--color-primary);
}

.why-icon.secondary {
    background: var(--color-secondary);
}

.why-icon.accent {
    background: var(--color-accent);
}

.why-icon.info {
    background: #4fc3f7;
}

.why-card h5 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-dark);
}

.why-card p {
    margin-bottom: 0;
    color: rgba(0, 0, 0, 0.75);
    text-align: center;
}

/* ================== PRICING ================== */
#offres {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.5), rgba(248, 249, 250, 0.5)),
                url('../images/pricing-bg5.jpg') no-repeat center center;
    background-size: contain;
}

#offres::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(0px);
    z-index: 0;
}

#offres .container {
    position: relative;
    z-index: 1;
}

.pricing-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: stretch;
}

.plan {
    width: 320px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(10, 20, 40, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(10, 20, 40, 0.12);
    border: 1px solid var(--color-secondary);
}

.plan.featured {
    border: 3px solid var(--color-accent);
    transform: scale(1.03);
}

.plan.featured:hover {
    transform: scale(1.05);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-header h4 {
    margin: 0;
}

.plan h4 {
    position: relative;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.plan h4::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    position: absolute;
    bottom: -6px;
    left: 0;
    border-radius: 2px;
}

.badge-inline {
    background: var(--color-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(79, 103, 255, 0.3);
}

.plan .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 8px 0;
}

.plan ul {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
    flex: 1;
}

.plan li {
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.75);
    position: relative;
    padding-left: 26px;
}

.plan ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-secondary);
}
/* Supprimer la puce uniquement pour cet élément */
.plan ul li.plus-item::before {
    content: none !important;
}

/* Centrer l’icône + couleur orange */
.plan ul li.plus-item {
    padding-left: 0;
    text-align: center;
}

.plan ul li.plus-item i {
    color: orange;
}

.plan p {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.3px;
}

/* ================== INFO BOXES ================== */
.info-box-inline {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.info-box-inline-highlight {
    max-width: 990px;
    margin: 0 auto;
    background: linear-gradient(135deg, #56a9e3 0%, #5e7888 100%);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(86, 169, 227, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box-inline-highlight::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.info-box-inline-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(86, 169, 227, 0.4);
}

.info-icon-wrapper {
    margin-bottom: 1rem;
}

.info-icon-wrapper i {
    font-size: 4rem;
    color: #f59e0b;
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.info-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-title .fa-award {
    margin-right: 0.75rem;
    font-size: 1.8rem;
    color: #f59e0b;
}

.info-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.info-items span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.info-items .fa-check-circle {
    color: #ffffff;
    font-size: 1.2rem;
}

.info-items .separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: bold;
}

/* ================== UX CARDS ================== */
#ux {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
}

#ux::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(86, 169, 227, 0.08);
    border-radius: 50%;
    transform: rotate(30deg);
    pointer-events: none;
}

#ux::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: rgba(242, 170, 109, 0.06);
    border-radius: 50%;
    transform: rotate(-20deg);
    pointer-events: none;
}

.ux-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(10, 20, 40, 0.06);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ux-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.ux-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    display: inline-block;
}

.ux-card h5 {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.ux-card p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
}

/* ================== REALISATIONS ================== */
.work-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(10, 20, 40, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(86, 169, 227, 0.4);
}

.work-card img {
    width: 100%;
    display: block;
    border-bottom: 1px solid #e9ecef;
}

.work-card figcaption {
    background: #fff;
}

/* ================== TESTIMONIALS ================== */
.testimonial {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 24px rgba(10, 20, 40, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.testimonial::before,
.testimonial::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.testimonial::before {
    width: 100px;
    height: 100px;
    background: rgba(86, 169, 227, 0.1);
    top: -20px;
    right: -20px;
}

.testimonial::after {
    width: 60px;
    height: 60px;
    background: rgba(246, 176, 125, 0.1);
    bottom: -15px;
    left: -15px;
}

.testimonial img {
    width: 78px;
    height: 78px;
    object-fit: cover;
}

/* ================== CONTACT & FOOTER ================== */
#contact {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.5), rgba(248, 249, 250, 0.5)),
                url('../images/message-contact4.jpg') no-repeat center center;
    background-size: cover;
}

#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(0px);
    z-index: 0;
}

#contact > * {
    position: relative;
    z-index: 1;
}

.contact-form .form-control {
    border-radius: 6px;
}

.captcha-align {
    margin-top: 32px; /* hauteur approx d’un label bootstrap */
}

@media (max-width: 768px) {
    .captcha-align {
        margin-top: 0; /* pas nécessaire en mobile */
    }
}


footer.site-footer {
    background: var(--color-secondary);
    color: #fff;
    padding: 36px 0;
    text-align: center;
}

/* ================== UTILITIES ================== */
.max-w {
    max-width: var(--max-width);
    margin: 0 auto;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .hero-inner {
        padding: 28px;
    }

    .plan {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .info-box-inline-highlight {
        padding: 2rem 1.5rem;
    }

    .info-title {
        font-size: 1.2rem;
    }

    .info-items {
        flex-direction: column;
        gap: 1rem;
        font-size: 1rem;
    }

    .info-items .separator {
        display: none;
    }

    .ux-card {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    header.hero {
        min-height: 64vh;
        background-position: center 30%;
    }
}