/* =========================================================
   EVIS — styles.css complet
   Landing premium + auth + footer + base app
   ========================================================= */

:root {
    --bg: #f7f5f1;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --text: #1b2430;
    --muted: #667085;
    --muted-2: #7b8593;
    --primary: #ef6a2e;
    --primary-soft: rgba(239, 106, 46, 0.10);
    --primary-soft-2: rgba(239, 106, 46, 0.16);
    --border: rgba(27, 36, 48, 0.08);
    --border-strong: rgba(27, 36, 48, 0.12);
    --shadow-sm: 0 10px 24px rgba(27, 36, 48, 0.05);
    --shadow-md: 0 18px 50px rgba(27, 36, 48, 0.08);
    --shadow-lg: 0 28px 80px rgba(27, 36, 48, 0.12);

    --env-accent: #ef6a2e;
    --env-accent-soft: rgba(239, 106, 46, 0.12);
    --env-accent-border: rgba(239, 106, 46, 0.24);
    --env-accent-text: #b84c1b;
}

body.env-perso {
    --env-accent: #8a5a3c;
    --env-accent-soft: rgba(138, 90, 60, 0.14);
    --env-accent-border: rgba(138, 90, 60, 0.30);
    --env-accent-text: #5a341f;
}

body.env-dev {
    --env-accent: #b38a00;
    --env-accent-soft: rgba(179, 138, 0, 0.14);
    --env-accent-border: rgba(179, 138, 0, 0.30);
    --env-accent-text: #6f5300;
}

body.env-uat {
    --env-accent: #7a3fd6;
    --env-accent-soft: rgba(122, 63, 214, 0.14);
    --env-accent-border: rgba(122, 63, 214, 0.30);
    --env-accent-text: #4b2288;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
    background: var(--bg);
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(239, 106, 46, 0.05), transparent 24%),
        radial-gradient(circle at top right, rgba(27, 36, 48, 0.03), transparent 20%),
        radial-gradient(circle at bottom right, rgba(239, 106, 46, 0.04), transparent 22%),
        var(--bg);
}

a {
    color: inherit;
}

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

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

/* =========================================================
   HELPERS
   ========================================================= */

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.section-space {
    padding: 110px 0 0 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        color .2s ease;
}

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

.btn--ghost {
    background: rgba(255, 255, 255, 0.58);
    color: var(--text);
    border-color: var(--border);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.78);
}

.btn--primary {
    background: rgba(255, 248, 243, 0.96);
    color: var(--primary);
    border-color: rgba(239, 106, 46, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn--primary:hover {
    background: rgba(255, 244, 237, 1);
    border-color: rgba(239, 106, 46, 0.30);
    box-shadow: 0 10px 24px rgba(239, 106, 46, 0.10);
}

.btn--large {
    min-height: 52px;
    padding: 0 24px;
    font-size: 15px;
}

.btn--block {
    width: 100%;
}

/* =========================================================
   BASE APP / GENERIC
   ========================================================= */

.appWrap {
    width: min(1200px, 92vw);
    margin: 0 auto;
    padding: 26px 0;
}

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

.card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

/* =========================================================
   LANDING V2 — HEADER
   ========================================================= */

.lp2-main {
    min-height: 100vh;
    padding: 110px 0 40px 0;
    color: var(--text);
}

.lp2-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 60;
    padding: 14px 16px 10px 16px;
    background: transparent;
    pointer-events: none;
}

.lp2-nav {
    width: min(1140px, calc(100vw - 32px));
    margin: 0 auto;
    min-height: 78px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(27, 36, 48, 0.06);
    box-shadow: 0 8px 30px rgba(27, 36, 48, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;

    pointer-events: auto;
}

.lp2-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.lp2-brand__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--primary);
    display: inline-block;
    flex: 0 0 auto;
}

.lp2-brand__name {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--text);
}

.lp2-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.lp2-menu a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    transition: color .18s ease;
}

