﻿/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f7fb;
    color: #1f2937;
}

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

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

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =========================
   GLOBAL
========================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dbe3ec;
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo img {
    height: 40px;
}

.header-brand h1 {
    font-size: 18px;
    font-weight: 700;
    color: #1f3b7a;
}

.header-nav ul {
    display: flex;
    gap: 30px;
}

.header-nav a {
    color: #243b63;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-login {
    padding: 10px 16px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    background: white;
}

.btn-signup {
    padding: 10px 16px;
    border-radius: 6px;
    background: #22c55e;
    color: white;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    padding: 80px 0 90px;
    background: linear-gradient(to bottom, #fefefe 60%, #f3f7fe 100%);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 900px;
    max-width: none;
    height: auto;
    z-index: 0;
    pointer-events: none;
    border-bottom-left-radius: 250px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    min-height: 520px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
    padding-top: 20px;
    position: relative;
    z-index: 2;
    flex: 0 0 600px;
}

.hero-side {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-top: 50px;      /* un peu moins bas */
    margin-right: 120px;   /* 👈 clé : on décale vers la gauche */

    position: relative;
    z-index: 2;
}

.hero-side-card {
    background: rgba(255, 255, 255, 0.75); /* plus transparent */
    border: 1px solid rgba(210, 223, 240, 0.6);
    border-radius: 16px;

    padding: 18px; /* moins massif */

    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.06); /* plus léger */
    backdrop-filter: blur(6px);
}

.hero-side-card-main h3,
.hero-side-card-small h4 {
    color: #16315f;
    margin-bottom: 16px;
    font-size: 18px;
}

.hero-side-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-side-step:last-child {
    margin-bottom: 0;
}

.hero-side-step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2f67ea;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-side-step strong {
    display: block;
    color: #16315f;
    font-size: 15px;
    margin-bottom: 4px;
}

.hero-side-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5b6f90;
}

.hero-side-card-small ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-side-card-small li {
    font-size: 14px;
    line-height: 1.6;
    color: #4c5f7d;
    margin-bottom: 8px;
}

.hero-side-card-small li:last-child {
    margin-bottom: 0;
}

.hero-badge {
    display: inline-block;
    background: #eaf2ff;
    color: #265caa;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero-title h2 {
    font-size: 46px;
    line-height: 1.08;
    font-weight: 700;
    color: #16315f;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.75;
    color: #4c5f7d;
    max-width: 540px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: nowrap;
    margin-left: 220px;
}

.btn-primary {
    padding: 14px 24px;
    border-radius: 10px;
    background: #2f67ea;
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 10px 25px rgba(47, 103, 234, 0.18);
    transition: 0.2s ease;
}

.btn-primary:hover {
    background: #255ad0;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 14px 24px;
    border-radius: 10px;
    background: #f59e0b;
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.18);
    transition: 0.2s ease;
}

.btn-secondary:hover {
    background: #df9008;
    transform: translateY(-1px);
}

.hero-stats {
    margin-top: 18px;
    margin-left: 220px;
    font-size: 14px;
    color: #6b7280;
}

.hero-media {
    display: none;
}

/* IMAGE HERO */
.hero-media {
    display: none;
}

.hero-steps {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4c5f7d;
}

.step span {
    width: 26px;
    height: 26px;
    background: #2f67ea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

/* =========================
   SERVICES
========================= */
.services {
    position: relative;
    padding: 72px 0;
    background: #ffffff;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    top: -90px;
    left: -90px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(219, 234, 254, 0.9), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.services::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 242, 254, 0.9), transparent 70%);
    opacity: 0.75;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-header {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.services-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #265caa;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.services-title {
    font-size: 40px;
    line-height: 1.12;
    color: #16315f;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.services-text {
    font-size: 17px;
    line-height: 1.7;
    color: #5b6f90;
    max-width: 760px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 26px;
}

.service-card {
    background: #f8fbff;
    border: 1px solid #dfe9f5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(26, 54, 93, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(26, 54, 93, 0.08);
}

.service-visual {
    height: 165px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #dfe9f5;
    background: linear-gradient(to bottom, #eef4fb 0%, #dde8f7 100%);
    position: relative;
    overflow: hidden;
}

.service-content {
    padding: 18px 20px 20px;
    text-align: left;
}

.service-title {
    font-size: 20px;
    line-height: 1.25;
    color: #16315f;
    margin-bottom: 8px;
    font-weight: 700;
}

.service-text {
    font-size: 14px;
    line-height: 1.65;
    color: #5b6f90;
}

/* === CARD 1 : PDF === */

.service-icon-pdf {
    position: absolute;
    left: 24px;
    bottom: 22px;
    background: #f9735b;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 3;
}

.service-sheets {
    position: relative;
    width: 150px;
    height: 95px;
}

.sheet-back,
.sheet-front {
    position: absolute;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(28, 59, 112, 0.10);
}

.sheet-back {
    width: 88px;
    height: 72px;
    top: 8px;
    left: 12px;
    background: linear-gradient(to bottom, #eaf2fd 0%, #dce8f8 100%);
}

.sheet-front {
    width: 96px;
    height: 76px;
    top: 0;
    left: 44px;
    background: #ffffff;
}

.sheet-check {
    position: absolute;
    right: 2px;
    bottom: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #2f67ea;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(47, 103, 234, 0.22);
}

/* === CARD 2 : MARGES === */

.service-frame {
    position: relative;
    width: 142px;
    height: 102px;
}

.frame-outer,
.frame-inner,
.frame-cut {
    position: absolute;
    inset: 0;
    border-radius: 10px;
}

.frame-outer {
    border: 4px solid #7fb0ff;
}

.frame-inner {
    inset: 12px;
    border: 3px dashed #7fb0ff;
}

.frame-cut {
    inset: 26px;
    border: 2px solid #2f67ea;
    background: rgba(47, 103, 234, 0.08);
}

/* === CARD 3 : QUALITÉ === */

.quality-card {
    position: relative;
    width: 150px;
    height: 96px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(28, 59, 112, 0.10);
}

.quality-img {
    position: absolute;
    left: 16px;
    top: 18px;
    width: 54px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #8cc2ff, #5f93f3);
}

.quality-bar {
    position: absolute;
    right: 16px;
    height: 8px;
    border-radius: 999px;
    background: #d8e5f8;
}

.quality-bar-top {
    top: 24px;
    width: 46px;
}

.quality-bar-bottom {
    top: 42px;
    width: 62px;
}

.quality-check {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #2f67ea;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(47, 103, 234, 0.22);
}

.services-extra {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 8px;
}

.services-extra-card {
    background: linear-gradient(to bottom, #ffffff 0%, #f7faff 100%);
    border: 1px solid #dfe9f5;
    border-radius: 18px;
    padding: 22px;
}

.services-extra-card h3 {
    font-size: 19px;
    color: #16315f;
    margin-bottom: 10px;
}

.services-extra-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5b6f90;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-extra {
        grid-template-columns: 1fr;
    }

    .service-visual {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 58px 0;
    }

    .services-title {
        font-size: 30px;
    }

    .services-text {
        font-size: 15px;
    }

    .service-card,
    .services-extra-card {
        border-radius: 16px;
    }

    .service-content {
        padding: 16px 18px 18px;
    }
}

.depot {
    position: relative;
    padding: 72px 0;
    background: linear-gradient(to bottom, #f4f8fd 0%, #eef4fb 100%);
    overflow: hidden;
}

.depot::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.75), transparent 70%);
    pointer-events: none;
}

.depot::after {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(219, 234, 254, 0.8), transparent 70%);
    pointer-events: none;
}

.depot .container {
    position: relative;
    z-index: 1;
}

.depot-header {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.depot-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #265caa;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid #dfe9f5;
}

.depot-title {
    font-size: 38px;
    line-height: 1.12;
    color: #16315f;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.depot-text {
    font-size: 17px;
    line-height: 1.7;
    color: #5b6f90;
    max-width: 760px;
    margin: 0 auto;
}

.depot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.depot-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    padding: 26px;
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(26, 54, 93, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.depot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(26, 54, 93, 0.11);
}

.depot-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.16;
}

.depot-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.depot-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.depot-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.depot-card h3 {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #16315f;
    position: relative;
    z-index: 1;
}

.depot-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #35527f;
    max-width: 290px;
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.depot-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #16315f;
    position: relative;
    z-index: 1;
}

.depot-arrow {
    transition: transform 0.2s ease;
}

