* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f4f6;
    color: #1f2937;
    line-height: 1.6;
}

/* CONTAINER */

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* HEADER */

.site-header {
    background: #111827;
    color: white;
    padding: 1rem 0;
}

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

.brand {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.03em;
}

.logo a {
    text-decoration: none;
    color: white;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* MAIN */

main.container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* SECTIONS */

section {
    margin-bottom: 2.5rem;
}

section:last-child {
    margin-bottom: 0;
}

/* CARD */

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* HERO */

.hero {
    padding: 3rem 3rem 2rem 3rem;
}

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
    max-width: 1000px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 1000px;
    color: #4b5563;
}
.hero-image {
    height: 320px;
    background-image: url("/static/images/datacenter-banner.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 30px;
}

/* TITRES */

.section-title {
    margin-top: 0;
    color: #111827;
}

/* GRID */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* FEATURE BOX */

.feature-box {
    background: white;
    border-radius: 12px;
    padding: 1.6rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.feature-box h3 {
    margin-top: 0;
    color: #111827;
}

/* BOUTONS */

.cta {
    background: #2563eb;
    padding: 6px 12px;
    border-radius: 6px;
}

.cta:hover {
    background: #1d4ed8;
}

.button-primary {
    display: inline-block;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
}

.button-primary:hover {
    background: #1d4ed8;
}

/* FOOTER */

.site-footer {
    background: #111827;
    color: #d1d5db;
    margin-top: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 2rem;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
}

.footer-col p {
    margin: 0;
    max-width: 520px;
    color: #d1d5db;
}

.footer-col a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.6rem;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* FORMULAIRE */

.profile-form {
    margin-top: 1.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-row label {
    font-weight: bold;
    margin-bottom: 0.45rem;
    color: #111827;
}

.form-row input,
.form-row textarea {
    padding: 0.85rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    background: white;
}

.form-row textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.checkbox-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
}

.checkbox-row input[type="checkbox"] {
    margin-top: 0.2rem;
}

.checkbox-row label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-help {
    font-size: 0.92rem;
    color: #6b7280;
    margin-top: -0.3rem;
    margin-bottom: 1.2rem;
}

.form-error {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

/* ICONES */

.social-icon {
    width: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

/*LOGO */
.logo img {
    height: 34px;
    display: block;
}

.client-logos {
    display: flex;
    gap: 40px;
    margin-top: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.client-logos img {
    height: 100px;
    opacity: 0.8;
    filter: grayscale(100%);
}

.client-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #6b7280;
}
/* RESPONSIVE */

@media (max-width: 800px) {

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .main-nav a {
        margin-left: 0;
        margin-right: 1rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
/* CONTACT*/
.contact-email {
    font-size: 1.3rem;
    font-weight: bold;
    color: #111827;
}

.contact-email {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 1rem;
}

.contact-email a {
    color: #2563eb;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* BLOG*/

.blog-content {
    max-width: 900px;
    line-height: 1.7;
    font-size: 16px;
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
}

.blog-content pre {
    background: #111;
    color: #eee;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 6px;
}

.blog-content code {
    font-family: monospace;
}

.blog-content p {
    margin: 1rem 0;
}

/* =========================
   BLOG V1
   ========================= */

.blog-hero {
    max-width: 820px;
    margin: 2.5rem auto 2rem auto;
}

.blog-hero h1 {
    margin-bottom: 0.75rem;
    font-size: 2.2rem;
    line-height: 1.2;
}

.blog-hero p {
    margin: 0;
    color: #5b6472;
    font-size: 1.05rem;
    line-height: 1.7;
}

.blog-list {
    max-width: 980px;
    margin: 0 auto 3rem auto;
    display: grid;
    gap: 1.5rem;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10, 22, 40, 0.08);
    border-color: #d9e1ea;
}

.blog-card-link {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.blog-card-link:hover,
.blog-card-link:focus,
.blog-card-link:visited {
    color: inherit;
    text-decoration: none;
}

.blog-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-media img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    border: 1px solid #edf1f5;
    background: #f5f7fa;
}

.blog-card-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 18px;
    border: 1px solid #edf1f5;
    background: linear-gradient(135deg, #f3f6fa, #e9eef5);
    color: #1c2a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.blog-card-body {
    min-width: 0;
}

.blog-card-meta {
    margin: 0 0 0.4rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #d55a2a;
}

.blog-card-title {
    margin: 0 0 0.55rem 0;
    font-size: 2rem;
    line-height: 1.15;
    color: #18263a;
}

.blog-card-date {
    margin: 0 0 0.9rem 0;
    font-size: 0.95rem;
    color: #7a8492;
}

.blog-card-excerpt {
    margin: 0;
    color: #5a6472;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Page article */

.blog-article {
    max-width: 820px;
    margin: 2.5rem auto 4rem auto;
}

.blog-article-header {
    margin-bottom: 1.5rem;
}

.blog-article-kicker {
    margin: 0 0 0.75rem 0;
    color: #d55a2a;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-article-header h1 {
    margin: 0 0 1rem 0;
    font-size: 3rem;
    line-height: 1.15;
    color: #18263a;
}

.blog-article-date {
    margin: 0;
    color: #6e7886;
    font-size: 1rem;
}

.blog-article-cover {
    margin: 1.75rem 0 2.25rem 0;
}

.blog-article-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid #e8edf2;
}

.blog-content {
    color: #223044;
    font-size: 1.08rem;
    line-height: 1.85;
}

.blog-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e4e8ed;
    font-size: 2rem;
    line-height: 1.2;
    color: #162438;
}

.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #162438;
}

.blog-content p {
    margin: 1rem 0;
}

.blog-content ul,
.blog-content ol {
    margin: 1rem 0 1.2rem 1.4rem;
    padding: 0;
}

.blog-content li {
    margin: 0.35rem 0;
}

.blog-content a {
    color: #d55a2a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.blog-content a:hover {
    border-bottom-color: #d55a2a;
}

.blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.75rem auto;
    border-radius: 16px;
    border: 1px solid #e8edf2;
}

.blog-content pre {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    overflow-x: auto;
    border-radius: 14px;
    background: #0f1722;
    color: #edf2f7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-content code {
    font-family: "DejaVu Sans Mono", "Consolas", monospace;
}

.blog-content :not(pre) > code {
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    background: #eef2f6;
    color: #18263a;
    font-size: 0.95em;
}

.blog-back-link {
    margin-top: 2.5rem;
}

.blog-back-link a {
    color: #d55a2a;
    text-decoration: none;
    font-weight: 600;
}

.blog-back-link a:hover {
    text-decoration: underline;
}

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

    .blog-card-media {
        justify-content: flex-start;
    }

    .blog-card-media img,
    .blog-card-placeholder {
        width: 110px;
        height: 110px;
    }

    .blog-card-title {
        font-size: 1.5rem;
    }

    .blog-article-header h1 {
        font-size: 2.2rem;
    }

    .blog-content {
        font-size: 1rem;
    }

    .blog-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .blog-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
}

