/* RESET SIMPLE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

body {
    color: #0f172a;
    background: radial-gradient(circle at top, #e5f0ff 0, #f5f6fa 40%, #edf2ff 100%); }

/* Layout de base */

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & navigation */

.header {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e0e2e8;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo img {
    height: 200px; /* Ajuste ici pour agrandir/réduire le logo */ }

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-left: 1.2rem;
    text-decoration: none;
    color: #1f2933;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1f4d9f, #3b82f6);
    transition: width 0.2s ease-out;
}

.nav a:hover {
    color: #1f4d9f;
}

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

/* Switch de langue */

.lang-switch {
    display: inline-flex;
    align-items: center;
    margin-left: 1.5rem;
    padding: 2px;
    border-radius: 999px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    gap: 2px;
}

.lang-switch a {
    font-size: 0.78rem;
    padding: 4px 9px;
    border-radius: 999px;
    text-decoration: none;
    color: #4b5563;
    opacity: 0.7;
    position: static;
}

.lang-switch a::after {
    content: none;
}

.lang-switch a.active-lang {
    background-color: #111827;
    color: #f9fafb;
    opacity: 1;
    font-weight: 600;
}

/* Hero */

.hero {
    position: relative;
    color: #fff;
    padding: 5rem 0 4.5rem 0;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.35) 0, transparent 55%),
        radial-gradient(circle at bottom right, rgba(14,116,144,0.5) 0, transparent 55%),
        linear-gradient(135deg, #111827, #1f2937 50%, #020617);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: 260px;
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.hero h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.8rem;
    line-height: 1.7;
    max-width: 620px;
    color: #e5e7f3;
}

/* Bouton principal */

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #111827;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s; }

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.32);
    background: linear-gradient(135deg, #fde047, #fb923c); }

/* Sections */

.section {
    padding: 3.5rem 0;
    background-color: transparent;
}

.section-alt {
    padding: 3.5rem 0;
    background: #ffffffdd;
    backdrop-filter: blur(4px);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.section h2 {
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: 0.7rem;
    color: #111827;
}

.section-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.2rem auto;
    color: #4b5563;
    font-size: 0.98rem;
}

/* Cards services & réalisations */

.cards,
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}

.card,
.real-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: 0 16px 35px rgba(15,23,42,0.05);
    border: 1px solid rgba(148,163,184,0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s; }

.card::before,
.real-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59,130,246,0.12) 0, transparent 55%);
    opacity: 0;
    transition: opacity 0.16s ease-out;
}

.card:hover,
.real-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(15,23,42,0.12);
    border-color: rgba(59,130,246,0.5);
}

.card:hover::before,
.real-card:hover::before {
    opacity: 1;
}

.card h3,
.real-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
    color: #1f2937;
}

.card p,
.real-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

.realisations-note {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
}

/* Steps / Process */

.steps {
    list-style: none;
    max-width: 850px;
    margin: 0 auto;
    counter-reset: step;
}

.steps li {
    margin-bottom: 1.4rem;
    padding: 0.9rem 1rem 0.9rem 3.2rem;
    border-radius: 12px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    position: relative;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f4d9f, #3b82f6);
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.steps h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #111827;
}

.steps p {
    font-size: 0.93rem;
    color: #4b5563;
}

/* About */

.about {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-text {
    flex: 1 1 300px;
}

.about p {
    margin-bottom: 0.9rem;
    line-height: 1.7;
    color: #374151;
}

.list-check {
    list-style: none;
    margin-top: 0.5rem;
}

.list-check li {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    color: #374151;
}

.list-check li::before {
    content: "✓ ";
    color: #16a34a;
    font-weight: 700;
}

/* Contact – nouvelle version */

.contact-wrapper {
    margin-top: 1.8rem;
    background-color: #0b1220;
    background-image:
        radial-gradient(circle at top left, rgba(96,165,250,0.25) 0, transparent 55%),
        radial-gradient(circle at bottom right, rgba(248,250,252,0.06) 0, transparent 60%);
    border-radius: 18px;
    padding: 1.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
    gap: 1.8rem;
    color: #e5e7eb;
    box-shadow: 0 20px 45px rgba(15,23,42,0.4); }

.contact-left h3,
.contact-right h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: #f9fafb;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 0.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.3rem;
    color: #e5e7eb;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #4b5563;
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
    background-color: rgba(15,23,42,0.9);
    color: #f9fafb;
    transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s; }

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #60a5fa;
    outline: none;
    box-shadow: 0 0 0 1px rgba(37,99,235,0.7);
    background-color: rgba(15,23,42,0.95); }

.contact-right {
    padding-left: 0.4rem;
    border-left: 1px solid rgba(148,163,184,0.5); }

.contact-list {
    list-style: none;
    margin-top: 0.6rem;
    margin-bottom: 0.8rem;
}

.contact-list li {
    margin-bottom: 0.6rem;
}

.contact-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 0.1rem;
}

.contact-link {
    font-size: 0.96rem;
    color: #facc15;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-value {
    font-size: 0.95rem;
    color: #e5e7eb;
}

.contact-note {
    font-size: 0.86rem;
    color: #9ca3af;
    margin-top: 0.4rem;
}

/* Footer */

.footer {
    background-color: #020617;
    color: #e5e7eb;
    padding: 1.3rem 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 2rem;
    border-top: 1px solid #111827;
}

.footer .legal {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* Responsive */

@media (max-width: 900px) {
    .hero {
        padding-top: 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 800px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 1.4rem;
    }

    .contact-right {
        border-left: none;
        border-top: 1px solid rgba(148,163,184,0.5);
        padding-left: 0;
        padding-top: 1rem;
        margin-top: 0.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* menu burger à faire plus tard si tu veux */
    }

    .hero-content {
        min-height: 0;
    }

    .section,
    .section-alt {
        padding: 3rem 0;
    }
}
