:root {
    --primary: #004aad; /* Strong Blue */
    --secondary: #ff8c00; /* Vibrant Orange */
    --dark: #1e293b;
    --light: #f3f4f6;
    --white: #ffffff;
    --gray: #6b7280;
    --border: #e5e7eb;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--dark); line-height: 1.6; padding-bottom: 60px; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: #e07b00; transform: translateY(-1px); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: #003c8f; transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { height: 80px; display: flex; align-items: center; position: sticky; top: 0; background: var(--white); z-index: 1000; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.header-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-transform: uppercase; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--secondary); }
.header-cta { display: flex; gap: 12px; }

/* Mobile Menu */
.burger-menu { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.burger-menu span { width: 24px; height: 2px; background: var(--dark); }
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; }
.mobile-menu { position: fixed; top: 0; right: -300px; width: 300px; height: 100%; background: var(--white); z-index: 1002; transition: right 0.3s ease; padding: 20px; }
.mobile-menu.active { right: 0; }
.mobile-menu ul { margin-top: 40px; display: flex; flex-direction: column; gap: 15px; }
.mobile-menu a { font-size: 1.1rem; font-weight: 600; display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
.close-menu { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 2rem; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(to right, #eff6ff, #dbeafe); padding: 80px 0; text-align: center; }
.hero h1 { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; line-height: 1.2; }
.hero-desc { max-width: 700px; margin: 0 auto 30px; font-size: 1.1rem; color: var(--gray); }
.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.badge { background: var(--white); padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow); color: var(--dark); }



/* Hero Background Image */
.hero-image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #eff6ff;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
}
/* Soft overlay to keep text readable (same spirit as service cards) */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.82) 45%,
        rgba(255,255,255,0.96) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
}
/* Inline icon (replaces emoji) */
.inline-emoji-icon { width: 1em; height: 1em; object-fit: contain; vertical-align: -0.15em; margin-right: 0.35em; border-radius: 3px; }
.hero-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Trust Strip */
.trust-strip { background: var(--primary); color: var(--white); padding: 20px 0; }
.trust-container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.trust-icon { font-size: 1.5rem; }

/* Section General */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; color: var(--dark); }

/* Intro/lead text used in multiple sections */
.section-lead {
    max-width: 900px;
    margin: -30px auto 18px;
    text-align: center;
    color: var(--gray);
    font-size: 1.02rem;
}

.section-lead + .section-lead { margin-top: -6px; }

/* Services */
.services-section { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

/* Card with photo background + text overlay */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    transition: 0.3s;
    min-height: 360px;
}
.service-card:hover { border-color: var(--secondary); box-shadow: var(--shadow); transform: translateY(-5px); }

/* Photo layer */
.service-image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #f8fafc;
}
.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 0.35s ease;
}
.service-card:hover .service-image { transform: scale(1.07); }

/* Soft overlay to keep text readable while still showing the photo */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.82) 45%,
        rgba(255,255,255,0.96) 100%
    );
}

