/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 3.1.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
    opacity: 0;
}
/* PART 2 - Upon Lazy Load */
img.litespeed-loaded{
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

.elementor-widget-icon .elementor-icon {
	display:block!important;
}

/* ===================================================
   PurFluid — DIVONA Brand Overrides
   Remplace bleu/cyan/teal par or DIVONA #C8A35F
   Navy: #1B365D
   =================================================== */

:root {
  --pf-gold: #C8A35F;
  --pf-gold-hover: #A8873F;
  --pf-navy: #1B365D;
  --pf-gold-bg: #F5F0E6;
}

/* --- Elementor Headline Highlight SVG (trait sous titres) --- */
.elementor-headline--style-highlight svg path {
  stroke: var(--pf-gold) !important;
}

/* --- WooCommerce : liens produit --- */
body.single-product .entry-summary a,
body.single-product .woocommerce-product-details__short-description a,
body.single-product .description a,
body.single-product .woocommerce-tabs a,
.woocommerce-breadcrumb a {
  color: var(--pf-gold) !important;
  text-decoration-color: var(--pf-gold) !important;
  border-bottom-color: var(--pf-gold) !important;
}

body.single-product .entry-summary a:hover,
body.single-product .description a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--pf-gold-hover) !important;
}

/* --- WooCommerce : boutons --- */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .cart .button,
.wc-block-components-button {
  background-color: var(--pf-navy) !important;
  color: #fff !important;
  border-color: var(--pf-navy) !important;
  border-radius: 4px;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:hover {
  background-color: var(--pf-gold) !important;
  color: var(--pf-navy) !important;
  border-color: var(--pf-gold) !important;
}

/* --- WooCommerce : prix --- */
.woocommerce .price .woocommerce-Price-amount,
.woocommerce p.price,
.woocommerce span.price {
  color: var(--pf-navy) !important;
  font-weight: 700;
}

/* --- WooCommerce : badges promo --- */
.woocommerce span.onsale {
  background-color: var(--pf-gold) !important;
  color: var(--pf-navy) !important;
}

/* --- WooCommerce : onglets produit --- */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--pf-gold) !important;
  border-bottom-color: var(--pf-gold) !important;
}

/* --- WooCommerce : messages --- */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--pf-gold) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--pf-gold) !important;
}

/* --- Boutique : titres produits --- */
.woocommerce ul.products li.product a h2 {
  color: var(--pf-navy) !important;
}

.woocommerce ul.products li.product a:hover h2 {
  color: var(--pf-gold) !important;
}

/* --- Skip link --- */
.skip-link {
  background-color: var(--pf-navy) !important;
  color: #fff !important;
}

/* --- Formulaires focus --- */
.woocommerce form input:focus,
.woocommerce form textarea:focus,
.woocommerce form select:focus {
  border-color: var(--pf-gold) !important;
  box-shadow: 0 0 0 2px rgba(200, 163, 95, 0.15) !important;
  outline: none !important;
}

/* --- bc__read spans --- */
.bc__read {
  color: var(--pf-gold) !important;
}

/* --- Breadcrumbs --- */
.woocommerce-breadcrumb {
  color: #666 !important;
}

.woocommerce-breadcrumb a {
  color: var(--pf-gold) !important;
}


