/* ============================================================
   IRRIGATION BOJET — styles_layout.css
   Modern redesign — navy #3d5488 / red #ae0000 / green #47981c
   Layout widths preserved to match original controller logic:
     global_container: fluid max-width:1440px, padding:0 32px
     div_menu_gauche:  float:left, width:180px (hidden when empty)
     div_contenu:      float:left, width:calc(100% - 200px) or 100% when no sidebar
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Source+Serif+4:wght@300;400;500;600&display=swap');

/* ── VARIABLES ── */
:root {
  --navy-900: #1a2440;
  --navy-800: #243058;
  --navy-600: #3d5488;
  --navy-400: #5a76b0;
  --navy-200: #b5c4de;
  --navy-100: #dce5f2;
  --navy-50:  #eef3fa;
  --red-700:  #8a0000;
  --red-600:  #ae0000;
  --red-400:  #cc3333;
  --red-100:  #f8dada;
  --red-50:   #fdf2f2;
  --green-700: #2f6a10;
  --green-600: #47981c;
  --green-300: #89c45e;
  --green-50:  #edf6e3;
  --sky-50:   #e9f2fb;
  --white:    #ffffff;
  --bg:       #f5f8fd;
  --text:     #141c2e;
  --text-muted: #4a566e;
  --border:   rgba(61,84,136,.1);
  --shadow-sm: 0 2px 8px rgba(26,36,64,.07);
  --shadow-md: 0 8px 24px rgba(26,36,64,.1);
}

/* ── RESET ── */
html, body, form, ul, ol, li, div, p, h1, h2, h3, h4, h5 {
  margin: 0; padding: 0;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  overflow-x: hidden;
  background: var(--bg);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

li  { list-style-type: none; }
img { display: block; border: none; max-width: 100%; }

a { color: var(--red-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-700); }

/* ── Dark background: all links & buttons must be white or their own color ── */
#site-header a,
.hp-hero a, .hp-hero-eyebrow,
.hp-section-dark a,
.hp-cta a,
.hp-trust a,
.hp-counter, .hp-counter-num, .hp-counter-label,
.hp-stat-num, .hp-stat-label, .hp-stat-green,
.cp-hero a, .cp-hero p, .cp-hero span,
.sq-hero a, .sq-hero p, .sq-hero span,
footer a, #site-footer a {
  color: inherit;
}

/* Explicit button overrides — ensure text is always white regardless of link reset */
.hp-btn-primary, .hp-btn-primary:hover,
.header-btn--primary, .header-btn--primary:hover,
.hp-btn-white, .hp-btn-white:hover {
  color: #fff !important;
}
.hp-btn-ghost, .hp-btn-ghost:hover,
.header-btn--ghost, .header-btn--ghost:hover {
  color: rgba(255,255,255,.88) !important;
}
.hp-cta-phone, .hp-cta-phone:hover {
  color: rgba(255,255,255,.90) !important;
}

p { margin: 0 0 10px; }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--navy-900);
}

/* ── Dark background: headings must be white ── */
#site-header h1, #site-header h2, #site-header h3,
.hp-hero h1, .hp-hero h2,
.hp-section-dark h1, .hp-section-dark h2, .hp-section-dark h3,
.hp-cta h1, .hp-cta h2,
.cp-hero h1, .cp-hero h2,
.sq-hero h1, .sq-hero h2,
footer h3, footer h4,
#site-footer h3, #site-footer h4 {
  color: #fff !important;
}

input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--navy-200);
  border-radius: 8px;
  padding: 7px 10px;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(61,84,136,.12);
}

table td.label { vertical-align: top; padding: 4px 8px 0 0; }
table td.field { vertical-align: top; padding-bottom: 4px; }

.txt, textarea, select {
  color: var(--text);
  width: 200px;
  padding: 7px 10px;
  margin: 2px 0 6px;
  border: 1px solid var(--navy-200);
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: var(--navy-600);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: background .2s;
}
.btn:hover { background: var(--navy-900); }

button {
  font-family: inherit;
}

.clear { clear: both; }

/* ── GLOBAL CONTAINER — fluid up to 1440px ── */
div#global_container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bg);
  padding: 0 32px;
}

/* ── BANNER / HEADER IMAGE ── */
div#div_bandeau_drapeaux {
  margin: 0; padding: 0;
  overflow: hidden;
  width: 100%;
  height: 2px;
  background: var(--navy-600);
}

div#div_bandeau {
  margin: 0; padding: 0;
  overflow: hidden;
  width: 100%;
  height: 300px;
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ── TOP NAV BAR ── */
div#div_menu_haut {
  /* Nav escapes the fixed-width container via negative margins */
  position: sticky;
  top: 0;
  z-index: 200;
  /* Pull the nav to full viewport width regardless of container width */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

/* ── LEFT SIDEBAR — original: float left, 165px wide ── */
div#div_menu_gauche {
  float: left;
  position: relative;
  top: 0;
  margin-left: 5px;
  margin-top: 16px;
  width: 180px;
}
div#div_menu_gauche:empty {
  display: none;
}

/* ── MAIN CONTENT AREA
   Original had width:1200px which overlapped the menu visually.
   We use margin-left: 195px to properly push content past the sidebar.
   Total: 195px margin + ~1000px content = fits in 1200px container.
── */
div#div_contenu {
  float: left;
  margin-left: 195px;
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 22px 26px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: calc(100% - 200px);   /* fluid: fill available width minus sidebar + gaps */
  min-height: 500px;
  box-shadow: var(--shadow-sm);
}

/* When sidebar is empty (most pages) — full width content */
div#div_contenu.no-sidebar {
  margin-left: 0;
  width: 100%;
}

div#div_contenu h1 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 14px;
  padding: 0;
  line-height: 1.2;
}