.depot-card:hover .depot-arrow {
    transform: translateX(4px);
}

/* Card 1 */
.depot-card-archive {
    background: linear-gradient(180deg, #dce8f8 0%, #c9dcf4 100%);
}

.depot-card-archive::before {
    background: #7ba5df;
}

/* Card 2 */
.depot-card-bat {
    background: linear-gradient(180deg, #ffe4c7 0%, #ffd5aa 100%);
}

.depot-card-bat::before {
    background: #f5a142;
}

/* Card 3 */
.depot-card-progress {
    background: linear-gradient(180deg, #d8f4e3 0%, #c5ebd4 100%);
}

.depot-card-progress::before {
    background: #41b36f;
}

/* Responsive */
@media (max-width: 1080px) {
    .depot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .depot {
        padding: 58px 0;
    }

    .depot-title {
        font-size: 30px;
    }

    .depot-text {
        font-size: 15px;
    }

    .depot-card {
        min-height: 230px;
        padding: 22px;
        border-radius: 18px;
    }

    .depot-card h3 {
        font-size: 24px;
    }
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background: #16315f;
    color: #e8eef8;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 25px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #cdd8eb;
}

.footer-column a {
    text-decoration: none;
    color: #cdd8eb;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #cdd8eb;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* =========================
   AUTH PAGES
========================= */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #fefefe 35%, #f4f8fd 100%);
    font-family: Arial, Helvetica, sans-serif;
    color: #16315f;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(210, 223, 240, 0.9);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 20px 45px rgba(26, 54, 93, 0.08);
    backdrop-filter: blur(6px);
}

.auth-logo {
    text-align: center;
    margin-bottom: 22px;
}

.auth-logo img {
    max-width: 170px;
    height: auto;
    margin: 0 auto;
}

.auth-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.1;
    color: #16315f;
}

.auth-subtitle {
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #5b6f90;
    margin-bottom: 28px;
}

.auth-alert {
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.auth-alert-error {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #ffd1d1;
}

.auth-alert-success {
    background: #eefbf2;
    color: #1f7a41;
    border: 1px solid #cdeed8;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-field label {
    font-size: 14px;
    font-weight: 600;
    color: #16315f;
}

.auth-field input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #d7e2ef;
    background: #ffffff;
    font-size: 15px;
    color: #16315f;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
    border-color: #2f67ea;
    box-shadow: 0 0 0 4px rgba(47, 103, 234, 0.10);
}

.auth-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f67ea, #4f86ff);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(47, 103, 234, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(47, 103, 234, 0.22);
}

.auth-links {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: #5b6f90;
}

.auth-links a {
    color: #2f67ea;
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* =========================
   DASHBOARD
========================= */
.dashboard-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #fefefe 30%, #f4f8fd 100%);
    font-family: Arial, Helvetica, sans-serif;
    color: #16315f;
}

.dashboard-shell {
    padding: 40px 0 70px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dashboard-brand img {
    max-width: 150px;
    height: auto;
}

.dashboard-welcome h1 {
    font-size: 34px;
    line-height: 1.1;
    color: #16315f;
    margin-bottom: 6px;
}

.dashboard-welcome p {
    font-size: 15px;
    color: #5b6f90;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.dashboard-btn-primary {
    background: linear-gradient(135deg, #2f67ea, #4f86ff);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(47, 103, 234, 0.16);
}

.dashboard-btn-primary:hover {
    transform: translateY(-2px);
}

.dashboard-btn-secondary {
    background: #ffffff;
    color: #16315f;
    border: 1px solid #d7e2ef;
}

.dashboard-btn-secondary:hover {
    background: #f8fbff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 26px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(210, 223, 240, 0.9);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(26, 54, 93, 0.06);
}

.dashboard-card h3 {
    font-size: 22px;
    line-height: 1.15;
    color: #16315f;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5b6f90;
    margin-bottom: 16px;
}

.dashboard-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f67ea;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-card-link:hover {
    text-decoration: underline;
}

.dashboard-info {
    background: linear-gradient(to bottom, #ffffff 0%, #f7faff 100%);
    border: 1px solid #dfe9f5;
    border-radius: 20px;
    padding: 24px;
}

.dashboard-info h2 {
    font-size: 24px;
    color: #16315f;
    margin-bottom: 12px;
}

.dashboard-info p {
    font-size: 15px;
    line-height: 1.75;
    color: #5b6f90;
}

/* =========================
   RESPONSIVE AUTH / DASH
========================= */
@media (max-width: 980px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .auth-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .auth-title {
        font-size: 28px;
    }

    .dashboard-welcome h1 {
        font-size: 28px;
    }

    .dashboard-header {
        align-items: flex-start;
    }
}

html {
    scroll-behavior: smooth;
}


/* =========================
   SMART HEADER
========================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: none;
    border-bottom: 1px solid #e5ecf6;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.header-scrolled {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(22, 49, 95, 0.08);
}

body {
    padding-top: 80px;
}

.hero-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.depot-card-transfer {
    background: linear-gradient(180deg, #d7e9ff 0%, #c4dbff 100%);
}

.depot-card-transfer::before {
    background: #5b91ea;
}

/* =========================
   PORTAL PAGES
========================= */
.portal-page {
    padding-top: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom, #fefefe 20%, #f4f8fd 100%);
    color: #16315f;
}

.portal-header-static {
    position: sticky;
    top: 0;
    transform: none !important;
}

.portal-main {
    padding: 24px 0 70px;
}

.portal-hero {
    padding: 44px 0 26px;
}

.portal-hero-content {
    max-width: 760px;
}

.portal-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #265caa;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.portal-hero h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #16315f;
}

.portal-hero p {
    font-size: 16px;
    line-height: 1.7;
    color: #5b6f90;
    max-width: 720px;
}

.portal-section {
    padding: 22px 0 34px;
}

.portal-section-soft {
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(244,248,253,0.7));
}

.portal-grid-two {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.panel {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(210, 223, 240, 0.9);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 14px 34px rgba(26, 54, 93, 0.06);
}

.panel-head h2,
.section-head-left h2 {
    font-size: 28px;
    color: #16315f;
    margin-bottom: 10px;
}

.panel-head p,
.section-head-left p {
    font-size: 15px;
    line-height: 1.7;
    color: #5b6f90;
}

.portal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.portal-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-field label {
    font-size: 14px;
    font-weight: 600;
    color: #16315f;
}

.portal-field input,
.portal-field textarea,
.admin-move-form select {
    width: 100%;
    border: 1px solid #d7e2ef;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px 16px;
    font-size: 15px;
    color: #16315f;
    outline: none;
}

.portal-field textarea {
    resize: vertical;
    min-height: 130px;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.portal-btn-primary {
    background: linear-gradient(135deg, #2f67ea, #4f86ff);
    color: #fff;
    box-shadow: 0 12px 24px rgba(47, 103, 234, 0.16);
}

.portal-btn-secondary {
    background: #ffffff;
    color: #16315f;
    border: 1px solid #d7e2ef;
}

.portal-btn-ghost {
    background: transparent;
    color: #2f67ea;
    border: 1px dashed #b8cae5;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.timeline-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.timeline-item span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2f67ea;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-item strong {
    display: block;
    margin-bottom: 4px;
    color: #16315f;
}

.timeline-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5b6f90;
}

.quote-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.quote-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(210,223,240,0.9);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(26, 54, 93, 0.06);
}

.quote-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.quote-status,
.quote-number,
.validated-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.quote-status { background: #eef4ff; color: #265caa; }
.quote-number { background: #f5f8fc; color: #5b6f90; }
.validated-pill { background: #e8f8ee; color: #1f7a41; }

.quote-card h3 {
    font-size: 24px;
    color: #16315f;
    margin-bottom: 10px;
}

.quote-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #5b6f90;
    margin-bottom: 18px;
}

.quote-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6c7f9f;
    margin-bottom: 18px;
}

.quote-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quote-card-transfer { border-top: 5px solid #5b91ea; }
.quote-card-progress { border-top: 5px solid #41b36f; }
.quote-card-bat { border-top: 5px solid #f5a142; }
.quote-card-archive { border-top: 5px solid #7ba5df; }

.empty-state {
    background: rgba(255,255,255,0.9);
    border: 1px dashed #cfe0f2;
    border-radius: 22px;
    padding: 34px;
    text-align: center;
    grid-column: 1 / -1;
}

.empty-state h3 {
    font-size: 24px;
    color: #16315f;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 15px;
    line-height: 1.7;
    color: #5b6f90;
}

.admin-table-wrap {
    overflow-x: auto;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(210,223,240,0.9);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 14px 34px rgba(26, 54, 93, 0.06);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 16px 14px;
    border-bottom: 1px solid #e7eef7;
    vertical-align: top;
    font-size: 14px;
    color: #35527f;
}

.admin-table th {
    font-size: 13px;
    color: #16315f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-move-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 1080px) {
    .depot-grid,
    .portal-grid-two,
    .quote-list { grid-template-columns: 1fr; }
    .depot-grid { gap: 18px; }
}

@media (max-width: 768px) {
    .portal-hero h1 { font-size: 32px; }
    .portal-grid-two { gap: 18px; }
    .panel, .quote-card { padding: 20px; border-radius: 18px; }
    .admin-move-form { flex-direction: column; align-items: stretch; }
}

/* =========================
   GLOBAL PAGE LAYOUT
========================= */
.auth-page,
.dashboard-page,
.portal-page {
    display: flex;
    flex-direction: column;
}

.auth-wrapper,
.dashboard-shell,
.portal-main {
    flex: 1;
}

.auth-wrapper {
    min-height: calc(100vh - 220px);
}

.site-footer {
    margin-top: auto;
}


/* Upload & file blocks */
.upload-rules {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.upload-rules span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #f5f8fc;
    color: #35527f;
    border: 1px solid #dce6f2;
}

.quote-list-stack {
    grid-template-columns: 1fr;
}

.quote-card-detailed {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.quote-files-block,
.quote-upload-form {
    background: #f8fbff;
    border: 1px solid #dfe9f5;
    border-radius: 18px;
    padding: 18px;
}

.quote-files-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.quote-files-head h4 {
    font-size: 18px;
    color: #16315f;
    margin: 0;
}

.quote-files-head span {
    font-size: 13px;
    color: #6c7f9f;
}

.quote-files-empty {
    font-size: 14px;
    color: #6c7f9f;
    padding: 8px 0;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e3ebf5;
}

.file-item-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.file-item-main strong {
    font-size: 14px;
    color: #16315f;
    word-break: break-word;
}

.file-item-main span {
    font-size: 12px;
    color: #6c7f9f;
}

.file-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: #eef4ff;
    color: #2f67ea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.file-download-link:hover {
    background: #dfeaff;
}

.quote-upload-form {
    margin-top: 18px;
}

.quote-upload-form .portal-field {
    margin-bottom: 14px;
}

.quote-upload-form input[type="file"] {
    background: #ffffff;
    padding: 12px;
}

@media (max-width: 980px) {
    .quote-card-detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .file-item {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================
   DEMAND LISTS & DETAIL VIEW
========================= */
.portal-grid-demandes {
    align-items: start;
}

.quote-list-summary {
    grid-template-columns: repeat(2, 1fr);
}

.quote-card-linkable {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quote-card-linkable:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(26, 54, 93, 0.10);
    border-color: #bfd3ef;
}

.quote-link-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #2f67ea;
}

.quote-notice-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f6f9fd;
    border: 1px solid #dfe9f5;
    font-size: 13px;
    color: #4c5f7d;
    margin-top: 6px;
}


.quote-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.quote-card-grid .quote-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quote-card-grid .quote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(26, 54, 93, 0.10);
    border-color: #bfd3ef;
}

.quote-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.quote-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.quote-title-row h3 {
    margin: 0;
}

.quote-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.quote-description {
    margin: 0;
    color: #4c5f7d;
}

.quote-card-grid .quote-link-row {
    margin-top: auto;
}

@media (max-width: 1080px) {
    .quote-card-grid {
        grid-template-columns: 1fr;
    }
}

.quote-notice-valid {
    background: #eef9f2;
    border-color: #cfead7;
    color: #1f7a41;
}

.quote-notice-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2f67ea;
    flex-shrink: 0;
}

.quote-status-transfer { background: #eef4ff; color: #265caa; }
.quote-status-progress { background: #eef9f2; color: #1f7a41; }
.quote-status-bat { background: #fff5e8; color: #b96b09; }
.quote-status-archive { background: #f1f5fb; color: #597194; }

.drive-main {
    padding-bottom: 36px;
}

.drive-section {
    padding-top: 34px;
}

.drive-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    margin-bottom: 22px;
}

.drive-topbar-left {
    min-width: 0;
}

.drive-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6c7f9f;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.drive-breadcrumb a {
    color: #2f67ea;
    text-decoration: none;
    font-weight: 600;
}

.drive-topbar h1 {
    font-size: 36px;
    line-height: 1.1;
    color: #16315f;
    margin-bottom: 14px;
}

.drive-top-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.drive-notice-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f7fbff;
    border: 1px solid #dfe9f5;
    font-size: 14px;
    color: #4c5f7d;
    flex-wrap: wrap;
}

.drive-topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.drive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 340px;
    gap: 22px;
}

.drive-files,
.drive-side-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(210,223,240,0.9);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(26, 54, 93, 0.06);
}

.drive-files {
    padding: 22px;
}

.drive-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.drive-toolbar h2 {
    font-size: 24px;
    color: #16315f;
    margin-bottom: 4px;
}

.drive-toolbar p {
    font-size: 14px;
    color: #6c7f9f;
}

.drive-toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.drive-dropzone {
    border: 1px dashed #b9cde8;
    border-radius: 22px;
    background: linear-gradient(to bottom, #f9fbff 0%, #f2f7fd 100%);
    padding: 26px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.drive-dropzone.is-dragover {
    border-color: #2f67ea;
    background: linear-gradient(to bottom, #eef4ff 0%, #e7effb 100%);
    transform: translateY(-2px);
}

.drive-hidden-input {
    display: none;
}

.drive-dropzone-inner {
    text-align: center;
}

.drive-dropzone-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #2f67ea;
    font-size: 24px;
    font-weight: 700;
}

.drive-dropzone h3 {
    font-size: 22px;
    color: #16315f;
    margin-bottom: 8px;
}

.drive-dropzone p {
    font-size: 14px;
    line-height: 1.7;
    color: #5b6f90;
    max-width: 560px;
    margin: 0 auto 12px;
}

.drive-selected-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.drive-selected-files span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dfe9f5;
    font-size: 12px;
    font-weight: 600;
    color: #35527f;
}

.drive-table-wrap {
    overflow-x: auto;
}

.drive-table {
    width: 100%;
    border-collapse: collapse;
}

.drive-table th,
.drive-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e7eef7;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    color: #35527f;
}

.drive-table th {
    font-size: 13px;
    color: #16315f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.drive-file-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drive-file-icon {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #2f67ea;
    font-size: 12px;
    font-weight: 700;
}

.drive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.drive-side-card {
    padding: 22px;
}

.drive-side-card h3 {
    font-size: 20px;
    color: #16315f;
    margin-bottom: 14px;
}

.drive-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drive-info-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #5b6f90;
    border-bottom: 1px solid #eef3f8;
    padding-bottom: 10px;
}

.drive-info-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.drive-info-list strong {
    color: #16315f;
}

.drive-side-text {
    font-size: 14px;
    line-height: 1.7;
    color: #5b6f90;
}

.drive-activity-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.drive-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.drive-activity-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2f67ea;
    margin-top: 4px;
    flex-shrink: 0;
}

.drive-activity-file_uploaded,
.drive-activity-created { background: #2f67ea; }
.drive-activity-quote_sent { background: #9c6bff; }
.drive-activity-moved_to_progress { background: #1f7a41; }
.drive-activity-moved_to_bat { background: #f5a142; }
.drive-activity-bat_validated,
.drive-activity-archived { background: #597194; }

.drive-activity-item strong {
    display: block;
    font-size: 14px;
    color: #16315f;
    margin-bottom: 4px;
}

.drive-activity-item p {
    font-size: 13px;
    line-height: 1.6;
    color: #5b6f90;
    margin-bottom: 4px;
}

.drive-activity-item span {
    font-size: 12px;
    color: #8191aa;
}

.drive-admin-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-move-form-vertical {
    flex-direction: column;
    align-items: stretch;
}

.admin-move-form-vertical select {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #d7e2ef;
    padding: 0 14px;
    background: #fff;
    font-size: 14px;
    color: #16315f;
}

.admin-muted {
    color: #6c7f9f;
    font-size: 13px;
}

.admin-action-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1080px) {
    .quote-list-summary {
        grid-template-columns: 1fr;
    }

    .drive-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .drive-topbar {
        padding: 20px;
    }

    .drive-topbar h1 {
        font-size: 30px;
    }

    .drive-files,
    .drive-side-card {
        padding: 18px;
        border-radius: 18px;
    }

    .drive-dropzone {
        padding: 20px;
        border-radius: 18px;
    }
}


/* =========================
   COPY UPDATE 21/04/2026
========================= */
.hero-text-rich {
    display: grid;
    gap: 12px;
}

.hero-text-rich p {
    margin-bottom: 0;
}

.hero-actions {
    margin-top: 26px;
    flex-wrap: wrap;
}

.hero-btn-link {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-side-card-main {
    max-height: 430px;
    overflow: auto;
}

.hero-side-card-main::-webkit-scrollbar {
    width: 6px;
}

.hero-side-card-main::-webkit-scrollbar-thumb {
    background: rgba(38, 92, 170, 0.25);
    border-radius: 999px;
}

.depot-note,
.portal-bottom-note {
    margin-top: 28px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(64, 180, 88, 0.16), rgba(64, 180, 88, 0.06));
    border: 1px solid rgba(64, 180, 88, 0.25);
    color: #246b36;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 10px 24px rgba(34, 84, 55, 0.06);
}

.portal-note-section {
    padding: 0 0 34px;
}

.drive-side-highlight {
    background: linear-gradient(180deg, rgba(255, 235, 199, 0.78), rgba(255,255,255,0.92));
}

.drive-side-text strong {
    color: #16315f;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-side {
        margin-right: 0;
        max-width: 100%;
    }

    .hero-inner {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        flex: 1 1 auto;
    }
}

@media (max-width: 768px) {
    .hero-title h2,
    .services-title,
    .depot-title {
        font-size: 31px;
    }

    .hero {
        padding-top: 56px;
    }
}


/* =========================
   HERO REWORK INDEX
========================= */
.hero-layout.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 44px;
    align-items: start;
}

.hero-left {
    max-width: 720px;
    padding-top: 8px;
    position: relative;
    z-index: 2;
}

.hero-title-main h2 {
    font-size: 62px;
    line-height: 0.98;
    letter-spacing: -1px;
    margin-bottom: 26px;
}

.hero-copy p {
    font-size: 17px;
    line-height: 1.8;
    color: #4c5f7d;
    max-width: 700px;
    margin-bottom: 12px;
}

.hero-cta-wrap {
    margin-top: 28px;
}

.hero-big-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    padding: 0 34px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f67ea, #4f86ff);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(47, 103, 234, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-big-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(47, 103, 234, 0.22);
}

.hero-small-note {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #5b6f90;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.hero-steps-card,
.hero-price-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(210, 223, 240, 0.88);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(26, 54, 93, 0.06);
    backdrop-filter: blur(5px);
}

.hero-steps-card h3,
.hero-price-card h3 {
    font-size: 20px;
    color: #16315f;
    margin-bottom: 18px;
}

.hero-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.hero-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hero-step span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #2f67ea;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-step strong {
    display: block;
    font-size: 15px;
    color: #16315f;
    margin-bottom: 4px;
}

.hero-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5b6f90;
}

.hero-price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-price-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
    color: #4c5f7d;
}

.hero-price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2f67ea;
    font-weight: 700;
}

/* =========================
   TRANSFERT PAGE REWORK
========================= */
.transfer-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
    gap: 22px;
    align-items: start;
}