.lp2-menu a:hover {
    color: var(--text);
}

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

.lp2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        color .2s ease;
    cursor: pointer;
}

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

.lp2-btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}

.lp2-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(27, 36, 48, 0.06);
}

.lp2-btn--primary {
    background: rgba(255, 248, 243, 0.96);
    color: var(--primary);
    border: 1px solid rgba(239, 106, 46, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.lp2-btn--primary:hover {
    background: rgba(255, 244, 237, 1);
    border-color: rgba(239, 106, 46, 0.30);
    box-shadow: 0 8px 24px rgba(239, 106, 46, 0.10);
}

.lp2-btn--lg {
    min-height: 52px;
    padding: 0 24px;
    font-size: 15px;
}

.lp2-btn--block {
    width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.lp2-hero {
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 56px 0 40px 0;
    min-height: calc(100vh - 120px);

    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 46px;
}

.lp2-hero__inner {
    max-width: 640px;
}

.lp2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.lp2-kicker__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    display: inline-block;
}

.lp2-title {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(52px, 6.6vw, 90px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.055em;
    color: var(--text);
}

.lp2-title__accent {
    color: var(--primary);
}

.lp2-subtitle {
    margin: 26px 0 0 0;
    max-width: 64ch;
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.72;
    color: var(--muted);
    font-weight: 400;
}

.lp2-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* =========================================================
   HERO VISUAL
   ========================================================= */

.lp2-heroVisual {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp2-browser {
    position: relative;
    width: min(100%, 620px);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lp2-browser__top {
    height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(27, 36, 48, 0.06);
    background: rgba(255, 255, 255, 0.64);
}

.lp2-browser__top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(27, 36, 48, 0.16);
    display: inline-block;
}

.lp2-browser__body {
    padding: 26px;
}

.lp2-mockupHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.lp2-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(239, 106, 46, 0.10);
    color: var(--primary);
    border: 1px solid rgba(239, 106, 46, 0.18);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 14px;
}

.lp2-mockupHeader h3 {
    margin: 0;
    max-width: 14ch;
    font-size: 30px;
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: 500;
    color: var(--text);
}

.lp2-miniStat {
    min-width: 110px;
    padding: 16px 16px 14px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: 0 10px 24px rgba(27, 36, 48, 0.06);
    text-align: left;
}

.lp2-miniStat strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: var(--text);
}

.lp2-miniStat span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.lp2-mockupGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lp2-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 36, 48, 0.08);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(27, 36, 48, 0.05);
    min-height: 160px;
}

.lp2-card--large {
    grid-column: span 2;
    min-height: 220px;
}

.lp2-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 12px;
    letter-spacing: .01em;
}

.lp2-card h4 {
    margin: 0;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    font-weight: 700;
}

.lp2-card p {
    margin: 10px 0 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.lp2-progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(27, 36, 48, 0.08);
    overflow: hidden;
    margin-top: 20px;
}

.lp2-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ef6a2e 0%, #ff8f5a 100%);
}

.lp2-metaRow {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.lp2-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: 0 16px 34px rgba(27, 36, 48, 0.08);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lp2-float__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    display: inline-block;
}

.lp2-float--left {
    left: -18px;
    bottom: 90px;
}

.lp2-float--right {
    right: -24px;
    top: 110px;
}

/* =========================================================
   TRUST BAND
   ========================================================= */

.lp2-trust {
    width: min(1180px, 92vw);
    margin: 8px auto 0 auto;
    padding: 18px 0 8px 0;
}

.lp2-trust__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 34px;
    padding: 26px 10px 0 10px;
    color: rgba(27, 36, 48, 0.92);
    font-size: clamp(18px, 2vw, 26px);
    letter-spacing: -0.03em;
    font-weight: 700;
}

