/* Styles personnalisés Artyann */
:root {
    --artyann-blue: #2563eb;
    --artyann-blue-dark: #1d4ed8;
    --artyann-dark: #111827;
    --artyann-text: #374151;
    --artyann-muted: #6b7280;
    --artyann-light: #f8fafc;
}

/* Base */

body {
    color: var(--artyann-text);
    background: #ffffff;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--artyann-dark);
    line-height: 1.2;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--artyann-blue);
}


/* Navigation */

.navbar {
    min-height: 76px;
    background: #ffffff;
}

.navbar-brand {
    color: var(--artyann-dark);
    font-size: 1.35rem;
}

.navbar-brand:hover {
    color: var(--artyann-blue);
}

.nav-link {
    color: var(--artyann-text);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--artyann-blue);
}


/* Hero */

.hero {
    background: var(--artyann-light);
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

.hero h1 {
    max-width: 900px;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero .lead {
    max-width: 750px;
    color: var(--artyann-muted);
    font-size: 1.25rem;
}

/* =========================
   HERO
   ========================= */

.hero {
    padding: 6rem 0;
    background: #f8fafc;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-eyebrow {
    margin-bottom: 1.25rem;
    color: var(--bs-primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 800px;
    margin-bottom: 1.5rem;
    color: #111827;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-title span {
    display: block;
    color: var(--bs-primary);
}

.hero-text {
    max-width: 650px;
    margin-bottom: 2rem;
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn {
    border-radius: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
}

/* Visuel provisoire */

.hero-visual {
    position: relative;
    min-height: 380px;
    margin-left: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(
        145deg,
        #e2e8f0,
        #f8fafc
    );
    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.12);
}

.hero-visual-content {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    padding: 2rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
}

.hero-visual-content span {
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.hero-visual-content strong {
    color: #111827;
    font-size: 1.6rem;
}

/* Mobile */

@media (max-width: 991.98px) {

    .hero {
        padding: 4rem 0;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-visual {
        min-height: 280px;
        margin-top: 3rem;
        margin-left: 0;
    }

}


/* Boutons */

.btn-primary {
    background-color: var(--artyann-blue);
    border-color: var(--artyann-blue);
}

.btn-primary:hover {
    background-color: var(--artyann-blue-dark);
    border-color: var(--artyann-blue-dark);
}

.btn {
    border-radius: 0.5rem;
    font-weight: 600;
}


/* Sections */

section {
    scroll-margin-top: 80px;
}

.text-uppercase {
    color: var(--artyann-blue);
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}


/* Services */

#services {
    background: #ffffff;
}

#services .border {
    border-color: #e5e7eb !important;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                border-color 0.2s ease;
}

#services .border:hover {
    transform: translateY(-4px);
    border-color: #dbeafe !important;
    box-shadow: 0 1rem 2rem rgba(17, 24, 39, 0.06);
}


/* =========================
   SERVICES
   ========================= */

.services-section {
    padding: 7rem 0;
    background: #ffffff;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    margin-bottom: 1rem;
    color: var(--bs-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 1.25rem;
    color: #111827;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading > p:last-child {
    margin-bottom: 0;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-card {
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    background: #eff6ff;
    color: var(--bs-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 650;
}

.service-card p {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.7;
}

/* Mobile */

@media (max-width: 767.98px) {

    .services-section {
        padding: 5rem 0;
    }

    .section-heading {
        margin-bottom: 3rem;
    }

    .service-card {
        padding: 1.75rem;
    }

}

/* Réalisations */

#realisations {
    background: var(--artyann-light) !important;
}

#realisations .card {
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

#realisations .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(17, 24, 39, 0.08) !important;
}


/* =========================
   RÉALISATIONS
   ========================= */

.projects-section {
    padding: 7rem 0;
    background: #f8fafc;
}

.project-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    background:
        linear-gradient(
            135deg,
            #e2e8f0,
            #f1f5f9
        );
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-content {
    padding: 1.75rem;
}

.project-category {
    margin-bottom: 0.6rem;
    color: var(--bs-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-content h3 {
    margin-bottom: 0.8rem;
    color: #111827;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.3;
}

.project-content > p:not(.project-category) {
    margin-bottom: 1.25rem;
    color: #64748b;
    line-height: 1.7;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-technologies span {
    padding: 0.35rem 0.65rem;
    border-radius: 0.4rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Mobile */

@media (max-width: 767.98px) {

    .projects-section {
        padding: 5rem 0;
    }

    .project-placeholder {
        min-height: 180px;
    }

}


/* Contact */

#contact {
    background: #ffffff;
}


/* =========================
   CONTACT
   ========================= */

.contact-section {
    padding: 7rem 0;
    background: #f8fafc;
}

.contact-box {
    padding: 4rem;
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.contact-box h2 {
    margin-bottom: 1.25rem;
    color: #111827;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.contact-box > .row > .col-lg-5 > p:last-child {
    margin-bottom: 0;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-form .form-label {
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-form .form-control {
    padding: 0.8rem 1rem;
    border-color: #e5e7eb;
    border-radius: 0.5rem;
    color: #111827;
}

.contact-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    margin-top: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Mobile */

@media (max-width: 767.98px) {

    .contact-section {
        padding: 5rem 0;
    }

    .contact-box {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }

}





/* =========================
   FOOTER
   ========================= */

.site-footer {
    padding: 4rem 0 2rem;
    background: #ffffff;
    color: #111827;
    border-top: 1px solid #e5e7eb;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 128px;
    height: auto;
    display: block;
}

.footer-description {
    max-width: 350px;
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--bs-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Mobile */

@media (max-width: 767.98px) {

    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }

}



/* CTA */

.bg-dark h2,
.bg-dark h3,
.bg-dark p {
    color: #ffffff;
}

.bg-dark .text-info {
    color: #60a5fa !important;
}

/* Hero - expertise */

.hero-tech-card {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 3rem rgba(17, 24, 39, 0.08);
}

.hero-tech-card > p {
    color: var(--artyann-blue);
}

.hero-tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
}

.hero-tech-item:last-child {
    border-bottom: 0;
}

.hero-tech-item span:last-child {
    color: var(--artyann-muted);
    font-weight: 400;
}

/* Navigation - CTA */

.navbar .btn-primary {
    color: #ffffff;
}

.navbar .btn-primary:hover {
    color: #ffffff;
}


/* Logo Artyann */

.artyann-logo {
    display: block;
    width: 128px;
    height: auto;
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
    background-color: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.artyann-logo {
    width: 128px;
    height: auto;
    display: block;
}

.navbar-nav {
    align-items: center;
    gap: 0.25rem;
}

.navbar .nav-link {
    color: #1f2937;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: var(--bs-primary);
}

.navbar .btn-primary {
    border-radius: 0.5rem;
    font-weight: 600;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}


/* =========================
   MENU MOBILE
   ========================= */

.navbar-toggler {
    border: 0;
    padding: 0.4rem;
    width: 40px;
    height: 40px;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* On masque l'icône Bootstrap */
.navbar-toggler-icon {
    background-image: none;
    position: relative;
    display: block;
    width: 22px;
    height: 16px;
}

/* Les trois lignes */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 1.5px;
    background-color: #1f2937;
    transition: transform 0.2s ease;
}

.navbar-toggler-icon::before {
    top: 1px;
    box-shadow: 0 6px 0 #1f2937, 0 12px 0 #1f2937;
}

.navbar-toggler-icon::after {
    display: none;
}


/* Mobile */
@media (max-width: 991.98px) {
    .navbar-nav {
        align-items: stretch;
        padding-top: 1rem;
    }

    .navbar .nav-item {
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    .navbar .btn-primary {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
    }
}


/* =========================
   POURQUOI ARTYANN
   ========================= */

.why-section {
    padding: 7rem 0;
    background: #ffffff;
}

.why-section h2 {
    margin-bottom: 1.5rem;
    color: #111827;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.why-intro {
    max-width: 480px;
    margin-bottom: 0;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 1.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.why-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.why-number {
    color: var(--bs-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.why-item h3 {
    margin-bottom: 0.5rem;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 650;
}

.why-item p {
    max-width: 600px;
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.7;
}

/* Mobile */

@media (max-width: 767.98px) {

    .why-section {
        padding: 5rem 0;
    }

    .why-list {
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .why-item {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
    }

}
