/* =========================================================
   PHOENIX GOVERNANCE & DATA ADVISORY
   Feuille de style principale Ã¢â‚¬â€ sans framework
   ========================================================= */

/* 1. Variables et base
   ========================================================= */
:root {
    --navy: #021b31;
    --navy-2: #062844;
    --orange: #dc5c20;
    --gold: #e7a23a;
    --ink: #102238;
    --muted: #647080;
    --line: #dfe5ea;
    --surface: #f7f9fb;
    --white: #ffffff;
    --container: 1240px;
    --page-container: 1120px;
    --shadow-sm: 0 8px 24px rgba(2, 27, 49, 0.06);
    --shadow-md: 0 18px 40px rgba(2, 27, 49, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 128px;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--orange);
    cursor: pointer;
}

button,
.button,
.actions a {
    display: inline-block;
    padding: 15px 22px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    background: var(--orange);
    border: 0;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}

button:hover,
.button:hover,
.actions a:hover {
    transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(220, 92, 32, 0.35);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px;
    background: var(--white);
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* 2. En-tÃƒÂªte et navigation
   ========================================================= */
.site-header-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    background: var(--white);
    box-shadow: 0 3px 14px rgba(2, 27, 49, 0.1);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    height: 34px;
    padding-right: max(25px, calc((100% - var(--container)) / 2));
    padding-left: max(25px, calc((100% - var(--container)) / 2));
    color: var(--white);
    font-size: 12px;
    background: #02172a;
}

.topbar .lang {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    white-space: nowrap;
}

.topbar .lang a {
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
}

