/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #E0E0E0;
}

/* Container */
.container {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content {
    max-width: 900px;
    margin: auto;

}
/* Headings */
h1, h2, h3 {
    color: #7B2CBF;
    /* margin-top: 1.5rem; */
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.2rem;
}

/* Links */
a {
    color: #7B2CBF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
nav {
    background: #121212;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #7B2CBF, #FF9A56) 1;
    padding: 1rem 0;
}


nav a {
    margin-right: 1rem;
    font-weight: 500;
}

.logo {
    margin: 1rem;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 10vh;
    padding: 40px;
    color: #fff;

    /* background: url('/theme/images/background_hero.png') no-repeat center center; */
    background-size: cover;
}

.hero-inner {
    display: flex;
    align-items: center;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    gap: 40px;
}

.hero-image img {
    margin: auto
}

.hero-content {
    width: 50%;
    text-align: center;
}

.hero-image img {
    width: 70%;
    height: auto;
    display: block;
}
.hero h1 {
    margin-bottom: 1rem;

}

.hero p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
    color: #4b5563;
}

/* Mobile */
@media (max-width: 1500px) {
    .hero-inner {
    flex-direction: column;
    }

    .hero-image,
    .hero-content {
    width: 100%;
    }

    .hero-image {
    order: -1; /* passe au-dessus */
    }

    h1 {
    font-size: 2rem;
    }
}


/* Buttons */
.button, .cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #7B2CBF;
    color: #E0E0E0;
    border-radius: 6px;
    font-weight: 500;
    border: 0px;
}

.button:hover, .cta:hover {
    background-color: #A855F7;
    text-decoration: none;
}

/* Sections */
.section {
    margin-top: 2.5rem;
}

/* Cards (for services) */
.card {
    background: #050810;
    padding: 1.5rem;
    border: 1px solid #FF9A56;
    border-image: linear-gradient(to right, #7B2CBF, #FF9A56) 1;

    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-top: 0;
}

/* Footer */

footer {
    margin-top: 3rem;
    /* padding: 2rem 1.5rem; */
    background: #050810;
    border-top: 2px solid #FF9A56;
    border-image: linear-gradient(to right, #7B2CBF, #FF9A56) 1;

    font-size: 0.9rem;
    color: #6b7280;
}
div.page_footer {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-col h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin: 0 0 0.75rem 0;
}
.footer-col ul {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}
.footer-col ul li {
    padding: 0.2rem 0;
}
.footer-col p {
    margin: 0 0 0.5rem 0;
}
.footer-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.05rem;
    color: #e5e7eb;
}
.footer-tagline {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 1rem !important;
}

footer .powered {
    text-align: center;
    max-width: 900px;
    margin: auto;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #1f2937;
    font-size: 0.8rem;
    color: #6b7280;
}

@media (max-width: 700px) {
    div.page_footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Forms */
form input,  form textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.4rem;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
}
form input[type="checkbox"] {
    width: 2em;
}

form textarea {
    min-height: 120px;
}

label {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin-bottom: 0.5rem;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #A855F7;
    outline-offset: 2px;
}

img[alt=LinkedIn] { height: 21px; }

.illustration {
    margin: auto;
    height: 300px;
    order: 2;
}

@media (max-width: 600px) {
    .illustration {
        order: 0;
    }
}



.articles-grid {
	display: grid;
	grid-template-columns: repeat(6,1fr);
	gap: 1rem;
	margin: 1.5rem 0;
	width: 90%;
	/* padding-left: 4rem;
	padding-right: 4rem; */
	max-width: 1800px;
	margin-left: auto;
	margin-right: auto;
}
.articles-grid > .card {
	grid-column: span 2;
}
/* Mobile */
@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(4,1fr);
        padding: 0;
    }
}


@media (max-width: 800px) {
    .articles-grid {
        grid-template-columns: repeat(2,1fr);
        padding: 0;
    }
}

.pagination {
    width: 100%;
    margin: auto;
    text-align: center;
}
.pagination li {
    padding: 1em;
}