/* ===== PRODUCT CARD HOVER EFFECT ===== */
.e-loop-item .elementor-element.e-con {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.e-loop-item .elementor-element.e-con:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.e-loop-item .elementor-widget-theme-post-featured-image img {
  transition: transform 0.3s ease;
}
.e-loop-item .elementor-element.e-con:hover .elementor-widget-theme-post-featured-image img {
  transform: scale(1.03);
}
.e-loop-item .elementor-widget-theme-post-featured-image {
  overflow: hidden;
  border-radius: 10px;
}
/* ===== ADD TO CART BUTTON STYLE ===== */
.e-loop-item .elementor-widget-woocommerce-product-add-to-cart .button,
.e-loop-item .elementor-widget-woocommerce-product-add-to-cart a.added_to_cart {
  background-color: #0B3D6B !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  transition: background-color 0.3s ease !important;
}
.e-loop-item .elementor-widget-woocommerce-product-add-to-cart .button:hover {
  background-color: #0066CC !important;
}


/* ===== Gamme Section Styles (shared homepage + /produits/) ===== */
.acti-s, .divo-s, .puro-s-new { padding: 48px 0; }
.acti-s { background: #f9fafb; }
.divo-s { background: linear-gradient(155deg, #1a6b7a, #0a2e3d); color: #fff; }
.puro-s-new { background: #edeeF0; }

.acti-s .ctn, .divo-s .ctn, .puro-s-new .ctn { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.gamme-sl { font-size: 0.8em; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 8px; display: block; }
.acti-s .gamme-sl { color: #1e3460; }
.divo-s .gamme-sl { color: rgba(255,255,255,0.7); }
.puro-s-new .gamme-sl { color: #8eb0aa; }

.gamme-h2 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 2em; margin-bottom: 8px; color: #1e3460; line-height: 1.2; }
.divo-s .gamme-h2 { color: #fff; font-family: "Cormorant Garamond", serif; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; }

.gamme-sub { font-size: 1em; color: #555; margin-bottom: 24px; max-width: 700px; }
.divo-s .gamme-sub { color: rgba(255,255,255,0.85); font-family: "Cormorant Garamond", serif; font-style: italic; }

.gamme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.gamme-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gamme-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gamme-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.gamme-item { display: block; padding: 24px; border-radius: 16px; text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s; color: inherit; }
.acti-s .gamme-item { background: #fff; border: 1px solid #e2e8f0; }
.acti-s .gamme-item:hover { background: #f0f4fa; border-color: #cbd5e1; transform: translateY(-2px); }
.divo-s .gamme-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); }
.divo-s .gamme-item:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }
.puro-s-new .gamme-item { background: #fff; border: 1px solid #d1d5db; }
.puro-s-new .gamme-item:hover { background: #f5f6f8; border-color: #b0b5bc; transform: translateY(-2px); }

.gamme-item h3 { font-family: Poppins, sans-serif; font-size: 1.1em; font-weight: 600; margin: 0 0 6px; }
.acti-s .gamme-item h3 { color: #1e3460; }
.divo-s .gamme-item h3 { color: #fff; }
.puro-s-new .gamme-item h3 { color: #1e3460; }

.gamme-item p { font-size: 0.9em; margin: 0 0 12px; line-height: 1.5; }
.acti-s .gamme-item p { color: #64748b; }
.divo-s .gamme-item p { color: rgba(255,255,255,0.7); }
.puro-s-new .gamme-item p { color: #64748b; }

.gamme-arrow { font-size: 1.3em; display: block; transition: transform 0.25s; }
.acti-s .gamme-arrow { color: #1e3460; }
.divo-s .gamme-arrow { color: #00e1b9; }
.puro-s-new .gamme-arrow { color: #8eb0aa; }
.gamme-item:hover .gamme-arrow { transform: translateX(4px); }

.gamme-lk { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; margin-top: 8px; transition: background 0.25s; }
.acti-s .gamme-lk { color: #fff; background: #1e3460; }
.acti-s .gamme-lk:hover { background: #2a4a80; }
.divo-s .gamme-lk { color: #fff; background: #00b894; }
.divo-s .gamme-lk:hover { background: #00a17e; }
.puro-s-new .gamme-lk { color: #fff; background: #8eb0aa; }
.puro-s-new .gamme-lk:hover { background: #7a9e98; }

@media (max-width: 768px) {
  .gamme-grid.cols-3, .gamme-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .gamme-h2 { font-size: 1.5em; }
}
@media (max-width: 480px) {
  .gamme-grid, .gamme-grid.cols-2, .gamme-grid.cols-3, .gamme-grid.cols-4 { grid-template-columns: 1fr; }
}


/* ============================================================
   PURFLUID — CORRECTIFS DESIGN v1.0 (2026-03-14)
   Homepage + Pages Secteurs
   ============================================================ */

/* --- 1. HOMEPAGE HERO : CONTRASTE TEXTES --- */
.elementor-page .hero-content h1,
.elementor-page .hero-content .elementor-heading-title,
body .elementor-section .elementor-heading-title {
  text-shadow: 0 2px 12px rgba(0,0,0,0.45) !important;
}

/* --- 2. BADGE EFFICACE PAR NATURE : ALIGNE A GAUCHE --- */
.hero-badge,
.elementor-widget-text-editor:has(.hero-badge) {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  align-self: flex-start !important;
}

/* --- 3. PAGES SECTEURS : HERO --- */
.sect-hero {
  background: linear-gradient(160deg, #0F1923 0%, #162850 50%, #1E3460 100%) !important;
}
.sect-hero h1 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
}
.sect-hero p {
  color: rgba(255,255,255,0.88) !important;
}

/* --- 4. SECTIONS PROBLEMES : CONTRASTE --- */
.prob-s {
  background: linear-gradient(180deg, #0F1923 0%, #131E2D 100%) !important;
}
.prob-s h2, .prob-s h3 { color: #FFFFFF !important; }
.prob-s p { color: rgba(255,255,255,0.80) !important; }
.prob-s strong { color: #8EB0AA !important; }
.prob-s a { color: #8EB0AA !important; }
.prob-s a:hover { color: #A5C9C3 !important; }

/* Cards problemes */
.prob-s .prob-g > div,
.prob-s [class*="prob-card"] {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
}
.prob-s .prob-g > div:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(142,176,170,0.2) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
}

/* --- 5. SECTION SOLUTIONS : CONTRASTE --- */
.sol-s {
  background: linear-gradient(180deg, #131E2D 0%, #162850 100%) !important;
}
.sol-s h2 { color: #FFFFFF !important; }
.sol-s h3 { color: #C8A35F !important; }
.sol-s p { color: rgba(255,255,255,0.82) !important; }
.sol-s a { color: #8EB0AA !important; }

/* --- 6. SECTION CTA --- */
.cta-s h2 { color: #FFFFFF !important; }
.cta-s p { color: rgba(255,255,255,0.85) !important; }

/* --- 7. BOUTONS SECTEURS --- */
.btn-p {
  background: linear-gradient(135deg, #8EB0AA 0%, #7DA39C 100%) !important;
  color: #0F1923 !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  border: none !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}
.btn-p:hover {
  background: linear-gradient(135deg, #9DBFB9 0%, #8EB0AA 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(142,176,170,0.35) !important;
}
.btn-o {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600 !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}
.btn-o:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.35) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
}

/* --- 8. SECTION BLANCHE CONTENU --- */
.prf-sect-wrap { background: #FFFFFF !important; }
.prf-sect-wrap h2 { color: #1A202C !important; font-weight: 800 !important; }
.prf-sect-wrap h3 { color: #1E3460 !important; font-weight: 700 !important; }
.prf-sect-wrap p { color: #4A5568 !important; line-height: 1.7 !important; }

/* --- 9. CTA FINAL SECTEUR --- */
.prf-sect-cta {
  background: linear-gradient(135deg, #1E3460 0%, #0F1923 100%) !important;
}
.prf-sect-cta h2 { color: #FFFFFF !important; }

/* --- 10. OMBRES ACTIFLUID / CARDS SOLUTIONS HOMEPAGE --- */
.pf-secteurs-grid .pf-secteur-card,
.gamme-item {
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.06), 0 12px 32px rgba(30,52,96,0.08) !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.pf-secteurs-grid .pf-secteur-card:hover,
.gamme-item:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.1), 0 20px 48px rgba(30,52,96,0.12) !important;
  transform: translateY(-4px) !important;
}

/* Acti-S cards ombres ameliorees */
.acti-s .gamme-item {
  box-shadow: 0 2px 8px rgba(30,52,96,0.10), 0 8px 24px rgba(30,52,96,0.06) !important;
}
.acti-s .gamme-item:hover {
  box-shadow: 0 4px 16px rgba(30,52,96,0.15), 0 16px 40px rgba(30,52,96,0.10) !important;
}

/* --- 11. BREADCRUMB SECTEURS --- */
.pf-breadcrumb-bar {
  background: rgba(15,25,35,0.95) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.pf-breadcrumb-bar a { color: rgba(255,255,255,0.6) !important; }
.pf-breadcrumb-bar a:hover { color: #8EB0AA !important; }

/* --- 12. BLOG GRID SECTEURS --- */
.prf-blog-grid article {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04) !important;
  transition: all 0.3s ease !important;
}
.prf-blog-grid article:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 16px 40px rgba(0,0,0,0.08) !important;
  transform: translateY(-3px) !important;
}

/* --- 13. RESPONSIVE SECTEURS --- */
@media (max-width: 768px) {
  .prob-s .prob-g { grid-template-columns: 1fr !important; }
  .prf-blog-grid { grid-template-columns: 1fr !important; }
  .sect-hero h1 { font-size: 28px !important; }
}