.lp2-trust__row span:first-child {
    color: var(--muted);
    font-weight: 500;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.lp2-section {
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 110px 0 0 0;
}

.lp2-section--soft {
    padding-top: 95px;
}

.lp2-section__head {
    max-width: 760px;
    margin-bottom: 30px;
}

.lp2-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lp2-section__title {
    margin: 0;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 500;
    color: var(--text);
}

.lp2-section__text {
    margin: 18px 0 0 0;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.75;
    color: var(--muted);
    max-width: 68ch;
}

.lp2-section__head--center .lp2-section__text {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   FEATURES
   ========================================================= */

.lp2-featureGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.lp2-featureCard {
    min-height: 220px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease;
}

.lp2-featureCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(27, 36, 48, 0.12);
    border-color: rgba(239, 106, 46, 0.18);
}

.lp2-featureCard__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(239, 106, 46, 0.10);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.lp2-featureCard h3 {
    margin: 18px 0 0 0;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 600;
    color: var(--text);
}

.lp2-featureCard p {
    margin: 12px 0 0 0;
    color: var(--muted);
    line-height: 1.72;
    font-size: 15px;
}

/* =========================================================
   TESTIMONIALS / COMMENTS CAROUSEL
   ========================================================= */

.lp2-testimonials {
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 110px 0 0 0;
}

.lp2-testimonialViewport {
    overflow: hidden;
    margin-top: 30px;
    border-radius: 34px;
}

.lp2-testimonialTrack {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 360px);
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px 14px 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lp2-testimonialTrack::-webkit-scrollbar {
    display: none;
}

.lp2-testimonialCard {
    scroll-snap-align: start;
    min-height: 250px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lp2-testimonialStars {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 16px;
}

.lp2-testimonialText {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.lp2-testimonialMeta {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp2-testimonialAvatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef6a2e, #ff955f);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(239, 106, 46, 0.18);
}

.lp2-testimonialName {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

.lp2-testimonialRole {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* =========================================================
   RGPD
   ========================================================= */

.lp2-rgpdGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.lp2-rgpdCard {
    min-height: 220px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lp2-rgpdCard h3 {
    margin: 0;
    font-size: 26px;
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 600;
    color: var(--text);
}

.lp2-rgpdCard p {
    margin: 14px 0 0 0;
    font-size: 15px;
    line-height: 1.72;
    color: var(--muted);
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.lp2-finalCta {
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 100px 0 30px 0;
}

.lp2-finalCta__box {
    padding: 46px 32px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(239, 106, 46, 0.10), transparent 28%),
        rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: var(--shadow-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lp2-finalCta__box .lp2-kicker {
    justify-content: center;
    width: 100%;
}

.lp2-finalCta__box h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 500;
    color: var(--text);
}

.lp2-finalCta__box p {
    max-width: 60ch;
    margin: 18px auto 0 auto;
    font-size: 17px;
    line-height: 1.72;
    color: var(--muted);
}

.lp2-finalCta__box .lp2-cta {
    justify-content: center;
    margin-top: 26px;
}

/* =========================================================
   AUTH MODAL
   ========================================================= */

.authOverlay {
    position: fixed;
    inset: 0;
    background: rgba(27, 36, 48, 0.46);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 100;
}

.authOverlay:target {
    opacity: 1;
    pointer-events: auto;
}

.authModal {
    width: min(460px, 92vw);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 26px 24px;
    border: 1px solid rgba(27, 36, 48, 0.08);
    box-shadow: 0 30px 90px rgba(27, 36, 48, 0.22);
    position: relative;
    animation: modalUp .35s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.authModal--wide {
    width: min(560px, 92vw);
    max-height: 86vh;
    overflow: auto;
}

@keyframes modalUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.authClose {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 22px;
    text-decoration: none;
    color: #64748b;
    font-weight: 700;
}

.authHeader {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.authLogo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef6a2e, #ff955f);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.authTitle {
    margin: 0;
    font-size: 20px;
    color: var(--text);
}

.authSubtitle {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    text-align: center;
    line-height: 1.5;
}

.authSocial {
    display: grid;
    gap: 10px;
}

.authSocialBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    border: none;
    opacity: .95;
    text-decoration: none;
    cursor: pointer;
}

.authSocialBtn:hover {
    opacity: 1;
    filter: brightness(1.15);
}

.authGoogleBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1.5px solid #e5e7eb;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 0 rgba(66,133,244,0);
    transition: box-shadow .18s ease, border-color .18s ease, transform .12s ease;
    position: relative;
    overflow: hidden;
}

.authGoogleBtn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(66,133,244,0.04), rgba(52,168,83,0.04));
    opacity: 0;
    transition: opacity .18s ease;
}

.authGoogleBtn:hover {
    border-color: #c5d0e6;
    box-shadow: 0 3px 12px rgba(66,133,244,0.14);
    transform: translateY(-1px);
}

.authGoogleBtn:hover::before {
    opacity: 1;
}

.authGoogleBtn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.authGoogleBtn svg {
    flex-shrink: 0;
}

.authDivider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin: 16px 0;
    font-size: 12px;
    color: var(--muted);
}

.authDivider::before,
.authDivider::after {
    content: "";
    height: 1px;
    background: #e5e7eb;
}

.authForm,
.authForm--long {
    display: grid;
    gap: 10px;
}

.authLabel {
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
}

.authInput {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 0 12px;
    background: #fff;
    color: var(--text);
}

.authInput:focus {
    outline: none;
    border-color: rgba(239, 106, 46, 0.34);
    box-shadow: 0 0 0 4px rgba(239, 106, 46, 0.10);
}

.authPrimaryBtn {
    min-height: 46px;
    margin-top: 8px;
    border-radius: 14px;
    border: none;
    background: #ef6a2e;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.authPrimaryBtn:hover {
    filter: brightness(.98);
}

.authForgotLink {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.62);
    text-decoration: none;
}

.authForgotLink:hover {
    color: #111827;
}

.authHint,
.authHelp {
    font-size: 12px;
    color: var(--muted);
}

.authHelp {
    margin-top: -4px;
}

.authFooterLinks {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
}

.authError {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fdecea;
    color: #b42318;
    border-radius: 10px;
    font-size: 14px;
}

.authBlock {
    background: rgba(243, 246, 251, .65);
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    gap: 10px;
}

.authBlockTitle {
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.req {
    color: #ef4444;
    font-weight: 900;
}

.opt {
    color: rgba(71, 85, 105, .9);
    font-weight: 800;
    font-size: 12px;
}

.inlineLink {
    color: var(--primary);
    font-weight: 900;
    text-decoration: none;
}

.inlineLink:hover {
    text-decoration: underline;
}

/* =========================================================
   FOOTER — raccord landing
   ========================================================= */

.siteFooter {
    margin-top: 110px;
    background:
        linear-gradient(to bottom, rgba(247, 245, 241, 0), rgba(255, 255, 255, 0.58)),
        var(--bg);
    border-top: 1px solid rgba(27, 36, 48, 0.06);
}

.siteFooter__inner {
    width: min(1140px, 92vw);
    margin: 0 auto;
    padding: 34px 0 42px 0;
}

.siteFooter__brand {
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.siteFooter__logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 30%, #ff9b69, transparent 45%),
        linear-gradient(135deg, #ef6a2e, #ff8f5a);
    box-shadow: 0 12px 26px rgba(239, 106, 46, 0.20);
}

.siteFooter__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
}

.siteFooter__link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    transition: color .18s ease;
}

.siteFooter__link:hover {
    color: var(--text);
    text-decoration: none;
}

.siteFooter__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
    color: var(--muted-2);
    font-size: 13px;
    line-height: 1.6;
}

.siteFooter__sep {
    opacity: .45;
}

/* =========================================================
   GOOGLE CALENDAR / APP UTILS
   ========================================================= */

.gcal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 16px 0;
}

