/* ============================================
   ANDUZE PAGE — specific styles
   ============================================ */

/* Hero H1 — bold geometric font (free Poppins, Matt lookalike).
   Overrides the shared .hero-title (Urbanist) from styles.css. */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -1px;
}

/* The highlighted keyword sets its own font-weight (500) in styles.css,
   so force it to inherit the H1's Poppins / weight for a uniform title. */
.hero-title .highlight-word {
    font-family: inherit;
    font-weight: inherit;
}

/* Bigger H1 + hero content lifted a little — desktop only */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-content {
        transform: translateY(-2.5rem);
    }
}

/* Hero subtitle: force 3 lines on desktop, natural flow on mobile */
.hero-subtitle .desktop-br {
    display: inline;
}

@media (max-width: 767px) {
    .hero-subtitle .desktop-br {
        display: none;
    }
}

/* Client Trust Section — infinite-scroll logo carousel
   (uses .clients-carousel / .clients-track so it's driven by anduze.js,
   not the shared main.js logo carousel) */

.client-trust-section {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    text-align: center;
    overflow: hidden;
}

.trust-text {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 400;
}

.trust-number {
    color: #333;
    font-weight: 700;
    font-size: 1.4rem;
}

.trust-highlight {
    background: #ffcccc;
    color: #333;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.clients-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.clients-track {
    display: flex;
    gap: 4rem;
    will-change: transform;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 120px;
}

.logo-item img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .client-trust-section {
        padding: 2rem 1rem;
    }

    .trust-text {
        font-size: 1rem;
    }

    .trust-number {
        font-size: 1.2rem;
    }

    .clients-track {
        gap: 2rem;
    }
}

/* ============================================
   SERVICES SECTION (text left + image right)
   ============================================ */

.anduze-services {
    background: #fff;
    padding: 5rem 2rem;
}

.anduze-services-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.anduze-services-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FF3333;
    margin-bottom: 0.75rem;
}

.anduze-services-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 1.25rem;
}

.anduze-services-intro {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 2rem;
}

.anduze-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.anduze-service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.anduze-service-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF3333;
}

/* Custom SVG glyphs (from anduze/Icon/), masked to the brand red so they
   sit in the light-red icon box and keep their shape. */
.anduze-service-glyph {
    width: 32px;
    height: 32px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.anduze-service-glyph--cameras {
    -webkit-mask-image: url('Icon/vid%C3%A9osurveillance-anduze-icon.svg');
    mask-image: url('Icon/vid%C3%A9osurveillance-anduze-icon.svg');
}

.anduze-service-glyph--clients {
    -webkit-mask-image: url('Icon/vid%C3%A9osurveillance-particulier-professionel.svg');
    mask-image: url('Icon/vid%C3%A9osurveillance-particulier-professionel.svg');
}

.anduze-service-glyph--access {
    -webkit-mask-image: url('Icon/acces-%C3%A0-distance-camera-s%C3%A9curit%C3%A9.svg');
    mask-image: url('Icon/acces-%C3%A0-distance-camera-s%C3%A9curit%C3%A9.svg');
}

.anduze-service-glyph--local {
    -webkit-mask-image: url('Icon/entreprise-de-vid%C3%A9osurveillance-local.svg');
    mask-image: url('Icon/entreprise-de-vid%C3%A9osurveillance-local.svg');
}

.anduze-service-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
}

.anduze-service-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.anduze-services-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #FF3333;
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 51, 51, 0.25);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.anduze-services-cta:hover {
    background: #e62e2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 51, 51, 0.35);
}

.anduze-services-cta svg {
    width: 18px;
    height: 18px;
}

/* Services photo — show the whole photo (no crop/zoom), height-capped */
.anduze-services-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.anduze-services-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 480px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
    .anduze-services-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .anduze-services {
        padding: 3rem 1.25rem;
    }

    .anduze-services-title {
        font-size: 1.6rem;
    }
}

/* ============================================
   RÉALISATIONS SECTION (work gallery)
   ============================================ */

.anduze-realisations {
    background: #f8f9fa;
    padding: 5rem 2rem;
}

.anduze-realisations-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.anduze-realisations-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FF3333;
    margin-bottom: 0.75rem;
}

.anduze-realisations-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 auto 0.75rem;
    max-width: 820px;
}

.anduze-realisations-subtitle {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin: 0 auto 3rem;
    max-width: 640px;
}

.anduze-realisations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 640px;
    margin: 0 auto;
}

.anduze-realisation-item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8bdc4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.anduze-realisation-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.anduze-realisation-item svg {
    width: 44px;
    height: 44px;
}

/* 3rd photo (landscape) spans full width, under the two portraits */
.anduze-realisation-item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

/* Floating feature cards on the realisation photos */
.anduze-feature-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    padding: 0.4rem 0.7rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* "Détection de mouvement" — hangs half off the top-right corner */
.anduze-feature-badge--top-right {
    top: 90px;
    right: 0;
    transform: translate(50%, -50%);
}

/* "Alarme et vidéo couplées" — hangs half off the left edge, same height as before */
.anduze-feature-badge--bottom-left {
    bottom: 28px;
    left: 0;
    transform: translateX(-50%);
}

/* "0 sous-traitance" — hangs half off the right edge, same height as bottom-left */
.anduze-feature-badge--bottom-right {
    bottom: 28px;
    right: 0;
    transform: translateX(50%);
}

.anduze-feature-badge-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF3333;
}

.anduze-feature-badge-icon svg,
.anduze-feature-badge-icon img {
    width: 26px;
    height: 26px;
}

