/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/



/* Exception : sur la page "Devis Gratuit", le bouton actif reste en TEXTE NOIR */
.hfe-nav-menu #menu-item-170.current-menu-item > a.hfe-menu-item,
.hfe-nav-menu #menu-item-170.current-menu-item > a.elementor-button {
  color: #000 !important;
}



/* Variables locales : change seulement ces 3 lignes si besoin */
.artblog {
  --accent: #0ea5e9;               /* couleur d'accent (ex: bleu) */
  --heading-font: inherit;          /* ou "Inter", "Poppins", etc. */
  --content-max: 72ch;              /* largeur de confort du texte */
}

/* Confort de lecture global (optionnel) */
.artblog {
  max-width: var(--content-max);
  hyphens: auto;
  overflow-wrap: anywhere;
  scroll-margin-top: 6rem; /* si header sticky */
}

/* Base titres */
.artblog h2,
.artblog h3,
.artblog h4 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 2rem 0 1rem;
}

/* Tailles fluides : mobile → desktop via clamp() */
.artblog h2 { font-size: clamp(1.35rem, 1.05rem + 2.2vw, 2.10rem); }
.artblog h3 { font-size: clamp(1.15rem, 0.98rem + 1.2vw, 1.55rem); }
.artblog h4 { font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.30rem); }

/* H2 stylé : barre d'accent fine + légère mise en forme */
.artblog h2 {
  position: relative;
  padding-bottom: 0.35rem;
}
.artblog h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;                   /* longueur de la barre */
  height: 2px;
  background: linear-gradient(90deg, var( --e-global-color-accent), transparent 85%);
  border-radius: 2px;
  opacity: 0.9;
}

/* Variantes visuelles */
.artblog h3 {
  font-weight: 700;
  color: color-mix(in oklab, currentColor 90%, var( --e-global-color-accent) 10%);
}
.artblog h4 {
  font-weight: 600;
  text-transform: none;
  color: color-mix(in oklab, currentColor 92%, var( --e-global-color-accent) 8%);
}

/* Espacements plus fins sur mobile, plus amples dès tablette */
@media (min-width: 768px) {
  .artblog h2 { margin: 2.2rem 0 1.1rem; }
  .artblog h3 { margin: 1.8rem 0 0.9rem; }
  .artblog h4 { margin: 1.4rem 0 0.7rem; }
}
@media (min-width: 1024px) {
  .artblog h2 { letter-spacing: -0.012em; }
  .artblog h3 { letter-spacing: -0.008em; }
}

/* Première occurrence d’un titre juste après le début du contenu */
.artblog > h2:first-child,
.artblog > h3:first-child,
.artblog > h4:first-child {
  margin-top: 0;
}

/* Accessibilité : si animations réduites, fixe la barre (aucune anim ici mais on prévoit) */
@media (prefers-reduced-motion: reduce) {
  .artblog * { transition: none !important; }
}

/* Ancres internes lisibles (si tu ajoutes des liens d’ancre à côté des titres) */
.artblog h2 a,
.artblog h3 a,
.artblog h4 a { color: inherit; text-decoration: none; }
.artblog h2 a:focus-visible,
.artblog h3 a:focus-visible,
.artblog h4 a:focus-visible { outline: 2px dashed var( --e-global-color-accent); outline-offset: 4px; }


/* Values Section */
        .values {
            padding: 5rem 5%;
            background: var(--dark-secondary);
        }

        .values-grid {
            max-width: 1400px;
            margin: 3rem auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .value-card {
            background: linear-gradient(135deg, var(--dark-bg), var(--accent));
            padding: 2.5rem;
            border-radius: 20px;
            text-align: center;
            border: 1px solid rgba(255,107,53,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .value-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .value-card:hover::before {
            transform: scaleX(1);
        }

        .value-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(255,107,53,0.2);
        }

        .value-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 1.5rem;
        }

        .value-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .value-card p {
            color: var(--text-gray);
            line-height: 1.7;
        }

        /* What is Section */
        .what-is {
            padding: 5rem 5%;
            background: var(--dark-bg);
        }

        .what-is-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .what-is-content {
            background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(247,147,30,0.02));
            border-radius: 30px;
            padding: 3rem;
            border: 1px solid rgba(255,107,53,0.1);
        }

        .what-is-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .what-is-header h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 1rem;
        }

        .what-is-header h2 span {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .what-is-text {
            font-size: 1.2rem;
            color: var(--text-gray);
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .fluids-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        
        }

        .fluid-item {
            background: var(--e-global-color-c030f1a);
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            border: 1px solid rgba(255,107,53,0.1);
            transition: all 0.3s ease;
        }

        .fluid-item:hover {
            transform: scale(1.05);
            border-color: var(--primary-color);
            box-shadow: 0 10px 30px rgba(255,107,53,0.2);
        }

        .fluid-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        .fluid-name {
            font-size: 1.1rem;
            color: var(--e-global-color-e64be90);
        }

        .safety-notice {
            background: rgba(255,68,68,0.1);
            border: 1px solid rgba(255,68,68,0.3);
            border-radius: 15px;
            padding: 1.5rem;
            margin-top: 2rem;
        }

        .safety-notice h3 {
            color: #ff4444;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .safety-notice p {
            color: var(--text-gray);
            line-height: 1.7;
        }

        /* Company Info */
        .company-info {
            padding: 5rem 5%;
            background: var(--dark-secondary);
        }

        .info-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
        }

        .info-card {
            background: var(--dark-bg);
            padding: 2.5rem;
            border-radius: 20px;
            border: 1px solid rgba(255,107,53,0.1);
        }

        .info-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .info-list {
            list-style: none;
        }

        .info-list li {
            padding: 0.75rem 0;
            color: var(--text-gray);
            display: flex;
            align-items: flex-start;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .info-list li:last-child {
            border-bottom: none;
        }

        .info-list li::before {
            content: '→';
            color: var(--primary-color);
            margin-right: 1rem;
            font-weight: bold;
        }

        /* Timeline */
        .timeline {
            padding: 5rem 5%;
            background: var(--dark-bg);
        }

        .timeline-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }

        .timeline-line {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 3px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
        }

        .timeline-item {
            display: flex;
            margin-bottom: 3rem;
            position: relative;
        }

        .timeline-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        .timeline-content {
            flex: 1;
            padding: 2rem;
            background: linear-gradient(135deg, var(--dark-secondary), var(--accent));
            border-radius: 15px;
            margin: 0 2rem;
            border: 1px solid rgba(255,107,53,0.2);
        }

        .timeline-dot {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 20px;
            background: var(--primary-color);
            border-radius: 50%;
            border: 3px solid var(--dark-bg);
        }

        .timeline-year {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .timeline-title {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .timeline-desc {
            color: var(--text-gray);
        }