
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #101014;
    --bg-alt: #17171d;
    --card: #202027;
    --red: #d9364c;
    --red-dark: #a82037;
    --white: #f5f5f7;
    --muted: #aaaab6;
    --border: rgba(255,255,255,.09);
    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

span {
    color: inherit;
}

h1, h2, h3 {
    line-height: 1.2;
    letter-spacing: -.035em;
}

h2 span,
.hero h1 span {
    color: var(--red);
}

/* NAVIGATION */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16,16,20,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--max-width);
    min-height: 82px;
    margin: auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -.05em;
    white-space: nowrap;
}

.brand-name strong {
    color: var(--red);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 600;
    transition: color .2s;
}

.main-nav a:hover {
    color: var(--red);
}

.main-nav .nav-contact {
    color: var(--white);
    border: 1px solid var(--red);
    padding: 9px 18px;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
    color: var(--white);
    background: transparent;
    border: 0;
    font-size: 1.8rem;
}


/* ========================================
   HERO — RED OWL TECH
   ======================================== */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: 0 0 75px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(180,30,55,.12),
            transparent 65%
        ),
        var(--bg);
}

/* Bannière principale */

.hero-banner-wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 55px;
    overflow: hidden;
}

.hero-banner {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Présentation sous la bannière */

.hero-intro {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 850px;
    padding: 0 25px;
}

.hero .eyebrow {
    margin-bottom: 22px;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto 35px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Adaptation tablettes */

@media (max-width: 950px) {
    .hero-banner-wrapper {
        margin-bottom: 40px;
    }

    .hero {
        padding-bottom: 65px;
    }
}

/* Adaptation smartphones */

@media (max-width: 700px) {
  

    .hero-banner-wrapper {
        margin-bottom: 30px;
    }

    .hero-banner {
        width: 100%;
        height: auto;
    }

    .hero-intro {
        padding: 0 20px;
    }

  	.hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 25px;
    border-radius: 7px;
    font-weight: 700;
    font-size: .9rem;
    transition: transform .2s, background .2s, box-shadow .2s;
}

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

.btn-primary {
    color: white;
    background: var(--red-dark);
    box-shadow: 0 5px 25px rgba(217,54,76,.17);
}

.btn-primary:hover {
    background: var(--red);
    box-shadow: 0 8px 32px rgba(217,54,76,.3);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--red);
    background: rgba(217,54,76,.07);
}

/* SECTIONS */

.section {
    padding: 105px 28px;
}

.section-alt {
    background: var(--bg-alt);
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 55px;
}

.section-heading h2,
.content-container h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 22px;
}

.section-heading > p:last-child {
    color: var(--muted);
}

.content-container {
    max-width: 850px;
    margin: auto;
}

.content-container > p:not(.eyebrow) {
    color: var(--muted);
    margin: 0 0 22px;
    font-size: 1.035rem;
}


/* ========================================
   À PROPOS — RED OWL TECH
   ======================================== */

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 75px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 28px;
}

.about-content h2 span {
    color: var(--red);
}

.about-content > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

/* Encadrés professionnels */

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 27px;
    background: linear-gradient(
        135deg,
        #25252e,
        #1d1d24
    );
    border: 1px solid var(--border);
    border-radius: 11px;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.about-highlight:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 54, 76, .5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

.about-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--red);
    stroke-width: 1.7;
    transition: transform .3s ease, color .3s ease;
}

.about-highlight:hover .about-icon {
    transform: scale(1.15);
    color: #ff536b;
}

.about-highlight h3 {
    font-size: 1.06rem;
    color: var(--white);
    margin-bottom: 9px;
}

.about-highlight p {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--muted);
}

/* Tablettes */