div#div_contenu h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--red-600);
  margin: 16px 0 8px;
  padding: 0;
  line-height: 1.3;
}

div#div_contenu p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

div#div_contenu a {
  color: var(--red-600);
  text-decoration: underline;
  font-size: 14px;
}
div#div_contenu a:hover { color: var(--red-700); text-decoration: none; }

/* ── FOOTER ── */
div#div_pied_page {
  clear: both;
  width: 1200px;
  background: var(--navy-900);
  text-align: center;
  padding: 24px 40px;
  margin-bottom: 24px;
  border-radius: 0 0 12px 12px;
}

div#div_pied_page p {
  padding-top: 0;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  margin: 0;
}

div#div_pied_page a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
}
div#div_pied_page a:hover { color: #fff; }

/* ── PRODUCT THUMBNAILS ── */
.div_liste_thumbnail {
  float: left;
  text-align: center;
  margin: 0 12px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  transition: box-shadow .25s, transform .25s;
}
.div_liste_thumbnail:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── ALERTS ── */
.div_textalert {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  background: var(--red-600);
  border-radius: 8px;
  margin-bottom: 10px;
}

/* ── ADMIN INFO BAR ── */
div#div_info_admin {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

div#div_info_admin p {
  color: var(--text-muted);
  font-size: 11px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  margin-bottom: 3px;
}

.textinfoadmin {
  color: var(--red-600);
  font-size: 11px;
  font-weight: 700;
}

/* ── TEXT UTILITIES ── */
.texte_noir {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  text-align: justify;
}

/* ── PRODUCT DETAIL ── */
.images_produit {
  float: left;
  width: 160px;
  padding-top: 12px;
}

.div_titre_produit {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--sky-50);
  border: 1px solid var(--navy-100);
  border-radius: 8px;
}
.div_titre_produit h1 a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: underline;
}
.div_titre_produit a:hover { text-decoration: none; }

.description_produit {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

div#div_contenu .description_produit p {
  padding-top: 8px;
  line-height: 1.7;
  font-size: 14px;
}

.description_produit table { border-collapse: collapse; }
.description_produit td,
.description_produit th {
  border: 1px solid var(--navy-200);
  padding: 6px 10px;
  font-size: 13px;
}

.titre_description {
  font-weight: 700;
  color: var(--navy-600);
  margin-bottom: 8px;
}

.ajouter_cart_produit { padding-top: 12px; }
.ajouter_cart_produit table { border-width: 0; }

.produit_droite {
  float: right;
  width: 600px;
}

/* ── AJAX / CART ── */
.ok_ajax {
  vertical-align: middle;
  color: var(--green-600);
  font-size: 13px;
  font-weight: 700;
  width: 160px;
}
a.ok_ajax { text-decoration: underline; }

/* ── PAGINATION ── */
#div_pagination {
  padding-top: 18px;
  text-align: center;
}
#div_pagination a, #pagination strong {
  background: var(--navy-50);
  padding: 5px 10px;
  text-decoration: none;
  border: 1px solid var(--navy-200);
  border-radius: 6px;
  color: var(--navy-600);
  font-size: 13px;
  margin: 0 2px;
  transition: background .2s;
}
#div_pagination strong, #pagination a:hover {
  background: var(--navy-600);
  color: #fff;
  border-color: var(--navy-600);
}

/* ── CART STYLES ── */
.titres_specs_produit { color: var(--navy-600); font-size: 11px; font-weight: 700; margin: 0; }
.texte_specs_produit  { color: var(--text-muted); font-size: 11px; }
.titres_info_produit  { color: var(--navy-600); font-size: 11px; font-weight: 700; }
.celluledotsall       { border: 1px dashed var(--navy-200); }
.texte_prix_cart      { color: var(--green-600); font-size: 12px; font-weight: 700; }

a.produit       { color: var(--green-600); font-size: 11px; text-decoration: underline; }
a.produit:hover { color: var(--green-700); text-decoration: none; }

/* ── TOOLTIPS ── */
#tooltip_box {
  background: var(--white);
  float: left;
  padding: 14px;
  width: 300px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
a.tooltip span { display: none; margin-left: 10px; padding: 4px 6px; width: 260px; }
a.tooltip:hover span {
  background: var(--sky-50);
  border: 1px solid var(--navy-200);
  border-radius: 6px;
  color: var(--text);
  display: inline;
  position: absolute;
}

/* ── FORMS ── */
fieldset {
  background: var(--sky-50);
  padding: 16px;
  border: 1px solid var(--navy-200);
  border-radius: 10px;
}

label {
  color: var(--navy-600);
  float: left;
  width: 26%;
  margin-right: .5em;
  padding-top: .3em;
  margin-top: 6px;
  text-align: right;
  font-weight: 600;
  font-size: 13px;
}

legend {
  background: var(--navy-600);
  color: #fff;
  padding: .25em .6em;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
}

.erreur    { color: var(--red-600); font-weight: 700; }
.obligatoire { color: var(--red-600); font-weight: 700; }

/* ── BREADCRUMB ── */
#vous_etes_ici { float: left; font-size: 13px; color: var(--text-muted); padding: 8px 6px 0 0; }

div#breadcrumb {
  padding: 8px 0 4px;
  overflow: hidden;
}
div#breadcrumb ul {
  float: left;
  overflow: hidden;
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
div#breadcrumb ul li { float: left; margin: 0 2px; font-size: 13px; }
div#breadcrumb ul li a { text-decoration: none; font-weight: 500; color: var(--navy-600); font-size: 13px; }
div#breadcrumb ul li a:hover { color: var(--red-600); }

/* ── MESSAGE BOX ── */
div.message {
  background: var(--sky-50);
  border: 1px solid var(--navy-200);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
div.message strong { color: var(--navy-600); }

/* ── SHARED CLASSES ── */
.cellulebluemenu {
  background: var(--sky-50);
  border: 1px solid var(--navy-100);
  border-radius: 6px;
  padding: 6px 10px;
}

#id_liste_categorie h2 {
  font-size: 13px;
  color: var(--navy-600);
  text-decoration: underline;
}

