/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; list-style: none; }

html { scroll-behavior: smooth; height: 100%; }

body {
    font-family: Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100%;
    padding-bottom: 5.5rem;
    overflow-x: hidden;
}

h1 {
    font-weight: normal;
    color: rgb(40, 40, 40);
    margin: 20px 0;
}

a {
  color: #316FA2;
  text-decoration: none;
}

a:hover {
  color: #4C8BB7;
}


/* ===== 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;
    vertical-align: middle;
}

/* ===== 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) {
    background: #3a7aa8;
    box-shadow: 0 4px 14px rgba(76, 139, 183, 0.22);
    color: #fff;
}


.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;
}

.id_groupe {
    margin-bottom: 10px;
}

/* ===== 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; align-items: center; }
.hero-ctas .btn-login { padding: 11px 28px; font-size: 1rem; }

/* ===== 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 (3 cartes) ===== */
.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;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(76, 139, 183, 0.15);
    border-color: #4C8BB7;
}
.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; }
}

/* ===== FEATURES DÉTAILLÉES (5 cartes) ===== */
.features-detail { padding: 80px 0; }

.features-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 50px;
}

.feature-detail-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 28px 24px;
    width: calc(33.333% - 16px);
    min-width: 260px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.feature-detail-icon {
    font-size: 1.8rem;
    color: #316FA2;
    margin-bottom: 14px;
}

.feature-detail-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: rgb(40, 40, 40);
}

.feature-detail-list {
    padding: 0;
    margin: 0;
}

.feature-detail-list li {
    font-size: 0.9rem;
    color: #555;
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.5;
}

.feature-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #316FA2;
    font-weight: 600;
}

@media (max-width: 900px) {
    .feature-detail-card { width: calc(50% - 12px); }
}

@media (max-width: 600px) {
    .feature-detail-card { width: 100%; }
}