.transfer-intro-card,
.transfer-form-panel {
    min-height: 100%;
}

.transfer-highlight-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.transfer-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.transfer-highlight-item span {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #2f67ea;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.transfer-highlight-item strong {
    display: block;
    margin-bottom: 4px;
    color: #16315f;
    font-size: 15px;
}

.transfer-highlight-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #5b6f90;
}

.transfer-important-note {
    margin-top: 18px;
}


.transfer-prep-card {
    margin-top: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dfe9f5;
    border-radius: 18px;
    padding: 20px 22px;
}

.transfer-prep-card h3 {
    font-size: 21px;
    color: #16315f;
    margin-bottom: 14px;
}

.transfer-prep-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transfer-prep-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.65;
    color: #4c5f7d;
}

.transfer-prep-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #2f67ea;
    font-weight: 700;
}

.transfer-files-card {
    margin-top: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dfe9f5;
    border-radius: 18px;
    padding: 20px 22px;
}

.transfer-files-head h3 {
    font-size: 21px;
    color: #16315f;
    margin-bottom: 8px;
}

.transfer-files-head p {
    font-size: 14px;
    line-height: 1.6;
    color: #5b6f90;
    margin-bottom: 14px;
}

.transfer-files-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.transfer-files-types span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef4ff;
    border: 1px solid #d7e3f5;
    color: #35527f;
    font-size: 12px;
    font-weight: 700;
}