@media (max-width: 950px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-highlights {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .about-highlight {
        flex-direction: column;
        padding: 22px;
    }
}

/* Smartphones */

@media (max-width: 700px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-highlight {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-container {
        gap: 30px;
    }
}




/* SERVICES */

.services-grid {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217,54,76,.55);
    box-shadow: 0 15px 45px rgba(0,0,0,.18);
}


/* Icônes des services */

.service-icon {
    display: block;
    width: 38px;
    height: 38px;
    margin-bottom: 26px;
    color: var(--red);
    stroke-width: 1.6;
    transition: transform .3s ease, color .3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    color: #ff536b;
}


.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.service-card p {
    font-size: .92rem;
    color: var(--muted);
}

/* SKILLS */

.skills-container {
    max-width: 950px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.skills-container span {
    border: 1px solid var(--border);
    background: var(--card);
    color: #dedee5;
    border-radius: 7px;
    padding: 11px 18px;
    font-size: .85rem;
    font-weight: 600;
    transition: border-color .2s, color .2s;
}

.skills-container span:hover {
    border-color: var(--red);
    color: var(--white);
}



/* ========================================
   MON LABORATOIRE
   ======================================== */

.lab-section {
    background:
        radial-gradient(
            ellipse at 50% 15%,
            rgba(180, 30, 55, .08),
            transparent 65%
        ),
        var(--bg);
}

.lab-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lab-card {
    position: relative;
    background: linear-gradient(
        145deg,
        #22222a,
        #19191f
    );
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px;
    overflow: hidden;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

/* Petite ligne rouge décorative */

.lab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    width: 65px;
    height: 3px;
    background: var(--red);
    border-radius: 0 0 3px 3px;
}

.lab-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 54, 76, .5);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.lab-card .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 25px;
}

/* Animation des icônes du laboratoire */

.lab-card:hover .service-icon {
    transform: scale(1.15) ;
    color: #ff536b;
}

.lab-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--white);
}

.lab-card p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Étiquettes technologiques */

.lab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.lab-tags span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    background: rgba(217, 54, 76, .08);
    border: 1px solid rgba(217, 54, 76, .22);
    color: #ef8796;
    font-size: .76rem;
    font-weight: 600;
    transition: background .2s, border-color .2s;
}

.lab-card:hover .lab-tags span {
    background: rgba(217, 54, 76, .13);
    border-color: rgba(217, 54, 76, .4);
}

/* Conclusion */

.lab-conclusion {
    max-width: 850px;
    margin: 55px auto 0;
    padding: 28px 35px;
    text-align: center;
    border-left: 3px solid var(--red);
    background: rgba(217, 54, 76, .045);
    border-radius: 0 8px 8px 0;
}

.lab-conclusion p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.lab-conclusion strong {
    color: var(--white);
}

/* Responsive */

@media (max-width: 700px) {
    .lab-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lab-card {
        padding: 28px;
    }

    .lab-card::before {
        left: 28px;
    }

    .lab-conclusion {
        margin-top: 35px;
        padding: 22px;
    }
}





/* ========================================
   CONTACT — RED OWL TECH
   ======================================== */

.contact-section {
    text-align: center;
    background:
        radial-gradient(
            ellipse at 50% 80%,
            rgba(180, 30, 55, .12),
            transparent 65%
        ),
        var(--bg);
}

.contact-section .content-container {
    max-width: 1100px;
}

.contact-section .content-container > p:not(.eyebrow) {
    max-width: 750px;
    margin: 0 auto 45px;
    color: var(--muted);
    line-height: 1.85;
}

/* Cartes localisation, déplacement et intervention */

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 45px auto 65px;
    text-align: left;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(
        145deg,
        #22222a,
        #19191f
    );
    border: 1px solid var(--border);
    border-radius: 12px;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.contact-detail:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 54, 76, .5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .22);
}

.contact-icon {
    flex-shrink: 0;
    display: block;
    width: 38px;
    height: 38px;
    color: var(--red);
    stroke-width: 1.6;
    transition:
        transform .3s ease,
        color .3s ease;
}

.contact-detail:hover .contact-icon {
    transform: scale(1.15);
    color: #ff536b;
}

.contact-detail h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--white);
}

.contact-detail p {
    font-size: .92rem;
    line-height: 1.8;
    color: var(--muted);
}

/* Appel à l'action */

.contact-cta {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta h3 {
    color: var(--white);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: 15px;
}

.contact-cta p {
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.8;
}

.contact-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0;
}

.contact-cta .btn svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
}

/* Tablettes */

@media (max-width: 950px) {
    .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-detail:last-child {
        grid-column: 1 / -1;
    }
}

/* Smartphones */

@media (max-width: 700px) {
    .contact-details {
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 35px auto 45px;
    }

    .contact-detail,
    .contact-detail:last-child {
        grid-column: auto;
    }

    .contact-detail {
        flex-direction: row;
        align-items: flex-start;
        gap: 18px;
        padding: 24px;
    }

    .contact-icon {
        width: 30px;
        height: 30px;
    }

    .contact-detail h3 {
        font-size: 1.05rem;
    }

    .contact-cta .btn {
        width: 100%;
        max-width: 330px;
    }
}


/* Boutons de contact */

.contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.contact-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 195px;
}

.contact-actions .btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

/* WhatsApp */

