/* ==========================================================================
   AUBIN GROUP — habillage "Digency"
   Reprend le design du template Digency : minimaliste noir & blanc,
   titres en Unna (serif), texte Open Sans, boutons noirs, pied de page sombre.
   Chargé APRÈS style.css / site.css : il redéfinit les couleurs, polices
   et composants sans toucher à la logique des pages.
   ========================================================================== */
/* Polices Outfit / Plus Jakarta Sans : déjà chargées par style.css (évite une double requête). */
@import url('digency/css/font-awesome.min.css');
@import url('digency/css/flaticon.css');

:root {
  --dg-ink: #222222;
  --dg-text: #777777;
  --dg-line: #e5e5e5;
  --dg-soft: #f5f5f5;
  --dg-dark: #282e35;
  --dg-dark-line: #43484e;

  /* On remappe les variables de la charte précédente vers la palette Digency */
  --navy: #222222;
  --navy-dark: #282e35;
  --navy-light: #3b4048;
  --navy-soft: rgba(0, 0, 0, 0.04);
  --navy-glow: rgba(0, 0, 0, 0);
  --red: #222222;
  --red-hover: #000000;
  --red-light: #f5f5f5;
  --red-glow: rgba(0, 0, 0, 0);
  --ink: #222222;
  --ink-light: #444444;
  --muted: #777777;
  --bg: #ffffff;
  --card: #ffffff;
  --line: #e5e5e5;
  --line-light: #f0f0f0;
  --soft: #f5f5f5;
  --soft-blue: #f5f5f5;
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --radius-full: 0;
  --shadow-sm: none;
  --shadow: 0 0 11px 3px #e6e6e6;
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 0 11px 3px #e6e6e6;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--dg-text);
  line-height: 1.8;
  background: #fff;
}
h1, h2, h3, h4, h5, h6, .brand, .hero h1, .section h2 {
  font-family: 'Unna', serif;
  color: var(--dg-ink);
  font-weight: 400;
  letter-spacing: 0;
}
h3 { font-weight: 700; }
p { font-size: 14px; }
a { color: inherit; }
.wrap { max-width: 1200px; padding: 0 15px; }

/* ---------- Boutons : .btn-style-one de Digency ---------- */
.primary, .secondary, .btn-style-one, button.primary, button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 29px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 24px;
  border: 1px solid var(--dg-ink);
  border-radius: 0;
  background: var(--dg-ink);
  color: #fff;
  box-shadow: none;
  transform: none;
  transition: all .5s ease;
}
.primary:hover, .secondary:hover, .btn-style-one:hover {
  background: transparent;
  color: var(--dg-ink);
  border-color: var(--dg-ink);
  transform: none;
  box-shadow: none;
}
.secondary { background: transparent; color: var(--dg-ink); }
.secondary:hover { background: var(--dg-ink); color: #fff; }
.iconbtn { border-radius: 0; background: transparent; color: var(--dg-ink); box-shadow: none; }
.iconbtn:hover { background: var(--dg-soft); transform: none; }

/* ---------- Titres de section : filet sous le titre ---------- */
.eyebrow {
  color: var(--dg-text);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
}
.eyebrow::before { height: 1px; background: var(--dg-ink); border-radius: 0; width: 28px; }
.section { padding: 100px 0; }
.section.alt { background: var(--dg-soft); }
.section h2 { font-size: 42px; line-height: 1.2; margin: 6px 0 0; font-weight: 400; color: var(--dg-ink); letter-spacing: 0; }
.section-head { margin-bottom: 55px; }
.section-head p { color: var(--dg-text); font-size: 14px; }

.section-title { position: relative; text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 42px; line-height: 1.2; color: var(--dg-ink); padding-bottom: 22px; position: relative; margin: 0; }
.section-title h2::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 50px; height: 2px; margin-left: -25px; background: var(--dg-ink); }
.section-title p { max-width: 560px; margin: 20px auto 0; color: var(--dg-text); }
.section-title.left { text-align: left; }
.section-title.left h2::after { left: 0; margin-left: 0; }
.section-title.left p { margin-left: 0; }