.transfer-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transfer-file-item,
.transfer-file-empty {
    border: 1px solid #dfe9f5;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
}

.transfer-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.transfer-file-name {
    font-size: 14px;
    font-weight: 600;
    color: #16315f;
    word-break: break-word;
}

.transfer-file-size,
.transfer-file-empty {
    font-size: 13px;
    color: #5b6f90;
}

.transfer-file-empty {
    line-height: 1.6;
}

.transfer-request-form {
    gap: 16px;
}

.portal-field select {
    width: 100%;
    border: 1px solid #d7e2ef;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px 16px;
    font-size: 15px;
    color: #16315f;
    outline: none;
}

.transfer-form-switches {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.portal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fbff;
    border: 1px solid #dfe9f5;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #35527f;
}

.portal-check input {
    margin-top: 3px;
}

.transfer-mail-box[hidden],
.transfer-upload-block[hidden],
#print_info_wrap[hidden] {
    display: none !important;
}

.transfer-mail-box {
    background: linear-gradient(135deg, #e8f8ee, #d7f2e2);
    border: 1px solid #bde4ca;
    border-radius: 18px;
    padding: 22px;
}

.transfer-mail-box h3 {
    font-size: 22px;
    color: #16315f;
    margin-bottom: 10px;
}

.transfer-mail-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #35527f;
    margin-bottom: 16px;
}

.transfer-mail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
    color: #16315f;
    font-weight: 700;
    text-decoration: none;
}

.transfer-upload-block {
    background: #f8fbff;
    border: 1px solid #dfe9f5;
    border-radius: 18px;
    padding: 20px;
}

.transfer-upload-head h3 {
    font-size: 22px;
    color: #16315f;
    margin-bottom: 8px;
}

.transfer-upload-head p {
    font-size: 14px;
    line-height: 1.6;
    color: #5b6f90;
    margin-bottom: 16px;
}

.transfer-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
    border: 2px dashed #c8d8ee;
    border-radius: 18px;
    background: linear-gradient(to bottom, #ffffff 0%, #f6faff 100%);
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.transfer-dropzone.is-dragover {
    border-color: #2f67ea;
    background: #eef4ff;
    transform: translateY(-2px);
}

.transfer-dropzone-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f67ea, #4f86ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 14px 28px rgba(47,103,234,0.16);
}

.transfer-dropzone strong {
    font-size: 18px;
    color: #16315f;
    margin-bottom: 8px;
}

.transfer-dropzone span,
.transfer-dropzone small {
    display: block;
    color: #5b6f90;
    line-height: 1.6;
}

.transfer-dropzone small {
    font-size: 13px;
    margin-top: 10px;
}

.transfer-selected-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.transfer-selected-files span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef4ff;
    border: 1px solid #d7e3f5;
    color: #35527f;
    font-size: 13px;
    font-weight: 600;
}

.portal-btn-large {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .hero-layout.hero-main,
    .transfer-layout {
        grid-template-columns: 1fr;
    }

    .hero-title-main h2 {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .hero-title-main h2 {
        font-size: 40px;
    }

    .hero-steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-big-cta {
        width: 100%;
        text-align: center;
        font-size: 18px;
        padding: 16px 20px;
    }

    .transfer-dropzone {
        min-height: 180px;
    }
}


/* =========================
   LEGAL PAGES
========================= */
.legal-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #fefefe 0%, #f4f8fd 100%);
}

.legal-shell {
    padding: 56px 0 72px;
}

