:root {
    /* Pacific Palette */
    --primary-color: #006994;
    /* Deep Ocean Blue */
    --secondary-color: #00b4db;
    /* Lagoon Turquoise */
    --accent-color: #f7b733;
    /* Golden Sand */
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --white-glass: rgba(255, 255, 255, 0.7);
    --dark-glass: rgba(15, 23, 42, 0.8);

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 5rem 2rem;
    --border-radius: 1rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    /* Pacific + Tech Background (Lighter Version) */
    background:
        /* Lighter Blue Tech Overlay - reduced opacity from 0.9 to 0.5-0.7 */
        linear-gradient(135deg, rgba(15, 32, 39, 0.7), rgba(32, 58, 67, 0.6), rgba(44, 83, 100, 0.5)),
        /* Texture/Image */
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2073&auto=format&fit=crop') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 219, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    /* White/Transparent background */
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: white;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.7);
    /* Lighter dark glass */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    /* Better contrast on dark bg */
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: #ffffff;
    /* White text */
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.btn::after {
    display: none;
}

.nav-links .btn-primary:hover {
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    /* Removed individual background since body handles it now to be seamless */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 180, 219, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #00b4db, #f7b733);
    /* Brighter gradient for dark bg */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    /* Enforce light text */
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #c4f4fa;
}

