/* ==========================================================
   InetSCHOOLS — Identité visuelle et styles fondamentaux
   ========================================================== */

:root {
    --navy: #101D35;
    --navy-dark: #0A1428;
    --navy-light: #1D3152;
    --grey: #667085;
    --grey-dark: #344054;
    --grey-light: #98A2B3;
    --surface: #F4F6F9;
    --surface-blue: #EAF0F8;
    --white: #FFFFFF;
    --border: #E4E7EC;
    --border-dark: #D0D5DD;
    --gold: #C8A96A;
    --gold-light: #F5EEDC;
    --success: #157347;
    --danger: #B42318;

    --container: 1160px;
    --header-height: 78px;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 4px 14px rgba(16, 29, 53, .06);
    --shadow-md: 0 14px 38px rgba(16, 29, 53, .10);
    --shadow-lg: 0 28px 70px rgba(16, 29, 53, .16);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;
    color: var(--navy);
    background: var(--white);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

p {
    margin: 0 0 1rem;
    color: var(--grey);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--navy);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.18;
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
}

ul,
ol {
    padding-left: 1.3rem;
}

::selection {
    color: var(--white);
    background: var(--navy);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.container,
.site-container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section--muted {
    background: var(--surface);
}

.section--dark {
    color: var(--white);
    background: var(--navy);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

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

.section-heading p {
    max-width: 660px;
    margin: 18px auto 0;
    font-size: 1.05rem;
}

.eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: var(--grey);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-eyebrow::before {
    width: 22px;
    height: 2px;
    background: var(--gold);
    content: "";
}

.section--dark .eyebrow,
.section--dark .section-eyebrow {
    color: #D0D5DD;
}

.lead {
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    line-height: 1.8;
}

.muted {
    color: var(--grey);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 12px 16px;
    transform: translateY(-160%);
    border-radius: 8px;
    color: var(--white);
    background: var(--navy);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Navigation */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(228, 231, 236, .9);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
}

.navbar {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 13px;
    color: var(--white);
    background: var(--navy);
    font-size: 1.35rem;
    font-weight: 850;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-name {
    font-size: 1.02rem;
    font-weight: 850;
    letter-spacing: -.03em;
}

.brand-tagline {
    margin-top: 5px;
    color: var(--grey);
    font-size: .67rem;
    font-weight: 600;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
}

.main-navigation a:not(.button):not(.nav-cta) {
    color: var(--grey-dark);
    font-size: .88rem;
    font-weight: 650;
    transition: color .2s ease;
}

.main-navigation a:hover {
    color: var(--navy);
}

.menu-toggle {
    position: relative;
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--navy);
    background: var(--white);
}

.menu-toggle-lines,
.menu-toggle::before,
.menu-toggle::after {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.menu-toggle {
    position: relative;
}

.menu-toggle::before,
.menu-toggle::after {
    position: absolute;
    content: "";
    transition: transform .2s ease, top .2s ease;
}

.menu-toggle::before {
    top: 14px;
}

.menu-toggle::after {
    top: 26px;
}

.menu-toggle-lines {
    transition: opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
    top: 21px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
    top: 21px;
    transform: rotate(-45deg);
}

/* Boutons */

.button,
.btn,
.nav-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.btn:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}

.button--primary,
.btn-primary,
.nav-cta {
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 8px 20px rgba(16, 29, 53, .12);
}

.button--primary:hover,
.btn-primary:hover,
.nav-cta:hover {
    background: var(--navy-light);
    box-shadow: var(--shadow-md);
}

.button--secondary,
.btn-secondary {
    border-color: var(--border-dark);
    color: var(--navy);
    background: var(--white);
}

.button--secondary:hover,
.btn-secondary:hover {
    border-color: var(--navy);
}

.button--light {
    color: var(--navy);
    background: var(--white);
}

.button--outline-light {
    border-color: rgba(255, 255, 255, .35);
    color: var(--white);
    background: transparent;
}

.button--outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.button--small {
    min-height: 40px;
    padding: 9px 16px;
    font-size: .84rem;
}

.button--large {
    min-height: 56px;
    padding: 15px 25px;
}

.button-group,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 124px) 0;
    color: var(--white);
    background: var(--navy);
}

.hero::before,
.hero::after {
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
}

.hero::before {
    width: 560px;
    height: 560px;
    top: -300px;
    right: -100px;
}

.hero::after {
    width: 420px;
    height: 420px;
    top: -230px;
    right: -30px;
}

.hero h1,
.hero h2 {
    color: var(--white);
}

.hero p {
    color: #D0D5DD;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}

.hero-copy {
    max-width: 680px;
}

.hero-copy > p {
    max-width: 590px;
    margin-top: 24px;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.8;
}

.hero .eyebrow {
    color: #E3D3AE;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: #D0D5DD;
    font-size: .83rem;
}

.hero-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}