.legal-card {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(210,223,240,0.92);
    border-radius: 26px;
    padding: 34px 34px 28px;
    box-shadow: 0 18px 42px rgba(16, 44, 84, 0.07);
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f67ea;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-card h1 {
    font-size: 42px;
    line-height: 1.05;
    color: #16315f;
    margin-bottom: 18px;
}

.legal-intro {
    font-size: 16px;
    line-height: 1.75;
    color: #4c5f7d;
    margin-bottom: 24px;
    max-width: 820px;
}

.legal-section {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid #e5edf7;
}

.legal-section h2 {
    font-size: 24px;
    line-height: 1.2;
    color: #16315f;
    margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
    font-size: 15px;
    line-height: 1.8;
    color: #4c5f7d;
}

.legal-section ul {
    list-style: disc;
    margin-left: 20px;
    display: block;
}

.legal-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dfe9f5;
    color: #35527f;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .legal-shell {
        padding: 40px 0 56px;
    }

    .legal-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .legal-card h1 {
        font-size: 34px;
    }

    .legal-section h2 {
        font-size: 22px;
    }
}


/* =========================
   QUOTE FORM / ADMIN ENHANCEMENTS
========================= */
.transfer-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.drive-edit-panel {
    margin-bottom: 22px;
}

.drive-edit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.drive-edit-form .portal-field,
.drive-edit-form .transfer-form-switches,
.drive-edit-form .portal-btn {
    grid-column: span 2;
}

.admin-dashboard-panel {
    padding: 22px;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
}

.admin-filter-actions {
    display: flex;
    gap: 10px;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.admin-summary-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dfe9f5;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-summary-card strong {
    font-size: 28px;
    color: #16315f;
}

.admin-summary-card span {
    color: #5b6f90;
    font-size: 14px;
}

.admin-folder-chip {
    display: inline-flex;
    max-width: 260px;
    margin-top: 8px;
    padding: 6px 9px;
    border: 1px solid rgba(34, 52, 86, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #223456;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.admin-table-large td,
.admin-table-large th {
    vertical-align: top;
}

@media (max-width: 900px) {
    .transfer-dual-grid,
    .drive-edit-form,
    .admin-filter-bar,
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .drive-edit-form .portal-field,
    .drive-edit-form .transfer-form-switches,
    .drive-edit-form .portal-btn {
        grid-column: auto;
    }

    .admin-filter-actions {
        flex-wrap: wrap;
    }
}


/* =========================
   REGISTER REWORK FINAL
========================= */
.register-wrapper {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 58px;
    align-items: flex-start;
}

.auth-card-wide.register-card {
    max-width: 1100px;
    padding: 34px;
}

.register-card .auth-title {
    margin-bottom: 8px;
}

.register-card .auth-subtitle {
    margin-bottom: 24px;
}

.account-type-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 24px;
    padding: 6px;
    background: #eef4ff;
    border: 1px solid #d7e2ef;
    border-radius: 18px;
}

.account-type-option {
    min-height: 50px;
    border-radius: 14px;
    background: transparent;
    color: #35527f;
    font-weight: 800;
    border: none;
    box-shadow: none;
    cursor: pointer;
}

.account-type-option input {
    display: none;
}

.account-type-option span {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 16px;
}

.account-type-option.is-active {
    background: linear-gradient(135deg, #2f67ea, #4f86ff);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(47,103,234,0.18);
}

.register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.register-form > .account-type-switch,
.register-form > .register-section-particulier,
.register-form > .register-section-professionnel,
.register-form > .register-consents,
.register-form > .auth-submit {
    grid-column: 1 / -1;
}

.register-section {
    margin-top: 0;
    padding: 24px 24px 22px;
    border: 1px solid #dfe9f5;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.register-section[hidden],
.register-check[hidden] {
    display: none !important;
}

.register-section h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #16315f;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

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

.register-consents {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.register-check {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #dfe9f5;
    border-radius: 16px;
    background: #f8fbff;
    box-sizing: border-box;
    color: #35527f;
    font-size: 14px;
    line-height: 1.45;
}

.register-check-company {
    background: #eef4ff;
}

.register-check input {
    margin: 0;
    flex: 0 0 auto;
}

.register-check span {
    display: inline-block;
}

.register-check a {
    color: #2f67ea;
    font-weight: 700;
}

@media (max-width: 760px) {
    .auth-card-wide.register-card {
        padding: 22px 18px;
    }

    .register-form,
    .account-type-switch,
    .register-grid,
    .register-grid-3 {
        grid-template-columns: 1fr;
    }

    .register-section {
        padding: 18px;
    }

    .register-check {
        align-items: flex-start;
    }

    .register-check input {
        margin-top: 3px;
    }
}

/* =========================
   ORDIPRESS HOMEPAGE REFERENCE
========================= */
/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6fa;
    color: #223456;
}

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

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

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =========================
   GLOBAL
========================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.ord-narrow {
    max-width: 1100px;
}

.ord-section-title {
    font-size: 50px;
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
    color: #223456;
    margin-bottom: 26px;
}

.ord-section-title.center {
    text-align: center;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(34, 52, 86, 0.1);
}

.ordipress-public-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.ord-header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 88px;
}

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

.ord-header-logo img {
    height: 48px;
    max-width: 228px;
    width: auto;
    object-fit: contain;
}

.ord-header-nav {
    display: flex;
    justify-content: center;
}

.ord-header-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
}

.ord-header-nav a {
    font-size: 15px;
    font-weight: 800;
    color: #223456;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.ord-header-nav a:hover {
    color: #ed2f41;
}

.ord-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ord-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ord-header-btn:hover {
    transform: translateY(-1px);
}

.ord-header-btn-secondary {
    background: #ffffff;
    border: 1px solid rgba(34, 52, 86, 0.14);
    color: #223456;
    box-shadow: 0 10px 25px rgba(34, 52, 86, 0.07);
}

.ord-header-btn-primary {
    background: #ed2f41;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(237, 47, 65, 0.25);
}

/* =========================
   HERO
========================= */
.ord-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #223456 0%, #14223c 100%);
    padding: clamp(58px, 6vh, 76px) 0 clamp(68px, 7vh, 88px);
}

.ord-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    background: #ed2f41;
    z-index: 2;
}

.ord-hero-container {
    position: relative;
    z-index: 2;
}

.ord-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 44px;
    align-items: center;
}

.ord-hero-main {
    max-width: 640px;
}

.ord-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(237, 47, 65, 0.88);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.ord-hero-main h1 {
    margin: 0 0 22px;
    font-size: clamp(52px, 5.1vw, 68px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
    color: #ffffff;
    text-wrap: balance;
}

.ord-hero-subtitle {
    margin: 0 0 24px;
    max-width: 560px;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.93);
}

.ord-hero-access {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ord-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.ord-btn-primary,
.ord-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 205px;
    padding: 16px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ord-btn-primary:hover,
.ord-btn-secondary:hover {
    transform: translateY(-1px);
}

.ord-btn-primary {
    background: #ffffff;
    color: #223456;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.ord-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ord-hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 700;
}

.ord-hero-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 18px;
}

.ord-hover-tile {
    position: relative;
    min-height: 178px;
    padding: 22px;
    border-radius: 28px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ord-hover-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.18);
}

/* ===== HOVER FIXÉ ===== */
.ord-hover-base,
.ord-hover-overlay {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.ord-hover-base {
    justify-content: flex-end;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ord-hover-overlay {
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(12, 28, 61, 0.88), rgba(12, 28, 61, 0.28));
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
}

.ord-hover-tile:hover .ord-hover-base {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
}

.ord-hover-tile:hover .ord-hover-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ord-hover-kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ord-hover-base h3,
.ord-hover-overlay h3 {
    font-size: 21px;
    line-height: 1.12;
    font-weight: 900;
    max-width: 90%;
}

.ord-hover-overlay p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    max-width: 92%;
}