.gcal-left,
.gcal-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gcal-title {
    margin-left: 12px;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-primary {
    border: 1px solid #1a73e8;
    background: #1a73e8;
    color: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    filter: brightness(.95);
}

.plus {
    font-size: 18px;
    line-height: 1;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.icon-btn:hover {
    background: #f9fafb;
}

.segmented {
    display: inline-flex;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
}

.seg-btn {
    border: 0;
    background: transparent;
    color: #374151;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.seg-btn.is-active {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.gcal-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
}

.fc .fc-header-toolbar {
    display: none !important;
}

.fc .fc-daygrid-day-number {
    font-weight: 700;
    color: #111827;
}

.fc-theme-standard td,
.fc-theme-standard th {
    border-color: #eef2f7;
}

.fc .fc-col-header-cell-cushion {
    color: #6b7280;
    font-weight: 800;
}

.fc .fc-scrollgrid {
    border: 0;
}

.fc .fc-daygrid-day.fc-day-today {
    background: rgba(26, 115, 232, .08) !important;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    background: #1a73e8;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
}

.fc .fc-event {
    border-radius: 10px;
    border: 0;
    padding: 2px 6px;
    font-weight: 700;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .35);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 1000;
}

.modal {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
    overflow: hidden;
    padding: 16px;
}

.modal-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f7;
}