.btn-whatsapp {
    border: 1px solid var(--red);
    background: rgba(217, 54, 76, .08);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: rgba(217, 54, 76, .2);
    border-color: #ff536b;
}

/* Smartphones */

@media (max-width: 700px) {
    .contact-actions {
        flex-direction: column;
        gap: 14px;
    }

    .contact-actions .btn {
        width: 100%;
        max-width: 330px;
    }
}



/* =========================================
   RED OWL TECH — FOOTER
   RED OWL HUB DESIGN SYSTEM
   ========================================= */

.site-footer {
    background: #151b25;
    border-top: 1px solid var(--border);
    padding: 65px 0 28px;
    color: #f5f5f5;
    text-align: left;
}

.site-footer .footer-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

/* =========================================
   BRAND & NAVIGATION
   ========================================= */

.site-footer .footer-main {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 45px;
    align-items: start;
    padding-bottom: 40px;
}

.site-footer .footer-title {
    display: block;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.site-footer .footer-title strong {
    color: #9a1b1f;
    font-weight: 700;
}

.site-footer .footer-brand p {
    margin: 10px 0 0;
    color: #a5abb5;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer .footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.site-footer .footer-links a {
    color: #c1c6cf;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
    color: #d8ac72;
}

/* =========================================
   BOTTOM
   ========================================= */

.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);

    color: #9299a5;
    font-size: 12px;
    line-height: 1.6;
}

.site-footer .footer-copyright {
    color: #9299a5;
}

/* =========================================
   RED OWL HUB SIGNATURE
   ========================================= */

.site-footer .footer-universe {
    color: #a5abb5;
    white-space: nowrap;
}

.site-footer .footer-hub-link {
    color: #d8ac72;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.site-footer .footer-hub-link:hover {
    color: #f5d49e;
    text-shadow: 0 0 12px rgba(216, 172, 114, 0.45);
}

/* =========================================
   RED OWL HUB NETWORK — FOOTER LINKS
   ========================================= */

.site-footer .footer-network {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.site-footer .network-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.site-footer .network-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.site-footer .network-row a {
    color: #a5abb5;
    font-size: 11px;
    line-height: 1.6;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer .network-row a:hover {
    color: #d8ac72;
}

.site-footer .network-row a.active {
    color: #ffffff;
    font-weight: 700;
    cursor: default;
}



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

@media (max-width: 760px) {

    .site-footer {
        padding: 50px 0 26px;
    }

    .site-footer .footer-container {
        width: calc(100% - 36px);
    }

    .site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 30px;
    }

    .site-footer .footer-links {
        justify-content: flex-start;
        gap: 12px 20px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .site-footer .footer-universe {
        white-space: normal;
    }
    .site-footer .footer-network {
    align-items: flex-start;
    text-align: left;
    }

    .site-footer .network-links {
        align-items: flex-start;
    }

    .site-footer .network-row {
        justify-content: flex-start;
    }
}


/* SCROLL TOP */

#scrollTopBtn {
    display: none;
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 900;
    width: 46px;
    height: 46px;
    background: var(--red-dark);
    border: 1px solid var(--red);
    border-radius: 8px;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
}

#scrollTopBtn:hover {
    background: var(--red);
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        gap: 15px;
    }
}

@media (max-width: 700px) {
    .nav-container {
        min-height: 70px;
        padding: 0 20px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #17171d;
        padding: 15px 25px 25px;
        border-bottom: 1px solid var(--border);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 13px 0;
    }

    .main-nav .nav-contact {
        margin-top: 10px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 0 0 55px;
    }

    .hero h1 {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .section {
        padding: 75px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* ========================================
   BANNIÈRE — OPTIMISATION MOBILE
   ======================================== */

@media (max-width: 700px) {

    .hero-banner-wrapper {
        width: 100%;
        height: auto;
        margin: 0 auto 15px;
        overflow: visible;
    }

    .hero-banner {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

}


/* =========================================
   RED OWL TECH — HUB HEADER SIGNATURE
   ========================================= */

.nav-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.nav-universe {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.035em;
    color: #9da8b7;
    white-space: nowrap;
}

.nav-universe a {
    color: #d8ac72;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.nav-universe a:hover {
    color: #f5d49e;
    text-shadow: 0 0 12px rgba(216, 172, 114, 0.35);
}

/* MOBILE */

@media (max-width: 760px) {

    .nav-identity {
        gap: 4px;
        min-width: 0;
    }

    .nav-universe {
        font-size: 9px;
        letter-spacing: 0;
        white-space: normal;
    }
}

/* SEO - Accessible visually hidden headings */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}