.topbar .lang a:hover,
.topbar .lang a.active {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

header {
    display: flex;
    align-items: center;
    gap: 34px;
    height: 94px;
    padding: 0 max(24px, calc((100% - var(--container)) / 2));
    background: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    min-width: 255px;
    color: var(--navy);
    text-decoration: none;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
}

.brand-logo img {
    display: block;
    width: auto;
    max-width: 230px;
    height: 70px;
    object-fit: contain;
}

.mark {
    margin-right: 8px;
    color: var(--orange);
    font-size: 50px;
    line-height: 1;
}

.brand b {
    font-family: Georgia, serif;
    font-size: 31px;
    letter-spacing: 1px;
}

.brand small {
    display: block;
    font-size: 9px;
    font-weight: 700;
}

header nav {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    white-space: nowrap;
}

header nav a {
    padding: 38px 0 10px;
    color: var(--ink);
    font-size: 14px;
    text-decoration: none;
}

header nav a.active {
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
}

.menu-toggle {
    display: none;
}

.header-cta {
    white-space: nowrap;
}

/* 3. Accueil Ã¢â‚¬â€ hÃƒÂ©ros et prÃƒÂ©sentation
   ========================================================= */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 500px;
    padding: 62px max(24px, calc((100% - var(--container)) / 2));
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 76% 35%, #113b59 0, transparent 26%),
        linear-gradient(105deg, #03192b, #022944);
}

.hero h1 {
    margin: 0 0 22px;
    font-size: 49px;
    line-height: 1.16;
    letter-spacing: -1px;
}

.hero h1 em {
    color: var(--orange);
    font-style: normal;
}

.hero p {
    max-width: 550px;
    color: #e1e7ed;
    font-size: 16px;
    line-height: 1.65;
}

.actions {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.actions .outline {
    background: transparent;
    border: 1px solid var(--orange);
}

.phoenix {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.phoenix img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(216, 154, 58, 0.2));
}

.section-head h2 {
    margin: 0 0 18px;
    font-size: 32px;
}

/* 4. Cartes de services
   ========================================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px 24px 35px;
}

.cards article,
.services-section .expertise-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 300px;
    padding: 28px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cards article:hover,
.services-section .expertise-card:hover {
    border-color: rgba(220, 92, 32, 0.45);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.cards i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: var(--orange);
    font-size: 32px;
    font-style: normal;
    line-height: 1;
    background: rgba(231, 162, 58, 0.13);
    border-radius: 14px;
}

.cards h3 {
    min-height: 0;
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.3;
}

.cards p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.cards a {
    align-self: flex-start;
    margin-top: auto;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cards a:hover,
.cards a:focus-visible {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 5. Accueil Ã¢â‚¬â€ approche, preuves et contenus
   ========================================================= */
.approach {
    padding: 20px max(24px, calc((100% - var(--container)) / 2)) 35px;
    color: var(--white);
    background: linear-gradient(120deg, #03192c, #052e4c);
}

.approach > h2 {
    font-size: 32px;
    text-align: center;
}

.steps,
.proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.steps {
    gap: 30px;
}

.steps > div {
    position: relative;
    padding: 20px 10px;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
}

.step-icon img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.steps i {
    display: grid;
    width: 68px;
    height: 68px;
    color: var(--gold);
    font-size: 24px;
    font-style: normal;
    border: 2px solid var(--gold);
    border-radius: 50%;
    place-items: center;
}

.steps b {
    position: absolute;
    top: 100px;
    left: 0;
    color: var(--gold);
    font-size: 27px;
}

.steps h3,
.steps p {
    margin-left: 55px;
}

.steps p {
    color: #d2dbe3;
    font-size: 14px;
    line-height: 1.5;
}

.proof {
    padding: 25px max(24px, calc((100% - var(--container)) / 2));
    background: #f2f6f8;
}

.proof div {
    padding: 0 28px;
    color: var(--gold);
    font-size: 31px;
    border-right: 1px solid #d1dbe1;
}

.proof div:last-child {
    border: 0;
}

.proof b,
.proof span {
    display: block;
    margin-left: 50px;
    color: var(--ink);
    font-size: 18px;
}

.proof span {
    color: var(--muted);
    font-size: 12px;
}

.content {
    max-width: var(--container);
    margin: auto;
    padding: 28px 24px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 20px;
}

.section-head h2 {
    font-size: 24px;
}

.project-grid,
.publications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-grid article {
    padding-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.project-grid h3,
.project-grid p,
.project-grid small {
    margin-right: 16px;
    margin-left: 16px;
}

.project-grid p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.listing article {
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.listing h2 a,
.project-grid h3 a {
    color: var(--ink);
    text-decoration: none;
}

.project-img {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 16 / 9;
    min-height: 180px;
    padding: 12px;
    overflow: hidden;
    background: linear-gradient(140deg, #ef8c42, #4c6e81);
}

.project-img.p1 { background: linear-gradient(140deg, #4c8664, #113b41); }
.project-img.p2 { background: linear-gradient(140deg, #7a9a56, #4b667a); }
.project-img.p3 { background: linear-gradient(140deg, #315b38, #8aa35f); }
.project-img.p4 { background: linear-gradient(140deg, #203d5b, #5b84a6); }
.project-img.p5 { background: linear-gradient(140deg, #7c3f68, #d17a75); }

.project-img.has-image::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, transparent 48%, rgba(2, 27, 49, 0.72) 100%);
    pointer-events: none;
}

.project-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

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

.project-img span {
    position: relative;
    z-index: 2;
    padding: 5px 12px;
    color: var(--white);
    font-size: 12px;
    background: #e5a43c;
    border-radius: 20px;
}

.publications article {
    display: grid;
    grid-template-columns: 125px 1fr;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.cover {
    padding: 28px 14px;
    color: #f3a43e;
    font-family: Georgia, serif;
    font-size: 17px;
    background: #062846;
}

.cover.c1 { color: var(--white); background: #123d59; }
.cover.c2 { color: var(--white); background: #315b38; }
.cover.c3 { color: var(--white); background: #6f3f62; }
.cover.c4 { color: var(--white); background: #8a5528; }
.cover.c5 { color: var(--white); background: #234c58; }

.publications article > div:last-child {
    padding: 15px;
}

.publications h3 {
    font-size: 15px;
}

.publications p {
    color: var(--muted);
    font-size: 13px;
}

/* 6. Pages intÃƒÂ©rieures communes
   ========================================================= */
.page-hero {
    position: relative;
    padding: 90px max(24px, calc((100% - var(--page-container)) / 2));
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(231, 162, 58, 0.18), transparent 28%),
        linear-gradient(120deg, var(--navy), var(--navy-2));
}

.page-hero::after {
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    content: "";
    border: 1px solid rgba(231, 162, 58, 0.25);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero h1,
.page-hero p {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 850px;
    margin: 16px 0 22px;
    color: var(--white);
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #dfe8ee;
    font-size: 18px;
    line-height: 1.75;
}

.page-content {
    max-width: var(--page-container);
    margin: auto;
    padding: 60px 24px;
    line-height: 1.75;
}

.article {
    max-width: 800px;
}

.lead {
    color: #47566a;
    font-size: 20px;
}

.two-col,
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
}

.value-card {
    padding: 30px;
    background: #f2f6f8;
    border-left: 5px solid var(--orange);
}

.contact-grid form,
.auth-shell form {
    display: grid;
    gap: 13px;
    padding: 30px;
    background: #f4f7f9;
    border-radius: 10px;
}

.contact-grid label,
.auth-shell label {
    font-weight: 700;
}

.contact-grid input,
.contact-grid textarea,
.auth-shell input {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px;
    background: var(--white);
    border: 1px solid #bdc9d2;
    border-radius: 4px;
}

.alert {
    padding: 12px;
    border-radius: 4px;
}

.success { color: #155d2d; background: #dff4e5; }
.error { color: #99251f; background: #fde6e4; }
.error-text { color: #b42d22; }

.auth-shell {
    display: grid;
    min-height: 650px;
    background: #eef3f6;
    place-items: center;
}

.auth-shell form {
    width: min(430px, 90vw);
}

.error-page {
    padding: 120px 20px;
    text-align: center;
}

.error-page > b {
    color: var(--orange);
    font-size: 100px;
}

/* 7. Page Services
   ========================================================= */
.services-section {
    padding: 80px 24px 90px;
    background: var(--surface);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0 16px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.services-section .page-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 26px;
    width: 100%;
    max-width: var(--page-container);
    margin: 0 auto;
    padding: 0;
}

.services-section .expertise-card {
    position: relative;
    min-height: 330px;
    padding: 30px 28px;
    overflow: hidden;
    border-radius: 14px;
}

.services-section .expertise-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--orange), var(--gold));
    transition: width 0.3s ease;
}

.services-section .expertise-card:hover::before {
    width: 100%;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    color: var(--orange);
    background: rgba(231, 162, 58, 0.14);
    border-radius: 16px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.service-icon i,
.service-icon svg {
    width: 32px;
    height: 32px;
    font-size: 32px;
    stroke-width: 1.8;
}

.service-icon img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.services-section .expertise-card:hover .service-icon {
    color: var(--white);
    background: var(--orange);
    transform: rotate(-3deg) scale(1.05);
}

.services-section .expertise-card h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.35;
}

.services-section .expertise-card p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.services-section .expertise-card > a {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.services-section .expertise-card > a span {
    transition: transform 0.2s ease;
}

.services-section .expertise-card > a:hover,
.services-section .expertise-card > a:focus-visible {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.services-section .expertise-card > a:hover span {
    transform: translateX(5px);
}

.empty-state {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    color: var(--muted);
    text-align: center;
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: 12px;
}

/* 8. DÃƒÂ©tail d'un service et solutions
   ========================================================= */
.service-detail {
    width: min(var(--page-container), calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 88px;
}

.service-detail-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0 20px;
}

.service-detail-heading h1 {
    margin: 0;
}

.service-detail-icon {
    flex: 0 0 66px;
    margin: 0;
}

.service-overview {
    max-width: 900px;
    margin-bottom: 58px;
}

.service-overview h2,
.service-solutions h2 {
    margin: 10px 0 18px;
    color: var(--navy);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.25;
}

.service-overview p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.solution-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 66px;
    padding: 20px;
    color: var(--navy);
    font-size: 16px;
    line-height: 1.5;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(2, 27, 49, 0.04);
}

.solution-check {
    display: inline-flex;
    flex: 0 0 20px;
    margin-top: 1px;
    color: #087cff;
}

.solution-check svg,
.solution-check i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* 9. Appels Ãƒ  l'action
   ========================================================= */
.cta,
.page-cta {
    display: grid;
    align-items: center;
    color: var(--white);
}

.cta {
    grid-template-columns: 1.2fr 1fr auto;
    gap: 45px;
    padding: 30px max(24px, calc((100% - var(--container)) / 2));
    background: linear-gradient(90deg, #cb4f18, #e76f25);
}

.cta h2 {
    font-size: 28px;
}

.cta button {
    color: var(--orange);
    background: var(--white);
}

.page-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 50px;
    padding: 55px max(24px, calc((100% - var(--page-container)) / 2));
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.13), transparent 30%),
        linear-gradient(100deg, #c94e19, var(--orange));
}

.page-cta .eyebrow {
    color: #ffe0c2;
}

.page-cta h2 {
    margin: 10px 0 12px;
    color: var(--white);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
}

.page-cta p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
}

.page-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 16px 23px;
    color: var(--orange);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    background: var(--white);
    border: 2px solid var(--white);
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-cta .btn-primary:hover,
.page-cta .btn-primary:focus-visible {
    color: var(--white);
    background: transparent;
    transform: translateY(-2px);
}

/* 10. Pied de page
   ========================================================= */
footer {
    padding: 32px max(24px, calc((100% - var(--container)) / 2)) 15px;
    color: #dce4eb;
    background: #031b2f;
}

footer a {
    color: #dce4eb;
    text-decoration: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 30px;
    border-bottom: 1px solid #496070;
}

.foot,
.footer-grid h3 {
    color: var(--white);
}

.foot {
    display: block;
}

.foot p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-grid p {
    font-size: 13px;
    line-height: 1.9;
}

footer > small {
    display: block;
    margin-top: 14px;
}

/* 11. Accueil Ã¢â‚¬â€ prÃƒÂ©sentation de Phoenix GDA
   ========================================================= */

.intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
    align-items: center;
    gap: clamp(50px, 7vw, 110px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 30px;
}

/* Contenu textuel */
.intro-content {
    max-width: 560px;
}
.intro-content h2 {
    margin: 0 0 20px;
    color: #03192b;
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.intro-content p {
    margin: 0 0 32px;
    color: #52606d;
    font-size: 1rem;
    line-height: 1.8;
}

.intro-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e66a32;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.intro-link:hover {
    gap: 16px;
    color: #03192b;
}

.intro-link:focus-visible {
    outline: 3px solid rgba(230, 106, 50, 0.3);
    outline-offset: 5px;
    border-radius: 4px;
}

/* Carte image et statistiques */
.stats {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.9fr);
    min-height: 420px;
    overflow: hidden;
    background: #03192b;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(3, 25, 43, 0.18);
}

/* Image du reseau Phoenix */
.network {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.network::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 65%,
            rgba(3, 25, 43, 0.25) 100%
        );
    pointer-events: none;
}

.network img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.stats:hover .network img {
    transform: scale(1.04);
}

/* Section : Chiffres clÃƒÂ©s et principaux atouts */
.proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: var(--container);
    margin: 0 auto;
    padding: 35px 24px;
    background: #f2f6f8;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 10px 28px;
    border-right: 1px solid #d1dbe1;
}

.proof-item:last-child {
    border-right: 0;
}

.proof-icon {
    display: block;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.proof-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.proof-content b {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.25;
}

.proof-content span {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

/* Tablettes */
@media (max-width: 960px) {
    .proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .proof-item:nth-child(2) {
        border-right: 0;
    }

    .proof-item {
        padding-top: 22px;
        padding-bottom: 22px;
        border-bottom: 1px solid #d1dbe1;
    }

    .proof-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

/* Mobiles */
@media (max-width: 600px) {
    .proof {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .proof-item,
    .proof-item:nth-child(2) {
        padding: 22px 5px;
        border-right: 0;
        border-bottom: 1px solid #d1dbe1;
    }

    .proof-item:last-child {
        border-bottom: 0;
    }

    .proof-icon {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }
}

/* 12. Page Ãƒâ‚¬ propos Ã¢â‚¬â€ prÃƒÂ©sentation et valeurs
   ========================================================= */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-block h2 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.25;
}

.about-block p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-block p + p {
    margin-top: 18px;
}

.value-card {
    align-self: start;
    padding: 35px;
    background: #f2f6f8;
    border-left: 5px solid var(--orange);
    border-radius: 0 12px 12px 0;
}

.value-card > h2 {
    margin: 0 0 28px;
    color: var(--navy);
    font-size: 1.7rem;
}

.value-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.value-item:first-of-type {
    padding-top: 0;
}

.value-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.value-item h3 {
    margin: 0 0 8px;
    color: var(--orange);
    font-size: 18px;
}

.value-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

/* 13. Page Ãƒâ‚¬ propos Ã¢â‚¬â€ rÃƒÂ©fÃƒÂ©rences
   ========================================================= */

.trusted-section {
    padding: 75px 24px;
    background: #f4f7f9;
}

.trusted-container {
    width: min(100%, var(--container));
    margin: 0 auto;
}

.trusted-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.trusted-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 130px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.trusted-card:hover {
    border-color: rgba(220, 92, 32, 0.4);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.trusted-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition:
        filter 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.trusted-card:hover .trusted-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}


/* Liste des statistiques */
.stats-list {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 25px;
    padding: 40px 30px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(230, 106, 50, 0.08),
            transparent 40%
        ),
        #03192b;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-item b {
    color: #e6a33d;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.35;
}
/* =========================================================
   Carrousel automatique des rÃƒÂ©fÃƒÂ©rences
   ========================================================= */

.trusted-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fondu aux extrÃƒÂ©mitÃƒÂ©s */
.trusted-slider::before,
.trusted-slider::after {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 70px;
    content: "";
    pointer-events: none;
}

.trusted-slider::before {
    left: 0;
    background: linear-gradient(
        90deg,
        #f4f7f9 0%,
        rgba(244, 247, 249, 0) 100%
    );
}

.trusted-slider::after {
    right: 0;
    background: linear-gradient(
        270deg,
        #f4f7f9 0%,
        rgba(244, 247, 249, 0) 100%
    );
}


/* Piste animÃƒÂ©e */
.trusted-track {
    display: flex;
    width: max-content;
    gap: 16px;
    animation: trusted-scroll 30s linear infinite;
    will-change: transform;
}


/* Groupe de logos */
.trusted-group {
    display: flex;
    flex-shrink: 0;
    gap: 16px;
}


/* Carte contenant un logo */
.trusted-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 240px;
    width: 240px;
    height: 130px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.trusted-card:hover {
    border-color: rgba(220, 92, 32, 0.4);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}


/* Logo */
.trusted-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition:
        filter 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.trusted-card:hover .trusted-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}


/* ArrÃƒÂªt temporaire au survol ou au clavier */
.trusted-slider:hover .trusted-track,
.trusted-slider:focus-within .trusted-track {
    animation-play-state: paused;
}


/* DÃƒÂ©filement continu */
@keyframes trusted-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 8px));
    }
}


/* Mobiles */
@media (max-width: 640px) {
    .trusted-card {
        flex-basis: 180px;
        width: 180px;
        height: 110px;
        padding: 18px;
    }

    .trusted-logo {
        max-height: 60px;
    }

    .trusted-slider::before,
    .trusted-slider::after {
        width: 35px;
    }

    .trusted-track {
        animation-duration: 24s;
    }
}


/* AccessibilitÃƒÂ© */
@media (prefers-reduced-motion: reduce) {
    .trusted-slider {
        overflow-x: auto;
    }

    .trusted-track {
        animation: none;
    }

    .trusted-group[aria-hidden="true"] {
        display: none;
    }
}

/* Tablettes */
@media (max-width: 1050px) {
    .intro {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .intro-content {
        max-width: 760px;
    }

    .stats {
        width: 100%;
        min-height: 390px;
    }

    .network,
    .network img {
        min-height: 390px;
    }
}

/* Mobiles */
@media (max-width: 680px) {
    .intro {
        gap: 38px;
        padding: 70px 20px;
    }

    .intro-content h2 {
        margin-bottom: 22px;
    }

    .stats {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 15px;
    }

    .network,
    .network img {
        min-height: 260px;
    }

    .network::after {
        background:
            linear-gradient(
                180deg,
                transparent 70%,
                rgba(3, 25, 43, 0.25) 100%
            );
    }

    .stats-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        padding: 32px 25px;
    }
}

/* TrÃƒÂ¨s petits ÃƒÂ©crans */
@media (max-width: 420px) {
    .stats-list {
        grid-template-columns: 1fr;
    }
}

/* AccessibilitÃƒÂ© : rÃƒÂ©duction des animations */
@media (prefers-reduced-motion: reduce) {
    .network img,
    .intro-link {
        transition: none;
    }

    .stats:hover .network img {
        transform: none;
    }
}

/* Coordonnées compactes */
.contact-info .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.contact-info > h2 {
    margin: 0 0 10px;
}

.contact-intro {
    max-width: 520px;
    margin: 0 0 22px;
    line-height: 1.6;
}

.contact-offices {
    display: grid;
    gap: 16px;
}

.contact-office {
    padding: 20px;
    background: #f6f8fa;
    border-left: 3px solid var(--orange, #e75b20);
    border-radius: 4px;
}

.contact-office h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: #03192b;
    font-size: 1.15rem;
}

.contact-office h3 svg {
    width: 19px;
    height: 19px;
    color: var(--orange, #e75b20);
}

.contact-office-details {
    display: grid;
    gap: 12px;
    margin: 0;
    font-style: normal;
}

.contact-office-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
}

.contact-office-item svg {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: #d99a35;
}

.contact-office-item p {
    margin: 0;
    line-height: 1.55;
}

.contact-office-item a {
    color: #03192b;
    line-height: 1.55;
    text-decoration: none;
}

.contact-office-item a:hover {
    color: var(--orange, #e75b20);
    text-decoration: underline;
}

/* 14. Responsive
   ========================================================= */
@media (max-width: 960px) {
    .cards,
    .services-section .page-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-cta {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-cta .btn-primary {
        justify-self: start;
    }

    .trusted-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    header nav {
        position: absolute;
        top: 128px;
        right: 0;
        left: 0;
        z-index: 10;
        display: none;
        flex-direction: column;
        padding: 20px;
        background: var(--white);
        box-shadow: 0 12px 20px #00152b22;
    }

    header nav.open {
        display: flex;
    }

    header nav a {
        padding: 8px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        color: var(--navy);
        font-size: 25px;
        background: transparent;
    }

    .header-cta {
        display: none;
    }

    .hero,
    .intro,
    .two-col,
    .contact-grid,
    .cta {
        grid-template-columns: 1fr;
    }

    .phoenix {
        display: none;
    }

    .steps,
    .proof,
    .project-grid,
    .publications,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .service-detail {
        width: min(100% - 40px, var(--page-container));
        padding: 52px 0 64px;
    }

    .service-detail-heading {
        align-items: flex-start;
    }

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

    .solution-card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .brand {
        min-width: 0;
    }

    .brand-logo img {
        max-width: 175px;
        height: 56px;
    }

    .step-icon,
    .step-icon img {
        width: 82px;
        height: 82px;
    }

    .page-hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .services-section {
        padding: 60px 20px;
    }

    .section-heading {
        margin-bottom: 35px;
        text-align: left;
    }

    .trusted-section {
        padding: 55px 20px;
    }

    .trusted-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .trusted-card {
        height: 110px;
        padding: 18px;
    }

    .trusted-logo {
        max-height: 60px;
    }

    .cards,
    .services-section .page-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cards {
        padding-right: 20px;
        padding-left: 20px;
    }

    .cards article,
    .services-section .expertise-card {
        min-height: 0;
        padding: 24px 22px;
    }

    .page-cta {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .page-cta .btn-primary {
        width: 100%;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 114px;
    }

    header {
        height: 80px;
    }

    header nav {
        top: 114px;
    }

    header button {
        display: none;
    }

    .hero h1 {
        font-size: 37px;
    }

    .steps,
    .proof,
    .project-grid,
    .publications,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .topbar span:nth-child(2) {
        display: none;
    }

    .publications article {
        grid-template-columns: 105px 1fr;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