.ord-hover-blue {
    background: linear-gradient(135deg, #3b4e70, #223456);
}

.ord-hover-red {
    background: linear-gradient(135deg, #ff5a68, #ed2f41);
}

.ord-hover-yellow {
    background: linear-gradient(135deg, #f7f9fc, #dce3ee);
    color: #223456;
}

.ord-hover-yellow .ord-hover-kicker {
    background: rgba(34, 52, 86, 0.08);
    color: #223456;
}

.ord-hover-green {
    background: linear-gradient(135deg, #6d7c93, #43536f);
}

.ord-hover-dark {
    background: linear-gradient(135deg, #2c3e5f, #15233d);
}

.ord-hover-orange {
    background: linear-gradient(135deg, #ef5665, #b91f2f);
}

.ord-hero-shape {
    position: absolute;
    border-radius: 38px;
    opacity: 0.98;
    z-index: 1;
}

.ord-hero-shape-yellow {
    left: -80px;
    bottom: -70px;
    width: 260px;
    height: 160px;
    background: rgba(237, 47, 65, 0.88);
    transform: rotate(-8deg);
}

.ord-hero-shape-red {
    right: -40px;
    top: 210px;
    width: 220px;
    height: 220px;
    background: rgba(237, 47, 65, 0.95);
    transform: rotate(-9deg);
}

.ord-hero-shape-green {
    right: -30px;
    bottom: -54px;
    width: 240px;
    height: 145px;
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(-7deg);
}

.ord-hero-shape-blue {
    left: -120px;
    top: 120px;
    width: 260px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(-8deg);
}

/* =========================
   VISUAL PROOF
========================= */
.ord-visual-proof {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding: 36px 0 40px;
    background: #f4f6fa;
}

.ord-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.75fr));
    grid-auto-rows: 235px;
    gap: 18px;
}

.ord-proof-card {
    position: relative;
    min-height: 235px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(34, 52, 86, 0.1);
    border-radius: 8px;
    background: #223456;
    box-shadow: 0 24px 52px rgba(34, 52, 86, 0.15);
}

.ord-proof-card-large {
    grid-row: span 2;
    min-height: 488px;
}

.ord-proof-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

.ord-proof-card:hover img {
    transform: scale(1.055);
}

.ord-proof-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 24, 52, 0.08) 0%, rgba(10, 24, 52, 0.78) 100%);
}

.ord-proof-card figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 22px;
    color: #ffffff;
}

.ord-proof-card figcaption span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    backdrop-filter: blur(8px);
}

.ord-proof-card figcaption strong {
    display: block;
    max-width: 430px;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 900;
}

.ord-proof-card-large figcaption strong {
    font-size: 24px;
    line-height: 1.18;
}

/* =========================
   ABOUT
========================= */
.ord-about {
    padding: 48px 0 22px;
    background: #f4f6fa;
}

.ord-text-box {
    background: #ffffff;
    border: 1px solid rgba(34, 52, 86, 0.1);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 18px 40px rgba(34, 52, 86, 0.06);
}

.ord-text-box p {
    font-size: 18px;
    line-height: 1.8;
    color: #43536f;
    margin-bottom: 16px;
}

.ord-text-box p:last-child {
    margin-bottom: 0;
}

/* =========================
   PROCESS
========================= */
.ord-process {
    padding: 24px 0 66px;
    background: #f4f6fa;
}

.ord-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ord-process-item {
    background: #ffffff;
    border: 1px solid rgba(34, 52, 86, 0.1);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 16px 36px rgba(34, 52, 86, 0.05);
}

.ord-process-item h3 {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #ed2f41;
    margin-bottom: 12px;
}

.ord-process-item strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    color: #223456;
    margin-bottom: 12px;
}

.ord-process-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #43536f;
}

/* =========================
   CATALOG
========================= */
.ord-catalog {
    padding: 86px 0;
    background: #ffffff;
}

.ord-catalog-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
    gap: 30px;
    align-items: center;
    margin: 32px 0 10px;
    padding: 18px;
    border: 1px solid rgba(34, 52, 86, 0.1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(34, 52, 86, 0.06);
}

.ord-catalog-showcase img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.ord-catalog-showcase span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(237, 47, 65, 0.1);
    color: #ed2f41;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

.ord-catalog-showcase h3 {
    max-width: 520px;
    margin: 0 0 14px;
    color: #223456;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.ord-catalog-showcase p {
    max-width: 540px;
    color: #43536f;
    font-size: 17px;
    line-height: 1.7;
}

.ord-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.ord-category {
    background: #ffffff;
    border: 1px solid rgba(34, 52, 86, 0.1);
    border-radius: 24px;
    padding: 26px 24px;
    box-shadow: 0 16px 36px rgba(34, 52, 86, 0.05);
}

.ord-category h4 {
    font-size: 20px;
    line-height: 1.2;
    color: #223456;
    margin-bottom: 14px;
    font-weight: 800;
}

.ord-category ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
}

.ord-category li {
    font-size: 15px;
    line-height: 1.55;
    color: #43536f;
    position: relative;
    padding-left: 18px;
}

.ord-category li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ed2f41;
}

/* =========================
   DEPOT / ESPACE FICHIERS
========================= */
.ord-depot {
    padding: 86px 0;
    background: #f4f6fa;
}

.depot-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 34px;
}

.depot-badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(237, 47, 65, 0.1);
    color: #ed2f41;
    font-size: 13px;
    font-weight: 800;
}

.depot-title {
    font-size: 50px;
    line-height: 1.08;
    color: #223456;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.depot-text {
    font-size: 18px;
    line-height: 1.7;
    color: #4c618c;
}

.depot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.depot-card {
    display: block;
    background: #f8fbff;
    border: 1px solid #dfe9f5;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 38px rgba(19, 45, 95, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.depot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(19, 45, 95, 0.1);
}

.depot-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.depot-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(21, 52, 107, 0.08);
}

.depot-tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(21, 52, 107, 0.08);
    color: #15346b;
}

.depot-card h3 {
    font-size: 26px;
    line-height: 1.08;
    color: #15346b;
    margin-bottom: 12px;
    font-weight: 900;
}

.depot-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #4c618c;
    margin-bottom: 22px;
}

.depot-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 800;
    color: #223456;
}

.depot-arrow {
    font-size: 22px;
}

.depot-card-transfer .depot-icon {
    color: #223456;
}

.depot-card-progress .depot-icon {
    color: #ed2f41;
}

.depot-card-bat .depot-icon {
    color: #334766;
}

.depot-card-archive .depot-icon {
    color: #5c7090;
}

/* =========================
   FOOTER
========================= */
.site-footer,
footer {
    background: #ffffff;
    border-top: 4px solid #ed2f41;
    padding: 58px 0 26px;
    margin-top: 0;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 900;
    color: #15346b;
    margin-bottom: 14px;
}

.footer-column p,
.footer-column a {
    font-size: 15px;
    line-height: 1.7;
    color: #294776;
}

.footer-column a:hover {
    color: #ef4f4f;
}

.footer-bottom {
    max-width: 1280px;
    margin: 26px auto 0;
    padding: 18px 32px 0;
    border-top: 1px solid #ddd3c2;
    font-size: 14px;
    color: #4c618c;
}

/* =========================
   FOOTER HELPERS
========================= */
#contact {
    scroll-margin-top: 110px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .ord-hero-main h1 {
        font-size: 62px;
    }

    .ord-catalog-grid,
    .depot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .ord-proof-card-large {
        grid-column: span 2;
        grid-row: auto;
        min-height: 360px;
    }
}

@media (max-width: 980px) {
    .ord-header-shell {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px 0;
    }

    .ord-header-nav {
        justify-content: flex-start;
    }

    .ord-header-nav ul {
        flex-wrap: wrap;
        gap: 18px;
    }

    .ord-header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ord-hero-grid {
        grid-template-columns: 1fr;
    }

    .ord-hero-main {
        max-width: 100%;
    }

    .ord-hero-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .ord-hero-main h1 {
        font-size: 54px;
    }

    .ord-catalog-showcase {
        grid-template-columns: 1fr;
    }

    .ord-catalog-showcase img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .ord-section-title,
    .depot-title {
        font-size: 38px;
    }

    .ord-hero {
        padding: 48px 0 62px;
    }

    .ord-hero-main h1 {
        font-size: 44px;
    }

    .ord-hero-subtitle {
        font-size: 18px;
    }

    .ord-visual-proof {
        margin-top: 0;
        padding: 28px 0 34px;
    }

    .ord-hero-showcase,
    .ord-proof-grid,
    .ord-catalog-grid,
    .ord-process-grid,
    .depot-grid {
        grid-template-columns: 1fr;
    }

    .ord-proof-grid {
        grid-auto-rows: auto;
    }

    .ord-proof-card,
    .ord-proof-card-large {
        grid-column: auto;
        grid-row: auto;
        min-height: 260px;
    }

    .ord-proof-card figcaption {
        padding: 18px;
    }

    .ord-proof-card figcaption strong,
    .ord-proof-card-large figcaption strong {
        font-size: 17px;
        line-height: 1.25;
    }

    .ord-catalog-showcase {
        padding: 14px;
    }

    .ord-catalog-showcase img {
        height: 250px;
    }

    .ord-catalog-showcase h3 {
        font-size: 28px;
        line-height: 1.14;
    }

    .share-result-panel {
        grid-template-columns: 1fr;
    }

    .ord-btn-primary,
    .ord-btn-secondary {
        width: 100%;
    }

    .ord-hero-mini-points {
        flex-direction: column;
        gap: 10px;
    }

    .ord-hero-shape-red,
    .ord-hero-shape-green {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px;
    }

    .footer-bottom {
        padding: 18px 20px 0;
    }
}
/* =========================
   ORDIPRESS HARMONISATION
========================= */
:root {
    --ord-blue: #223456;
    --ord-blue-soft: #334766;
    --ord-red: #ed2f41;
    --ord-yellow: #f6c845;
    --ord-green: #3a8f7a;
    --ord-cream: #f4f6fa;
    --ord-cream-light: #ffffff;
    --ord-ink: #1f2d46;
    --ord-muted: #43536f;
    --ord-line: #d9e0eb;
    --ord-card: rgba(255, 255, 255, 0.94);
    --ord-shadow: 0 18px 48px rgba(34, 52, 86, 0.11);
}

