:root {
    --nav-h: 80px;
    --content-max: 1180px;
}

html {
    scroll-behavior: smooth;
}
body {
    background: #000a1e; /* your body color */
    color: #e7eef8;
}

/* Constrain page content (not full width) */
.site-container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header visuals */
.brand-logo {
    height: 40px;
    width: auto;
}
.transparent-nav {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
        border-color 0.3s ease, box-shadow 0.3s ease;
}
.transparent-nav.scrolled {
    background: rgba(0, 10, 30, 0.55);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Nav links & button */
.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.navbar .nav-link:hover {
    color: #fff;
}
.btn-primary {
    background: #e63b5532;
    border-color: #e63b55;
}
.btn-primary:hover {
    background: #e63b55;
    border-color: #e63b55;
}

/* --- Footer --- */
.site-footer {
    background: linear-gradient(
            180deg,
            rgba(0, 10, 30, 0) 0%,
            rgba(0, 10, 30, 0.65) 40%
        ),
        #01081b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

/* utility tints for footer */
.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}
.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* links in footer */
.link-plain {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.link-plain:hover {
    color: #fff;
    text-decoration: underline;
}

/* === HERO === */

.hero {
    position: relative;
    /* Good, adaptive height: never too small, never too tall */
    min-height: clamp(520px, 82vh, 900px);
    overflow: hidden;
}

/* Video fills the section */
.hero-media {
    position: absolute;
    inset: 0;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Slight darkening to help white text pop */
    filter: brightness(0.78) contrast(1.06);
}

/* Subtle gradient that matches #000A1E */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 10, 30, 0.15) 0%,
        rgba(0, 10, 30, 0.35) 35%,
        rgba(0, 10, 30, 0.6) 70%,
        #000a1e 100%
    );
    pointer-events: none;
}

/* Center the copy dead-center over video */
.hero-inner {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center; /* perfect centering */
}

/* Headline + underline */
.hero-title {
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    /* Responsive size: mobile -> desktop */
    font-size: clamp(26px, 4.2vw, 54px);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    margin: 0;
}
.hero-underline {
    width: 120px;
    height: 3px;
    margin: 14px auto 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0),
        #b7d1ff,
        rgba(255, 255, 255, 0)
    );
    border-radius: 3px;
}

/* Optional accent color for one word (like your screenshot) */
.accent {
    color: #e63b55;
} /* tweak if you want */

/* Small screens tune-up */
@media (max-width: 576px) {
    .hero {
        min-height: 70vh;
    }
    .hero-underline {
        width: 90px;
        height: 2px;
    }
}

/* Reduce motion: hide video but keep nice background */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    .hero-overlay {
        background: #000a1e;
    }
}

