/*
Theme Name: LynxHome
Theme URI: https://lynxhome.fr
Description: LynxHome visual identity built as an Astra child theme.
Author: LynxHome
Template: astra
Version: 1.0.9
Text Domain: lynxhome
*/

:root {
    --lh-ink: #101820;
    --lh-ink-2: #17232b;
    --lh-paper: #fbfcfb;
    --lh-soft: #eef4f3;
    --lh-line: #d9e5e3;
    --lh-teal: #19a7b0;
    --lh-teal-dark: #0c7179;
    --lh-copper: #d8893d;
    --lh-leaf: #9cc84b;
    --lh-muted: #5d6b72;
    --lh-white: #ffffff;
}

body {
    background: var(--lh-paper);
    color: var(--lh-ink);
}

a {
    color: var(--lh-teal-dark);
}

.site-header {
    border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

body.wp-custom-logo .site-branding {
    flex-shrink: 0;
}

body.wp-custom-logo .site-logo-img,
body.wp-custom-logo .custom-logo-link {
    display: block;
    line-height: 0;
}

body.wp-custom-logo .custom-logo {
    display: block;
    height: auto;
    max-height: 88px;
    max-width: min(420px, 48vw);
    object-fit: contain;
    width: auto;
}

body.wp-custom-logo .ast-site-title-wrap {
    display: none;
}

.site-title a {
    color: var(--lh-ink);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.site-title a::before {
    content: "LH";
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--lh-ink), var(--lh-teal-dark));
    color: var(--lh-white);
    font-size: 12px;
    font-weight: 800;
}

.site-description {
    color: var(--lh-muted);
    font-size: 0.86rem;
}

.main-header-menu .menu-link {
    color: var(--lh-ink);
    font-weight: 650;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
    color: var(--lh-teal-dark);
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: var(--lh-ink);
}

.entry-content p {
    color: var(--lh-muted);
}

body.page .site-content .ast-container {
    display: block;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.page .entry-header {
    display: none;
}

.ast-separate-container .ast-article-single {
    padding: 0;
}

.lh-page {
    --content-pad: clamp(22px, 4vw, 56px);
}

.lh-section {
    padding: clamp(54px, 7vw, 96px) var(--content-pad);
}

.lh-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.lh-narrow {
    max-width: 820px;
    margin: 0 auto;
}

.lh-hero {
    min-height: min(680px, 78vh);
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(90deg, rgba(16, 24, 32, 0.94) 0%, rgba(16, 24, 32, 0.78) 34%, rgba(16, 24, 32, 0.25) 62%, rgba(16, 24, 32, 0.05) 100%),
        url("/wp-content/themes/lynxhome/assets/lynxhome-hero.jpg");
    background-size: cover;
    background-position: center;
    color: var(--lh-white);
    padding: clamp(72px, 9vw, 116px) var(--content-pad);
}

.lh-hero__content {
    max-width: 660px;
}

.lh-kicker {
    color: #7ce1e5;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.lh-hero h1 {
    color: var(--lh-white);
    font-size: clamp(2.45rem, 6vw, 5rem);
    line-height: 1.03;
    margin: 0 0 22px;
    max-width: 11ch;
}

.lh-hero p {
    color: #d8e5e8;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.72;
    max-width: 620px;
}

.lh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.lh-button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    text-decoration: none;
}

.lh-button--primary {
    background: var(--lh-teal);
    color: var(--lh-white);
}

.lh-button--primary:hover {
    background: #138991;
    color: var(--lh-white);
}

.lh-button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--lh-white);
}

.lh-button--secondary:hover {
    border-color: var(--lh-white);
    color: var(--lh-white);
}

.lh-button:not(.lh-button--primary):not(.lh-button--secondary) {
    border: 1px solid var(--lh-line);
    color: var(--lh-ink);
}

.lh-button:not(.lh-button--primary):not(.lh-button--secondary):hover {
    border-color: var(--lh-teal);
    color: var(--lh-teal-dark);
}

.lh-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.lh-proof span {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    color: #edf6f7;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 12px;
}

.lh-intro {
    background: var(--lh-white);
}

.lh-intro-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.lh-section h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    margin: 0 0 18px;
}

.lh-section h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin: 0;
}

.lh-section .lh-lead {
    color: var(--lh-muted);
    font-size: 1.15rem;
    line-height: 1.72;
    margin: 0;
}

.lh-tagline {
    border-left: 4px solid var(--lh-copper);
    color: var(--lh-ink);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.45;
    margin: 0;
    padding-left: 18px;
}

.lh-scroll-cue {
    align-items: center;
    color: var(--lh-teal-dark);
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 5px;
    margin: clamp(38px, 6vw, 68px) auto 0;
    text-decoration: none;
    width: fit-content;
}

.lh-scroll-cue:hover,
.lh-scroll-cue:focus {
    color: var(--lh-ink);
}