/* Bande de confiance */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.trust-item {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    color: var(--navy);
    font-size: .92rem;
    font-weight: 750;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--border);
}

.trust-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    color: var(--navy);
    background: var(--surface-blue);
    font-weight: 800;
}

/* Grilles et cartes */

.grid {
    display: grid;
    gap: 22px;
}

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

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

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

.actor-grid,
.feature-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.actor-card,
.feature-card,
.service-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.actor-card:hover,
.feature-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    border-color: #C9D2E0;
    box-shadow: var(--shadow-md);
}

.card-icon,
.feature-icon,
.service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--navy);
    background: var(--surface-blue);
    font-size: 1.3rem;
    font-weight: 800;
}

.actor-card h3,
.feature-card h3,
.service-card h3 {
    margin-bottom: 12px;
}

.actor-card p,
.feature-card p,
.service-card p {
    margin-bottom: 0;
    font-size: .94rem;
    line-height: 1.75;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 800;
}

.card-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Présentation en deux colonnes */

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 7vw, 88px);
}

.split-layout > * {
    min-width: 0;
}

.split-copy > p {
    margin-top: 20px;
}

.check-list {
    display: grid;
    gap: 13px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--grey-dark);
}

.check-list li::before {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    margin-top: 2px;
    border-radius: 50%;
    color: var(--success);
    background: #E8F5EE;
    content: "✓";
    font-size: .76rem;
    font-weight: 900;
}

/* Aperçu conceptuel du tableau de bord AntaRUS */

.antarus-section {
    overflow: hidden;
    background: var(--surface);
}

.dashboard-preview {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    color: var(--white);
    background: #172640;
    box-shadow: var(--shadow-lg);
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dashboard-brand {
    color: var(--white);
    font-size: .9rem;
    font-weight: 800;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #D0D5DD;
    font-size: .72rem;
}

.dashboard-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #56C596;
    content: "";
}

.dashboard-body {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    min-height: 290px;
}

.dashboard-sidebar {
    padding: 20px 12px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.dashboard-sidebar span {
    display: block;
    margin-bottom: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #B7C2D4;
    font-size: .73rem;
}

.dashboard-sidebar span:first-child {
    color: var(--white);
    background: rgba(255, 255, 255, .1);
}

.dashboard-main {
    padding: 22px;
}

.dashboard-main h3 {
    margin-bottom: 17px;
    color: var(--white);
    font-size: 1.05rem;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-metric {
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
}

.dashboard-metric span {
    display: block;
    color: #B7C2D4;
    font-size: .68rem;
}

.dashboard-metric strong {
    display: block;
    margin-top: 7px;
    color: var(--white);
    font-size: 1.25rem;
}

.dashboard-chart {
    display: flex;
    height: 80px;
    align-items: end;
    gap: 8px;
    margin-top: 18px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
}

.dashboard-chart span {
    flex: 1;
    min-width: 4px;
    border-radius: 4px 4px 0 0;
    background: #8FA5C8;
}

/* Trophée AntaRUS */

.trophy-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.trophy-section h2,
.trophy-section h3 {
    color: var(--white);
}

.trophy-section p {
    color: #D0D5DD;
}

.trophy-intro {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

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

.trophy-card {
    padding: 25px 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .055);
}

.trophy-card .card-icon {
    color: #E5D3A8;
    background: rgba(200, 169, 106, .15);
}

.trophy-card h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.trophy-card p {
    margin-bottom: 0;
    font-size: .88rem;
}

.trophy-quote {
    max-width: 850px;
    margin: 48px auto 0;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, .17);
    color: #F5EEDC;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 650;
    text-align: center;
}

/* Appel à l'action */

.join-section {
    padding: 78px 0;
    background: var(--surface);
}

.join-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--navy);
}

.join-panel h2 {
    max-width: 640px;
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
}

.join-panel p {
    max-width: 650px;
    margin-top: 15px;
    color: #D0D5DD;
}

/* Pied de page */

.site-footer {
    padding: 54px 0 24px;
    color: #D0D5DD;
    background: var(--navy-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 38px;
}

.site-footer .brand {
    color: var(--white);
}

.site-footer .brand-tagline {
    color: #B7C2D4;
}

.footer-about {
    max-width: 340px;
    margin-top: 18px;
    color: #B7C2D4;
    font-size: .9rem;
}

.footer-column h3 {
    margin-bottom: 17px;
    color: var(--white);
    font-size: .9rem;
    letter-spacing: 0;
}

.footer-links {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: #B7C2D4;
    font-size: .88rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #98A2B3;
    font-size: .8rem;
}

.footer-bottom p {
    margin: 0;
    color: inherit;
    font-size: inherit;
}