/* ===== Services (on body color #000A1E) ===== */
.services-section {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.services-heading {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-bottom: 1.75rem;
}

/* Responsive grid (2×N desktop → 1×N mobile) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 28px;
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Card look */
:root {
    --card-bg: #1f2433; /* neutral grey on dark body */
    --card-bg-hover: #252b3d; /* slightly lighter on hover */
    --card-border: rgba(255, 255, 255, 0.1);
    --card-border-hover: rgba(255, 255, 255, 0.18);
    --orange: #d2691e; /* your orange */
}

.service-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px 24px 26px;
    text-align: center;
    color: #fff;
    transition: transform 0.25s ease, background-color 0.25s ease,
        border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.service-card:hover {
    transform: translateY(-6px);
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
    margin: 10px 0 6px;
    font-weight: 700;
}
.service-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

/* Circular icon “badge” */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    background: #fff; /* white disc */
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, background 0.25s ease,
        box-shadow 0.25s ease;
}
.service-icon i {
    color: #e63b55;
    font-size: 24px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Hover: card turns slightly lighter, icon goes orange-on-dark */
.service-card:hover .service-icon {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.service-card:hover .service-icon i {
    color: #fff;
}

/* === FAQ === */
:root {
    --faq-panel: rgba(8, 17, 38, 0.85); /* deep navy panel */
    --faq-border: rgba(255, 255, 255, 0.14);
    --faq-dot: rgba(255, 255, 255, 0.06); /* dotted background dots */
    --faq-blue: #2b44ff; /* caret (collapsed) */
    --faq-yellow: #ffd400; /* caret (open) */
}

/* outer section spacing */
.section-faq {
    padding-block: clamp(3rem, 6vw, 6rem);
}

/* dotted card panel */
.faq-panel {
    border-radius: 16px;
    border: 1px solid var(--faq-border);
    padding: 100px;
    background: radial-gradient(
            circle at 60% 55%,
            rgba(255, 255, 255, 0.06),
            transparent 40%
        ),
        radial-gradient(
            circle at 20px 20px,
            var(--faq-dot) 1px,
            transparent 1px
        );
    background-size: auto, 22px 22px;
    background-color: var(--faq-panel);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* title */
.faq-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.faq-title-accent {
    background: linear-gradient(90deg, #ff7a59, #ffb86b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* accordion look */
.accordion-flush .accordion-item {
    border: 0;
    background: transparent;
}
.accordion-button {
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    padding: 1rem 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.accordion-item:first-of-type .accordion-button {
    border-top: 0;
}

/* hide default caret */
.accordion-button::after {
    display: none;
}

/* our square caret on the right */
.faq-caret {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: #000a1e;
    margin-left: 1rem;
    flex: 0 0 auto;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-caret i {
    color: #fff;
    font-size: 12px;
    transition: transform 0.2s ease;
}

/* when open */
.accordion-button:not(.collapsed) .faq-caret {
    background: #e63b55;
}
.accordion-button:not(.collapsed) .faq-caret i {
    transform: rotate(180deg);
}

.accordion-button:not(.collapsed) {
    background-color: #070f24 !important;
    color: white !important;
    box-shadow: none !important;
}

/* body text */
.accordion-body {
    color: rgba(255, 255, 255, 0.82);
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.25rem;
    padding-bottom: 1.25rem;
}

/* hover focus */
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button:hover .faq-caret {
    transform: translateY(-1px);
}

/* small screens spacing */
@media (max-width: 576px) {
    .faq-panel {
        padding: 1rem;
    }
}

/* === CTA Banner === */
:root {
    --cta-border: rgba(255, 255, 255, 0.16);
    --cta-bg1: rgba(10, 12, 40, 0.92);
    --cta-bg2: rgba(12, 16, 60, 0.92);
    --cta-dot: rgba(255, 255, 255, 0.06);
    --cta-glow: rgba(0, 0, 0, 0.35);
    --cta-yellow: #ffd400;
    --cta-yellow-hover: #ffcc00;
    --cta-text-dark: #0b142f;
}

.section-cta {
    padding: clamp(1.25rem, 4vw, 2rem) 0;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
    border: 1px solid var(--cta-border);
    border-radius: 16px;
    background:
    /* soft sheen */ radial-gradient(
            circle at 40% 50%,
            rgba(255, 255, 255, 0.06),
            transparent 55%
        ),
        /* dotted texture */
            radial-gradient(
                circle at 18px 18px,
                var(--cta-dot) 1px,
                transparent 1px
            ),
        /* base gradient */
            linear-gradient(135deg, var(--cta-bg2), var(--cta-bg1));
    background-size: auto, 22px 22px, auto;
    box-shadow: 0 12px 40px var(--cta-glow);
}

/* Headline */
.cta-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    margin: 0;
}

/* Button */
.btn-cta {
    background: #e63b5532;
    border-color: #e63b55;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.6rem 1.1rem;
}
.btn-cta:hover {
    background: #e63b55;
    border-color: #e63b55;
    color: #fff;
    transform: translateY(-1px);
}
.btn-cta:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 212, 0, 0.35);
}

/* Stack neatly on small screens */
@media (max-width: 576px) {
    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ========= Vertical Steps (boxed timeline) =========
   Works with the HTML:
   <section class="section-steps-boxes"><ol class="steps-grid-box">…</ol></section>
   Uses: .step-card-box .step-badge .step-link-box .thumb .copy
/* ------------------------------------------------- */

.section-steps-boxes {
    /* scoped vars (won’t affect other sections) */
    --steps-accent: #d2691e; /* orange */
    --steps-card: #1f2433; /* gray card on #000A1E body */
    --steps-card-hover: #252b3d;
    --steps-border: rgba(255, 255, 255, 0.12);
    --steps-border-hover: rgba(255, 255, 255, 0.18);
    --steps-line-grad: linear-gradient(
        180deg,
        rgba(210, 105, 30, 0),
        rgba(225, 225, 225, 0.75),
        rgba(210, 105, 30, 0)
    );
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

/* 1 column grid with a vertical timeline on the left */
.section-steps-boxes .steps-grid-box {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
    padding-left: 28px; /* space for the line */
}

/* the vertical connector line */
.section-steps-boxes .steps-grid-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--steps-line-grad);
    filter: blur(0.2px);
}

/* each boxed step */
.section-steps-boxes .step-card-box {
    position: relative;
    margin-left: 16px; /* nudge away from the line */
    background: var(--steps-card);
    border: 1px solid var(--steps-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, background-color 0.25s ease,
        border-color 0.25s ease, box-shadow 0.25s ease;
}

/* small connector from line to box */
.section-steps-boxes .step-card-box::after {
    content: "";
    position: absolute;
    left: -18px;
    top: 34px;
    width: 18px;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(210, 105, 30, 0),
        var(--steps-accent),
        rgba(210, 105, 30, 0)
    );
}

/* badge showing "Step 1/2/3/4" — sits on the vertical line */
.section-steps-boxes .step-badge {
    position: absolute;
    padding: 4px 10px;
    border-radius: 999px;
    background: #0b142f;
    color: #fff;
    font: 800 0.75rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

/* inner layout: image left, text right; stacks on small screens */
.section-steps-boxes .step-link-box {
    position: relative;
    display: grid;
    /*grid-template-columns: 220px 1fr;*/
    align-items: center;
    gap: 14px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
}

.section-steps-boxes .thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    background: #0f152e; /* fallback color while image loads */
}
.section-steps-boxes .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.section-steps-boxes .copy h3 {
    margin: 2px 0 6px;
    color: #fff;
    font-weight: 700;
}
.section-steps-boxes .copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

/* hover: soft lift + “movie light” sheen */
.section-steps-boxes .step-card-box:hover {
    transform: translateY(-4px);
    background: var(--steps-card-hover);
    border-color: var(--steps-border-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.section-steps-boxes .step-card-box:hover .thumb img {
    transform: scale(1.06);
    filter: brightness(1.05) contrast(1.05);
}
/* sweeping sheen */
.section-steps-boxes .step-link-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-15deg);
    pointer-events: none;
}
.section-steps-boxes .step-card-box:hover .step-link-box::after {
    animation: stepsSheen 0.9s ease;
}
@keyframes stepsSheen {
    from {
        transform: translateX(-150%) skewX(-15deg);
    }
    to {
        transform: translateX(150%) skewX(-15deg);
    }
}

/* responsive: stack image over text on very small screens */
@media (max-width: 576px) {
    .section-steps-boxes .step-link-box {
        grid-template-columns: 1fr;
    }
    .section-steps-boxes .thumb {
        height: 180px;
    }
}

/* === qui sommes nous section === */
.section-text-video {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.section-text-video .lead-copy {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.75rem;
}

/* Video frame styling (matches dark theme) */
.video-frame {
    overflow: hidden;
    background: radial-gradient(
            circle at 40% 50%,
            rgba(255, 255, 255, 0.06),
            transparent 55%
        ),
        linear-gradient(135deg, rgba(12, 16, 60, 0.92), rgba(10, 12, 40, 0.92));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.25s ease, border-color 0.25s ease,
        transform 0.25s ease;
}

/* Ensure the <video> fills and crops nicely inside Bootstrap's .ratio */
.video-frame .ratio {
    border-radius: 14px;
}
.video-frame .video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.98) contrast(1.03);
}

/* Subtle hover glow + tiny lift */
.video-frame:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

/* Optional: respect reduced motion (don’t auto-play if you add it) */
@media (prefers-reduced-motion: reduce) {
    .section-text-video .video {
        animation: none;
    }
}

/* === Products: 2 rows × 4 boxes === */
.section-products {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

/* card */
.product-card {
    background: #1f2433; /* grey on your #000A1E body */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease,
        box-shadow 0.25s ease, background-color 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    background: #252b3d;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* image with safe ratio */
.product-thumb {
    position: relative;
    aspect-ratio: 4 / 3; /* modern browsers; falls back to height if unsupported */
    background: #0f152e; /* nice loading color */
}
.product-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.product-card:hover .product-thumb img {
    transform: scale(1.04);
    filter: brightness(1.04) contrast(1.05);
}

/* body */
.product-body {
    padding: 16px 16px 18px;
    display: grid;
    gap: 8px;
    align-content: start;
}
.product-body h3 {
    color: #fff;
    font-weight: 700;
    margin: 0;
}
.product-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    min-height: 42px; /* keeps rows even when copy lengths differ */
}

/* button (orange accent) */
.btn-product {
    --btn-bg: #d2691e;
    --btn-bg-hover: #e2782a;
    background: var(--btn-bg);
    border-color: var(--btn-bg);
    color: #0b142f;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    box-shadow: 0 6px 16px rgba(210, 105, 30, 0.35);
}
.btn-product:hover {
    background: var(--btn-bg-hover);
    border-color: var(--btn-bg-hover);
    color: #0b142f;
    transform: translateY(-1px);
}
.btn-product:focus {
    box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.35);
}

/* responsive spacing tweak */
@media (max-width: 576px) {
    .product-body p {
        min-height: 0;
    }
}

.eyebrow2 {
    display: flex;
    justify-content: center;
}

/* === Contact Page === */
.section-contact { padding-block: clamp(3rem, 6vw, 6rem); }
.contact-panel{
  max-width: 860px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.75rem);
  background:
    radial-gradient(circle at 40% 50%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(circle at 18px 18px, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(12,16,60,.92), rgba(10,12,40,.92));
  background-size: auto, 22px 22px, auto;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.contact-lead{ color: rgba(255,255,255,.85); }

/* Inputs sombres */
.form-control-dark,
.form-select.form-control-dark,
.file-dark{
  background-color: #1F2433; color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
}
.form-control-dark:focus,
.form-select.form-control-dark:focus,
.file-dark:focus{
  background-color: #252B3D; color: #fff;
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 .2rem rgba(210,105,30,.25);
}
.btn-outline-light{ border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.text-white-70 { color: rgba(255,255,255,.70)!important; }