.modal-title {
    font-weight: 900;
    font-size: 16px;
    color: #111827;
}

.modal-body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.modal-footer {
    padding: 14px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #eef2f7;
}

.row {
    display: grid;
    gap: 6px;
}

.row.two {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 900;
}

input,
textarea {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, .12);
}

/* =========================================================
   ADD MEMBER MODAL OVERRIDE
   ========================================================= */

#addMemberModal.modalOverlay {
    background: rgba(17, 24, 39, .38) !important;
    padding: 18px !important;
}

#addMemberModal .modalCard {
    width: min(920px, 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, .10) !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .22) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

#addMemberModal .modalTop {
    padding: 18px 18px 14px !important;
    border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
    background: #fff !important;
}

#addMemberModal .modalTitle {
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: -.2px !important;
}

#addMemberModal .modalClose {
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0, 0, 0, .10) !important;
    background: #fff !important;
    display: grid !important;
    place-items: center !important;
    cursor: pointer !important;
}

#addMemberModal .modalClose:hover {
    background: rgba(0, 0, 0, .05) !important;
}

#addMemberModal .modalForm {
    padding: 16px 18px 18px !important;
}

#addMemberModal .modalSectionTitle {
    font-size: 12px !important;
    font-weight: 900 !important;
    color: rgba(0, 0, 0, .55) !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    margin: 2px 0 10px 2px !important;
}

#addMemberModal .authLabel {
    font-size: 12px !important;
    font-weight: 900 !important;
    color: rgba(0, 0, 0, .60) !important;
    margin-left: 2px !important;
}

#addMemberModal .authInput {
    border: 1px solid rgba(0, 0, 0, .12) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    background: #fff !important;
}

#addMemberModal .authInput:focus {
    border-color: #1a73e8 !important;
    box-shadow: 0 0 0 5px rgba(26, 115, 232, .14) !important;
}

#addMemberModal .authHelp {
    font-size: 12px !important;
    color: rgba(0, 0, 0, .55) !important;
    margin: 6px 0 0 2px !important;
}

#addMemberModal .cityPicker {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid rgba(0, 0, 0, .12) !important;
    border-radius: 16px !important;
    padding: 10px 12px !important;
    background: #fff !important;
    margin-bottom: 10px !important;
}

#addMemberModal .cityIcon {
    font-size: 20px !important;
    color: rgba(0, 0, 0, .55) !important;
}

#addMemberModal .citySearch {
    border: none !important;
    outline: none !important;
    width: 100% !important;
    font-size: 14px !important;
}

#addMemberModal .checkRow {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(0, 0, 0, .10) !important;
    border-radius: 16px !important;
    background: rgba(0, 0, 0, .02) !important;
    font-weight: 800 !important;
}