.anduze-feature-badge-glyph {
    width: 26px;
    height: 26px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.anduze-feature-badge-glyph--motion {
    -webkit-mask-image: url('Icon/capteur-de-mouvement.svg');
    mask-image: url('Icon/capteur-de-mouvement.svg');
}

.anduze-feature-badge-glyph--alarme {
    -webkit-mask-image: url('Icon/alarme.webp');
    mask-image: url('Icon/alarme.webp');
}

.anduze-feature-badge-glyph--sous-traitant {
    -webkit-mask-image: url('Icon/sous-traitant.svg');
    mask-image: url('Icon/sous-traitant.svg');
}

.anduze-feature-badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .anduze-feature-badge {
        display: none;
    }

    .anduze-realisations {
        padding: 3rem 1.25rem;
    }

    .anduze-realisations-title {
        font-size: 1.6rem;
    }

    .anduze-realisations-title .desktop-br {
        display: none;
    }

    .anduze-realisations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================
   EQUIPMENT SHOWCASE SECTION
   ============================================ */

.anduze-equipment-section {
    background: #fff;
    padding: 5rem 2rem;
}

.anduze-equipment-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: -0.5px;
    margin: 0 0 3rem;
}

.anduze-equipment-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.anduze-equipment-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 2rem;
}

.anduze-equipment-carousel::-webkit-scrollbar {
    display: none;
}

.anduze-equipment-track {
    display: flex;
    gap: 1.5rem;
}

.anduze-equipment-track .anduze-equipment-card {
    flex: 0 0 600px;
    min-width: 600px;
}

.anduze-equipment-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.anduze-equipment-nav-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.anduze-equipment-nav-btn:hover {
    background: #FF3333;
    color: #fff;
    border-color: #FF3333;
}

.anduze-equipment-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 1rem 2rem;
    align-items: start;
}

.anduze-equipment-card-title {
    grid-column: 1 / -1;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.anduze-equipment-card-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 1rem;
}

.anduze-equipment-card-image {
    max-width: 100%;
    max-height: 230px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

.anduze-equipment-card-image--sm {
    max-height: 200px;
}

.anduze-equipment-card-text {
    align-self: center;
    padding-left: 2rem;
    border-left: 2px solid #e0e0e0;
}

.anduze-equipment-card-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.anduze-equipment-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.anduze-equipment-card:hover,
.anduze-equipment-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.anduze-equipment-card:focus-visible {
    outline: 2px solid #FF3333;
    outline-offset: 2px;
}

.anduze-equipment-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FF3333;
}

.anduze-equipment-card-more svg {
    transition: transform 0.2s ease;
}

.anduze-equipment-card:hover .anduze-equipment-card-more svg {
    transform: translateX(3px);
}

/* ---- Equipment detail modal ---- */
.anduze-equipment-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.anduze-equipment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.anduze-equipment-modal {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s ease;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

.anduze-equipment-modal-overlay.active .anduze-equipment-modal {
    transform: translateY(0) scale(1);
}

.anduze-equipment-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.anduze-equipment-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.anduze-equipment-modal-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0 1.25rem;
}

.anduze-equipment-modal-image {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.anduze-equipment-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.9rem;
}

.anduze-equipment-modal-description p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.anduze-equipment-specs {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.anduze-equipment-specs li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #eee;
}

.anduze-equipment-spec-label {
    font-size: 0.85rem;
    color: #888;
    flex-shrink: 0;
}

.anduze-equipment-spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

.anduze-equipment-modal-price-note {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.anduze-equipment-modal-price-note a {
    color: #FF3333;
    font-weight: 700;
    text-decoration: none;
}

.anduze-equipment-modal-price-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .anduze-equipment-section {
        padding: 3rem 1.25rem;
    }

    .anduze-equipment-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .anduze-equipment-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .anduze-equipment-card-title {
        font-size: 1.25rem;
        text-align: center;
    }

    .anduze-equipment-card-image {
        max-height: 200px;
    }

    .anduze-equipment-card-text {
        text-align: left;
        padding-left: 0;
        border-left: none;
        padding-top: 1.5rem;
        border-top: 2px solid #e0e0e0;
    }

    .anduze-equipment-card-description {
        font-size: 1rem;
    }

    .anduze-equipment-track .anduze-equipment-card {
        flex: 0 0 85vw;
        min-width: 85vw;
    }

    .anduze-equipment-carousel {
        padding: 0.5rem 1rem;
    }

    .anduze-equipment-nav-btn {
        width: 40px;
        height: 40px;
    }

    .anduze-equipment-modal {
        padding: 2.2rem 1.5rem 1.5rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.anduze-faq-section {
    padding: 5rem 2rem;
    background: #fff;
}

.anduze-faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.anduze-faq-left {
    position: sticky;
    top: 150px;
}

.anduze-faq-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.anduze-faq-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin: 0 0 2rem;
    line-height: 1.5;
}

.anduze-faq-cta-link {
    display: inline-block;
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.anduze-faq-cta-link:hover {
    color: #FF3333;
}

.anduze-faq-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.anduze-faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.anduze-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.anduze-faq-question:hover {
    color: #FF3333;
}

.anduze-faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.anduze-faq-icon {
    width: 24px;
    height: 24px;
    color: #666;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.anduze-faq-item.active .anduze-faq-icon {
    transform: rotate(180deg);
}

.anduze-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.anduze-faq-item.active .anduze-faq-answer {
    max-height: 800px;
    padding-bottom: 1.5rem;
}

.anduze-faq-answer p {
    margin: 0;
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .anduze-faq-section {
        padding: 3rem 1rem;
    }

    .anduze-faq-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .anduze-faq-left {
        position: static;
    }

    .anduze-faq-main-title {
        font-size: 1.6rem;
    }

    .anduze-faq-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .anduze-faq-question {
        font-size: 1rem;
        padding: 1.25rem 0;
    }

    .anduze-faq-answer p {
        font-size: 0.95rem;
    }
}