div#texte { width: 100%; max-width: 1440px; padding-top: 16px; }

/* ── LOGIN BOX (contenu_droite) ── */
.box_div { margin-bottom: 14px; }

.login-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.login-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(26,36,64,.4);
  margin: 0 0 12px;
  padding: 0;
}

.login-fields { margin-bottom: 10px; }
.login-fields label {
  float: none;
  display: block;
  width: auto;
  text-align: left;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
  padding-top: 0;
}
.login-fields input { width: 100%; font-size: 13px; }


/* ============================================================
   RESPONSIVE BREAKPOINTS
   Desktop-first: base styles are 1200px fixed.
   We progressively override down to mobile.
   ============================================================ */

/* ── LARGE DESKTOP: cap and centre ── */
@media (min-width: 1201px) {
  div#global_container,
  div#div_pied_page,
  div#texte {
    width: 1200px;
  }
}

/* ── TABLET LANDSCAPE (≤1200px): fluid container ── */
@media (max-width: 1200px) {
  div#global_container,
  div#div_pied_page,
  div#texte {
    width: 100%;
    box-sizing: border-box;
  }

  div#div_contenu {
    width: calc(100% - 200px); /* 195px left margin + 5px breathing room */
  }

  .produit_droite {
    width: 100%;
    float: none;
  }
}

/* ── TABLET PORTRAIT (≤900px): collapse sidebar below content ── */
@media (max-width: 900px) {
  div#global_container {
    width: 100%;
    padding: 0 12px;
  }

  /* Stack sidebar above content */
  div#div_menu_gauche {
    float: none;
    width: 100%;
    margin: 12px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Horizontal pill links on tablet */
  #menu_gauche,
  #menu_gauche ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
    border-radius: 10px;
  }

  #menu_gauche h2 {
    width: 100%;
    padding: 6px 8px 2px;
  }

  #menu_gauche a {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    background: var(--white);
    border: 1px solid var(--border);
  }

  #menu_gauche li.active > a {
    border-left: none;
    padding-left: 14px;
    background: var(--navy-50);
  }

  div#div_contenu {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    border-radius: 10px;
  }

  div#div_pied_page {
    width: 100%;
    border-radius: 0;
  }

  /* Product thumbnails: 2-col grid */
  .div_liste_thumbnail {
    width: calc(50% - 24px);
  }

  /* Product detail: stack image + description */
  .images_produit {
    float: none;
    width: 100%;
    padding-top: 0;
    margin-bottom: 16px;
  }

  .produit_droite {
    float: none;
    width: 100%;
    margin-top: 12px;
  }

  /* Forms: full-width labels */
  label {
    float: none;
    width: 100%;
    text-align: left;
    margin-right: 0;
  }

  .txt, textarea, select { width: 100%; }

  /* Tables: allow scroll */
  div#div_contenu table,
  .description_produit table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── MOBILE (≤640px): single column ── */
@media (max-width: 640px) {
  body { font-size: 14px; }

  div#global_container { padding: 0 8px; }

  /* Banner shorter on mobile */
  div#div_bandeau { height: 160px; }

  /* Nav: hamburger takes over (handled in menu_haut.css) */
  div#div_menu_gauche {
    margin: 8px 0 0;
    gap: 3px;
  }

  #menu_gauche,
  #menu_gauche ul {
    padding: 6px;
  }

  #menu_gauche a { font-size: 12px; padding: 6px 12px; }

  div#div_contenu {
    padding: 16px 14px 20px;
    border-radius: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
    min-height: auto;
  }

  div#div_contenu h1 { font-size: 18px; }
  div#div_contenu h2 { font-size: 15px; }
  div#div_contenu p  { font-size: 13px; }
  div#div_contenu a  { font-size: 13px; }

  /* Product thumbnails: 1-col on small phones */
  .div_liste_thumbnail {
    width: calc(100% - 16px);
    margin: 0 8px 14px;
  }

  /* Cart: allow horizontal scroll */
  .ajouter_cart_produit table {
    display: block;
    overflow-x: auto;
  }

  /* Pagination: wrap pills */
  #div_pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  /* Footer padding */
  div#div_pied_page {
    padding: 18px 16px;
  }

  /* Login box */
  .login-box { padding: 12px; }

  /* Breadcrumb: wrap */
  div#breadcrumb ul { gap: 2px; }
  div#breadcrumb ul li { font-size: 12px; }
}

/* ── SMALL PHONE (≤380px) ── */
@media (max-width: 380px) {
  div#div_contenu { padding: 12px 10px 16px; }
  div#div_contenu h1 { font-size: 16px; }
  #menu_gauche a { font-size: 11px; padding: 5px 10px; }
}


/* ============================================================
   SITE FOOTER — #site-footer
   ============================================================ */

#site-footer {
  background: var(--navy-900);
  /* Footer is outside #global_container — just spans full width naturally */
  width: 100%;
  margin-top: 0;
  color: rgba(255,255,255,.5);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
}

/* Inner wrapper centres at 1200px */
.footer-top,
.footer-links,
.footer-bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* ── TOP: brand + social cards ── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
}

.footer-brand { flex: 0 0 auto; max-width: 440px; }

.footer-logo {
  margin-bottom: 14px;
  display: block;
  line-height: 0;
}

.footer-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-600);
  flex-shrink: 0;
  display: inline-block;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* ── SOCIAL CARDS ── */
.footer-social-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  min-width: 260px;
  cursor: pointer;
}

.social-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
  transform: translateX(3px);
  text-decoration: none;
}

.social-card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-card--facebook .social-card-icon {
  background: #1877f2;
  color: #fff;
}

