/* ================================================
   DCUVE.FR — Feuille de style partagée
   Couleurs : #3095CD (primaire) | #4AAB4B (secondaire) | #E34A54 (accent)
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, sans-serif; color: #333; background: #fff; line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

:root {
  --blue:    #3095CD;
  --blue-dk: #2178a5;
  --green:   #4AAB4B;
  --green-dk:#3a8a3a;
  --red:     #E34A54;
  --red-dk:  #c73a44;
  --dark:    #1D2B3A;
  --text:    #444;
  --light:   #F5F7FA;
  --border:  #e4eaf0;
}

/* ──────────────────────────────────────────────
   LAYOUT
────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-light { background: var(--light); }

/* ──────────────────────────────────────────────
   TYPOGRAPHY
────────────────────────────────────────────── */
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.28; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.38; }
h4 { font-size: 1rem; font-weight: 700; }
p  { font-size: .96rem; line-height: 1.78; }
.lead { font-size: 1.08rem; }

.accent-bar { width: 46px; height: 4px; background: var(--red); border-radius: 2px; margin: 12px 0 22px; }
.accent-bar-center { margin-left: auto; margin-right: auto; }

/* ──────────────────────────────────────────────
   TOP-BAR
────────────────────────────────────────────── */
.top-bar { background: var(--dark); padding: 7px 0; }
.top-bar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 28px; flex-wrap: wrap; }
.top-bar a, .top-bar span {
  color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 500;
  display: flex; align-items: center; gap: 6px; transition: color .18s;
}
.top-bar a:hover { color: #fff; }

/* ──────────────────────────────────────────────
   HEADER
────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: 900; color: var(--blue); letter-spacing: -.5px; line-height: 1; }
.logo-text .dot-fr { color: var(--blue); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 7px 12px; border-radius: 7px;
  font-size: .84rem; font-weight: 500; color: #555;
  transition: background .18s, color .18s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: rgba(48,149,205,.09); color: var(--blue); }
.main-nav .btn-nav-cta {
  background: var(--red); color: #fff !important;
  border-radius: 8px; padding: 9px 18px !important;
  font-weight: 600 !important; margin-left: 6px;
}
.main-nav .btn-nav-cta:hover { background: var(--red-dk); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .28s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 500px;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,43,58,.88) 0%, rgba(48,149,205,.62) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 88px 0; max-width: 720px; }
.hero-content h1  { color: #fff; margin-bottom: 18px; }
.hero-content p   { color: rgba(255,255,255,.88); margin-bottom: 32px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.9); font-size: .76rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: .8px;
}
.hero-tag-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ──────────────────────────────────────────────
   BOUTONS
────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 9px;
  font-weight: 600; font-size: .94rem;
  transition: all .2s; cursor: pointer; border: 2px solid transparent;
}
.btn-blue   { background: var(--blue);  color: #fff; }
.btn-blue:hover   { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(48,149,205,.3); }
.btn-green  { background: var(--green); color: #fff; }
.btn-green:hover  { background: var(--green-dk); transform: translateY(-2px); }
.btn-red    { background: var(--red);   color: #fff; }
.btn-red:hover    { background: var(--red-dk); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 10px; }

/* ──────────────────────────────────────────────
   SECTION TITLE
────────────────────────────────────────────── */
.section-title { margin-bottom: 50px; }
.section-title h2 { color: var(--dark); }
.section-title p  { color: #666; margin-top: 10px; max-width: 580px; }
.section-title.center { text-align: center; }
.section-title.center p { margin-left: auto; margin-right: auto; }
.section-title.center .accent-bar { margin-left: auto; margin-right: auto; }

/* ──────────────────────────────────────────────
   CARTES DE SERVICES
────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 24px; }
.card {
  background: #fff; border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.11); }
.card-img-wrap img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.4rem;
}
.icon-blue  { background: rgba(48,149,205,.1);  color: var(--blue); }
.icon-green { background: rgba(74,171,75,.1);   color: var(--green); }
.icon-red   { background: rgba(227,74,84,.1);   color: var(--red); }
.card-body h3 { color: var(--dark); margin-bottom: 10px; }
.card-body p  { color: #666; font-size: .91rem; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 600; font-size: .86rem;
  margin-top: 18px; transition: gap .2s;
}
.card-link:hover { gap: 10px; }

/* ──────────────────────────────────────────────
   SPLIT (TEXTE + IMAGE)
────────────────────────────────────────────── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-section.reverse .split-image { order: 2; }
.split-section.reverse .split-text  { order: 1; }
.split-image img { width: 100%; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,.12); }
.split-text h2  { color: var(--dark); margin-bottom: 14px; }
.split-text p   { color: var(--text); margin-bottom: 14px; }
.split-text .check-list { margin: 18px 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li  { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .93rem; }
.check-list li::before {
  content: '✓'; min-width: 22px; height: 22px;
  background: var(--green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; flex-shrink: 0; margin-top: 1px;
}

/* ──────────────────────────────────────────────
   ÉTAPES
────────────────────────────────────────────── */
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.step-card {
  background: #fff; border-radius: 14px; padding: 28px 22px;
  border: 1px solid var(--border); text-align: center;
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
}
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 1.35rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-card h3 { font-size: 1rem; color: var(--dark); margin-bottom: 8px; }
.step-card p  { color: #666; font-size: .88rem; }

/* ──────────────────────────────────────────────
   AVANT / APRÈS
────────────────────────────────────────────── */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.ba-item { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.ba-label { padding: 10px 16px; font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: 1.5px; }
.ba-before { background: var(--red);   color: #fff; }
.ba-after  { background: var(--green); color: #fff; }
.ba-item img { width: 100%; height: 200px; object-fit: cover; }

/* ──────────────────────────────────────────────
   CTA BOX
────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  border-radius: 20px; padding: 48px; color: #fff; margin: 48px 0;
}
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box p  { color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 600px; }

/* ──────────────────────────────────────────────
   AVANTAGES GRID
────────────────────────────────────────────── */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.adv-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; background: #fff; border-radius: 12px;
  border: 1px solid var(--border);
}
.adv-icon {
  width: 42px; height: 42px; min-width: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.adv-icon-blue  { background: rgba(48,149,205,.1); }
.adv-icon-green { background: rgba(74,171,75,.1); }
.adv-item h4 { font-size: .9rem; color: var(--dark); margin-bottom: 4px; }
.adv-item p  { font-size: .84rem; color: #666; }

/* ──────────────────────────────────────────────
   INFO CONTACTS
────────────────────────────────────────────── */
.info-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; }
.info-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 10px; background: var(--blue);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-item h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; color: #999; font-weight: 600; margin-bottom: 4px; }
.info-item p, .info-item a { color: var(--dark); font-weight: 500; font-size: .93rem; }

/* ──────────────────────────────────────────────
   BLOG
────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.blog-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block; background: rgba(48,149,205,.1); color: var(--blue);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 10px;
}
.blog-card-body h3 { font-size: .98rem; color: var(--dark); margin-bottom: 8px; line-height: 1.42; flex: 1; }
.blog-card-body p  { color: #666; font-size: .86rem; }
.blog-card-footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.read-more { color: var(--blue); font-size: .86rem; font-weight: 600; }
.read-more:hover { color: var(--blue-dk); }

/* ──────────────────────────────────────────────
   BREADCRUMB
────────────────────────────────────────────── */
.breadcrumb { background: var(--light); padding: 10px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #888; flex-wrap: wrap; }
.breadcrumb-inner a   { color: var(--blue); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; }

/* ──────────────────────────────────────────────
   ARTICLE
────────────────────────────────────────────── */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-hero { border-radius: 16px; overflow: hidden; margin-bottom: 36px; }
.article-hero img { width: 100%; height: 320px; object-fit: cover; }
.article-body h2 { color: var(--dark); font-size: 1.45rem; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--light); }
.article-body h3 { color: var(--blue); font-size: 1.12rem; margin: 26px 0 10px; }
.article-body p  { color: #444; margin-bottom: 18px; line-height: 1.82; }
.article-body ul, .article-body ol { margin: 12px 0 20px 28px; color: #444; }
.article-body li { margin-bottom: 10px; line-height: 1.72; }
.article-body blockquote {
  border-left: 4px solid var(--blue); padding: 16px 22px;
  margin: 24px 0; background: rgba(48,149,205,.05);
  border-radius: 0 8px 8px 0; color: #555; font-style: italic;
}

/* ──────────────────────────────────────────────
   CONTACT BANNER
────────────────────────────────────────────── */
.contact-banner {
  background: var(--light); border-radius: 18px; padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.contact-banner h3 { color: var(--dark); font-size: 1.35rem; margin-bottom: 8px; }
.contact-banner p  { color: #666; }

/* ──────────────────────────────────────────────
   DEVIS
────────────────────────────────────────────── */
.devis-box {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
  padding: 40px; max-width: 740px; margin: 0 auto;
  text-align: center;
}
.devis-box .big-icon { font-size: 3.5rem; margin-bottom: 16px; }
.devis-box h2 { color: var(--dark); margin-bottom: 12px; }
.devis-box p  { color: #666; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.devis-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; text-align: left; }
.devis-feat { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #555; }
.devis-feat::before { content: '✓'; width: 22px; height: 22px; min-width: 22px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; }

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding-top: 60px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .footer-logo-name { font-size: 1.45rem; font-weight: 900; color: #fff; letter-spacing: -.5px; margin-bottom: 14px; }
.footer-brand .footer-logo-name span { color: var(--red); }
.footer-brand p { font-size: .86rem; line-height: 1.75; opacity: .7; }
.footer-heading { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: rgba(255,255,255,.38); margin-bottom: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.6); font-size: .86rem; transition: color .18s; }
.footer-nav a:hover { color: #fff; }
.footer-contact-line { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.62); font-size: .86rem; margin-bottom: 8px; }
.footer-contact-line a { color: rgba(255,255,255,.62); }
.footer-contact-line a:hover { color: #fff; }
.footer-siret { color: rgba(255,255,255,.62); font-size: .82rem; margin-top: 4px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: .76rem; color: rgba(255,255,255,.32);
  flex-wrap: wrap; gap: 10px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.32); }
.footer-legal a:hover { color: rgba(255,255,255,.55); }

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-row  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse .split-image, .split-section.reverse .split-text { order: unset; }
  .adv-grid  { grid-template-columns: 1fr; }
  .info-row  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 16px 24px; flex-direction: column; gap: 2px;
    border-top: 1px solid var(--border); z-index: 300;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 16px; border-radius: 8px; font-size: .92rem; }
  .main-nav .btn-nav-cta { margin-left: 0; }
  .site-header { position: relative; }
  .ba-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .section { padding: 56px 0; }
  .hero-content { padding: 60px 0; }
  .contact-banner { flex-direction: column; }
  .cta-box { padding: 32px 24px; }
  .devis-features { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .cards-grid { grid-template-columns: 1fr; }
  .steps-row  { grid-template-columns: 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }
}