body,
.auth-page,
.dashboard-page,
.portal-page,
.legal-page {
    background: var(--ord-cream);
    color: var(--ord-blue);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(34, 52, 86, 0.1);
    backdrop-filter: none;
}

.header-inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.header-logo img,
.auth-logo img,
.dashboard-brand img {
    height: 44px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}

.header-nav nav,
.header-nav ul {
    display: flex;
    justify-content: center;
}

.header-nav ul {
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.header-nav a {
    color: var(--ord-blue);
    font-size: 15px;
    font-weight: 800;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.header-nav a:hover,
.header-nav a.is-active {
    color: var(--ord-red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-login,
.btn-signup,
.portal-btn,
.auth-submit,
.dashboard-btn,
.dashboard-card-link {
    border-radius: 999px;
}

.btn-login,
.portal-btn-secondary,
.portal-btn-ghost,
.dashboard-btn-secondary {
    background: #fff;
    color: var(--ord-blue);
    border: 1px solid rgba(21, 52, 107, 0.12);
    box-shadow: 0 10px 25px rgba(21, 52, 107, 0.07);
}

.btn-signup,
.auth-submit,
.portal-btn-primary,
.dashboard-btn-primary {
    background: var(--ord-red);
    color: #fff;
    box-shadow: 0 16px 34px rgba(237, 47, 65, 0.23);
}

.portal-btn-danger {
    background: #fff1f2;
    color: #b42335;
    border: 1px solid rgba(180, 35, 53, 0.18);
    box-shadow: none;
}

.portal-btn-danger:hover {
    background: #ffe4e8;
    color: #8f1d2b;
}

.btn-login,
.btn-signup {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(237, 47, 65, 0.16), transparent 34%),
        radial-gradient(circle at right 12%, rgba(34, 52, 86, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
}

.auth-wrapper {
    width: 100%;
    min-height: calc(100vh - 260px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
}

.auth-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1fr);
    gap: 26px;
    align-items: stretch;
}

.auth-panel-copy,
.auth-card {
    background: var(--ord-card);
    border: 1px solid rgba(21, 52, 107, 0.1);
    border-radius: 24px;
    box-shadow: var(--ord-shadow);
}

.auth-panel-copy {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.auth-panel-copy::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(239, 79, 79, 0.14);
}

.auth-eyebrow,
.portal-badge,
.legal-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(240, 163, 39, 0.17);
    color: #9a5b05;
    border: 1px solid rgba(240, 163, 39, 0.24);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-panel-copy h2 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;
    color: var(--ord-blue);
}

.auth-panel-copy p,
.auth-benefits li,
.auth-subtitle,
.portal-hero p,
.panel-head p,
.section-head-left p,
.quote-card p,
.legal-intro,
.legal-section p,
.legal-section li {
    color: var(--ord-muted);
}

.auth-benefits {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.auth-benefits li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.55;
}

.auth-benefits li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--ord-green);
    flex: 0 0 auto;
}

.auth-card {
    max-width: none;
    padding: 36px;
    backdrop-filter: blur(10px);
}

.auth-card-wide.register-card {
    max-width: 1120px;
    padding: 36px;
}

.auth-title,
.portal-hero h1,
.panel-head h2,
.section-head-left h2,
.quote-card h3,
.legal-card h1,
.legal-section h2 {
    color: var(--ord-blue);
}

.auth-field input,
.portal-field input,
.portal-field textarea,
.portal-field select,
.admin-move-form select {
    border-color: rgba(21, 52, 107, 0.14);
    border-radius: 16px;
    color: var(--ord-blue);
}

.auth-field input:focus,
.portal-field input:focus,
.portal-field textarea:focus,
.portal-field select:focus {
    border-color: var(--ord-blue-soft);
    box-shadow: 0 0 0 4px rgba(47, 87, 207, 0.12);
}

.auth-links a,
.quote-link-row,
.drive-breadcrumb a,
.register-check a,
.transfer-mail-link,
.file-download-link {
    color: var(--ord-blue-soft);
}

.register-wrapper {
    align-items: flex-start;
}

.register-form {
    gap: 20px;
}

.account-type-switch {
    background: #f8f2e7;
    border-color: var(--ord-line);
}

.account-type-option.is-active {
    background: linear-gradient(135deg, var(--ord-red), #f0a327);
    box-shadow: 0 14px 28px rgba(239, 79, 79, 0.2);
}

.register-section,
.register-check,
.panel,
.quote-card,
.legal-card,
.transfer-files-card,
.transfer-prep-card,
.drive-files,
.drive-side-card,
.drive-topbar {
    background: rgba(255, 255, 255, 0.93);
    border-color: rgba(21, 52, 107, 0.1);
    box-shadow: 0 14px 34px rgba(21, 52, 107, 0.08);
}

.portal-main {
    background:
        radial-gradient(circle at 8% 0, rgba(237, 47, 65, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
}

.portal-hero {
    padding: 54px 0 30px;
}

.portal-hero-content {
    max-width: 820px;
}

.portal-hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: 0;
}

.quote-status-transfer,
.quote-status-progress,
.quote-status-bat,
.quote-status-archive,
.quote-status,
.quote-number {
    border: 1px solid rgba(21, 52, 107, 0.08);
}

.quote-status-transfer,
.depot-card-transfer::before {
    background: rgba(34, 52, 86, 0.1);
    color: var(--ord-blue-soft);
}

.quote-status-progress,
.quote-notice-valid {
    background: rgba(36, 168, 121, 0.13);
    color: #16704f;
}

.quote-status-bat {
    background: rgba(240, 163, 39, 0.18);
    color: #9a5b05;
}

.quote-status-archive,
.quote-number {
    background: rgba(21, 52, 107, 0.07);
    color: var(--ord-muted);
}

.quote-card-transfer { border-top-color: var(--ord-blue-soft); }
.quote-card-progress { border-top-color: var(--ord-green); }
.quote-card-bat { border-top-color: var(--ord-yellow); }
.quote-card-archive { border-top-color: #7d8aa0; }

.transfer-dropzone,
.drive-dropzone {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
    border-color: rgba(34, 52, 86, 0.16);
}

.transfer-dropzone-icon,
.drive-dropzone-icon,
.timeline-item span {
    background: rgba(237, 47, 65, 0.1);
    color: var(--ord-blue-soft);
}

.site-footer,
footer.site-footer {
    background: #ffffff;
    border-top: 4px solid var(--ord-red);
    color: var(--ord-blue);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 54px;
    width: auto;
}

.footer-column p,
.footer-column a,
.footer-bottom {
    color: var(--ord-muted);
}

.footer-column a:hover {
    color: var(--ord-red);
}

.footer-brand-text {
    max-width: 330px;
}

.footer-container {
    width: 100%;
}

.footer-column h3 {
    color: var(--ord-blue);
}

.footer-column p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer .footer-grid {
    margin-bottom: 28px;
}

.site-footer .footer-bottom {
    padding-top: 18px;
}

.share-result-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.share-result-panel h2 {
    margin: 0 0 6px;
    color: var(--ord-blue);
    font-size: 22px;
}

.share-result-panel p {
    margin: 0;
    color: var(--ord-muted);
}

.share-result-panel input,
.share-inline-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--ord-line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ord-blue);
    background: #fff;
}

.share-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.drive-file-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.drive-file-actions-inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.drive-upload-compact {
    display: none;
}

.drive-upload-compact .drive-dropzone-inner {
    min-height: 120px;
}

.drive-location-panel {
    margin-bottom: 18px;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid rgba(31, 49, 86, 0.1);
    background: linear-gradient(135deg, #fff 0%, #f7f9fd 100%);
    box-shadow: 0 2px 14px rgba(31, 49, 86, 0.06);
}

.drive-location-label {
    display: block;
    margin-bottom: 8px;
    color: var(--ord-red);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.drive-location-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.drive-location-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--ord-blue-soft);
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 900;
}

.drive-parent-btn {
    flex: 0 0 auto;
}

.drive-location-row a {
    color: var(--ord-blue);
}

.drive-location-row span {
    color: rgba(34, 52, 86, 0.36);
}

.drive-location-panel p {
    margin: 8px 0 0;
    color: var(--ord-blue-soft);
}

.drive-quick-actions {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.drive-page .drive-section {
    background: #f6f8fb;
}

.drive-page .drive-section > .container {
    max-width: 1250px;
}

.drive-page .drive-topbar,
.drive-page .drive-files {
    border-radius: 14px;
    border: 1px solid rgba(31, 49, 86, 0.08);
    box-shadow: 0 2px 14px rgba(31, 49, 86, 0.06);
}

.drive-page .drive-table th {
    background: #f3f7fb;
    color: var(--ord-blue);
    font-size: 0.86rem;
}

.drive-page .drive-table tr:hover td {
    background: #fafcff;
}

.drive-clickable-row {
    cursor: pointer;
}

.drive-clickable-row .storage-main-link {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
}

.drive-page .file-download-link,
.drive-page .drive-file-actions .portal-btn {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.84rem;
}

.drive-folder-create {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid rgba(31, 49, 86, 0.1);
    border-radius: 12px;
    background: #f8fbff;
}

.drive-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.drive-folder-create input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--ord-line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--ord-blue);
    background: #fff;
    font-weight: 700;
}

.drive-item-icon {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 38px;
    flex: 0 0 42px;
    border-radius: 9px;
    background: #eef3fb;
    border: 1px solid rgba(31, 49, 86, 0.08);
}

.drive-item-icon-folder {
    background: #fff3d8;
    border-color: rgba(240, 163, 39, 0.24);
}

.drive-item-icon-folder::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 16px;
    height: 6px;
    border-radius: 4px 4px 0 0;
    background: #f0a327;
}