.social-card--google .social-card-icon {
  background: #fff;
}

.social-card--reviews .social-card-icon {
  background: rgba(251,188,5,.15);
  color: #fbbc05;
}

.social-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-card-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.social-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 300;
  line-height: 1;
}

.social-card-arrow {
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
  transition: color .2s;
}

.social-card:hover .social-card-arrow { color: rgba(255,255,255,.7); }

/* ── LINKS GRID ── */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-col-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin: 0 0 16px;
  padding: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  font-weight: 300;
  text-decoration: none;
  transition: color .18s;
}

.footer-col ul li a:hover { color: #fff; text-decoration: none; }

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  font-weight: 300;
  text-decoration: none;
  transition: color .18s;
}
.footer-contact-link:hover { color: #fff; }
.footer-contact-link svg { flex-shrink: 0; opacity: .6; }
.footer-address { cursor: default; }
.footer-address:hover { color: rgba(255,255,255,.45); }

/* ── BOTTOM BAR ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.25);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,.25);
  text-decoration: none;
  transition: color .18s;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

.footer-sep {
  font-size: 12px;
  color: rgba(255,255,255,.15);
}

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .footer-brand { max-width: 100%; }

  .footer-social-cards { flex-direction: column; width: 100%; }
  .social-card { min-width: 0; width: 100%; }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .footer-top,
  .footer-links,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-top { padding-top: 28px; }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .footer-links { grid-template-columns: 1fr; }
}


/* ============================================================
   SITE HEADER — #site-header
   ============================================================ */

#site-header {
  position: relative;
  width: 100%;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dark gradient overlay */
#site-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,36,64,.95) 0%,
    rgba(26,36,64,.80) 55%,
    rgba(26,36,64,.50) 100%
  );
  z-index: 1;
}

/* Subtle radial pattern */
#site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 50%, rgba(61,84,136,.2) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(174,0,0,.10) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

/* ── INNER WRAPPER ── */
#site-header-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 48px 20px;
  box-sizing: border-box;
  display: grid;
  /* logo column (fixed) | content column (fluid) */
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
}

/* ── LOGO — spans both rows on the left ── */
#header-logo-link {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  /* vertical divider on the right */
  padding-right: 28px;
  border-right: 1px solid rgba(255,255,255,.14);
  height: 100%;
  align-self: stretch;
  justify-content: center;
}

#header-logo {
  width: 160px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.4));
}

/* ── ROW 1: eyebrow + headline (right of logo) ── */
#header-tagline-wrap {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

#header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  flex-shrink: 0;
}

#header-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px; height: 2px;
  background: var(--red-600);
  border-radius: 2px;
  flex-shrink: 0;
}

#header-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: #fff;
  margin: 0; padding: 0;
}

#header-headline em {
  font-style: normal;
  color: var(--red-400);
}

/* ── ROW 2: sub + badges + CTA (right of logo, below headline) ── */
#header-hero {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

#header-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,.80);
  line-height: 1.4;
  margin: 0; padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Thin separator between sub and badges */
#header-sub + #header-badges::before {
  content: '';
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Trust badges */
#header-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  padding: 3px 9px 3px 6px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.header-badge:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.header-badge svg {
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
  width: 11px;
  height: 11px;
}

/* CTA buttons — pushed to the right */
#header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
}

.header-btn--primary {
  background: var(--red-600);
  color: #fff;
  border: 2px solid var(--red-600);
  box-shadow: 0 3px 12px rgba(174,0,0,.30);
}

.header-btn--primary:hover {
  background: var(--red-700);
  border-color: var(--red-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(174,0,0,.40);
  color: #fff;
  text-decoration: none;
}

.header-btn--ghost {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.90);
  border: 2px solid rgba(255,255,255,.25);
}

.header-btn--ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.40);
  color: #fff;
  text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  #site-header-inner { padding: 16px 32px 18px; column-gap: 20px; }
  #header-logo { width: 140px; }
  #header-badges .header-badge:nth-child(n+4) { display: none; }
}

@media (max-width: 768px) {
  #site-header-inner {
    padding: 14px 20px 16px;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
  }
  #header-logo-link { padding-right: 14px; }
  #header-logo { width: 110px; }
  #header-eyebrow { display: none; }
  #header-headline { font-size: 14px; }
  #header-sub { display: none; }
  #header-badges .header-badge:nth-child(n+3) { display: none; }
  .header-btn { font-size: 11px; padding: 6px 12px; }
}

@media (max-width: 480px) {
  #site-header-inner { grid-template-columns: auto 1fr; }
  #header-badges { display: none; }
  .header-btn--ghost { display: none; }
  #header-cta { margin-left: 0; }
}



/* ── Bootstrap heading color override for dark sections ── */
#site-header, .hp-hero, .hp-section-dark, .hp-cta,
.cp-hero, .sq-hero, #site-footer, footer {
  --bs-heading-color: #fff;
  --bs-link-color: rgba(255,255,255,.85);
  --bs-link-hover-color: #fff;
}

/* ══════════════════════════════════════════════════
   CONTACT PAGE — Irrigation Bojet
   Scoped under #contact-page to avoid conflicts
   with site CSS
══════════════════════════════════════════════════ */
#contact-page {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #141c2e;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 48px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ── PAGE HEADER ── */
#contact-page .cp-hero {
  background: linear-gradient(135deg, #1a2440 0%, #3d5488 100%);
  border-radius: 16px;
  padding: 36px 36px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
#contact-page .cp-hero::before {
  content: '';
  position: absolute;
  right: 0; top: -60px;
  transform: translateX(40%);
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
#contact-page .cp-hero::after {
  content: '';
  position: absolute;
  right: 40px; bottom: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(174,0,0,.12);
  pointer-events: none;
}
#contact-page .cp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#contact-page .cp-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: #ae0000;
  border-radius: 2px;
}
#contact-page .cp-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -.5px;
  line-height: 1.1;
  word-break: break-word;
  overflow-wrap: break-word;
}
#contact-page .cp-hero p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  margin: 0;
  max-width: 520px;
  line-height: 1.6;
}