/* Content layer */
.service-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card-icon { font-size: 2.4rem; }
.service-card h3 { font-size: 1.25rem; line-height: 1.2; margin: 0; }
.service-card p { color: var(--gray); font-size: 0.95rem; margin: 0; }
.price-label { display: inline-block; background: var(--light); padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; color: var(--dark); margin-top: auto; width: fit-content; }
.price-label.free { background: #dcfce7; color: #166534; }

/* If a photo exists, hide emoji icon (the photo becomes the “icon”) */
.service-card.has-photo .card-icon { display: none; }

@media (max-width: 480px) {
    .service-card { min-height: 340px; }
    .service-card-content { padding: 22px; }
}


/* Steps */
.steps-section { background: var(--light); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.step-num { width: 50px; height: 50px; background: var(--secondary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 20px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: var(--gray); }

/* Marseille SEO */
.seo-block { background: var(--white); border-top: 1px solid var(--border); }
.seo-content { max-width: 800px; margin: 0 auto; text-align: center; }
.seo-content h2 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary); }
.seo-content p { margin-bottom: 20px; color: var(--gray); }
.seo-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.seo-tags li { background: var(--light); padding: 5px 10px; border-radius: 4px; font-size: 0.85rem; color: var(--gray); font-weight: 500; }

/* Pricing Cards */
.pricing-section { background: #f8fafc; }
.pricing-intro { text-align: center; margin-bottom: 40px; color: var(--gray); margin-top: -30px; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; }
.price-card { background: var(--white); padding: 34px 22px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; position: relative; transition: 0.3s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.popular { border: 2px solid var(--secondary); transform: scale(1.02); z-index: 1; }
.badge-pop { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--secondary); color: var(--white); padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }
.price-header h3 { font-size: 1.4rem; margin-bottom: 5px; }
.period { display: block; font-size: 0.9rem; color: var(--gray); margin-bottom: 20px; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.price-amount small { font-size: 0.9rem; font-weight: 500; color: var(--gray); margin-bottom: 5px; }
.price-features { margin-bottom: 30px; text-align: left; }
.price-features li { margin-bottom: 12px; font-size: 0.92rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.price-features .feature-label { flex: 1 1 auto; min-width: 0; }
.price-features .feature-price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.price-features small { font-size: 0.82rem; color: var(--gray); }
.price-features .price-note { font-size: 0.85rem; color: var(--gray); font-weight: 500; line-height: 1.25; }
.price-features .feature-price .price-note { display: block; }

/* FAQ */
.faq-section { background: var(--white); }
.accordion-wrapper { max-width: 800px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { width: 100%; padding: 20px; text-align: left; background: var(--white); border: none; font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.2s; }
.accordion-header:hover { background: #f9fafb; color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 20px; background: #f9fafb; }
.accordion-content p { padding: 15px 0; color: var(--gray); font-size: 0.95rem; }
.accordion-item.active .accordion-content { max-height: 200px; }
.accordion-item.active .icon { transform: rotate(45deg); }

/* Contact */
.contact-section { background: var(--primary); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2rem; margin-bottom: 20px; color: var(--white); }
.contact-info p { color: #dbeafe; margin-bottom: 30px; }
.method { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.method .icon { font-size: 1.5rem; background: rgba(255,255,255,0.1); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.link-item { font-size: 1.2rem; font-weight: 600; color: var(--white); }
.transparency-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
.transparency-note h4 { margin-bottom: 10px; color: var(--secondary); }
.transparency-note p { font-size: 0.9rem; color: #cbd5e1; }

.contact-form-wrapper { background: var(--white); padding: 40px; border-radius: var(--radius); color: var(--dark); box-shadow: var(--shadow); }
.contact-form-wrapper h3 { margin-bottom: 20px; color: var(--primary); text-align: center; }
.form-group { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--secondary); border-color: transparent; }
.status-msg { text-align: center; margin-top: 15px; font-weight: 600; font-size: 0.9rem; }

/* Footer */
.site-footer { background: var(--dark); color: #94a3b8; padding: 60px 0; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.copyright { font-size: 0.85rem; margin-top: 15px; }

/* Sticky Mobile CTA */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2000; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
.sticky-btn { flex: 1; text-align: center; padding: 16px; font-weight: 700; font-size: 1.1rem; }
.sticky-btn.call { background: var(--secondary); color: var(--white); }
.sticky-btn.quote { background: var(--primary); color: var(--white); }

/* Responsive */
@media (max-width: 992px) {
    .main-nav, .header-cta { display: none; }
    .burger-menu { display: flex; }
    .sticky-mobile-cta { display: flex; }
    .hero h1 { font-size: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .trust-strip { display: none; /* Hide on very small screens if too cluttered */ }

    /* Pricing: avoid cramped wrapping on small screens */
    .pricing-cards { grid-template-columns: 1fr; }
    .price-card { padding: 30px 18px; }
    .price-features li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .price-features .feature-price { align-items: flex-start; }
}

/* Prices: PTL-style reveal animation (Animate.css rollIn) */
html.js .reveal-left {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

html.js .reveal-left.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Minimal Animate.css subset (rollIn) */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: var(--delay, 0ms);
}

@-webkit-keyframes rollIn {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
        transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes rollIn {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
        transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.rollIn {
    -webkit-animation-name: rollIn;
    animation-name: rollIn;
}

@media (prefers-reduced-motion: reduce) {
    html.js .reveal-left {
        opacity: 1;
        visibility: visible;
    }

    .animated {
        animation: none !important;
    }
}

/* ================================
   SERVICES: photo inside card + text overlay (Hostinger override)
   (added to prevent remote cache/override issues)
================================ */

#services .service-card{
  position: relative !important;
  overflow: hidden !important;
}

#services .service-image-wrap{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

#services .service-image{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.05);
  opacity: 0;
  transition: transform .5s ease, opacity .25s ease;
}

#services .service-card.has-photo .service-image{
  opacity: 1;
}

#services .service-card::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(255,255,255,0.78) !important; /* white veil */
  z-index: 1 !important;
  transition: background .25s ease;
}

#services .service-card:hover::after{
  background: rgba(255,255,255,0.70) !important;
}

#services .service-card-content{
  position: relative !important;
  z-index: 2 !important;
}

/* hide emoji icon when photo is present (optional) */
#services .service-card.has-photo .card-icon{
  display: none !important;
}

/* ================================
   DOCUMENTS REQUIS
================================ */

.btn-small{
  padding: 10px 16px;
  font-size: 0.95rem;
}

.documents-section .tip-box{
  max-width: 900px;
  margin: 0 auto 22px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
}

.documents-section .docs-grid{
  /* Match the "Nos Prestations" layout */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 22px;
}

/* Ensure document cards look and behave like the service cards */
.documents-section .doc-card{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Documents: same background-image card style as "Nos Prestations" */
.documents-section .doc-card .service-image-wrap{
  /* Keep the global .service-image-wrap (absolute, full-bleed).
     Provide a subtle fallback if no image is present. */
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(255,184,0,0.16), transparent 55%),
    linear-gradient(180deg, rgba(248,250,252,1) 0%, rgba(241,245,249,1) 100%);
}

/* Slightly tighter heading for long document titles */
.documents-section .doc-card h3{
  font-size: 1.05rem;
  line-height: 1.25;
}

/* Buttons: align like the other CTAs */
.documents-section .doc-card .doc-btn{
  margin-top: auto;
}

/* =====================================================
   BASE TEMPLATE: Hero video + Cities section
   (appended to force Hostinger to pick the latest rules)
===================================================== */

/* Hero background video (same sizing rules as hero image) */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
}

/* Optional: if user prefers reduced motion, keep the poster frame (video still present but no extra motion effects) */
@media (prefers-reduced-motion: reduce) {
    .hero-video { transform: none; }
}

/* Cities section */
.cities-section {
    background: linear-gradient(to bottom, #f8fafc, #eff6ff);
    position: relative;
    padding-bottom: 90px;
}

.section-subtitle {
    max-width: 800px;
    margin: -30px auto 40px;
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.city-pill {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(229, 231, 235, 0.8);
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Location Icon */
.city-pill::before {
    content: "📍"; /* Or a purely CSS icon could be used */
    margin-right: 12px;
    font-size: 1.1rem;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.city-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(0, 74, 173, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.city-pill:hover::before {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Subtle shine effect on hover */
.city-pill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: 0.5s;
}

.city-pill:hover::after {
    left: 100%;
}

@media (max-width: 900px) {
    .cities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

@media (max-width: 480px) {
    .cities-grid { grid-template-columns: 1fr; }
    .city-pill { justify-content: center; }
}