/* ---------- En-tête Digency ---------- */
.dg-header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  box-shadow: 0 0 11px 3px #cccccc;
}
.dg-header .dg-bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 0 30px; min-height: 90px; gap: 20px;
}
.dg-header .brand img { height: 46px; width: auto; }
.dg-menu { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.dg-menu a {
  display: block; position: relative;
  font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--dg-ink); line-height: 26px; padding: 32px 0; margin: 0 18px;
  text-transform: capitalize;
}
.dg-menu a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 24px; height: 1px; background: var(--dg-ink); transition: right .4s ease; }
.dg-menu a:hover::after, .dg-menu a.active::after { right: 0; }
.dg-menu a:hover { color: #000; }
.dg-actions { display: flex; align-items: center; gap: 4px; }
.dg-actions .dg-ico {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; font-size: 15px; color: var(--dg-ink);
}
.dg-actions .dg-ico:hover { color: #000; background: var(--dg-soft); }
.dg-actions .badge {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  font-size: 10px; line-height: 17px; text-align: center; font-weight: 700;
  background: var(--dg-ink); color: #fff; border-radius: 0;
}
.dg-actions .dg-sep { width: 1px; height: 22px; background: var(--dg-line); margin: 0 12px; }
.dg-actions .btn-style-one { padding: 4px 16px; font-size: 12px; line-height: 26px; margin-left: 10px; }
.dg-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--dg-line); background: #fff; color: var(--dg-ink); font-size: 18px; }
.dg-burger:hover { background: var(--dg-soft); }

/* Menu mobile */
.mobile-drawer { background: rgba(0, 0, 0, .55); }
.mobile-drawer-content { background: #fff; border-radius: 0; }
.mobile-drawer-links a { font-family: 'Open Sans', sans-serif; font-weight: 600; color: var(--dg-ink); border-bottom: 1px solid var(--dg-line); border-radius: 0; }
.mobile-drawer-links a:hover { background: var(--dg-soft); }
.mobile-drawer .close { border-radius: 0; background: var(--dg-soft); color: var(--dg-ink); }

/* ---------- Bandeau de page (page-title) ---------- */
.page-head, .page-title {
  background: var(--dg-soft);
  padding: 80px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--dg-line);
}
.page-head .wrap { max-width: 900px; }
.page-head h1, .page-title h1 {
  font-family: 'Unna', serif; font-size: 60px; line-height: 1.15; font-weight: 600;
  color: var(--dg-ink); margin: 0;
}
.page-head .eyebrow { display: none; }
.page-head p { color: var(--dg-text); font-size: 15px; margin: 18px auto 0; max-width: 680px; }
.dg-crumbs { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--dg-ink); }
.dg-crumbs a:hover { text-decoration: underline; }
.dg-crumbs span { margin: 0 8px; font-weight: 400; }