/* ── QUICK CONTACT BAR ── */
#contact-page .cp-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
#contact-page .cp-quick-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(61,84,136,.12);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: #141c2e;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  box-shadow: 0 2px 8px rgba(26,36,64,.06);
}
#contact-page .cp-quick-item:hover {
  border-color: #3d5488;
  box-shadow: 0 6px 20px rgba(61,84,136,.14);
  transform: translateY(-2px);
  text-decoration: none;
  color: #141c2e;
}
#contact-page .cp-quick-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#contact-page .cp-quick-icon.navy { background: #eef3fa; color: #3d5488; }
#contact-page .cp-quick-icon.red  { background: #fdf2f2; color: #ae0000; }
#contact-page .cp-quick-icon.blue { background: #e8f4fd; color: #1877f2; }
#contact-page .cp-quick-icon.green{ background: #edf6e3; color: #2f6a10; }
#contact-page .cp-quick-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #7a8aa0;
  margin-bottom: 2px;
}
#contact-page .cp-quick-value {
  font-size: 15px;
  font-weight: 600;
  color: #1a2440;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* Email address — smaller font to fit without overflow */
#contact-page .cp-quick-item[href^="mailto"] .cp-quick-value {
  font-size: 12px;
  white-space: nowrap;
}

/* ── MAIN GRID: form + stores ── */
#contact-page .cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

/* ── FORM CARD ── */
#contact-page .cp-card {
  background: #fff;
  border: 1px solid rgba(61,84,136,.1);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(26,36,64,.07);
}
#contact-page .cp-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a2440;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#contact-page .cp-card-title::before {
  content: '';
  display: block;
  width: 4px; height: 20px;
  background: #ae0000;
  border-radius: 2px;
  flex-shrink: 0;
}
#contact-page .cp-card-sub {
  font-size: 13px;
  color: #7a8aa0;
  margin: 0 0 24px 14px;
}

/* Form elements */
#contact-page .cp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
#contact-page .cp-form-group {
  margin-bottom: 12px;
}
#contact-page .cp-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #4a566e;
  margin-bottom: 5px;
}
#contact-page .cp-form-group label .req {
  color: #ae0000;
  margin-left: 2px;
}
#contact-page .cp-input {
  width: 100%;
  border: 1.5px solid #c8d4e8;
  border-radius: 8px;
  padding: 10px 13px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #141c2e;
  background: #f8fafd;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
  outline: none;
}
#contact-page .cp-input:focus {
  border-color: #3d5488;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61,84,136,.1);
}
#contact-page textarea.cp-input {
  min-height: 110px;
  resize: vertical;
}
#contact-page select.cp-input {
  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 24 24' fill='none' stroke='%234a566e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
#contact-page .cp-submit {
  width: 100%;
  background: #ae0000;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .12s, box-shadow .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(174,0,0,.25);
}
#contact-page .cp-submit:hover {
  background: #8a0000;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(174,0,0,.35);
}
#contact-page .cp-form-note {
  font-size: 11px;
  color: #7a8aa0;
  margin-top: 10px;
  text-align: center;
}

/* ── STORE CARDS ── */
#contact-page .cp-stores {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#contact-page .cp-store {
  background: #fff;
  border: 1px solid rgba(61,84,136,.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(26,36,64,.07);
}
#contact-page .cp-store-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
#contact-page .cp-store-badge {
  background: #1a2440;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 3px;
}
#contact-page .cp-store-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a2440;
  margin: 0 0 2px;
}
#contact-page .cp-store-addr {
  font-size: 13px;
  color: #4a566e;
  margin: 0;
  line-height: 1.5;
}
#contact-page .cp-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#contact-page .cp-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, transform .1s;
  border: 1px solid transparent;
}
#contact-page .cp-store-btn.phone {
  background: #eef3fa;
  color: #1a2440;
  border-color: rgba(61,84,136,.15);
}
#contact-page .cp-store-btn.phone:hover { background: #3d5488; color: #fff; text-decoration: none; }
#contact-page .cp-store-btn.maps {
  background: #f0fdf4;
  color: #166534;
  border-color: rgba(22,101,52,.15);
}
#contact-page .cp-store-btn.maps:hover { background: #166534; color: #fff; text-decoration: none; }
#contact-page .cp-store-btn.hours {
  background: #fdf7e8;
  color: #92400e;
  border-color: rgba(146,64,14,.12);
}

/* ── HOURS TABLE ── */
#contact-page .cp-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(61,84,136,.07);
}
#contact-page .cp-hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 2px 0;
}
#contact-page .cp-hour-day { color: #4a566e; }
#contact-page .cp-hour-time { font-weight: 600; color: #1a2440; }
#contact-page .cp-hour-closed { font-weight: 600; color: #ae0000; }

/* ── MAPS SECTION ── */
#contact-page .cp-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
#contact-page .cp-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(61,84,136,.1);
  box-shadow: 0 2px 12px rgba(26,36,64,.08);
}
#contact-page .cp-map-label {
  background: #1a2440;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  letter-spacing: .3px;
}
#contact-page .cp-map-wrap iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
}