.lh-scroll-cue__arrow {
    animation: lh-scroll-hint 1.8s ease-in-out infinite;
    font-size: 1.5rem;
    line-height: 1;
}

@keyframes lh-scroll-hint {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lh-scroll-cue__arrow {
        animation: none;
    }
}

.lh-services {
    background: var(--lh-soft);
}

.lh-tech {
    background: var(--lh-white);
}

.lh-tech .lh-card {
    background: var(--lh-soft);
}

.lh-use-cases {
    background: var(--lh-soft);
}

.lh-feature-visual {
    background: var(--lh-ink);
    padding-bottom: clamp(42px, 6vw, 74px);
    padding-top: clamp(42px, 6vw, 74px);
}

.lh-feature-visual figure {
    margin: 0;
}

.lh-feature-visual img {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    display: block;
    max-height: 620px;
    object-fit: cover;
    width: 100%;
}

.lh-feature-visual figcaption {
    color: #c9d6da;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-top: 12px;
}

.lh-tech-logo {
    display: block;
    height: 46px;
    margin-bottom: 16px;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
    width: auto;
}

.lh-card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.lh-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lh-card {
    background: var(--lh-white);
    border: 1px solid var(--lh-line);
    border-radius: 8px;
    min-height: 210px;
    padding: 24px;
}

.lh-card__number {
    color: var(--lh-teal-dark);
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.lh-card h3 {
    font-size: 1.24rem;
    line-height: 1.22;
    margin: 0 0 10px;
}

.lh-card p {
    line-height: 1.66;
    margin: 0;
}

.lh-card__link {
    display: inline-block;
    font-weight: 800;
    margin-top: 18px;
    text-decoration: none;
}

.lh-card__link::after {
    content: " →";
}

.lh-card__link:hover,
.lh-card__link:focus {
    text-decoration: underline;
}

.lh-process {
    background: var(--lh-ink);
    color: var(--lh-white);
}

.lh-process h2,
.lh-process h3 {
    color: var(--lh-white);
}

.lh-process p {
    color: #c9d6da;
}

.lh-step-grid {
    counter-reset: steps;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 36px;
}

.lh-step {
    border-top: 2px solid rgba(124, 225, 229, 0.42);
    padding-top: 20px;
}

.lh-step::before {
    color: var(--lh-copper);
    content: "0" counter(steps);
    counter-increment: steps;
    display: block;
    font-weight: 900;
    margin-bottom: 12px;
}

.lh-cta {
    background: var(--lh-white);
}

.lh-cta-panel {
    align-items: center;
    background: var(--lh-ink-2);
    border-radius: 8px;
    color: var(--lh-white);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(28px, 5vw, 46px);
}

.lh-cta-panel h2 {
    color: var(--lh-white);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin: 0 0 12px;
}

.lh-cta-panel p {
    color: #d7e4e7;
    margin: 0;
}

.lh-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.lh-list li {
    border-bottom: 1px solid var(--lh-line);
    color: var(--lh-ink);
    font-weight: 700;
    padding: 0 0 12px;
}

.lh-contact-card {
    background: var(--lh-white);
    border: 1px solid var(--lh-line);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 38px);
}

.lh-contact-card p {
    font-size: 1.05rem;
}

.lh-legal .lh-narrow {
    max-width: 900px;
}

.lh-legal h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    margin: 42px 0 14px;
}

.lh-legal p,
.lh-legal li {
    line-height: 1.75;
}

.lh-legal .lh-list {
    margin-top: 18px;
}

.lh-legal-nav {
    background: var(--lh-ink);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px var(--content-pad, clamp(22px, 4vw, 56px));
}

.lh-legal-nav__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1120px;
}

.lh-legal-nav a {
    color: #d8e5e8;
    font-size: 0.9rem;
    text-decoration: none;
}

.lh-legal-nav a:hover,
.lh-legal-nav a:focus {
    color: var(--lh-white);
    text-decoration: underline;
}

.lh-trademark-note {
    background: var(--lh-paper);
    border-top: 1px solid var(--lh-line);
    padding: 20px var(--content-pad, clamp(22px, 4vw, 56px));
}

.lh-trademark-note p {
    color: var(--lh-muted);
    font-size: 0.78rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 921px) {
    body.wp-custom-logo .custom-logo {
        max-height: 62px;
        max-width: calc(100vw - 110px);
    }

    .lh-hero {
        min-height: auto;
        background-image:
            linear-gradient(90deg, rgba(16, 24, 32, 0.96) 0%, rgba(16, 24, 32, 0.84) 100%),
            url("/wp-content/themes/lynxhome/assets/lynxhome-hero.jpg");
    }

    .lh-intro-grid,
    .lh-card-grid,
    .lh-step-grid,
    .lh-cta-panel {
        grid-template-columns: 1fr;
    }

    .lh-card {
        min-height: 0;
    }
}

@media (max-width: 544px) {
    .lh-actions {
        flex-direction: column;
    }

    .lh-button {
        width: 100%;
    }
}
