/* =============================================
   NAURA SERVICE — Style principal
   Couleurs : Bleu marine #1D3557 / Orange #E8740C
   ============================================= */

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

:root {
    --navy: #1D3557;
    --navy-dark: #152A45;
    --navy-light: #264573;
    --orange: #E8740C;
    --orange-hover: #D4680A;
    --orange-light: rgba(232, 116, 12, 0.1);
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-500: #6C757D;
    --gray-700: #495057;
    --gray-900: #212529;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-orange { color: var(--orange); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 116, 12, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s;
    background: transparent;
}

.navbar.scrolled {
    background: var(--navy);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
}

.logo-naura {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-service {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--orange) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius) !important;
    transition: background 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-hover) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&h=1080&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.93) 0%, rgba(29, 53, 87, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-light);
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-trust-item i {
    color: var(--orange);
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--gray-50);
}

.section-tag {
    display: inline-block;
    color: var(--orange);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin-bottom: 60px;
}

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 28px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--orange-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.service-icon i {
    font-size: 1.2rem;
    color: var(--orange);
}

.service-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
}

.service-list {
    margin-bottom: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.service-list li i {
    color: var(--orange);
    font-size: 0.75rem;
    min-width: 14px;
}

/* --- GALERIE AVANT/APRES SLIDER --- */
.gallery-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.gallery-item {
    transition: opacity 0.4s, transform 0.4s;
}

.gallery-item.hidden {
    display: none;
}

.gallery-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius) var(--radius) 0 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-label i {
    font-size: 0.75rem;
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    aspect-ratio: 4 / 3;
    background: var(--gray-200);
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    z-index: 2;
    width: 50%;
    overflow: hidden;
}

.ba-before img {
    width: 200%;
    max-width: none;
}

.ba-after {
    z-index: 1;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle-line {
    flex: 1;
    width: 3px;
    background: var(--white);
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.ba-handle-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ba-handle-circle i {
    color: var(--navy);
    font-size: 1rem;
}

.ba-label {
    position: absolute;
    bottom: 16px;
    z-index: 4;
    padding: 6px 16px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

.ba-label-before {
    left: 16px;
    background: var(--navy);
    color: var(--white);
}

.ba-label-after {
    right: 16px;
    background: var(--orange);
    color: var(--white);
}

/* --- POURQUOI NOUS --- */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reason-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.reason-icon {
    width: 56px;
    height: 56px;
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.reason-icon i {
    font-size: 1.4rem;
    color: var(--orange);
}

.reason-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.reason-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- TEMOIGNAGES --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #F5A623;
    font-size: 0.95rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--navy);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-900);
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .btn { width: 100%; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.1rem;
    color: var(--orange);
}

.info-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.info-card a { color: var(--orange); font-weight: 600; }
.info-card a:hover { color: var(--orange-hover); }
.info-card p { font-size: 0.88rem; color: var(--gray-500); }

.info-cta {
    background: var(--navy);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 8px;
}

.info-cta p {
    color: rgba(255,255,255,0.8);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
}

.info-cta .btn { width: 100%; }

/* --- FOOTER --- */
.footer {
    background: var(--navy-dark);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--orange);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.footer-contact ul li i { color: var(--orange); width: 16px; }
.footer-contact ul li a:hover { color: var(--orange); }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.1rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reasons-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right 0.3s;
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
        overflow-y: auto;
    }

    .nav-links.open { right: 0; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a::after { display: none; }

    .nav-cta {
        text-align: center !important;
        margin-top: 16px !important;
    }

    .hero { min-height: 100vh; min-height: 100dvh; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { flex-direction: column; gap: 12px; }

    .section { padding: 70px 0; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { margin-bottom: 40px; }

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

    .ba-handle-circle { width: 38px; height: 38px; }
    .ba-handle-circle i { font-size: 0.85rem; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { max-width: 100%; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .section-title { font-size: 1.5rem; }
    .gallery-filters { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
    .ba-label { font-size: 0.65rem; padding: 4px 10px; }
}