/* ── SOCIAL + REVIEWS BAR ── */
#contact-page .cp-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
#contact-page .cp-social-card {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(26,36,64,.07);
}
#contact-page .cp-social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,36,64,.13);
  text-decoration: none;
}
#contact-page .cp-social-card.facebook {
  background: #f0f4ff;
  border-color: rgba(24,119,242,.15);
}
#contact-page .cp-social-card.google-review {
  background: #fefce8;
  border-color: rgba(234,67,53,.12);
}
#contact-page .cp-social-card.google-biz {
  background: #f0fdf4;
  border-color: rgba(52,168,83,.12);
}
#contact-page .cp-social-card.award {
  background: #fdf8ee;
  border-color: rgba(176,112,16,.12);
}
#contact-page .cp-social-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}
#contact-page .cp-social-label {
  font-size: 12px;
  font-weight: 700;
  color: #1a2440;
  margin-bottom: 2px;
}
#contact-page .cp-social-sub {
  font-size: 11px;
  color: #7a8aa0;
}

/* ── SUCCESS MESSAGE ── */
#contact-page .cp-success {
  display: none;
  background: #edf6e3;
  border: 1px solid #47981c;
  border-radius: 10px;
  padding: 16px 20px;
  color: #2f6a10;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  align-items: center;
  gap: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #contact-page .cp-hero { padding: 28px 24px; }
  #contact-page .cp-hero h1 { font-size: 24px; }
  #contact-page .cp-grid { grid-template-columns: 1fr; }
  #contact-page .cp-maps { grid-template-columns: 1fr; }
  #contact-page .cp-form-row { grid-template-columns: 1fr; }
  #contact-page .cp-hours { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #contact-page .cp-quick-item { min-width: 100%; }
  #contact-page .cp-social-card { min-width: 100%; }
}


/* ── Paragraph text in dark sections ── */
.hp-hero p, .hp-hero-sub, .hp-hero-eyebrow,
.hp-section-dark p,
.hp-cta p,
.cp-hero p, .cp-hero span,
.sq-hero p,
.hp-counter-label, .hp-stat-label,
.hp-trust .hp-trust-item,
footer p, #site-footer p, .footer-desc,
.footer-bottom, .footer-links a, .footer-brand-name,
.footer-logo-tag {
  color: rgba(255,255,255,.75);
}
.hp-counter-num, .hp-stat-num {
  color: #fff;
}

/* ── HOME PAGE SPECIFIC CONTRAST FIXES ── */

/* hp-section-title in light sections should be navy (already correct),
   but where a global link rule bleeds in, force navy */
.hp-section-alt .hp-section-title,
.hp-section:not(.hp-section-dark) .hp-section-title {
  color: var(--navy-900) !important;
}

/* hp-cta phone links — white not red */
.hp-cta .hp-cta-phone,
.hp-cta .hp-cta-phone:hover {
  color: rgba(255,255,255,.90) !important;
  text-decoration: none;
}

/* hp-cta white button: red text on white bg is correct by design */
.hp-btn-white {
  color: var(--red-600) !important;
}
.hp-btn-white:hover {
  color: var(--red-700) !important;
}

/* hp-cta paragraph (sub-headline) */
.hp-cta p {
  color: rgba(255,255,255,.78) !important;
}

/* hp-cta h2 */
.hp-cta h2 {
  color: #fff !important;
}

/* Testimonials section title — navy on light grey bg */
.hp-testimonials ~ * .hp-section-title,
.hp-testimonials .hp-section-title {
  color: var(--navy-900) !important;
}

/* All hp-section-header labels (green eyebrow) on any bg */
.hp-section-label {
  color: var(--green) !important;
}

/* Footer links explicit white */
#site-footer a,
#site-footer a:hover,
.footer-links a,
.footer-links a:hover,
.footer-social-card,
.footer-social-card:hover {
  color: rgba(255,255,255,.80) !important;
}
.footer-social-card:hover {
  color: #fff !important;
}

/* Footer headings */
#site-footer h3, #site-footer h4,
.footer-section-title {
  color: #fff !important;
}

/* Footer bottom bar */
.footer-bottom, .footer-bottom a {
  color: rgba(255,255,255,.50) !important;
}


/* ══════════════════════════════════════════════════
   SOUMISSION PAGE — Irrigation Bojet
   Scoped under #sq-page to override global label float
══════════════════════════════════════════════════ */
#sq-page label {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  text-align: left !important;
}


/* ═══════════════════════════════════════════════════════════
   GLOBAL FIX: All text on dark backgrounds must be white
   ═══════════════════════════════════════════════════════════ */

/* Site header — all text white */
#site-header, #site-header *:not(a):not(button),
.site-header, .site-header *:not(a):not(button) {
  color: #fff !important;
}
#site-header a, #site-header button {
  color: #fff !important;
}
#site-header a:hover { color: rgba(255,255,255,.8) !important; }

/* Header bandeau / hero sections */
#div_bandeau, .bandeau, [id*="bandeau"], [class*="bandeau"] {
  color: #fff !important;
}
[id*="bandeau"] *, [class*="bandeau"] * {
  color: inherit;
}