.section-title p {
    color: #e2e8f0;
    /* Very light grey */
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    /* White/Light glass */
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    /* Lighter on hover */
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(176, 235, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #e0f7fa;
    /* Very light blue */
}

.service-card p {
    color: var(--text-light);
    /* Pure light text */
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: transparent;
}

.portfolio-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-img {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-img img {
    transition: transform 0.5s ease;
}

.project-img:hover img {
    transform: scale(1.05);
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #c4f4fa;
}

.project-info .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #00b4db;
    color: #fce7f3;
    /* Lighter text for the tag */
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color), #0f2027);
    color: white;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-btn {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1rem 3rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
}

.contact-btn:hover {
    background: white;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .header {
        padding: 1rem 0;
    }

    .hamburger {
        display: block;
        color: var(--primary-color);
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .portfolio-showcase {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Specifics */
.contact-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    /* Account for fixed header */
    padding-bottom: 4rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-info .highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.contact-info .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 180, 219, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 90%;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle glass */
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: var(--secondary-color);
}

.info-card h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.info-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #cbd5e1;
    white-space: nowrap;
}

/* Glass Form */
.glass-form {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.glass-form h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    color: #e0f2fe;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    pointer-events: none;
}

.input-group.textarea-group i {
    top: 1.5rem;
    transform: none;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-group label {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: var(--transition);
    font-size: 1rem;
}

.input-group.textarea-group label {
    top: 1.5rem;
    transform: none;
}

/* Float Label Animation */
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus,
.input-group.focused input,
.input-group.focused textarea,
.input-group.focused select {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 180, 219, 0.1);
}

.input-group input:focus+label,
.input-group textarea:focus+label,
.input-group select:focus+label,
.input-group.focused label {
    top: -0.9rem;
    left: 1rem;
    font-size: 0.8rem;
    color: #ffffff;
    background: var(--secondary-color);
    padding: 0.2rem 0.8rem;
    transform: none;
    border-radius: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.input-group input:focus~i,
.input-group textarea:focus~i,
.input-group select:focus~i,
.input-group.focused i {
    color: var(--secondary-color);
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

/* Select specific fix */
.input-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
    /* Make room for the arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255, 255, 255, 0.7)'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

.input-group select option {
    background: var(--primary-color);
    /* Lighter than the previous dark slate */
    color: white;
    padding: 10px;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        margin: 0 auto 3rem auto;
    }

    .info-card {
        justify-content: flex-start;
        /* Keep icons aligned */
        text-align: left;
    }

    .contact-hero {
        padding-top: 7rem;
    }
}

/* Animation Utilities */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Remove both cursor and underline from highlight class */
#dynamic-text::after {
    content: none;
}

/* Language Switcher */
.lang-switch-container {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    /* Ensure inline display for list item */
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    transition: var(--transition);
}

.lang-switch-container:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.lang-btn {
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    color: var(--secondary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
}

/* Form Validation Styles */
.input-group {
    position: relative;
}

.input-error-message {
    position: absolute;
    top: 100%;
    left: 1rem;
    font-size: 0.8rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
    pointer-events: none;
    border: 1px solid rgba(255, 107, 107, 0.3);
    z-index: 10;
    margin-top: 0.5rem;
    /* Space between input and error */
    white-space: nowrap;
    /* Prevent wrapping if possible */
}

.input-group.error .input-error-message {
    opacity: 1;
    transform: translateY(0);
}

.input-group.error {
    margin-bottom: 3.5rem;
    /* Increase space to accommodate error message */
}

.input-group.error input,
.input-group.error select,
.input-group.error textarea {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.input-group.error i {
    color: #ff6b6b;
}

.input-group.error label {
    color: #ff6b6b;
}


/* -------------------------------------------------------------------------- */
/*                                 PAGE DEVIS                                 */
/* -------------------------------------------------------------------------- */

/* --- Page Devis (Wizard) --- */
.wizard-section {
    min-height: 100vh;
    padding-top: 7rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Barre de progression */
.progress-container {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.progress-bar-bg {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--secondary-color);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Cartes de sélection - Horizontal Layout */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Slightly wider min-width */
    gap: 1.5rem;
    margin-top: 2rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* Horizontal Layout: Icon Left | Content Right */
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.3rem;
    align-items: center;
    text-align: left;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.option-card.selected {
    border-color: var(--secondary-color);
    background: rgba(0, 180, 219, 0.1);
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.2);
}

.option-card i {
    grid-row: 1 / -1;
    /* Icon spans both rows */
    grid-column: 1;
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin: 0;
    justify-self: center;
    align-self: center;
}

.option-card h3 {
    grid-row: 1;
    grid-column: 2;
    font-size: 1.05rem;
    margin: 0;
    color: #fff;
    align-self: end;
    text-align: left;
    /* Explicitly left aligned */
    justify-self: start;
    /* Grid alignment start */
}

.option-card p {
    grid-row: 2;
    grid-column: 2;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
    align-self: start;
}

/* Toggles pour l'étape fonctionnalités */
.feature-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.feature-option.selected {
    border-color: var(--secondary-color);
    background: rgba(0, 180, 219, 0.1);
}

.feature-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.feature-info p {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0;
}

.check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.feature-option.selected .check-circle {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Navigation Buttons */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Formulaire final */
.final-form input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    color: white;
    margin-bottom: 1rem;
}

/* Sliders */
.range-selector {
    margin: 2rem 0;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 180, 219, 0.5);
}

/* --- Custom Alert Modal --- */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    display: flex;
    opacity: 1;
}

.custom-modal .modal-content {
    background: rgba(20, 30, 48, 0.9);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.3);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal.show .modal-content {
    transform: scale(1);
}

.custom-modal .modal-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.custom-modal h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: white;
}

.custom-modal p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.custom-modal button {
    width: 100%;
}

/* --- Devis Dashboard (Final Step) --- */
.dashboard-result {
    width: 100%;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-card h4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Summary List */
.summary-list {
    list-style: none;
    padding: 0;
}

.summary-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Ensure top alignment for multi-line */
}

.summary-list li strong {
    color: white;
    flex-shrink: 0;
    /* Prevent label from shrinking */
    margin-right: 1rem;
}

.summary-list li span {
    text-align: right;
    max-width: 70%;
    word-wrap: break-word;
    line-height: 1.4;
}

/* Analysis Content */
.analysis-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.strategy-box {
    background: rgba(0, 180, 219, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.strategy-box i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

.strategy-box p {
    margin: 0;
    color: white;
    font-weight: 500;
}

.contact-section-wizard {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.final-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.final-form input {
    background: rgba(255, 255, 255, 0.05);
    /* Visible background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.final-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 180, 219, 0.2);
}

.final-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Advanced Analysis Styles --- */

/* Diagnostic Box */
.diag-text {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.diag-text strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diag-text.danger {
    background: rgba(220, 38, 38, 0.15);
    border-left: 4px solid #ef4444;
    color: #fca5a5;
}

.diag-text.warning {
    background: rgba(245, 158, 11, 0.15);
    border-left: 4px solid #f59e0b;
    color: #fcd34d;
}

.diag-text.info {
    background: rgba(59, 130, 246, 0.15);
    border-left: 4px solid #3b82f6;
    color: #93c5fd;
}

/* Strategy Section */
.strategy-section {
    margin-bottom: 2rem;
}

/* Roadmap Box */
.roadmap-box {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 0.8rem;
}

.roadmap-box h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.roadmap-steps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.roadmap-steps .step {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.roadmap-steps .step span {
    background: var(--secondary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Le Plus Fenua */
.fenua-touch {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    color: #a7f3d0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.fenua-touch i {
    font-size: 1.5rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.fenua-touch strong {
    display: block;
    font-size: 1rem;
    color: var(--secondary-color);
}

/* --- Team / Skills Page --- */
.hero-small {
    padding-top: 8rem;
    padding-bottom: 0rem;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-section {
    padding: 2rem 2rem 5rem 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition);
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 219, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.skill-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.skill-content p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list li i {
    color: var(--secondary-color);
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.value-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    /* Gradient text effect? */
    background: linear-gradient(to right, #00b4db, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-item p {
    color: #cbd5e1;
}

/* --- BI Expertise Page --- */

/* Hero BI */
.hero-bi {
    min-height: 80vh;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bi .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-bi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 180, 219, 0.15), transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(247, 183, 51, 0.05), transparent 50%);
    z-index: -1;
}

.hero-bi-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.badge-bi {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 180, 219, 0.1);
    color: var(--secondary-color);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 180, 219, 0.2);
}

.hero-bi h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, #00b4db, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-bi p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.bi-explanation {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 1rem 1rem 0;
    max-width: 90%;
}

.bi-explanation h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.bi-explanation p {
    font-size: 1rem;
    margin-bottom: 0;
    color: #cbd5e1;
}

/* Data Viz Abstract */
.hero-bi-visual {
    position: relative;
    width: 500px;
    height: 500px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .hero-bi {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-bi .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-bi-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bi-explanation {
        max-width: 100%;
        text-align: left;
    }

    .hero-bi-visual {
        width: 100%;
        max-width: 500px;
        height: 400px;
        margin-top: 3rem;
    }
}



.data-viz-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
}

.bar {
    width: 40px;
    background: linear-gradient(to top, rgba(0, 180, 219, 0.2), var(--secondary-color));
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.3);
    animation: barGrow 2s ease-out forwards;
}

.bar-1 {
    height: 40%;
    animation-delay: 0.2s;
}

.bar-2 {
    height: 70%;
    animation-delay: 0.4s;
}

.bar-3 {
    height: 55%;
    animation-delay: 0.6s;
}

@keyframes barGrow {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.floating-card span {
    font-weight: 600;
    color: white;
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: 0%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Concept Process */
.section-bi-concept {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
}

.bi-process-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.process-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
}

.step-arrow {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .bi-process-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

/* Use Cases Examples */
.section-bi-examples {
    padding: var(--section-padding);
}

.example-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.example-row:last-child {
    margin-bottom: 0;
}

.example-row.reverse .example-text {
    order: 2;
}

@media (max-width: 900px) {

    .example-row,
    .example-row.reverse {
        grid-template-columns: 1fr;
    }

    .example-row.reverse .example-text {
        order: 0;
    }
}

.example-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.example-features {
    list-style: none;
    margin-top: 1.5rem;
}

.example-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #cbd5e1;
}

.example-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Dashboard Mockup Visuals */
.dashboard-mockup {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
}

.mock-header {
    height: 10%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.mock-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 0.8fr 1.2fr;
    gap: 1rem;
    width: 100%;
}

.mock-widget {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
}

.w-full {
    grid-column: span 6;
}

.w-half {
    grid-column: span 3;
}

.w-third {
    grid-column: span 2;
}

/* Style 2 modifications if necessary, 
   but generic grid handles order naturally */
.style-2 .mock-grid {
    /* Optional: adjust row ratios if needed for specific mockup */
    grid-template-rows: 0.8fr 1.2fr;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.slide-bottom {
    transform: translateY(50px);
}

.slide-left {
    transform: translateX(-50px);
}

.slide-right {
    transform: translateX(50px);
}

.scale-up {
    transform: scale(0.8);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Tooltip Styles for Devis Step 6 */
.feature-info h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tooltip-icon {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: help;
    transition: var(--transition);
}

.tooltip-wrapper:hover .tooltip-icon {
    color: var(--secondary-color);
}

.tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: rgba(15, 23, 42, 0.95);
    color: #f1f5f9;
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.8rem;
    position: absolute;
    z-index: 100;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}