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


/*
Theme Name: La Fabricatech
Theme URI: https://example.com/
Author: La Fabricatech & ChatGPT
Author URI: https://example.com/
Description: Thème vitrine simple et moderne pour une entreprise de maintenance et services techniques immobiliers.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: lafabricatech
*/

body {
    margin: 0;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

a {
    color: #ef4444;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo span {
    color: #ef4444;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

nav a {
    color: #e5e7eb;
    font-weight: 500;
}

nav a:hover {
    color: #ef4444;
}

.btn-primary {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white !important;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-primary:hover {
    opacity: 0.95;
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 3.5rem 0 3rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
    margin-bottom: 1rem;
}

.hero em {
    color: #ef4444;
    font-style: normal;
}

.hero p {
    color: #cbd5f5;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.badge {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #e5e7eb;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.75rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.hero-meta strong {
    display: block;
    color: #e5e7eb;
    font-size: 1rem;
}

.hero-image {
    position: relative;
    isolation: isolate;
}

.hero-image-main {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.75);
}

.hero-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-card {
    position: absolute;
    inset: auto 1rem 1rem auto;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
}

.hero-card strong {
    color: #ef4444;
}

.section {
    padding: 3rem 0;
}

.section-header {
    max-width: 620px;
    margin-bottom: 2rem;
}

.section-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section h2 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.section p {
    color: #cbd5f5;
    font-size: 0.95rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%), #020617;
    border-radius: 1.25rem;
    padding: 1.25rem 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.7);
}

.card h3 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
}

.card p {
    font-size: 0.9rem;
}

.card ul {
    padding-left: 1rem;
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.pill {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

.two-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.check-list li {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ef4444;
    flex-shrink: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
}

.contact-card {
    background: #020617;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-item {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

.contact-value {
    margin-top: 0.15rem;
}

.contact-form {
    display: grid;
    gap: 0.8rem;
}

.field-group {
    display: grid;
    gap: 0.4rem;
}

.field-group label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.field-group input,
.field-group select,
.field-group textarea {
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    padding: 0.55rem 0.75rem;
    font: inherit;
}

.field-group textarea {
    min-height: 120px;
    resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: 2px solid #ef4444;
    outline-offset: 1px;
}

footer.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.5rem 0 2rem;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 900px) {
    .hero, .two-cols, .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.5rem;
    }

    nav ul {
        display: none;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 600px) {
    .hero-meta {
        flex-direction: column;
    }

    .hero-badges {
        flex-direction: column;
    }
}


.logo-img{height:45px;width:auto}

.whatsapp-btn{
 position:fixed;right:20px;bottom:20px;
 background:#25D366;color:#fff;padding:12px 18px;
 border-radius:50px;font-weight:bold;
 z-index:999;text-decoration:none;
}

.gallery-grid{
 display:grid;grid-template-columns:repeat(3,1fr);
 gap:1.5rem;margin-top:1.5rem;
}
.gallery-item img{width:100%;height:240px;object-fit:cover;border-radius:10px}


.gallery-item{
    text-align:center;
    color:#e5e7eb;
}
.gallery-item figcaption{
    margin-top:0.6rem;
    font-size:0.9rem;
}


/* Gallery Upgrade */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    transition: transform .45s ease, box-shadow .45s ease;
}
.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}
.gallery-item img {
    transition: transform .6s ease;
}
.gallery-item:hover img {
    transform: scale(1.12);
}
.gallery-item figcaption {
    position: relative;
    padding: 0.9rem 0.5rem 1.2rem;
    font-size: 0.95rem;
    color: #e5e7eb;
    text-align: center;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
}


/* Soft reveal animation */
@keyframes fadeUp-soft {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.section {
    animation: fadeUp-soft 0.9s ease-out both;
}

/* Slight stagger using nth-child for sections */
.section:nth-of-type(2) { animation-delay: 0.08s; }
.section:nth-of-type(3) { animation-delay: 0.14s; }
.section:nth-of-type(4) { animation-delay: 0.2s; }

.social-links{
    margin-top:1rem;
    display:flex;
    gap:1rem;
}
.social-icon{
    width:42px;height:42px;
    display:flex;align-items:center;justify-content:center;
    border-radius:50%;
    font-size:1.2rem;
    color:#fff;
    text-decoration:none;
}
.social-icon.insta{ background:linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); }
.social-icon.fb{ background:#1877f2; }
.social-icon:hover{ transform:scale(1.1); transition:.3s; }

.social-icon.tiktok{
    background:#000000;
}

.social-icon.youtube{
    background:#FF0000;
}


.header-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.25rem;
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.header-social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15,23,42,0.55);
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.header-social-link:hover img {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 10px 24px rgba(0,0,0,0.6);
    opacity: 0.95;
}

/* On mobile, stack better */
@media (max-width: 900px) {
    .header-inner {
        gap: 0.75rem;
    }
    .header-social {
        margin-left: 0.5rem;
    }
}
