/* =========================
   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: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    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 {
    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 {
    min-height: 100vh;
    background: linear-gradient(to bottom, #fefefe 20%, #f4f8fd 100%);
    color: #16315f;
}

.portal-header-static {
    position: sticky;
    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;
    }
}