#addMemberModal .modalBottom {
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(0, 0, 0, .08) !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

#addMemberModal .tbBtn {
    border-radius: 999px !important;
    padding: 10px 14px !important;
    font-weight: 900 !important;
}

#addMemberModal .tbBtnPrimary {
    width: auto !important;
    padding: 10px 16px !important;
    background: #1a73e8 !important;
    border-color: #1a73e8 !important;
    color: #fff !important;
}

#addMemberModal .tbBtnPrimary:hover {
    filter: brightness(.96) !important;
}

#addMemberModal .formError {
    margin: 14px 18px 0 18px !important;
    border-radius: 16px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .lp2-hero {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
        padding-top: 34px;
    }

    .lp2-hero__inner {
        max-width: 760px;
    }

    .lp2-title {
        max-width: 13ch;
    }

    .lp2-heroVisual {
        min-height: auto;
        padding-top: 8px;
    }

    .lp2-float--left {
        left: 8px;
        bottom: 22px;
    }

    .lp2-float--right {
        right: 8px;
        top: 18px;
    }
}

@media (max-width: 980px) {
    .lp2-nav {
        grid-template-columns: 1fr auto;
        min-height: 68px;
        padding: 10px 12px;
        gap: 12px;
    }

    .lp2-menu {
        display: none;
    }

    .lp2-brand__name {
        font-size: 28px;
    }

    .lp2-actions {
        gap: 8px;
    }

    .lp2-btn {
        min-height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }

    .lp2-title {
        max-width: none;
        font-size: clamp(42px, 10vw, 64px);
    }

    .lp2-section__title {
        font-size: clamp(32px, 8vw, 46px);
    }

    .lp2-featureGrid,
    .lp2-rgpdGrid,
    .lp2-mockupGrid {
        grid-template-columns: 1fr;
    }

    .lp2-card--large {
        grid-column: span 1;
    }

    .lp2-mockupHeader {
        flex-direction: column;
    }

    .lp2-miniStat {
        width: 100%;
    }

    .lp2-featureCard,
    .lp2-rgpdCard {
        min-height: unset;
    }

    #addMemberModal.modalOverlay {
        align-items: flex-end !important;
        padding: 12px !important;
    }

    #addMemberModal .modalCard {
        width: 100% !important;
        border-radius: 22px !important;
    }

    #addMemberModal .modalForm {
        padding: 14px 14px 16px !important;
    }

    #addMemberModal .grid2,
    #addMemberModal .grid3 {
        grid-template-columns: 1fr !important;
    }

    #addMemberModal .modalBottom {
        padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    }
}

@media (max-width: 640px) {
    .lp2-header {
        padding: 14px 10px 8px 10px;
    }

    .lp2-nav {
        width: calc(100vw - 20px);
        border-radius: 24px;
    }

    .lp2-btn--lg {
        width: 100%;
    }

    .lp2-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .lp2-hero {
        width: min(94vw, 100%);
        padding-top: 26px;
    }

    .lp2-subtitle {
        font-size: 16px;
    }

    .lp2-browser__body {
        padding: 18px;
    }

    .lp2-card h4,
    .lp2-mockupHeader h3,
    .lp2-featureCard h3,
    .lp2-rgpdCard h3 {
        font-size: 22px;
    }

    .lp2-float {
        position: static;
        margin-top: 10px;
    }

    .lp2-heroVisual {
        display: block;
    }

    .lp2-finalCta__box {
        padding: 34px 20px;
    }

    .lp2-trust__row {
        gap: 14px 18px;
        font-size: 18px;
        justify-content: flex-start;
    }

    .siteFooter {
        margin-top: 80px;
    }

    .siteFooter__inner {
        padding: 28px 0 34px 0;
    }

    .siteFooter__links,
    .siteFooter__bottom {
        justify-content: center;
    }
}