.pagination ul {
    align-items: center;
    list-style-type: none;
    margin: 1em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

/* Annule le style global de <nav> (barre dégradé + padding) pour
   le nav de pagination uniquement, sans toucher aux autres <nav>. */
.pagination nav {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
}
.pagination nav ul {
    margin: 0;
}pre { line-height: 125%; }
td.linenos .normal { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #e6edf3; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #e6edf3; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #6e7681 }
.highlight { background: #0d1117; color: #E6EDF3 }
.highlight .c { color: #8B949E; font-style: italic } /* Comment */
.highlight .err { color: #F85149 } /* Error */
.highlight .esc { color: #E6EDF3 } /* Escape */
.highlight .g { color: #E6EDF3 } /* Generic */
.highlight .k { color: #FF7B72 } /* Keyword */
.highlight .l { color: #A5D6FF } /* Literal */
.highlight .n { color: #E6EDF3 } /* Name */
.highlight .o { color: #FF7B72; font-weight: bold } /* Operator */
.highlight .x { color: #E6EDF3 } /* Other */
.highlight .p { color: #E6EDF3 } /* Punctuation */
.highlight .ch { color: #8B949E; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #8B949E; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Preproc */
.highlight .cpf { color: #8B949E; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #8B949E; font-style: italic } /* Comment.Single */
.highlight .cs { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #FFA198; background-color: #490202 } /* Generic.Deleted */
.highlight .ge { color: #E6EDF3; font-style: italic } /* Generic.Emph */
.highlight .ges { color: #E6EDF3; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #FFA198 } /* Generic.Error */
.highlight .gh { color: #79C0FF; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #56D364; background-color: #0F5323 } /* Generic.Inserted */
.highlight .go { color: #8B949E } /* Generic.Output */
.highlight .gp { color: #8B949E } /* Generic.Prompt */
.highlight .gs { color: #E6EDF3; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #79C0FF } /* Generic.Subheading */
.highlight .gt { color: #FF7B72 } /* Generic.Traceback */
.highlight .g-Underline { color: #E6EDF3; text-decoration: underline } /* Generic.Underline */
.highlight .kc { color: #79C0FF } /* Keyword.Constant */
.highlight .kd { color: #FF7B72 } /* Keyword.Declaration */
.highlight .kn { color: #FF7B72 } /* Keyword.Namespace */
.highlight .kp { color: #79C0FF } /* Keyword.Pseudo */
.highlight .kr { color: #FF7B72 } /* Keyword.Reserved */
.highlight .kt { color: #FF7B72 } /* Keyword.Type */
.highlight .ld { color: #79C0FF } /* Literal.Date */
.highlight .m { color: #A5D6FF } /* Literal.Number */
.highlight .s { color: #A5D6FF } /* Literal.String */
.highlight .na { color: #E6EDF3 } /* Name.Attribute */
.highlight .nb { color: #E6EDF3 } /* Name.Builtin */
.highlight .nc { color: #F0883E; font-weight: bold } /* Name.Class */
.highlight .no { color: #79C0FF; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #D2A8FF; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #FFA657 } /* Name.Entity */
.highlight .ne { color: #F0883E; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #D2A8FF; font-weight: bold } /* Name.Function */
.highlight .nl { color: #79C0FF; font-weight: bold } /* Name.Label */
.highlight .nn { color: #FF7B72 } /* Name.Namespace */
.highlight .nx { color: #E6EDF3 } /* Name.Other */
.highlight .py { color: #79C0FF } /* Name.Property */
.highlight .nt { color: #7EE787 } /* Name.Tag */
.highlight .nv { color: #79C0FF } /* Name.Variable */
.highlight .ow { color: #FF7B72; font-weight: bold } /* Operator.Word */
.highlight .pm { color: #E6EDF3 } /* Punctuation.Marker */
.highlight .w { color: #6E7681 } /* Text.Whitespace */
.highlight .mb { color: #A5D6FF } /* Literal.Number.Bin */
.highlight .mf { color: #A5D6FF } /* Literal.Number.Float */
.highlight .mh { color: #A5D6FF } /* Literal.Number.Hex */
.highlight .mi { color: #A5D6FF } /* Literal.Number.Integer */
.highlight .mo { color: #A5D6FF } /* Literal.Number.Oct */
.highlight .sa { color: #79C0FF } /* Literal.String.Affix */
.highlight .sb { color: #A5D6FF } /* Literal.String.Backtick */
.highlight .sc { color: #A5D6FF } /* Literal.String.Char */
.highlight .dl { color: #79C0FF } /* Literal.String.Delimiter */
.highlight .sd { color: #A5D6FF } /* Literal.String.Doc */
.highlight .s2 { color: #A5D6FF } /* Literal.String.Double */
.highlight .se { color: #79C0FF } /* Literal.String.Escape */
.highlight .sh { color: #79C0FF } /* Literal.String.Heredoc */
.highlight .si { color: #A5D6FF } /* Literal.String.Interpol */
.highlight .sx { color: #A5D6FF } /* Literal.String.Other */
.highlight .sr { color: #79C0FF } /* Literal.String.Regex */
.highlight .s1 { color: #A5D6FF } /* Literal.String.Single */
.highlight .ss { color: #A5D6FF } /* Literal.String.Symbol */
.highlight .bp { color: #E6EDF3 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #D2A8FF; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #79C0FF } /* Name.Variable.Class */
.highlight .vg { color: #79C0FF } /* Name.Variable.Global */
.highlight .vi { color: #79C0FF } /* Name.Variable.Instance */
.highlight .vm { color: #79C0FF } /* Name.Variable.Magic */
.highlight .il { color: #A5D6FF } /* Literal.Number.Integer.Long */


/* Affichage du telephone via CSS ::before depuis data-*
   (humain et Google voient le numero, scrapers HTML non) */
.phone::before {
    content: attr(data-a) "." attr(data-b) "." attr(data-c) "." attr(data-d) "." attr(data-e);
}