/* ---------- Accueil ---------- */
.dg-hero { background: var(--dg-soft); padding: 110px 0 100px; position: relative; overflow: hidden; }
.dg-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.dg-hero h1 { font-size: 64px; line-height: 1.12; font-weight: 400; color: var(--dg-ink); margin-bottom: 22px; }
.dg-hero h1 em { font-style: normal; font-weight: 700; }
.dg-hero p { font-size: 16px; color: var(--dg-ink); margin-bottom: 30px; max-width: 520px; }
.dg-hero .actions-row { display: flex; flex-wrap: wrap; gap: 14px; }
.dg-hero-art { position: relative; min-height: 360px; }
.dg-hero-art .blk { position: absolute; background: #fff; box-shadow: 0 0 11px 3px #e0e0e0; display: flex; align-items: center; justify-content: center; text-align: center; }
.dg-hero-art .b1 { inset: 0 70px 60px 0; flex-direction: column; padding: 30px; }
.dg-hero-art .b1 img { width: 70%; max-width: 280px; }
.dg-hero-art .b2 { right: 0; bottom: 0; width: 210px; height: 150px; background: var(--dg-ink); color: #fff; flex-direction: column; }
.dg-hero-art .b2 b { font-family: 'Unna', serif; font-size: 40px; font-weight: 400; line-height: 1; }
.dg-hero-art .b2 small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; opacity: .8; }
.dg-hero-art .b3 { left: 30px; bottom: 0; width: 170px; height: 90px; flex-direction: column; font-size: 12px; }
.dg-hero-art .b3 b { color: var(--dg-ink); font-size: 14px; }

.dg-welcome { padding: 110px 0 70px; }
.dg-item { text-align: center; padding: 0 25px; margin-bottom: 40px; }
.dg-icon-box {
  width: 100px; height: 100px; border-radius: 50%; line-height: 98px; text-align: center;
  display: inline-block; border: 1px solid #e6e6e6; font-size: 40px; color: #000;
}
.dg-icon-box i::before { font-size: 45px; color: #000; line-height: 98px; }
.dg-item h5 { font-family: 'Open Sans', sans-serif; font-size: 22px; line-height: 32px; color: var(--dg-ink); font-weight: 600; padding: 25px 0 10px; }
.dg-item p { color: var(--dg-text); font-size: 14px; line-height: 26px; padding: 0 0 18px; }
.dg-item ul { margin: 0 0 18px; }
.dg-item li { font-size: 13px; color: var(--dg-text); padding: 3px 0; }
.dg-item .more { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dg-ink); border-bottom: 1px solid var(--dg-ink); padding-bottom: 2px; }
.dg-grid { display: grid; gap: 30px; }
.dg-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.dg-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.dg-grid.c2 { grid-template-columns: repeat(2, 1fr); }

.dg-counter { background: var(--dg-dark); padding: 75px 0 35px; }
.dg-counter .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.dg-counter .item { position: relative; padding: 15px 40px; margin-bottom: 40px; }
.dg-counter .item::before { content: ''; position: absolute; right: 0; top: -10px; width: 1px; height: 120px; background: var(--dg-dark-line); }
.dg-counter .item:last-child::before { display: none; }
.dg-counter .item i { position: absolute; left: 0; bottom: 8px; font-size: 45px; color: rgba(255, 255, 255, .4); }
.dg-counter .item i::before { font-size: 45px; }
.dg-counter .num { display: block; font-family: 'Unna', serif; font-size: 55px; font-weight: 400; color: #fff; padding-left: 70px; line-height: 1.1; padding-bottom: 12px; }
.dg-counter .lbl { display: block; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .4); padding-left: 0; }

.dg-choose { padding: 100px 0; }
.dg-choose .lead-p { color: var(--dg-ink); font-size: 16px; line-height: 1.8; }
.dg-bars .bar-item { margin-bottom: 26px; }
.dg-bars h6 { font-family: 'Open Sans', sans-serif; font-size: 14px; color: var(--dg-ink); font-weight: 600; margin-bottom: 8px; }
.dg-bars .track { height: 5px; background: #e5e5e5; }
.dg-bars .fill { height: 100%; background: var(--dg-ink); }

.dg-cta { background: var(--dg-soft); padding: 110px 0; border-top: 1px solid var(--dg-line); border-bottom: 1px solid var(--dg-line); }
.dg-cta p.small { font-size: 17px; color: var(--dg-ink); margin: 0 0 8px; }
.dg-cta h2 { font-size: 50px; line-height: 1.25; font-weight: 400; color: var(--dg-ink); padding-bottom: 24px; }
.dg-cta .actions-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Cartes (produits, services, formations, wifi…) ---------- */
.card {
  background: #fff;
  border: 1px solid var(--dg-line);
  border-radius: 0;
  padding: 28px;
  box-shadow: none;
  transition: all .3s ease;
}
.card:hover { transform: none; border-color: var(--dg-ink); box-shadow: var(--shadow); }
.card h3 { font-family: 'Unna', serif; font-size: 24px; font-weight: 700; color: var(--dg-ink); }
.card p { color: var(--dg-text); }
.product .pic { background: var(--dg-soft); border-radius: 0; }
.product .price, .price, .price-tag, .service-price, .wifi-price { color: var(--dg-ink); font-family: 'Unna', serif; font-weight: 700; }
.product-tag, .featured-tag, .wifi-badge, .pill, .badge {
  border-radius: 0; font-family: 'Open Sans', sans-serif; letter-spacing: .5px;
}
.product-tag, .featured-tag { background: var(--dg-ink); color: #fff; }
.product-cat { color: var(--dg-text); letter-spacing: 1px; }
.service-icon, .catalog-icon, .domain-icon, .num { border-radius: 0; }
.feature { border-radius: 0; background: #fff; border: 1px solid var(--dg-line); box-shadow: none; }
.feature.red { background: var(--dg-dark); color: #fff; border-color: var(--dg-dark); }
.feature.red h3, .feature.red li, .feature.red p { color: #fff; }
.notice, .about-box, .modal-card, .auth-card, .ticket-box, .wifi-card { border-radius: 0; }
.auth-card { box-shadow: var(--shadow); border: 1px solid var(--dg-line); }
.timeline, .process-grid > * { border-radius: 0; }

/* ---------- Formulaires : champs à filet (contact-section) ---------- */
.field label { font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--dg-ink); }
.field input, .field textarea, .field select, .searchbar input, .searchbar select,
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], textarea, select {
  border-radius: 0;
  border: 1px solid var(--dg-line);
  background: #fff;
  color: var(--dg-ink);
  box-shadow: none;
}
.field input:focus, .field textarea:focus, .field select:focus, input:focus, textarea:focus, select:focus {
  border-color: var(--dg-ink); outline: none; box-shadow: none;
}
.flash { border-radius: 0; }
.qty-form button { border-radius: 0; }

/* ---------- Pied de page Digency ---------- */
.dg-subscribe { padding: 100px 0 90px; text-align: center; border-top: 1px solid var(--dg-line); }
.dg-subscribe h2 { font-size: 42px; color: var(--dg-ink); margin: 0 0 12px; }
.dg-subscribe p.sub { color: var(--dg-text); font-size: 15px; margin-bottom: 40px; }
.dg-subscribe form { display: flex; max-width: 630px; margin: 0 auto 40px; gap: 14px; }
.dg-subscribe input[type=email] { flex: 1; height: 47px; padding: 10px 15px; font-size: 14px; }
.dg-subscribe .btn-style-one { padding: 0 34px; line-height: 45px; }
.dg-social { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.dg-social a { width: 50px; height: 50px; line-height: 48px; text-align: center; border: 1px solid var(--dg-line); color: #848484; font-size: 16px; }
.dg-social a:hover { background: var(--dg-ink); color: #fff; border-color: var(--dg-ink); }

.footer { background: var(--dg-dark); color: rgba(255, 255, 255, .6); padding: 80px 0 0; }
.footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer img { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer p { color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer b { display: block; font-family: 'Unna', serif; font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 14px; }
.footer b::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 1px; background: #fff; }
.footer a { display: block; color: rgba(255, 255, 255, .6); font-size: 14px; padding: 4px 0; }
.footer a:hover { color: #fff; padding-left: 4px; }
.footer .contact-line { font-size: 14px; color: rgba(255, 255, 255, .6); padding: 4px 0 4px 24px; position: relative; }
.footer .contact-line i { position: absolute; left: 0; top: 9px; font-size: 13px; color: #fff; }
.footer-bottom { background: #fff; border-top: 1px solid var(--dg-line); padding: 14px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom .left a { font-family: 'Unna', serif; font-size: 30px; font-weight: 700; line-height: 40px; color: #26272a; }
.footer-bottom p { font-size: 15px; color: #222221; margin: 0; }
.scroll-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; line-height: 42px; text-align: center; background: var(--dg-ink); color: #fff; font-size: 22px; border: 1px solid var(--dg-ink); opacity: 0; pointer-events: none; transition: all .4s ease; z-index: 800; }
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: #fff; color: var(--dg-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dg-menu a { margin: 0 12px; }
  .dg-grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .dg-counter .wrap { grid-template-columns: repeat(2, 1fr); }
  .dg-counter .item:nth-child(2)::before { display: none; }
  .footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .dg-menu, .dg-actions .dg-sep, .dg-actions .btn-style-one { display: none; }
  .dg-burger { display: inline-flex; align-items: center; justify-content: center; margin-left: 6px; }
  .dg-header .dg-bar { padding: 0 15px; min-height: 72px; }
  .dg-hero .wrap { grid-template-columns: 1fr; }
  .dg-hero { padding: 70px 0; }
  .dg-hero h1 { font-size: 44px; }
  .dg-hero-art { min-height: 260px; }
  .dg-grid.c3, .dg-grid.c2 { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 40px; }
  .section h2, .section-title h2, .dg-subscribe h2 { font-size: 34px; }
  .dg-cta h2 { font-size: 36px; }
}
@media (max-width: 560px) {
  .dg-grid.c4 { grid-template-columns: 1fr; }
  .dg-counter .wrap { grid-template-columns: 1fr; }
  .dg-counter .item::before { display: none; }
  .footer .footer-grid { grid-template-columns: 1fr; }
  .dg-subscribe form { flex-direction: column; }
  .dg-hero h1 { font-size: 36px; }
  .footer-bottom .wrap { justify-content: center; text-align: center; }
}

/* --- ajustements --- */
.dg-header .brand { display: flex; align-items: center; }
.dg-header .brand img { height: 50px !important; width: auto !important; max-width: none; }
.dg-item ul { list-style: none; padding: 0; margin: 0 0 18px; }
.dg-item li { list-style: none; text-align: center; }
.dg-counter .item i { top: 18px; bottom: auto; }
.dg-counter .lbl { padding-top: 10px; }
.card h3 { line-height: 1.25; }
.card.quick-service { padding: 34px 24px; }
.product .row { flex-wrap: wrap; gap: 10px; align-items: center; }
.product .row .primary { padding: 4px 14px; font-size: 11px; line-height: 26px; }
.product .price { font-size: 22px; line-height: 1.2; }
.product .price small { font-family: 'Open Sans', sans-serif; font-weight: 600; }
.product .body { padding: 22px; }
.dg-bars .bar-item { border-left: 2px solid var(--dg-ink); padding-left: 18px; margin-bottom: 22px; }
.dg-header .brand img { width: 170px !important; height: 52px !important; object-fit: contain; }
.footer img { width: 170px; height: 52px; object-fit: contain; object-position: left center; }
.hero, .catalog-head { background: var(--dg-soft); border-bottom: 1px solid var(--dg-line); }
.hero h1 { font-size: 54px; line-height: 1.15; font-weight: 600; text-align: center; }
.hero h1 span { color: var(--dg-ink); }
.hero p, .hero .hero-actions { text-align: center; justify-content: center; margin-left: auto; margin-right: auto; }
.hero .eyebrow { display: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dg-header .brand img { width: auto !important; height: 56px !important; }
.footer img { width: auto; height: 60px; }
.dg-hero-art .b1 img { width: 62%; max-width: 300px; height: auto; }
.mobile-drawer-head img { width: auto !important; height: 44px; }
.dg-header .dg-bar { padding: 0 50px; }
.footer .contact-line i { top: 7px; }
@media (max-width: 900px) { .dg-header .dg-bar { padding: 0 15px; } }
@media (max-width: 900px) {
  .dg-hero-art { min-height: 220px; }
  .dg-hero-art .b3 { display: none; }
  .dg-hero-art .b1 { inset: 0 40px 30px 0; }
  .dg-hero-art .b1 img { width: 55%; }
  .dg-hero-art .b2 { width: 150px; height: 100px; }
  .dg-hero-art .b2 b { font-size: 30px; }
}
.primary, .secondary { white-space: normal; }
.grid > *, .split > *, .dg-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .split, .contact, .about { grid-template-columns: 1fr !important; }
  .wrap { overflow-wrap: anywhere; }
  .page-head h1, .hero h1 { font-size: 34px; }
}

.wa-float { position: fixed; left: 22px; bottom: 22px; width: 56px; height: 56px; line-height: 56px; text-align: center; background: #25d366; color: #fff; font-size: 30px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 850; transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float i { line-height: 56px; }
.dg-prose { max-width: 820px; margin: 0 auto; color: #555; }
.dg-prose h3 { font-family: 'Unna', serif; font-size: 26px; color: var(--dg-ink); margin: 34px 0 10px; }
.dg-prose p { font-size: 15px; line-height: 1.9; margin: 0 0 16px; color: #555; }
.dg-post { display: block; background: #fff; border: 1px solid var(--dg-line); transition: all .3s ease; }
.dg-post:hover { box-shadow: var(--shadow); }
.dg-post .pimg { height: 220px; background: var(--dg-soft) center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 46px; position: relative; }
.dg-post .date-box { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: #000; color: #fff; font-size: 13px; padding: 4px 18px; font-family: 'Open Sans', sans-serif; line-height: 1.6; white-space: nowrap; }
.dg-post .ptxt { padding: 34px 24px 26px; text-align: center; }
.dg-post h3 { font-family: 'Unna', serif; font-size: 24px; font-weight: 700; color: var(--dg-ink); line-height: 1.25; margin-bottom: 10px; }
.dg-post p { color: var(--dg-text); font-size: 14px; margin: 0; }
.dg-testi { max-width: 780px; margin: 0 auto; text-align: center; }
.dg-testi blockquote { margin: 0; font-size: 18px; line-height: 1.9; color: #555; font-style: italic; font-family: 'Open Sans', sans-serif; }
.dg-testi cite { display: block; margin-top: 18px; font-style: normal; font-size: 17px; color: var(--dg-ink); }
.dg-testi cite small { display: block; font-style: italic; color: #999; font-size: 13px; }
.dg-testi .tdots { margin-top: 26px; }
.dg-testi .tdots button { width: 10px; height: 10px; margin: 0 5px; border-radius: 50%; background: #d5d5d5; padding: 0; }
.dg-testi .tdots button.on { background: var(--dg-ink); }
@media (max-width: 560px) { .wa-float { width: 50px; height: 50px; line-height: 50px; font-size: 26px; } }


/* ==========================================================================
   IDENTITÉ AUBIN GROUP — bleu marine #072C4A + rouge #b82228
   (appliquée sur la structure Digency : surcharge des couleurs, polices, formes)
   ========================================================================== */
:root {
  --navy: #072C4A; --navy-dark: #041726; --navy-light: #0d4470; --navy-soft: rgba(7,44,74,.06);
  --red: #b82228; --red-hover: #9c1b20; --red-light: #fef2f2; --red-glow: rgba(184,34,40,.22);
  --ink: #0f172a; --ink-light: #334155; --muted: #64748b; --bg: #f8fafc; --line: #e2e8f0; --soft: #f1f5f9; --soft-blue: #eef4f8;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(7,44,74,.06);
  --shadow: 0 10px 30px -10px rgba(7,44,74,.14), 0 4px 12px -2px rgba(7,44,74,.06);
  --shadow-lg: 0 20px 45px -12px rgba(7,44,74,.22), 0 8px 18px -4px rgba(7,44,74,.08);
  --dg-ink: #072C4A; --dg-text: #64748b; --dg-line: #e2e8f0; --dg-soft: #f1f5f9;
  --dg-dark: #072C4A; --dg-dark-line: rgba(255,255,255,.14);
  --dg-red: #b82228;
}
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #475569; background: #fff; font-size: 15px; }
h1, h2, h3, h4, h5, h6, .brand, .hero h1, .section h2, .section-title h2, .dg-hero h1, .page-head h1, .dg-cta h2, .dg-subscribe h2,
.dg-counter .num, .footer b, .footer-bottom .left a, .dg-post h3, .card h3, .dg-prose h3, .price, .product .price {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; color: var(--navy);
}
p, a, input, button, select, textarea, .dg-menu a, .dg-item h5, .btn-style-one, .primary, .secondary { font-family: 'Plus Jakarta Sans', sans-serif; }
h1, h2 { font-weight: 700; }

/* Boutons : rouge (action principale) / marine (secondaire) */
.primary, .btn-style-one, button.primary {
  background: var(--red); border-color: var(--red); color: #fff; border-radius: 10px;
  box-shadow: 0 4px 14px var(--red-glow); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; padding: 8px 22px;
}
.primary:hover, .btn-style-one:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(184,34,40,.35); }
.secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); border-radius: 10px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; }
.secondary:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.iconbtn { border-radius: 10px; color: var(--navy); }
.dg-actions .btn-style-one { border-radius: 10px; }

/* Titres de section : filet rouge */
.section-title h2::after { background: var(--red); height: 3px; width: 56px; margin-left: -28px; border-radius: 3px; }
.section-title.left h2::after { margin-left: 0; }
.eyebrow { color: var(--red); font-weight: 800; letter-spacing: .14em; }
.eyebrow::before { background: var(--red); height: 3px; width: 26px; border-radius: 3px; }
.section.alt, .dg-choose { background: var(--soft-blue) !important; }

/* En-tête */
.dg-header { box-shadow: 0 2px 18px rgba(7,44,74,.10); border-bottom: 3px solid var(--red); }
.dg-menu a { color: var(--navy); font-weight: 700; }
.dg-menu a::after { background: var(--red); height: 2px; }
.dg-menu a:hover, .dg-menu a.active { color: var(--red); }
.dg-actions .dg-ico { color: var(--navy); }
.dg-actions .dg-ico:hover { color: var(--red); background: var(--navy-soft); }
.dg-actions .badge { background: var(--red); border-radius: 9px; }
.dg-burger { border-radius: 10px; color: var(--navy); }

/* Bandeau de page : dégradé marine, titre blanc, filet rouge */
.page-head, .page-title, .hero, .catalog-head.hero {
  background: radial-gradient(circle at 88% 20%, rgba(184,34,40,.28), transparent 38%), linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  border-bottom: 0; color: #fff; position: relative; padding: 84px 0 76px;
}
.page-head::after, .hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 120px, transparent 120px); }
.page-head h1, .page-title h1, .hero h1 { color: #fff; font-weight: 800; font-size: 54px; }
.page-head p, .hero p { color: rgba(255,255,255,.82); }
.dg-crumbs { color: rgba(255,255,255,.9); }
.dg-crumbs a { color: #fff; opacity: .85; } .dg-crumbs span { opacity: .6; }
.hero h1 span { color: #ff8a8f; }
.hero .secondary, .page-head .secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .secondary:hover, .page-head .secondary:hover { background: #fff; color: var(--navy); }

/* Accueil */
.dg-hero { background: radial-gradient(circle at 85% 15%, rgba(184,34,40,.10), transparent 34%), linear-gradient(135deg, #fff 0%, var(--soft-blue) 58%, #fff 100%); }
.dg-hero h1 { font-weight: 700; color: var(--navy); }
.dg-hero h1 em { color: var(--red); font-weight: 800; }
.dg-hero p { color: #334155; }
.dg-hero-art .blk { border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.dg-hero-art .b2 { background: linear-gradient(135deg, var(--red), var(--red-hover)); border: 0; }
.dg-hero-art .b2 b { font-family: 'Outfit', sans-serif; font-weight: 800; }
.dg-hero-art .b3 b { color: var(--navy); }
.dg-icon-box { border: 2px solid var(--line); background: var(--soft-blue); transition: all .3s ease; }
.dg-icon-box i::before { color: var(--navy); }
.dg-item:hover .dg-icon-box { border-color: var(--red); background: #fff; box-shadow: 0 8px 22px rgba(184,34,40,.18); }
.dg-item:hover .dg-icon-box i::before { color: var(--red); }
.dg-item h5 { color: var(--navy); font-family: 'Outfit', sans-serif; font-weight: 700; }
.dg-item .more, .card .more { color: var(--red); border-bottom: 2px solid var(--red); letter-spacing: .5px; }
.dg-counter { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.dg-counter .num { color: #fff; font-weight: 700; }
.dg-counter .item i::before { color: rgba(255,255,255,.35); }
.dg-counter .item:hover i::before { color: #ff8a8f; }
.dg-bars .bar-item { border-left: 3px solid var(--red); }
.dg-bars h6 { color: var(--navy); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; }
.dg-cta { background: var(--soft-blue); border-color: var(--line); }
.dg-cta h2 { color: var(--navy); font-weight: 700; }
.feature.red { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.feature.red::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(184,34,40,.35); }
.feature.red .btn-style-one { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }

/* Cartes, produits, formulaires */
.card { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: var(--shadow-lg); }
.card h3, .card h4 { color: var(--navy); }
.product .pic { border-radius: var(--radius) var(--radius) 0 0; background: var(--soft-blue); }
.product .price, .price, .service-price, .wifi-price { color: var(--red); font-weight: 800; }
.product-tag, .featured-tag { background: var(--red); border-radius: 999px; }
.product-cat { color: var(--red); font-weight: 700; }
.field input, .field textarea, .field select, input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], textarea, select { border-radius: 10px; border: 1.5px solid var(--line); }
.field input:focus, .field textarea:focus, .field select:focus, input:focus, textarea:focus, select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,44,74,.10); }
.field label { color: var(--navy); font-weight: 700; }
.feature { border-radius: var(--radius); }
.notice, .about-box, .modal-card, .auth-card, .ticket-box, .wifi-card { border-radius: var(--radius); }
.dg-post { border-radius: var(--radius); overflow: hidden; }
.dg-post .date-box { background: var(--red); border-radius: 999px; }
.dg-post h3 { color: var(--navy); }

/* Pied de page marine */
.dg-subscribe { background: #fff; border-top: 0; }
.dg-social a { border-radius: 50%; color: var(--navy); border: 2px solid var(--line); }
.dg-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: rgba(255,255,255,.72); border-top: 4px solid var(--red); }
.footer b::after { background: var(--red); height: 3px; width: 34px; border-radius: 3px; }
.footer a:hover { color: #fff; } .footer .contact-line i { color: #ff8a8f; }
.footer-bottom { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .left a { color: #fff; font-weight: 800; font-size: 24px; }
.footer-bottom p, .footer-bottom p a { color: rgba(255,255,255,.7) !important; }
.scroll-top { background: var(--red); border-color: var(--red); border-radius: 10px; }
.scroll-top:hover { background: #fff; color: var(--red); }
.mobile-drawer-content { border-radius: 0; }

/* ======================= PAGE SERVICES : MOSAÏQUE ======================= */
.svc-filter { position: sticky; top: 90px; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.svc-filter .wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; }
.svc-chip { border: 2px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: 13.5px; padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: all .2s ease; font-family: 'Plus Jakarta Sans', sans-serif; }
.svc-chip:hover { border-color: var(--navy); }
.svc-chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-chip small { opacity: .65; font-weight: 600; margin-left: 4px; }
.svc-search { margin-left: 8px; }
.svc-search input { border: 2px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; width: 220px; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); grid-auto-flow: dense; gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease; min-height: 250px; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.tile .t-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tile .t-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--soft-blue); display: flex; align-items: center; justify-content: center; font-size: 28px; border: 1px solid var(--line); transition: all .3s ease; }
.tile:hover .t-icon { background: var(--navy); transform: rotate(-6deg) scale(1.05); }
.tile .t-tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--navy-soft); padding: 4px 10px; border-radius: 999px; max-width: 60%; text-align: right; line-height: 1.3; }
.tile h3 { font-size: 21px; font-weight: 700; line-height: 1.2; margin: 0 0 8px; color: var(--navy); }
.tile .t-short { font-size: 14px; line-height: 1.55; color: #475569; margin: 0 0 10px; font-weight: 600; }
.tile .t-desc { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile .t-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tile .t-price { font-size: 12.5px; font-weight: 800; color: var(--red); }
.tile .t-links { display: flex; gap: 14px; align-items: center; margin-left: auto; }
.tile .t-links a { font-size: 13px; font-weight: 800; color: var(--navy); }
.tile .t-links a.q { color: var(--red); }
.tile .t-links a:hover { text-decoration: underline; }
.tile .t-num { position: absolute; right: 18px; bottom: 10px; font-family: 'Outfit', sans-serif; font-size: 64px; font-weight: 800; color: rgba(7,44,74,.04); line-height: 1; pointer-events: none; }

/* Tuile large "à la une" (2 colonnes, fond marine) */
.tile.wide { grid-column: span 2; background: linear-gradient(135deg, var(--navy-dark), var(--navy) 65%, var(--navy-light)); border-color: var(--navy); }
.tile.wide h3 { color: #fff; font-size: 26px; }
.tile.wide .t-short { color: #fff; } .tile.wide .t-desc { color: rgba(255,255,255,.75); -webkit-line-clamp: 4; }
.tile.wide .t-icon { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.tile.wide:hover .t-icon { background: var(--red); }
.tile.wide .t-tag { background: rgba(255,255,255,.14); color: #fff; }
.tile.wide .t-price { color: #ff8a8f; } .tile.wide .t-links a { color: #fff; } .tile.wide .t-links a.q { color: #ff8a8f; }
.tile.wide .t-num { color: rgba(255,255,255,.06); }
.tile.wide::after { content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(184,34,40,.32); }

/* Tuile d'en-tête de domaine (2 colonnes, couleur de marque) */
.tile.dom { grid-column: span 2; background: linear-gradient(135deg, var(--red), var(--red-hover)); border-color: var(--red); color: #fff; justify-content: space-between; }
.tile.dom:hover { border-color: var(--red-hover); }
.tile.dom .d-num { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .14em; opacity: .85; }
.tile.dom .d-icon { font-size: 40px; line-height: 1; margin: 10px 0 6px; }
.tile.dom h3 { color: #fff; font-size: 26px; margin: 0 0 8px; }
.tile.dom p { color: rgba(255,255,255,.88); font-size: 14px; margin: 0 0 14px; }
.tile.dom .d-meta { font-size: 12.5px; font-weight: 700; opacity: .9; }
.tile.dom a.btn { align-self: flex-start; background: #fff; color: var(--red); border-radius: 10px; padding: 8px 18px; font-weight: 800; font-size: 13.5px; }
.tile.dom a.btn:hover { background: var(--navy); color: #fff; }
.tile.dom.alt2 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-color: var(--navy); }
.tile.dom.alt2 a.btn { color: var(--navy); } .tile.dom.alt2 a.btn:hover { background: var(--red); color: #fff; }

/* Tuile "sur mesure" finale */
.tile.custom { grid-column: span 2; background: var(--soft-blue); border: 2px dashed #b9c9d6; justify-content: center; align-items: flex-start; }
.tile.custom h3 { font-size: 24px; }
.tile.hidden { display: none; }
.svc-empty { text-align: center; padding: 50px 0; color: var(--muted); display: none; }

@media (max-width: 1100px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .svc-filter { top: 72px; } }
@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile.wide, .tile.dom, .tile.custom { grid-column: span 1; }
  .svc-filter { position: static; } .svc-filter .wrap { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .svc-chip { white-space: nowrap; } .svc-search input { width: 160px; }
  .page-head h1, .hero h1 { font-size: 34px; }
}
.tile .t-top, .tile h3, .tile .t-short, .tile .t-desc, .tile .t-foot { position: relative; z-index: 2; }
.tile.wide::after { top: -70px; right: -70px; opacity: .8; }

/* ===== responsive : en-tête (ajout) ===== */
@media (min-width:901px) and (max-width:1200px){
  .dg-menu a{margin:0 7px;font-size:14px}
  .dg-actions .btn-style-one{margin-left:4px;padding:4px 12px}
  .dg-actions .dg-sep{margin:0 6px}
}
@media (max-width:480px){
  .dg-header .dg-bar{padding:0 10px}
  .dg-actions{gap:0;min-width:0}
  .dg-actions .dg-ico{width:34px;height:34px}
  .dg-burger{width:38px;height:38px;margin-left:2px}
  .dg-header .ag-lang{height:30px;min-width:32px;padding:0 6px}
}