/* Homepage hp-hero — all text white or as designed */
.hp-hero *, .hp-hero-inner * { color: inherit; }
.hp-hero p.hp-hero-sub { color: rgba(255,255,255,.65) !important; }
.hp-hero h1 { color: #fff !important; }
.hp-hero h1 em { color: #47981c !important; }
.hp-hero .hp-stat-num { color: #fff !important; }
.hp-hero .hp-stat-label { color: rgba(255,255,255,.55) !important; }
.hp-hero .hp-stat-green { color: #47981c !important; }
.hp-hero .hp-hero-eyebrow { color: #47981c !important; }

/* Trust bar */
.hp-trust { background-color: #243058 !important; }
.hp-trust * { color: rgba(255,255,255,.75) !important; }
.hp-trust .hp-trust-item svg { color: #47981c !important; }

/* Dark section on homepage counters */
.hp-section-dark, .hp-section-dark * { color: #fff !important; }
.hp-section-dark .hp-counter-num span { color: #47981c !important; }
.hp-section-dark .hp-counter-label { color: rgba(255,255,255,.6) !important; }
.hp-section-dark .hp-counter-num { color: #fff !important; }

/* CTA strip */
.hp-cta h2, .hp-cta p { color: #fff !important; }
.hp-cta .hp-cta-phone { color: rgba(255,255,255,.9) !important; }
.hp-cta .hp-cta-phone:hover { color: #fff !important; }
.hp-btn-white { color: #ae0000 !important; }
.hp-btn-white:hover { color: #ae0000 !important; }

/* Service page & éclairage page — dark hero sections */
.sv-hero, .el-hero { color: #fff !important; }
.sv-hero h1, .sv-hero h2, .sv-hero h3, .el-hero h1, .el-hero h2, .el-hero h3 { color: #fff !important; }

/* Any element with dark navy background */
[style*="background:#1a2440"] *, [style*="background: #1a2440"] *,
[style*="background:#243058"] *, [style*="background: #243058"] *,
[style*="background-color:#1a2440"] *, [style*="background-color: #1a2440"] * {
  color: #fff !important;
}

/* Stats counters in dark sections (service/eclairage pages) */
.sv-stat-num, .sv-stat-label, .el-stat-num, .el-stat-label,
[class*="stat-num"], [class*="counter-num"] { color: #fff !important; }
[class*="stat-label"], [class*="counter-label"] { color: rgba(255,255,255,.65) !important; }
[class*="stat-num"] span, [class*="counter-num"] span { color: #47981c !important; }

/* Footer — all text should be white/light */
#site-footer { background-color: #1a2440 !important; }
#site-footer *, .footer-top *, .footer-links *,
.footer-col *, .footer-brand * { color: rgba(255,255,255,.7) !important; }
#site-footer h4, .footer-col-title { color: #fff !important; font-weight: 700; }
#site-footer a:hover, .footer-col a:hover { color: #fff !important; }
.footer-tagline { color: rgba(255,255,255,.55) !important; }
.footer-contact-link { color: rgba(255,255,255,.7) !important; }
.footer-phone-link { color: #47981c !important; }

/* Showcase cards in dark hero */
.hp-showcase-brand { color: rgba(255,255,255,.5) !important; }
.hp-showcase-name { color: #fff !important; }
.hp-showcase-desc { color: rgba(255,255,255,.55) !important; }

/* Fix any remaining dark text on dark bg in page-specific content */
.sv-section-dark *, .el-section-dark *, [class*="section-dark"] * { color: #fff !important; }
[class*="section-dark"] h2, [class*="section-dark"] h3 { color: #fff !important; }
[class*="section-dark"] > p, [class*="section-dark"] > div > p { color: rgba(255,255,255,.7) !important; }

/* Button text fixes — all buttons on dark backgrounds */
.hp-btn-primary { color: #fff !important; }
.hp-btn-primary:hover { color: #fff !important; }
.hp-btn-ghost { color: rgba(255,255,255,.85) !important; }
.hp-btn-ghost:hover { color: #fff !important; }
.sv-btn-green, [class*="btn-green"] { color: #fff !important; background-color: #2f6a10 !important; }
.sv-btn-green:hover, [class*="btn-green"]:hover { color: #fff !important; background-color: #47981c !important; }
.sv-btn-outline, [class*="btn-outline"] { color: #fff !important; border-color: rgba(255,255,255,.4) !important; }


/* Fix: .mb-footer-btn red button on marques-disponibles page */
.mb-footer-btn,
.mb-footer-btn:link,
.mb-footer-btn:visited {
  color: #fff !important;
}
.mb-footer-btn:hover,
.mb-footer-btn:focus {
  color: #fff !important;
  opacity: .9;
}

/* ═══════════════════════════════════════════
   DARK SECTION TEXT LEGIBILITY — COMPREHENSIVE
   All grey text on dark backgrounds → white
   ═══════════════════════════════════════════ */

/* Contact page hero — eyebrow + subtitle */
#contact-page .cp-hero .cp-eyebrow,
#contact-page .cp-hero p { color: rgba(255,255,255,.8) !important; }

/* Service page hero subtitles */
.sv-hero p, .sv-hero-sub,
.sv-hero [class*="sub"], .sv-hero [class*="eyebrow"],
.sv-hero-desc, .sv-hero > [class*="desc"] { color: rgba(255,255,255,.8) !important; }

/* Eclairage page hero subtitles */
.el-hero p, .el-hero-sub,
.el-hero [class*="sub"], .el-hero [class*="eyebrow"],
.el-hero [class*="desc"] { color: rgba(255,255,255,.8) !important; }

/* Generic: any p or small text directly inside a dark-navy div */
[style*="background:#1a2440"] p,
[style*="background: #1a2440"] p,
[style*="background:#243058"] p,
[style*="background: #243058"] p { color: rgba(255,255,255,.8) !important; }

/* Page-level hero sections with dark backgrounds */
.page-hero p, .page-hero span:not([class*="badge"]):not([class*="btn"]),
[class*="-hero-sub"], [class*="-hero-desc"],
[class*="-hero"] > p { color: rgba(255,255,255,.8) !important; }

/* Stat labels in dark sections */
[class*="stat-label"], [class*="stat-sub"],
[class*="counter-label"] { color: rgba(255,255,255,.7) !important; }

/* Social card subtitles in footer/dark sections */
.social-card-sub, .cp-social-sub,
[class*="card-sub"] { color: rgba(255,255,255,.7) !important; }

/* Contact page label colours — on white bg these stay grey, only override on dark */
.cp-hero .cp-quick-label { color: rgba(255,255,255,.65) !important; }

/* Quick contact row on dark hero */
.cp-hero .cp-quick-value { color: #fff !important; }

/* Footer subtle text */
.footer-tagline, .footer-tagline p { color: rgba(255,255,255,.6) !important; }

/* Hours on dark — fermé stays red, day name white */
.cp-hour-closed { color: #ae0000 !important; }

/* ═══════════════════════════════════════════════
   REGLEMENTS PAGE — dark hero text legibility
   ═══════════════════════════════════════════════ */
.rg-hero { color: #fff !important; }
.rg-hero * { color: #fff !important; }
.rg-hero h1, .rg-hero h2, .rg-hero h3 { color: #fff !important; }
.rg-hero p, .rg-hero-label { color: rgba(255,255,255,.8) !important; }
.rg-hero-inner, .rg-hero-inner * { color: #fff !important; }
.rg-hero .rg-stat-label { color: rgba(255,255,255,.65) !important; }
.rg-hero .rg-stat-num { color: #fff !important; }

/* SERVICE page hero same fix */
.sv-hero { color: #fff !important; }
.sv-hero > *, .sv-hero-inner * { color: #fff !important; }
.sv-hero h1, .sv-hero h2, .sv-hero h3 { color: #fff !important; }
.sv-hero p, .sv-hero-eyebrow, .sv-hero-sub,
.sv-hero [class*="label"], .sv-hero [class*="sub"] { color: rgba(255,255,255,.8) !important; }
.sv-hero [class*="stat-label"] { color: rgba(255,255,255,.65) !important; }

/* ECLAIRAGE page hero same fix */
.el-hero { color: #fff !important; }
.el-hero h1, .el-hero h2, .el-hero h3 { color: #fff !important; }
.el-hero p, .el-hero [class*="label"], .el-hero [class*="sub"] { color: rgba(255,255,255,.8) !important; }
.el-hero [class*="stat-label"] { color: rgba(255,255,255,.65) !important; }

/* SOUMISSION page hero same fix */
.sq-hero, .sub-hero, .sm-hero { color: #fff !important; }
.sq-hero h1, .sq-hero h2, .sq-hero p,
.sub-hero h1, .sub-hero h2, .sub-hero p,
.sm-hero h1, .sm-hero h2, .sm-hero p { color: rgba(255,255,255,.85) !important; }

/* Generic: any element with class *-hero that sits on dark bg */
[class$="-hero"] h1, [class$="-hero"] h2,
[class*="-hero-"] { color: #fff !important; }
[class$="-hero"] p,
[class*="-hero-label"],
[class*="-hero-sub"],
[class*="-hero-eyebrow"] { color: rgba(255,255,255,.8) !important; }

/* ═══════════════════════════════════════════════
   ECLAIRAGE PAGE — dark section text legibility
   ═══════════════════════════════════════════════ */

/* CTA dark section — subtitle p is grey on dark bg */
.el-cta p { color: rgba(255,255,255,.85) !important; }
.el-cta h2 { color: #fff !important; }

/* Process section dark bg — subtitle too faint */
.el-process-sub { color: rgba(255,255,255,.8) !important; }

/* Process steps on dark bg — desc too faint */
.el-step-desc { color: rgba(255,255,255,.75) !important; }

/* Hero stat label too faint */
.el-stat-label { color: rgba(255,255,255,.75) !important; }

/* Hero subtitle slightly too faint */
.el-hero-sub { color: rgba(255,255,255,.85) !important; }

/* Hero eyebrow on dark bg */
.el-hero-eyebrow { color: rgba(255,255,255,.8) !important; }

/* SERVICE page same patterns */
.sv-process-sub, .sv-step-desc { color: rgba(255,255,255,.8) !important; }
.sv-stat-label { color: rgba(255,255,255,.75) !important; }
.sv-cta p, .sv-cta h2 { color: #fff !important; }
.sv-hero-sub { color: rgba(255,255,255,.85) !important; }

/* REGLEMENTS page same patterns */
.rg-hero-label, .rg-hero p { color: rgba(255,255,255,.8) !important; }
.rg-hero h2 { color: #fff !important; }

/* Generic: any p directly inside a dark gradient section */
[style*="gradient(135deg,#0d1117"] p,
[style*="gradient(135deg, #0d1117"] p,
[style*="gradient(135deg,#1a1a2e"] p { color: rgba(255,255,255,.85) !important; }

/* ═══════════════════════════════════════════════
   SERVICE PAGE — comprehensive text legibility
   All dark/coloured backgrounds → white text
   ═══════════════════════════════════════════════ */

/* Hero */
.sv-hero-sub          { color: rgba(255,255,255,.9) !important; }
.sv-stat-label        { color: rgba(255,255,255,.85) !important; }
.sv-hero-eyebrow      { color: rgba(255,255,255,.85) !important; }

/* Season cards (dark gradient backgrounds) */
.sv-season-desc       { color: rgba(255,255,255,.9) !important; }
.sv-season-note       { color: rgba(255,255,255,.75) !important; }
.sv-season-period     { color: rgba(255,255,255,.9) !important; }
.sv-checklist li      { color: rgba(255,255,255,.92) !important; }

/* "Pourquoi choisir" dark section */
.sv-why-sub           { color: rgba(255,255,255,.85) !important; }
.sv-why-detail        { color: rgba(255,255,255,.75) !important; }
.sv-why-label         { color: #fff !important; }

/* Why-section stat items */
.sv-why [class*="num"]   { color: #47981c !important; }
.sv-why [class*="label"] { color: #fff !important; }
.sv-why [class*="detail"]{ color: rgba(255,255,255,.8) !important; }

/* Stats block in dark "why" section */
.sv-why-stat .sv-why-label  { color: #fff !important; }
.sv-why-stat .sv-why-detail { color: rgba(255,255,255,.8) !important; }

/* CTA red section */
.sv-cta p             { color: rgba(255,255,255,.92) !important; }
.sv-cta h2            { color: #fff !important; }


/* Footer unlinked service items — match link style but no hover */
.footer-col ul li span {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  font-weight: 400;
  cursor: default;
}
