
:root {
    color-scheme: dark;
    --navy: #070d18;
    --deep: #101f37;
    --blue: #0069d0;
    --electric: #4dcaff;
    --page: #090f1b;
    --section: #0c1524;
    --surface: #111f33;
    --surface-top: #172b47;
    --ice: #1a3658;
    --ink: #f2f7ff;
    --muted: #b0c3da;
    --link: #79d5ff;
    --line: #304b6b;
    --radius: 20px;
    --shadow: 0 18px 44px #03080f65;
}
:root[data-theme="light"] {
    color-scheme: light;
    --page: #dce8f5;
    --section: #cfdff0;
    --surface: #edf4fb;
    --surface-top: #f5f9fe;
    --ice: #d3e6f8;
    --ink: #142d4b;
    --muted: #3d5471;
    --link: #0758a5;
    --line: #afc9e1;
    --shadow: 0 15px 35px #1633521c;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font: 1rem/1.62 system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7ddcff; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 94px); }
.section-heading { margin-bottom: 30px; }
.section-heading p { margin-top: 9px; color: var(--muted); }
.tvs-icon { width: 24px; height: 24px; flex: none; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 10px 18px; background: white; color: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { background: #070d18; color: #f6f9ff; border-bottom: 1px solid #244166; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: clamp(14px, 2vw, 36px); }
.brand { display: grid; place-items: center start; flex: none; font-size: 1.2rem; font-weight: 850; text-decoration: none; }
.brand img { width: 158px; height: 45px; object-fit: contain; object-position: left; }
.site-nav { display: flex; justify-content: center; gap: clamp(12px, 2vw, 30px); }
.site-nav a { text-align: center; text-decoration: none; color: #e6f0ff; font-size: .9rem; font-weight: 650; padding-block: 8px; }
.site-nav a:hover, .site-nav .nav-home { color: #7ed7ff; }
.menu-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle {
    width: 46px; height: 46px; display: grid; place-items: center;
    border: 1px solid #395a80; border-radius: 10px; background: #112039; color: #cceaff;
    cursor: pointer; transition: background-color .18s, color .18s, border-color .18s;
}
.theme-toggle:hover, .theme-toggle[aria-pressed="true"] { background: #234c78; color: #fff; border-color: #659dd0; }
.theme-toggle .tvs-icon { width: 20px; height: 20px; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 9px 19px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; text-align: center; font-weight: 750; font-size: .95rem; line-height: 1.3; transition: background-color .16s, color .16s, border-color .16s; }
.button .tvs-icon { width: 18px; height: 18px; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #0752a1; }
.button-on-dark { background: #061b38a8; border-color: #afc9e0; color: white; }
.button-on-dark:hover { background: #163c61; }
.button-light { color: var(--deep); background: white; }
.button-light:hover { background: var(--ice); }
.button-outline { color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: var(--ice); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.news-strip { background: var(--ice); color: var(--ink); border-bottom: 1px solid var(--line); }
.news-strip .wrap { padding-block: 8px; }
.news-strip p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding-block: 4px; font-size: .9rem; }
.news-strip .tvs-icon { width: 17px; height: 17px; }
.news-strip a { font-weight: 750; color: var(--link); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 78% 25%, #143b62 0%, #091525 54%, #070d18 87%); color: white; border-bottom: 1px solid #315b86; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 69%; height: 100%; object-fit: cover; object-position: center; z-index: -2; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #070d18 8%, #080f1bf4 27%, #0a1a2d8c 56%, #09254531 100%), linear-gradient(0deg, #090f1be0, transparent 46%); }
.hero-inner { min-height: clamp(470px, 48vw, 650px); display: grid; align-items: center; padding-block: 64px; }
.hero-copy { max-width: 690px; animation: home-enter .55s ease-out both; }
@keyframes home-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-location { color: #bce8ff; font-weight: 750; font-size: .85rem; letter-spacing: .075em; text-transform: uppercase; margin-bottom: 15px; }
.hero-location::before { content: ""; display: inline-block; width: 24px; height: 2px; margin-right: 10px; vertical-align: middle; background: #54c9ff; }
.hero-location span { color: #54c9ff; margin-inline: 3px; }
.hero h1 { max-width: 14ch; color: white; font-size: clamp(2.7rem, 5.5vw, 5.75rem); line-height: 1.02; font-weight: 850; letter-spacing: -.055em; text-wrap: balance; }
.hero-description { max-width: 49ch; margin-top: 22px; color: #e5f0fe; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.hero .actions { margin-top: 28px; }

.featured-news { padding-top: 26px; display: grid; gap: 12px; }
.announcement { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; background: var(--ice); border: 1px solid var(--line); border-left: 4px solid #218bea; border-radius: 12px; padding: 18px 20px; }
.announcement h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.announcement p { color: var(--muted); margin-top: 5px; }
.icon-box { background: var(--ice); color: var(--link); width: 53px; height: 53px; display: grid; place-items: center; border-radius: 12px; }
.announcement .icon-box { width: 40px; height: 40px; color: white; background: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--link); font-weight: 750; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }

.about { display: grid; align-items: center; gap: clamp(20px, 5vw, 72px); }
.about.has-photo { grid-template-columns: 1.05fr .95fr; }
.about p { max-width: 60ch; margin-top: 16px; color: var(--muted); }
.about .text-link { margin-top: 18px; }
.about-photo { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.services-section, .contact-section { background: var(--section); border-block: 1px solid var(--line); }
.service-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-grid { grid-template-columns: 1.17fr 1fr 1fr; }
.service-card, .contact-card { padding: clamp(20px, 3vw, 34px); background: linear-gradient(142deg, var(--surface-top), var(--surface) 74%); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
    min-height: 240px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #258cf2, transparent 85%); }
.service-card:first-child::before { background: linear-gradient(90deg, #50caff, #166bd5 48%, transparent); }
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); border-color: #4382bb; box-shadow: 0 15px 32px #07112464; }
.service-card h3 { margin-top: 21px; }
.service-card p { margin: 10px 0 22px; color: var(--muted); }
.service-card .text-link { margin-top: auto; }
.client-section { padding-block: clamp(34px, 5vw, 62px); background: radial-gradient(ellipse at 90% 0%, #155997, transparent 58%), linear-gradient(120deg, #102442, #0a274d 74%, #123a65); border-bottom: 1px solid #315b86; color: white; }
.client-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 32px); }
.client-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 16px; background: #ffffff24; }
.client-icon .tvs-icon { width: 36px; height: 36px; }
.client-panel h2 { font-size: clamp(1.6rem, 3.5vw, 2.65rem); }
.client-panel p { margin-top: 8px; color: #e5f2ff; }

.gallery-grid { grid-auto-rows: clamp(138px, 18vw, 238px); }
.gallery-item { position: relative; overflow: hidden; display: block; border: 1px solid var(--line); border-radius: 14px; background: var(--ice); box-shadow: var(--shadow); }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #04132660, transparent 48%); pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-zoom { position: absolute; z-index: 1; right: 12px; bottom: 12px; padding: 8px; background: #061b38e6; color: white; border-radius: 8px; display: grid; }
.gallery-zoom .tvs-icon { width: 17px; height: 17px; }
#gallery-dialog { padding: 12px; border: 0; border-radius: 14px; background: var(--navy); color: white; width: min(1000px, calc(100% - 24px)); max-height: 90dvh; }
#gallery-dialog::backdrop { background: #031227d9; }
#gallery-dialog img { width: 100%; max-height: 78dvh; object-fit: contain; }
#gallery-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.gallery-close { cursor: pointer; background: white; color: var(--navy); border: 0; border-radius: 8px; width: 44px; height: 44px; font-size: 1.45rem; line-height: 1; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.contact-card h3 .tvs-icon { color: var(--link); }
.contact-card address { font-style: normal; margin-bottom: 12px; }
.contact-card p { color: var(--muted); }
.contact-card p a { overflow-wrap: anywhere; }
.contact-card .actions { margin-top: 22px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 14px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: right; color: var(--muted); overflow-wrap: anywhere; }
.hours dd.closed { font-weight: 750; color: var(--ink); }

.site-footer { background: var(--navy); color: #dceaff; padding-block: 24px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.social-links { display: flex; flex-wrap: wrap; gap: 5px 17px; }
.social-links a { padding-block: 6px; font-weight: 650; text-underline-offset: 4px; }

@media (max-width: 1020px) {
    .wrap { width: min(1200px, calc(100% - 48px)); }
    .header-inner { gap: 12px; }
    .site-nav { gap: 15px; }
    .brand img { width: 126px; }
}
@media (max-width: 820px) {
    .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; min-height: 66px; padding-block: 9px; }
    .brand { grid-area: 1 / 1; }
    .menu-toggle { grid-area: 1 / 3; display: inline-flex; align-items: center; gap: 5px; justify-self: end; min-height: 44px; padding: 7px 9px; border: 1px solid #7293b7; border-radius: 8px; background: transparent; color: white; cursor: pointer; }
    .header-actions { grid-area: 1 / 2; gap: 6px; }
    .header-client { min-height: 44px; padding-inline: 10px; }
    .header-client .tvs-icon { display: none; }
    .site-nav { grid-area: 2 / 1 / 3 / -1; flex-wrap: wrap; justify-content: start; gap: 0 14px; }
    .menu-toggle:not([hidden])[aria-expanded="false"] + .site-nav { display: none; }
    .site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
    .hero-photo { width: 100%; clip-path: none; }
    .hero.has-photo::before { background: linear-gradient(90deg, #061b38f2 2%, #061b38c0 48%, #061b3860), linear-gradient(0deg, #061b38bf, transparent 80%); }
    .hero-inner { min-height: 500px; }
    .gallery-grid { gap: 12px; }
    .gallery-item:first-child { grid-row: span 1; }
    .service-grid { gap: 12px; }
    .client-panel { grid-template-columns: auto minmax(0, 1fr); }
    .client-panel > .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 32px); }
    .header-inner { gap: 8px; }
    .brand img { width: min(100%, 125px); height: 40px; }
    .theme-toggle { width: 44px; height: 44px; }
    .menu-toggle { padding-inline: 8px; }
    .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hero-inner { min-height: 530px; align-items: end; padding-block: 120px 44px; }
    .hero-photo { object-position: 58% center; }
    .hero.has-photo::before { background: linear-gradient(0deg, #061b38 0%, #061b38ef 28%, #061b38aa 62%, #061b3845 100%); }
    .hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
    .hero-location { font-size: .76rem; }
    .hero-description { margin-top: 15px; }
    .hero .actions { margin-top: 21px; }
    .announcement { grid-template-columns: auto minmax(0,1fr); }
    .announcement > .text-link { grid-column: 2; }
    .about.has-photo, .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .client-icon { width: 50px; height: 50px; }
    .client-icon .tvs-icon { width: 26px; height: 26px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: clamp(120px, 40vw, 190px); }
    .gallery-item:first-child { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Navigation compacte, avec un panneau indépendant du contenu. */
.menu-bars, .menu-bars::before, .menu-bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; transition: transform .18s; }
.menu-bars::before { transform: translateY(-6px); }
.menu-bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: rotate(-45deg); }

.news-strip { background: var(--page); }
.news-strip .wrap { padding-block: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.news-strip p { padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ice); }
.news-strip .tvs-icon { color: var(--link); }
.featured-news { padding-top: clamp(18px, 3vw, 32px); }
.announcement {
    position: relative; overflow: hidden; align-items: start;
    padding: clamp(16px, 3vw, 26px);
    border-left: 1px solid var(--line);
    background: linear-gradient(110deg, var(--ice), var(--surface) 72%);
    box-shadow: var(--shadow);
}
.announcement::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(#5ed8ed, #227be0); }
.announcement .icon-box { background: #114777; border: 1px solid #499cd8; color: #e9f9ff; }
.announcement > .text-link { justify-self: start; }
.service-card { --service-accent: #4ed7bd; --service-fg: #9debd8; --service-tint: #174c4b; }
.service-papers { --service-accent: #b499ff; --service-fg: #ddd0ff; --service-tint: #443268; }
.service-reviews { --service-accent: #ffc56a; --service-fg: #ffe0a1; --service-tint: #664420; }
.service-card::before, .service-card:first-child::before { background: linear-gradient(90deg, var(--service-accent), transparent 88%); }
.service-card .icon-box { background: var(--service-tint); color: var(--service-fg); }
.service-card:hover, .service-card:focus-within { border-color: var(--service-accent); }
.service-card h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--service-accent); }

.footer-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; }
.footer-links a { text-underline-offset: 4px; padding-block: 7px; }
.footer-format { color: #9fbad5; font-size: .8em; }
.social-links { gap: 8px; }
.social-links a {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid #385571; border-radius: 11px; color: #e9f6ff; background: #132741;
    transition: background-color .18s, color .18s;
}
.social-links a:hover, .social-links a:focus-visible { background: #225182; color: #fff; }
.social-icon { width: 22px; height: 22px; }

.information-page { max-width: 1000px; display: grid; gap: 20px; }
.information-page h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); line-height: 1.05; margin-bottom: 8px; }
.information-card {
    padding: clamp(18px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(145deg,var(--surface-top),var(--surface)); box-shadow: var(--shadow);
}
.information-card h2 { font-size: clamp(1.35rem, 4vw, 2rem); margin-bottom: 12px; }
.information-card p { color: var(--muted); }
.information-card .button, .information-card > .text-link, .information-card > dl + p { margin-top: 14px; }
.company-details { margin: 0; }
.company-details div { display: grid; grid-template-columns: minmax(110px,1fr) minmax(0,2fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.company-details div:last-child { border-bottom: 0; }
.company-details dt { font-weight: 700; }
.company-details dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 820px) {
    .header-inner { position: relative; }
    .menu-toggle { width: 46px; justify-content: center; padding: 0; }
    .menu-label { display: none; }
    .site-nav {
        display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px;
        padding: 10px; margin-block: 4px 6px; border: 1px solid #315577; border-radius: 14px;
        background: linear-gradient(140deg,#172f4d,#0e1c2e);
    }
    .site-nav a { justify-content: start; text-align: left; padding: 8px 10px; background: #ffffff09; border-radius: 8px; }
    .site-nav a:hover, .site-nav a:focus-visible { background: #ffffff1f; }
    .footer-inner { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
    .news-strip .wrap { display: grid; }
    .news-strip p { display: grid; grid-template-columns: auto minmax(0,1fr); }
    .news-strip p > a { grid-column: 2; }
    .announcement { gap: 10px; }
    .announcement .icon-box { width: 34px; height: 34px; }
    .announcement .icon-box svg { width: 18px; height: 18px; }
    .company-details div { grid-template-columns: 1fr; gap: 2px; }
}

.legal-document-content { max-width: 76ch; overflow-wrap: anywhere; }
.legal-document-content h3,
.legal-document-content h4,
.legal-document-content h5,
.legal-document-content h6 { margin: 1.5em 0 .65em; }
.legal-document-content h3 { border-top: 1px solid currentColor; padding-top: .65em; }
.legal-document-content p,
.legal-document-content li { line-height: 1.7; }
.legal-document-content dl { margin: 1.2em 0; }
.legal-document-content dt { font-weight: 700; }
.legal-document-content dd { margin: 0 0 1em; }
.legal-document-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.legal-document-content :is(th,td) { padding: .6em; border: 1px solid currentColor; text-align: left; }
.site-cookie-panel[hidden] { display: none; }
.site-cookie-panel {
    position: fixed;
    z-index: 1000;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(600px, calc(100% - 32px));
    padding: 18px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.site-cookie-panel h2 { margin: 0 0 6px; font-size: 1.15rem; }
.site-cookie-panel p { margin: 0 0 6px; font-size: .95rem; }
.site-cookie-panel a { color: var(--link); }
.site-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.site-cookie-actions button {
    flex: 1 1 185px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--link);
    background: var(--surface-top);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}
.site-cookie-actions button:is(:hover,:focus-visible) { background: var(--ice); }
.legal-document { scroll-margin-top: 7rem; }