/* ===== 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;
}
.fs_sketch_img {
    width: 100%;
    min-width: 300px;
    display: block;
    max-width: 100%;
}
.fs_sketch1_container0 {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 900px;
    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: 78%; left: 53%; font-weight: bold; }
.fs_sketch1_container .t4 { top: 42%; left: 22%; text-align: left;}

@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 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; }

.role-card--flip {
    height: 100px;
    perspective: 800px;
    padding: 0;
    overflow: visible;
    cursor: pointer;
}
.role-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}
.role-card--flip:hover .role-card-inner,
.role-card--flip.flipped .role-card-inner {
    transform: rotateY(180deg);
}
.role-card-front,
.role-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
}
.role-card-back {
    transform: rotateY(180deg);
    background: #4C8BB7;
    border: none;
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 768px) {
    .roles-grid { grid-template-columns: repeat(2, 1fr); }
    .role-card--flip { height: 140px; }
}

/* ===== DASHBOARD PREVIEW ===== */
.dash-preview {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-top: 40px;
}
.dash-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.dash-preview-toggle { display: flex; gap: 8px; }
.dash-toggle-btn {
    padding: 7px 18px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    background: #f5f5f5;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    color: #333;
}
.dash-toggle-btn.active { background: #4C8BB7; color: #fff; border-color: #4C8BB7; }
.dash-preview-timefilter { display: flex; gap: 6px; }
.dash-time-btn {
    padding: 5px 12px;
    border-radius: 3px;
    border: 1px solid #f1f1f1;
    background: #f5f5f5;
    font-size: 0.8rem;
    cursor: pointer;
    color: #555;
}
.dash-time-btn.active { background: #d7d7d7; }
.dash-preview-kpis {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.dash-kpi {
    flex: 1;
    min-width: 120px;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
}
.dash-kpi-value { font-size: 1.4rem; font-weight: 600; color: #333; }
.dash-kpi-label { font-size: 0.78rem; color: #888; margin-top: 4px; text-align: center; }
.dash-gauge {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(#4bc0c0 var(--fill), #e0e0e0 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-gauge-inner {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #f5f5f5;
}
.dash-gauge-content { position: absolute; text-align: center; }
.dash-preview-chart { height: 280px; position: relative; }

@media (max-width: 600px) {
    .dash-preview { padding: 16px; }
    .dash-preview-timefilter { display: none; }
    .dash-preview-chart { height: 200px; }
}

/* ===== ROLES PERMISSIONS DETAIL ===== */
.roles-detail-link {
    display: block;
    text-align: center;
    margin-top: 28px;
    color: #4C8BB7;
    font-size: 0.88rem;
    text-decoration: none;
}
.roles-detail-link:hover { text-decoration: underline; }

.roles-detail {
    display: none;
    opacity: 0;
    margin-top: 32px;
    transition: opacity 0.4s ease;
}
.roles-detail.visible { opacity: 1; }

.roles-detail-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin: 28px 0 10px;
}
.roles-detail-title:first-child { margin-top: 0; }

.roles-detail-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.roles-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 620px;
}
.roles-detail-table th {
    background: #4C8BB7;
    color: #fff;
    padding: 8px 10px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
}
.roles-detail-table td {
    padding: 7px 10px;
    border: 1px solid #e5e5e5;
    text-align: center;
    vertical-align: middle;
}
.roles-detail-table tr:nth-child(even) td { background: #f9f9f9; }
.roles-detail-role {
    text-align: left !important;
    font-weight: 500;
    white-space: nowrap;
}
.roles-detail-note {
    display: block;
    font-size: 0.71rem;
    color: #999;
    font-style: italic;
    font-weight: 400;
    margin-top: 2px;
}
.roles-detail-caption {
    font-size: 0.76rem;
    color: #aaa;
    margin-top: 10px;
    text-align: right;
    font-style: italic;
}

/* ===== COOKIE BANNER ===== */
#fs-cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e1e1e1;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    padding: 16px 5%;
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
#fs-cookie-banner p {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    flex: 1;
    min-width: 200px;
}
#fs-cookie-banner p a { color: #4C8BB7; }
.fs-cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
#fs-cookie-refuse {
    padding: 8px 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
#fs-cookie-refuse:hover { border-color: #999; color: #333; }
#fs-cookie-accept {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    background: #4C8BB7;
    color: #fff;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s;
}
#fs-cookie-accept:hover { background: #3a7aa8; }
@media (max-width: 500px) {
    .fs-cookie-btns { width: 100%; }
    #fs-cookie-refuse, #fs-cookie-accept { flex: 1; text-align: center; }
}

/* ===== LANDING SIGNUP ===== */
.ls-section {
    padding: 60px 4%;
    background: linear-gradient(135deg, #f0f6fb 0%, #e8f0f7 100%);
    display: flex;
    justify-content: center;
}

.ls-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(49,111,162,0.12);
    padding: 44px;
    width: 100%;
    max-width: 520px;
}

.ls-header {
    text-align: center;
    margin-bottom: 24px;
}

.ls-header h2 {
    font-size: 1.55rem;
    color: #222;
    margin-bottom: 6px;
}

.ls-header p {
    color: #666;
    font-size: 0.95rem;
}

.ls-progress {
    height: 4px;
    background: #e8edf2;
    border-radius: 4px;
    margin-bottom: 28px;
    overflow: hidden;
}

.ls-progress-bar {
    height: 100%;
    width: 0%;
    background: #4C8BB7;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.ls-step-hidden { display: none !important; }

.ls-step-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    font-size: 1rem;
}

.ls-step-hint {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

/* Mode cards */
.ls-mode-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ls-mode-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 20px;
    border: 1.5px solid #e1e1e1;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.ls-mode-card:hover {
    border-color: #4C8BB7;
    box-shadow: 0 2px 10px rgba(76,139,183,0.12);
}

.ls-mode-card i {
    font-size: 1.4rem;
    color: #4C8BB7;
    margin-bottom: 6px;
}

.ls-mode-card strong {
    font-size: 1rem;
    color: #222;
}

.ls-mode-card span {
    font-size: 0.85rem;
    color: #888;
}

/* Fields */
.ls-field {
    margin-bottom: 14px;
    width: 100%;
}

.ls-field input,
.ls-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d8dde4;
    border-radius: 8px;
    font-size: 0.97rem;
    background: #fafbfc;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ls-field input:focus,
.ls-field select:focus {
    border-color: #4C8BB7;
    background: #fff;
}

.ls-field-row {
    display: flex;
    gap: 12px;
}

.ls-field-row .ls-field {
    flex: 1;
}

.ls-error {
    display: block;
    color: #c0392b;
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 1em;
}

/* OTP code boxes */
.ls-code-boxes {
    display: flex;
    gap: 8px;
    margin: 12px 0 16px;
}

.ls-code-box {
    width: 52px !important;
    height: 58px !important;
    text-align: center;
    font-size: 1.6rem;
    border: 1.5px solid #d8dde4;
    border-radius: 8px;
    background: #fafbfc;
    color: #333;
    outline: none;
    caret-color: #4C8BB7;
    transition: border-color 0.2s;
    padding: 0;
    flex: 1;
    max-width: 58px;
}

.ls-code-box:focus {
    border-color: #4C8BB7;
    background: #fff;
}

/* Buttons */
.ls-btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: #4C8BB7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 4px;
}

.ls-btn-primary:hover:not(:disabled) {
    background: #3a7aa8;
    box-shadow: 0 4px 14px rgba(76,139,183,0.22);
    color: #fff;
}

.ls-btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ls-btn-ghost {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #999;
    border: none;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: center;
    margin-top: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ls-btn-ghost:hover { color: #555; }

/* Back button */
.ls-back {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.ls-back:hover { color: #333; }

/* Groupe list */
.ls-groupe-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.ls-groupe-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e1e1e1;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ls-groupe-item:hover { border-color: #4C8BB7; }

.ls-groupe-item input[type="radio"] { accent-color: #4C8BB7; }

/* No domain */
.ls-nodomain-msg {
    text-align: center;
    padding: 12px 0;
}

.ls-nodomain-msg i {
    font-size: 2rem;
    color: #4C8BB7;
    margin-bottom: 12px;
}

.ls-nodomain-msg p {
    color: #555;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.ls-nodomain-msg .ls-btn-primary {
    margin-top: 14px;
}

/* Success / pending */
.ls-success-icon {
    text-align: center;
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 12px;
}

.ls-pending-icon { color: #f39c12; }

.ls-success-title {
    text-align: center;
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 10px;
}

.ls-success-desc {
    text-align: center;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.ls-btn-go { margin-bottom: 6px; }

.ls-legal {
    text-align: center;
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 12px;
}

@media (max-width: 560px) {
    .ls-card { padding: 28px 20px; }
    .ls-field-row { flex-direction: column; gap: 0; }
    .ls-code-box { height: 50px !important; font-size: 1.3rem; }
}

/* Domain conflict */
.ls-dc-header {
    text-align: center;
    margin-bottom: 16px;
}

.ls-dc-header i {
    font-size: 1.8rem;
    color: #e67e22;
    margin-bottom: 10px;
    display: block;
}

.ls-dc-header p {
    color: #555;
    font-size: 0.93rem;
    margin-bottom: 6px;
}

/* ===== PRICING ===== */
.pricing { padding: 80px 0; }

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 40px auto 0;
    background: #f2f3f4;
    border-radius: 8px;
    padding: 4px;
    width: fit-content;
}

.pricing-toggle-btn {
    padding: 8px 22px;
    border: none;
    border-radius: 6px;
    font-size: 0.92rem;
    cursor: pointer;
    background: transparent;
    color: #666;
    transition: background 0.2s, color 0.2s;
}

.pricing-toggle-btn.active {
    background: #fff;
    color: #222;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.pricing-save-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
}

.pricing-team-label {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.pricing-team-size {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.pricing-size-btn {
    flex: 1;
    padding: 7px 0;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pricing-size-btn.active {
    background: #316FA2;
    border-color: #316FA2;
    color: #fff;
}

.pricing-price-period {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.pricing-annual-note {
    font-size: 0.85rem;
    color: #2e7d32;
    margin-top: -2px;
    margin-bottom: 6px;
    min-height: 1.2em;
}

.pricing-team-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: -4px;
    margin-bottom: 18px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 860px;
    margin: 36px auto 0;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card-featured {
    border-color: #4C8BB7;
    box-shadow: 0 4px 24px rgba(76, 139, 183, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4C8BB7, #316FA2);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.pricing-tier {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #316FA2;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(40, 40, 40);
    margin-bottom: 6px;
}

.pricing-desc {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.925rem;
    color: #333;
}

.pricing-features .fa-check { color: #316FA2; width: 14px; }
.pricing-features .fa-times { color: #d0d0d0; width: 14px; }
.pricing-feat-off { color: #bbb !important; }

.btn-pricing-outline {
    display: block;
    padding: 11px 28px;
    border: 1px solid #316FA2;
    border-radius: 6px;
    color: #316FA2;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.25s, color 0.25s;
}
.btn-pricing-outline:hover { background: #316FA2; color: #fff; }

.pricing-card .btn-primary { display: block; text-align: center; }

@media (max-width: 640px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 36px 24px 28px; }
}

/* ===== 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 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #202020;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 16px 24px;
    font-size: 0.875rem;
}
.footer p { margin: 0 0 6px; }
.footer-links { font-size: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-sep { margin: 0 8px; color: rgba(255,255,255,0.3); }

/* ===== PAGES LÉGALES ===== */
.legal-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    color: #2c2c2c;
    font-size: 0.95rem;
    line-height: 1.75;
}
.legal-container h1 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.legal-container .legal-date {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 40px;
}
.legal-container h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 6px;
    color: #316FA2;
}
.legal-container p { margin: 0 0 10px; }
.legal-container ul { margin: 0 0 10px; padding-left: 20px; }
.legal-container li { margin-bottom: 4px; }
.legal-container a { color: #316FA2; }
