﻿/* ... (Existing code from earlier until the bottom) ... */

/* We will append the new styles to the end of the existing styles.css
   To keep it safe and robust, it's better to just overwrite the whole file
   with the updated complete CSS.
*/
/* Palette : Vert-bleu corporatif et Bleu marine (Slate) */

:root {
    --bg-color: #F8FAFC;
    /* Fond très clair, légèrement bleuté pour rafraîchir */
    --text-color: #0F172A;
    /* Bleu marine très foncé pour le texte principal (plus lisible que le noir) */
    --primary-accent: #0D9488;
    /* Vert-bleu (Teal) professionnel, élégant et confiant */
    --secondary-accent: #5EEAD4;
    /* Vert-bleu vif/lumineux pour les petites touches */
    --hover-accent: #0F766E;
    /* Vert-bleu plus sombre et profond pour les survols (hover) */
    --white: #FFFFFF;
    --gray-light: #F1F5F9;
    /* Gris très clair pour les conteneurs/fonds secondaires */
    --gray-medium: #64748B;
    /* Gris bleuté pour les textes secondaires et sous-titres */
    --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.05);
    /* Ombre douce basée sur la couleur du texte */
    --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.logo::after {
    content: '.';
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary-outline {
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-primary-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 5% 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    min-height: calc(100vh - 100px);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(15, 118, 110, 0.1);
    color: var(--primary-accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    /* Added uppercase for a more corporate look */
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--secondary-accent);
    opacity: 0.3;
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-primary {
    text-decoration: none;
    background-color: var(--primary-accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--hover-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
    text-decoration: none;
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-secondary:hover::after {
    transform: translateX(5px);
}

.btn-secondary:hover {
    color: var(--primary-accent);
}

/* Stats */
.stats {
    display: flex;
    gap: 4rem;
    border-top: 1px solid rgba(30, 41, 59, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Visual Side */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-illustration {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(30, 41, 59, 0.1));
}

.floating-card {
    position: absolute;
    bottom: 5%;
    left: 0;
    background-color: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card-2 {
    position: absolute;
    top: 15%;
    right: 5%;
    background-color: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatReverse 7s ease-in-out infinite;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: rgba(15, 118, 110, 0.1);
    color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.icon-2 {
    width: 40px;
    height: 40px;
    background-color: rgba(30, 41, 59, 0.1);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--gray-medium);
}

/* =========================================
   SERVICES SECTION (NEW)
   ========================================= */
.services-section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-header p {
    color: var(--gray-medium);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 41, 59, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 16px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.service-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-accent);
}

.service-link:hover::after {
    transform: translateX(5px);
}


/* =========================================
   CONTACT FORM SECTION (NEW)
   ========================================= */
.contact-section {
    padding: 8rem 5%;
    background-color: var(--white);
    /* Distinct background for contrast */
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.contact-info p {
    color: var(--gray-medium);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.detail-icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background-color: var(--bg-color);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-subtle);
}

.form-progress {
    height: 4px;
    background-color: rgba(30, 41, 59, 0.1);
    border-radius: 4px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-accent);
    transition: width 0.4s ease;
}

.form-step h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-card {
    cursor: pointer;
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-content {
    display: block;
    padding: 1.5rem;
    background-color: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.radio-card:hover .radio-content {
    border-color: rgba(15, 118, 110, 0.3);
}

.radio-card input:checked+.radio-content {
    border-color: var(--primary-accent);
    background-color: rgba(15, 118, 110, 0.05);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-color: var(--white);
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* Footer */
.footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(30, 41, 59, 0.1);
}

.footer .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes floatReverse {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-section {
        gap: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 3rem;
    }

    .stats {
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -5%;
        animation: floatMobile 6s ease-in-out infinite;
    }

    .floating-card-2 {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions button {
        width: 100%;
        justify-content: center;
    }
}

@keyframes floatMobile {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

/* =========================================
   WIZARD FORM OVERRIDES (NEW)
   ========================================= */
.wizard-wrapper {
    background-color: var(--white);
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-subtle);
    padding: 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.progress-container {
    width: 100%;
    height: 6px;
    background-color: var(--gray-light);
    border-radius: 10px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-accent);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step {
    display: none;
    animation: slideUpFade 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step.active {
    display: block;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--text-color);
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background-color: var(--white);
}

.radio-label:hover {
    border-color: rgba(15, 118, 110, 0.4);
    background-color: rgba(15, 118, 110, 0.05);
    /* accent-light */
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--primary-accent);
    background-color: rgba(15, 118, 110, 0.05);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.1);
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-left: 1rem;
}

.custom-radio {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.custom-radio::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--primary-accent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.radio-label input[type="radio"]:checked~.custom-radio {
    border-color: var(--primary-accent);
}

.radio-label input[type="radio"]:checked~.custom-radio::after {
    opacity: 1;
    transform: scale(1);
}

.radio-label.selected {
    border-color: var(--primary-accent);
    background-color: rgba(15, 118, 110, 0.05);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.1);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.input-field {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    outline: none;
    background-color: var(--bg-color);
}

.input-field:focus {
    border-color: var(--primary-accent);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.input-field::placeholder {
    color: #A0B0C0;
    font-weight: 400;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.btn-wizard {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-prev {
    background-color: transparent;
    color: var(--gray-medium);
    padding-left: 0;
    padding-right: 1.5rem;
}

.btn-prev:hover {
    color: var(--text-color);
}

.btn-next,
.btn-submit {
    background-color: var(--primary-accent);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
    margin-left: auto;
}

.btn-next:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
    background-color: var(--hover-accent);
    /* #115E59 */
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(15, 118, 110, 0.35);
}

.btn-next:disabled,
.btn-submit:disabled {
    background-color: var(--gray-light);
    color: #A0B0C0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media screen and (max-width: 600px) {
    .wizard-wrapper {
        padding: 2.5rem 2rem;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .btn-next,
    .btn-submit {
        width: 100%;
    }

    .wizard-actions {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

    .btn-prev {
        width: 100%;
        justify-content: center;
    }
}