/* ============================================
   MAÎTRE FATOU KINÉ BA — HUISSIER DE JUSTICE
   Palette : Slate Navy + Burgundy Wine accent
   Style  : Swiss Modernism 2.0 + Trust & Authority
   Typo   : EB Garamond (display) + Lato (body)
   ============================================ */

/* --- DESIGN TOKENS --- */
:root {
    /* Primary — Deep Slate Navy */
    --navy:          #1B2A4A;
    --navy-deep:     #0F1D35;
    --navy-light:    #2C3E5F;

    /* Accent — Burgundy Wine (replaces gold tones) */
    --accent:        #7B2D3B;
    --accent-light:  #9C4154;
    --accent-pale:   #F2E8EA;

    /* Neutrals — Warm paper tones */
    --bg:            #F8F6F3;
    --bg-warm:       #F3F0EC;
    --bg-section:    #EFECEA;
    --white:         #FFFFFF;
    --text:          #1A1A1A;
    --text-mid:      #4A4A4A;
    --text-light:    #6E6E6E;
    --border:        #D8D4CF;
    --border-light:  #E8E5E0;

    /* Functional */
    --whatsapp:      #25D366;
    --radius:        6px;
    --radius-lg:     12px;
    --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:     0 1px 3px rgba(27,42,74,0.06);
    --shadow-md:     0 4px 16px rgba(27,42,74,0.08);
    --shadow-lg:     0 8px 32px rgba(27,42,74,0.1);

    /* Layout */
    --max-width:     1200px;
    --nav-height:    72px;
}

/* --- RESET & BASE --- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
    font-family: inherit;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    width: 100%;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-pale);
}
textarea { resize: vertical; }
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234A4A4A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* --- UTILITY --- */
.section-tag {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}
.section-line {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin-top: 20px;
}
.section-subtitle {
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.7;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--navy);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn--outline {
    border: 1.5px solid var(--navy);
    color: var(--navy);
    background: transparent;
}
.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}
.btn--whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    justify-content: center;
    width: 100%;
    margin-top: 12px;
}
.btn--whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-1px);
}
.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(248,246,243,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.nav--scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}
.nav__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav__brand-icon {
    width: 36px;
    height: 36px;
    color: var(--navy);
}
.nav__brand-icon svg { width: 100%; height: 100%; }
.nav__brand-text { display: flex; flex-direction: column; }
.nav__brand-name {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}
.nav__brand-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav__link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav__link:hover,
.nav__link.active {
    color: var(--navy);
}
.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}
.nav__link--cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
    background: var(--navy-light);
}
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}
.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu__links {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu__link {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.mobile-menu__link:hover { background: var(--bg); }
.mobile-menu__link--cta {
    background: var(--navy);
    color: var(--white) !important;
    text-align: center;
    margin-top: 8px;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    overflow: hidden;
}
.hero__bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(90deg, var(--navy) 0px, var(--navy) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg, var(--navy) 0px, var(--navy) 1px, transparent 1px, transparent 80px);
}
.hero__container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}
.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero__title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(36px, 5.5vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--navy-deep);
    margin-bottom: 24px;
}
.hero__title-line {
    display: block;
}
.hero__title-line--accent {
    color: var(--accent);
    font-style: italic;
}
.hero__title-line--serif {
    font-weight: 700;
}
.hero__subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-mid);
    max-width: 520px;
    margin-bottom: 36px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero__stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero__stat { text-align: center; }
.hero__stat-number {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.hero__stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-light);
    line-height: 1.4;
    margin-top: 4px;
    display: block;
}
.hero__stat-label--large {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero__visual-frame {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 32px 32px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
}
.hero__visual-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 3px 3px;
}
.hero__visual-scales {
    width: 160px;
    margin: 0 auto 24px;
    color: var(--navy);
}
.hero__scales-svg {
    width: 100%;
    height: auto;
    animation: scalesFloat 4s ease-in-out infinite;
}
@keyframes scalesFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.hero__visual-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}
.hero__visual-separator { color: var(--accent); font-size: 16px; }

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero__scroll-indicator span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}
.hero__scroll-line {
    width: 1px;
    height: 32px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--navy);
    padding: 0;
}
.trust-bar__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
}
.trust-bar__item:last-child { border-right: none; }
.trust-bar__icon { color: var(--accent-light); flex-shrink: 0; }
.trust-bar__text { font-size: 13px; line-height: 1.4; }
.trust-bar__text strong { display: block; color: var(--white); font-weight: 700; }
.trust-bar__text span { opacity: 0.6; font-size: 12px; }

/* --- CABINET --- */
.cabinet {
    padding: 100px 24px;
    background: var(--bg);
}
.cabinet__container { max-width: var(--max-width); margin: 0 auto; }
.cabinet__header { margin-bottom: 56px; }
.cabinet__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}
.cabinet__lead {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    line-height: 1.6;
    color: var(--navy);
    margin-bottom: 20px;
}
.cabinet__text {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
}

