/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { height: 36px; width: auto; }

/* ===== BUTTONS ===== */
.btn-primary {
    color: #fff;
    background: #4C8BB7;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    border: solid 1px white;
    cursor: pointer;
    display: inline-block;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover:not(:disabled) {
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}


.btn-login {
    color: #316FA2;
    background-color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #316FA2;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: color 0.45s ease-in-out;
}
.btn-login::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #34495e 0%, #4C8BB7 65%);
    z-index: -1;
    transition: left 0.45s ease-in-out;
}
.btn-login:hover:not(:disabled)::before { left: 0; }
.btn-login:hover:not(:disabled) { color: #fff; }
.btn-login:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(to bottom, #34495e 0%, #4C8BB7 100%);
    color: #fff;
    padding: 100px 5% 400px;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 300px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.07) 20%, rgba(255, 255, 255, 0.6) 70%, rgba(255, 255, 255, 0.95) 90%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}
.hero-content { max-width: 700px; margin: 0 auto; }
.hero h1 { font-size: 2.6rem; font-weight: 600; margin-bottom: 20px; color: #fff; }
.hero-sub { font-size: 1.15rem; margin-bottom: 40px; opacity: 0.92; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== MOCKUP ===== */
.mockup {
    background: transparent;
    padding: 0 4% 60px;
    text-align: center;
    margin-top: -280px;
    position: relative;
    z-index: 1;
}
.mockup-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.mockup-img {
    width: 100%;
    border-radius: 12px;
}

@media (max-width: 500px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-sub { font-size: 1rem; }
}


@media (max-width: 768px) {
    .hero {
        padding-bottom: 180px;
    }
    .mockup {
        margin-top: -90px;
    }
}

@media (max-width: 360px) {
    .btn-login {
        padding: 8px 10px;
    }
}

/* ===== SECTIONS ===== */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 4%; }
.section-title { font-size: 1.8rem; font-weight: 600; text-align: center; margin-bottom: 12px; color: rgb(40,40,40); }
.section-sub { text-align: center; color: #696969; margin-bottom: 40px; }
.alt-bg { background: #FAFAFB; }

/* ===== FEATURES ===== */
.features { padding: 80px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}
.feature-card {
    background: #FAFAFB;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
}
.feature-icon { font-size: 2rem; color: #316FA2; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; color: rgb(40,40,40); }
.feature-card p { color: #555; font-size: 0.95rem; }

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 80px 0; }
.hiw-row {
    display: flex;
    align-items: center;
    gap: 60px;
}
.hiw-row.reverse { flex-direction: row-reverse; }
.hiw-text { flex: 0 0 300px; }
.hiw-text h2 { font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; color: rgb(40,40,40); }
.hiw-text p { color: #555; margin-bottom: 24px; }
.hiw-img { flex: 1; min-width: 0; text-align: center; }
.hiw-img img { max-width: 100%; border-radius: 8px; }
.hiw-img .fs_sketch_img_container,
.hiw-img .fs_sketch1_container0 { max-width: 100%; width: 100%; }

.hiw-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hiw-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: #444; }
.step-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hiw-row, .hiw-row.reverse { flex-direction: column; gap: 32px; }
}

/* ===== SCHEMAS IMAGE + TEXTE ===== */
.fs_sketch_img_container {
    position: relative;
    max-width: 900px;
    margin: 0;
    overflow-x: auto;
    padding-bottom: 40px;
}
.fs_sketch_img {
    width: 100%;
    min-width: 300px;
    display: block;
    max-width: 100%;
}
.fs_sketch1_container0 {
    position: relative;
    margin: 0;
    padding-top: 70px;
    width: 100%;
    max-width: 900px;
    border: solid 1px #cacaca;
    border-radius: 10px;
}
.fs_sketch1_container {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
}
.fs_sketch1_container img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
}
.text, .fs_sketch1_container0 .t0 {
    position: absolute;
    color: #555;
    transform: translate(-50%, -50%);
    font-size: clamp(10px, 1.5vw, 16px);
}
.fs_sketch1_container0 .t0 { top: 20px; left: 50%; }
.fs_sketch1_container .t1 { font-weight: bold; top: 11%; left: 50%; text-align: left; }
.fs_sketch1_container .t2 { top: 42%; left: 83%; transform: translate(-100%, -49%); text-align: right; }
.fs_sketch1_container .t3 { top: 75%; left: 50%; font-weight: bold; }
.fs_sketch1_container .t4 { top: 42%; left: 26%; }
.fs_sketch_img_container .t1 { top: 19%; left: 50%; }
.fs_sketch_img_container .t2 { top: 74%; left: 50%; }
.fs_sketch_img_container .t3 { top: 90%; left: 15%; }
.fs_sketch_img_container .t4 { top: 90%; left: 84%; white-space: nowrap; }


@media (max-width: 768px) {
  .fs_sketch_img_container .t2 { top: 68%;}
  .fs_sketch_img_container .t3 { top: 84%;}
  .fs_sketch_img_container .t4 { top: 84%; max-width: 20vw; white-space: normal; }
}

@media (max-width: 530px) {
  .fs_sketch_img_container .t2 { top: 60%;}
}

/* ===== ROLES ===== */
.roles { padding: 80px 0; }
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.role-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.role-card i { font-size: 1.6rem; color: #4C8BB7; }
.role-card span { font-size: 0.9rem; color: #444; }

@media (max-width: 768px) {
    .roles-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CONTACT ===== */
.contact { padding: 80px 0; }
.contact-inner { max-width: 640px; margin: 0 auto; padding: 0 5%; }
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.form-row { display: flex; gap: 16px; }
.form-row input { flex: 1; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    background: #FAFAFB;
    color: #333;
    outline: none;
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #316FA2; background: #fff; }
.contact-form button { align-self: flex-start; }

@media (max-width: 500px) {
    .form-row { flex-direction: column; }
}

/* ===== FOOTER ===== */
.footer {
    background: #202020;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 24px;
    font-size: 0.875rem;
}