.drive-item-icon-folder::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 8px;
    height: 20px;
    border-radius: 5px;
    background: #f0a327;
}

.drive-item-icon-file {
    background: #eef3fb;
}

.drive-item-icon-file::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 8px;
    width: 18px;
    height: 22px;
    border-radius: 4px;
    background: #fff;
    border: 2px solid var(--ord-blue-soft);
}

.drive-item-icon-file::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 9px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, transparent 50%, #dce6f4 50%);
    border-radius: 0 3px 0 0;
}

.storage-browser {
    margin: 18px 0 22px;
    border: 1px solid rgba(31, 49, 86, 0.12);
    border-radius: 14px;
    background: #f8fbff;
    overflow: hidden;
}

.storage-pathbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(31, 49, 86, 0.1);
}

.storage-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ord-red);
}

.storage-folder-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(31, 49, 86, 0.1);
}

.storage-folder-tabs a {
    padding: 9px 12px;
    border: 1px solid rgba(31, 49, 86, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--ord-blue);
    font-weight: 800;
    font-size: 0.82rem;
}

.storage-folder-tabs a.is-active {
    border-color: rgba(235, 47, 65, 0.25);
    background: rgba(235, 47, 65, 0.1);
    color: var(--ord-red);
}

.storage-table-wrap {
    margin: 0;
    border-radius: 0;
    border: 0;
}

.storage-main-link {
    color: var(--ord-blue);
    font-weight: 900;
}

.storage-share-form {
    margin: 0;
}

.share-inline-panel {
    width: min(360px, 100%);
}

.share-inline-panel summary {
    cursor: pointer;
    color: var(--ord-red);
    font-weight: 900;
}

.share-inline-form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--ord-line);
    border-radius: 8px;
    background: #fff;
}

.share-inline-form label {
    display: grid;
    gap: 6px;
    color: var(--ord-muted);
    font-size: 13px;
    font-weight: 800;
}

.share-inline-form .share-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-inline-form .share-check input {
    width: auto;
    min-height: 0;
}

.share-existing-links,
.share-link-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.share-existing-links a,
.share-link-item a {
    color: var(--ord-red);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.share-link-item {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--ord-line);
    border-radius: 8px;
    background: #fff;
}

.share-link-item span {
    color: var(--ord-muted);
    font-size: 13px;
}

.ord-section-title,
.admin-table th,
.drive-table th {
    letter-spacing: 0;
}

@media (max-width: 980px) {
    .header-inner,
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .header-nav nav,
    .header-nav ul {
        justify-content: flex-start;
    }

    .header-actions {
        justify-content: flex-start;
    }

    .auth-panel-copy {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .auth-wrapper {
        padding: 34px 18px;
    }

    .auth-card,
    .auth-card-wide.register-card,
    .auth-panel-copy {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .footer-logo img {
        height: 46px;
    }
}
/* =========================
   ORDIPRESS FINAL POLISH
========================= */
.register-eyebrow {
    margin: 0 auto 14px;
}

.register-summary {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: -8px 0 24px;
}

.register-summary span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff8ea;
    border: 1px solid rgba(240, 163, 39, 0.25);
    color: #8a570d;
    font-size: 13px;
    font-weight: 800;
}

.footer-grid {
    grid-template-columns: minmax(260px, 1.25fr) minmax(160px, 0.85fr) minmax(160px, 0.85fr) minmax(220px, 1fr);
}

.footer-brand h3 {
    margin-top: 0;
}

.ord-storage-intro {
    padding: 72px 0 28px;
    background:
        linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
}

.ord-storage-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.ord-storage-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--ord-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ord-storage-copy h2 {
    margin: 0 0 16px;
    color: var(--ord-blue);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
}

.ord-storage-copy p {
    margin: 0;
    max-width: 690px;
    color: var(--ord-blue-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.ord-storage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 26px;
}

.ord-storage-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--ord-red);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(235, 47, 65, 0.22);
}

.ord-storage-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: var(--ord-blue);
    font-weight: 900;
}

.ord-storage-preview {
    min-width: 0;
}

.ord-storage-window {
    border: 1px solid rgba(34, 52, 86, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(34, 52, 86, 0.14);
    overflow: hidden;
}

.ord-storage-window-top {
    display: flex;
    gap: 7px;
    padding: 15px 18px;
    background: var(--ord-blue);
}

.ord-storage-window-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.ord-storage-window-body {
    display: grid;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f3f7fc 100%);
}

.ord-storage-folder,
.ord-storage-file {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(34, 52, 86, 0.1);
    border-radius: 12px;
    background: #fff;
}

.ord-storage-folder span {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(34, 52, 86, 0.08);
    color: var(--ord-blue);
    font-weight: 900;
}

.ord-storage-folder.is-current {
    border-color: rgba(235, 47, 65, 0.28);
}

.ord-storage-folder.is-current span {
    background: rgba(235, 47, 65, 0.12);
    color: var(--ord-red);
}

.ord-storage-folder strong,
.ord-storage-file strong {
    color: var(--ord-blue);
    font-size: 0.95rem;
}

.ord-storage-folder small,
.ord-storage-file small {
    color: var(--ord-blue-soft);
}

.ord-storage-file {
    grid-template-columns: 1fr;
    border-left: 4px solid var(--ord-red);
}

.ord-storage-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ord-storage-mini-grid span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: var(--ord-blue);
    font-size: 0.78rem;
    font-weight: 900;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ord-storage-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .register-summary {
        justify-content: flex-start;
    }

    .ord-storage-intro {
        padding-top: 52px;
    }

    .ord-storage-copy h2 {
        font-size: 2rem;
    }

    .ord-storage-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ord-storage-cta,
    .ord-storage-link {
        width: 100%;
        justify-content: center;
    }

    .ord-storage-window-body {
        padding: 14px;
    }

    .ord-storage-mini-grid {
        grid-template-columns: 1fr;
    }

    .share-copy-row {
        grid-template-columns: 1fr;
    }

    .drive-folder-create,
    .drive-quick-actions {
        grid-template-columns: 1fr;
    }

    .drive-location-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .drive-upload-actions {
        justify-content: stretch;
    }

    .drive-upload-actions .portal-btn {
        width: 100%;
    }
}