/* Cabinet Card */
.cabinet__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.cabinet__card-header {
    background: var(--navy);
    padding: 14px 28px;
}
.cabinet__card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.cabinet__card-name {
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    padding: 24px 28px 0;
}
.cabinet__card-details { padding: 16px 28px 20px; }
.cabinet__card-detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}
.cabinet__card-detail:last-child { border-bottom: none; }
.cabinet__card-detail-label { color: var(--text-light); font-weight: 400; }
.cabinet__card-detail-value { color: var(--text); font-weight: 700; }
.cabinet__card-contact {
    padding: 0 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cabinet__card-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    transition: opacity var(--transition);
}
.cabinet__card-phone:hover { opacity: 0.7; }

/* --- COMPETENCES --- */
.competences {
    padding: 100px 24px;
    background: var(--bg-section);
}
.competences__container { max-width: var(--max-width); margin: 0 auto; }
.competences__header { margin-bottom: 56px; }
.competences__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Competence Card */
.competence-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: all var(--transition);
    overflow: hidden;
}
.competence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.5s ease;
}
.competence-card:hover::before { height: 100%; }
.competence-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.competence-card__number {
    font-family: 'EB Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--bg-section);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
    transition: color var(--transition);
}
.competence-card:hover .competence-card__number { color: var(--accent-pale); }
.competence-card__icon {
    color: var(--accent);
    margin-bottom: 20px;
}
.competence-card__title {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}
.competence-card__desc {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}
.competence-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.competence-card__list li {
    font-size: 13px;
    color: var(--text-mid);
    padding-left: 16px;
    position: relative;
}
.competence-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* --- DEMARCHES --- */
.demarches {
    padding: 100px 24px;
    background: var(--bg);
}
.demarches__container { max-width: var(--max-width); margin: 0 auto; }
.demarches__header { margin-bottom: 56px; }
.demarches__timeline {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}
.demarches__timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
.demarche-step {
    display: flex;
    gap: 28px;
    padding-bottom: 40px;
    position: relative;
}
.demarche-step:last-child { padding-bottom: 0; }
.demarche-step__marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: all var(--transition);
}
.demarche-step__marker span {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    transition: color var(--transition);
}
.demarche-step:hover .demarche-step__marker {
    background: var(--accent);
}
.demarche-step:hover .demarche-step__marker span {
    color: var(--white);
}
.demarche-step__content { padding-top: 8px; }
.demarche-step__content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.demarche-step__content p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
}

/* --- FAQ --- */
.faq {
    padding: 100px 24px;
    background: var(--bg-section);
}
.faq__container { max-width: var(--max-width); margin: 0 auto; }
.faq__header { margin-bottom: 48px; }
.faq__grid {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq__item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq__item:hover { box-shadow: var(--shadow-sm); }
.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    transition: color var(--transition);
}
.faq__question svg {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform var(--transition);
}
.faq__item.active .faq__question svg {
    transform: rotate(45deg);
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq__item.active .faq__answer {
    max-height: 300px;
}
.faq__answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
}

/* --- CONTACT --- */
.contact {
    padding: 100px 24px;
    background: var(--bg);
}
.contact__container { max-width: var(--max-width); margin: 0 auto; }
.contact__header { margin-bottom: 56px; }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact__info-block { margin-bottom: 32px; }
.contact__info-title {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.contact__info-block p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.7;
}
.contact__phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    transition: opacity var(--transition);
}
.contact__phone-link:hover { opacity: 0.7; }

/* Contact Form */
.contact__form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* --- FOOTER --- */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.7);
    padding: 64px 24px 32px;
}
.footer__container { max-width: var(--max-width); margin: 0 auto; }
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand-name {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}
.footer__brand-desc {
    font-size: 14px;
    line-height: 1.7;
}
.footer__links-group h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 16px;
}
.footer__links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links-group a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer__links-group a:hover { color: var(--white); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 13px;
}
.footer__legal { opacity: 0.5; }

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__visual { display: none; }
    .cabinet__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cabinet__card { max-width: 440px; }
    .competences__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    .nav__links { display: none; }
    .nav__toggle { display: flex; }
    .hero { min-height: auto; padding: calc(var(--nav-height) + 32px) 20px 48px; }
    .hero__stats { gap: 16px; flex-wrap: wrap; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__scroll-indicator { display: none; }
    .trust-bar__container { grid-template-columns: repeat(2, 1fr); }
    .trust-bar__item { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .trust-bar__item:nth-child(2),
    .trust-bar__item:nth-child(4) { border-right: none; }
    .cabinet, .competences, .demarches, .faq, .contact { padding: 64px 20px; }
    .competences__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact__form { padding: 28px 20px; }
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 32px; }
    .hero__stats { justify-content: center; }
    .trust-bar__container { grid-template-columns: 1fr; }
    .trust-bar__item { border-right: none; }
    .competence-card { padding: 28px 24px; }
    .competence-card__number { font-size: 36px; }
}
