/*
Theme Name: ENVA Child Theme
Theme URI: https://enva-consulting.fr
Description: Child theme for ENVA Consulting
Author: ENVA
Author URI: https://enva-consulting.fr
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enva-child
*/

/* ========================================
   MENU NAVIGATION CUSTOM
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 0;
}

.navbar.transparent {
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.navbar.transparent .logo {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .logo {
    color: #2c5f7f;
}

.logo-image,
.logo img,
.custom-logo {
    height: 50px;
    width: auto;
    max-width: 228px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.navbar.scrolled .logo-image,
.navbar.scrolled .logo img,
.navbar.scrolled .custom-logo {
    height: 45px;
}

.logo:hover .logo-image,
.logo:hover img,
.logo:hover .custom-logo {
    transform: scale(1.05);
}

.logo-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .logo-image,
    .logo img,
    .custom-logo {
        height: 40px;
        max-width: 180px;
    }

    .navbar.scrolled .logo-image,
    .navbar.scrolled .logo img,
    .navbar.scrolled .custom-logo {
        height: 35px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.transparent .nav-links a {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-links a {
    color: #2c5f7f;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a9fd8;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.navbar.transparent .nav-links a:hover,
.navbar.transparent .nav-links a.active {
    color: #4a9fd8;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: #4a9fd8;
}

/* Bouton CTA */
.nav-cta {
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f) !important;
    color: white !important;
    padding: 0.8rem 2rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(74, 159, 216, 0.3);
    text-shadow: none !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 159, 216, 0.5);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
}

.burger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar.scrolled .burger span {
    background: #2c5f7f;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #2c5f7f !important;
    text-shadow: none !important;
    transition: all 0.3s ease;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: #4a9fd8;
    color: white !important;
}

.dropdown > a::before {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover > a::before {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 320px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 3rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: #2c5f7f !important;
        font-size: 1.2rem;
        width: 100%;
        text-shadow: none !important;
    }

    .nav-cta {
        margin-top: 2rem;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(74, 159, 216, 0.1);
        margin: 0.5rem 0 0 1rem;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown > a::before {
        content: '▶';
    }

    .dropdown.active > a::before {
        transform: rotate(90deg);
    }
}

/* ========================================
   PAGE D'ACCUEIL PLEINE LARGEUR
   ======================================== */

.home .site-content,
.home .content-area,
.home main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home .sidebar,
.home .widget-area {
    display: none !important;
}

.home .inside-article,
.home .entry-content,
.home article {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home .container.grid-container,
.home .site-content .grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.home .ast-container,
.home .site-content .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.home .wp-block-group,
.home .wp-block-cover,
.home .wp-block-columns {
    max-width: 100% !important;
}

.home body,
.home .site {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

.home #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.home #main {
    width: 100% !important;
    max-width: 100% !important;
}

.home .site-content {
    display: block !important;
}

@media (max-width: 768px) {
    .home .site-content,
    .home .content-area {
        padding: 0 !important;
    }
}

.home .hero,
.home section {
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 100%);
    color: white;
    padding: 0;
    margin-top: 2px;
    border-top: 2px solid white;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a9fd8;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #4a9fd8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #4a9fd8;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    color: #4a9fd8;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-legal {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

/* ========================================
   PAGE CONTACT
   ======================================== */

.contact-hero {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 50%, #4a9fd8 100%);
    padding: 4rem 2rem 3rem;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.contact-container {
    max-width: 1200px;
    margin: -2rem auto 0;
    padding: 0 2rem 5rem;
    position: relative;
    z-index: 10;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-form-card h2 {
    color: #2c5f7f;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-form-card .subtitle {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact-form-card form {
    max-width: 100%;
}

.wpcf7-form p {
    margin: 0 !important;
}

.wpcf7-form br {
    display: none;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #2c5f7f;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e74c3c;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="file"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="file"] {
    padding: 0.7rem;
    cursor: pointer;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #4a9fd8;
    box-shadow: 0 0 0 3px rgba(74, 159, 216, 0.1);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-col {
    display: flex;
    flex-direction: column;
}

.wpcf7-form .form-group {
    margin-bottom: 1rem;
}

.wpcf7-form .form-group:last-of-type {
    margin-bottom: 0;
}

.form-consent,
.consent-box {
    margin: 1.2rem 0;
    padding: 0.9rem;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.9rem;
}

.wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: start;
    gap: 0.6rem;
}

.wpcf7-form input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-consent a,
.consent-box a {
    color: #4a9fd8;
    text-decoration: underline;
}

.wpcf7-form .wpcf7-submit,
.submit-btn {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 159, 216, 0.3);
    margin-top: 0.5rem;
}

.wpcf7-form .wpcf7-submit:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(74, 159, 216, 0.4);
}

.wpcf7-form .wpcf7-submit:active,
.submit-btn:active {
    transform: translateY(0);
}

.wpcf7-response-output {
    margin: 1rem 0 !important;
    padding: 1rem !important;
    border-radius: 10px !important;
    border: none !important;
}

.wpcf7-mail-sent-ok {
    background: #d4edda !important;
    color: #155724 !important;
    border: 2px solid #28a745 !important;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 2px solid #dc3545 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.wpcf7-spinner {
    margin-left: 1rem;
}

.contact-sidebar {
    position: sticky;
    top: 100px;
}

.trust-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.trust-card h3 {
    color: #2c5f7f;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-text {
    flex: 1;
}

.trust-text strong {
    display: block;
    color: #2c5f7f;
    margin-bottom: 0.2rem;
}

.trust-text span {
    font-size: 0.9rem;
    color: #666;
}

.direct-contact {
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.direct-contact h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.direct-contact p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.direct-link {
    display: block;
    padding: 1rem;
    background: white;
    color: #2c5f7f;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.direct-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.urgency-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

@media (max-width: 968px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-sidebar { position: static; }
    .form-row { grid-template-columns: 1fr; }
    .quick-stats { grid-template-columns: 1fr; gap: 1rem; }
    .contact-hero h1 { font-size: 2rem; }
}

/* ========================================
   SECTION MAP CONTACT
   ======================================== */

.contact-map-section {
    margin: 5rem 0 0;
    padding: 0;
}

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

.map-header h2 {
    color: #2c5f7f;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.map-header p {
    color: #666;
    font-size: 1.1rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.map-container iframe {
    display: block;
    width: 100%;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-info-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.map-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.map-info-text {
    flex: 1;
}

.map-info-text strong {
    display: block;
    color: #2c5f7f;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.map-info-text p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .map-info { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
    .map-header h2 { font-size: 2rem; }
    .map-container iframe { height: 350px; }
}

/* ========================================
   MEGA MENU ENVA
   ======================================== */

.enva-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 1rem 0;
}

.enva-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
}

.enva-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.enva-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.enva-logo:hover { transform: scale(1.02); }

.enva-logo img,
.enva-logo .custom-logo {
    height: 55px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.enva-navbar.scrolled .enva-logo img,
.enva-navbar.scrolled .enva-logo .custom-logo { height: 48px; }

.enva-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.enva-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.enva-menu > li { position: relative; }

.enva-menu > li > a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.enva-navbar.scrolled .enva-menu > li > a { color: #2c5f7f; text-shadow: none; }

.enva-menu > li > a:hover,
.enva-menu > li.current-menu-item > a { background: rgba(74, 159, 216, 0.1); color: #4a9fd8; }

.enva-navbar.scrolled .enva-menu > li > a:hover,
.enva-navbar.scrolled .enva-menu > li.current-menu-item > a { background: rgba(74, 159, 216, 0.08); color: #4a9fd8; }

.enva-menu .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    background: linear-gradient(160deg, #1a4d6b 0%, #2c5f7f 100%);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    padding: 0.5rem 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.enva-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.enva-menu .sub-menu li { margin: 0; }
.enva-menu .sub-menu li + li { border-top: 1px solid rgba(255, 255, 255, 0.06); }

.enva-menu .sub-menu a {
    display: block;
    padding: 0.65rem 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-shadow: none;
    white-space: nowrap;
}

.enva-menu .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 1.8rem;
}

.enva-menu > li.menu-item-has-children > a::after { content: '▼'; font-size: 0.65rem; margin-left: 0.4rem; transition: transform 0.25s ease; }
.enva-menu > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* ── Sous-menu niveau 3 (sous-sous-catégories) ── */
.enva-menu .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 6px;
    min-width: 220px;
    background: linear-gradient(160deg, #163d56 0%, #1a4d6b 100%);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.enva-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Indicateur flèche droite sur items avec enfants — tous niveaux */
.enva-menu .sub-menu li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.enva-menu .sub-menu li.menu-item-has-children > a::after {
    content: '›';
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.7;
    flex-shrink: 0;
    margin-left: auto;
}

/* Forcer flex sur tous les liens du sub-menu pour cohérence */
.enva-menu .sub-menu a {
    display: flex;
    align-items: center;
}

.enva-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(74, 159, 216, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.enva-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(74, 159, 216, 0.45); }
.enva-cta-icon { font-size: 1.1rem; }

.enva-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
    transition: all 0.3s ease;
}

.enva-burger-line { width: 28px; height: 3px; background: white; border-radius: 3px; transition: all 0.3s ease; }
.enva-navbar.scrolled .enva-burger-line { background: #2c5f7f; }
.enva-burger.active .enva-burger-line:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.enva-burger.active .enva-burger-line:nth-child(2) { opacity: 0; }
.enva-burger.active .enva-burger-line:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

.enva-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.enva-mobile-menu.active { right: 0; }
.enva-mobile-menu-content { padding: 6rem 2rem 3rem; }
.enva-mobile-nav { list-style: none; margin: 0; padding: 0; }
.enva-mobile-nav li { border-bottom: 1px solid rgba(74, 159, 216, 0.1); }

.enva-mobile-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1rem;
    color: #2c5f7f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.enva-mobile-nav > li > a:hover,
.enva-mobile-nav > li.current-menu-item > a { color: #4a9fd8; padding-left: 1.5rem; }

.enva-mobile-nav .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(74, 159, 216, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.enva-mobile-nav li.menu-item-has-children.active > .sub-menu { max-height: 500px; }

.enva-mobile-nav .sub-menu a {
    display: block;
    padding: 1rem 1.5rem 1rem 2rem;
    color: #2c5f7f;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.enva-mobile-nav .sub-menu a:hover { color: #4a9fd8; padding-left: 2.5rem; }
.enva-mobile-nav > li.menu-item-has-children > a::after { content: '›'; font-size: 1.5rem; transition: transform 0.3s ease; }
.enva-mobile-nav > li.menu-item-has-children.active > a::after { transform: rotate(90deg); }

.enva-mobile-cta {
    display: block;
    margin-top: 2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(74, 159, 216, 0.3);
    transition: all 0.3s ease;
}

.enva-mobile-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(74, 159, 216, 0.45); }

.enva-mobile-menu::before { display: none; }

@media (max-width: 1024px) {
    .enva-menu-wrapper { display: none; }
    .enva-burger { display: flex; }
}

@media (max-width: 768px) {
    .enva-nav-container { padding: 0 1.5rem; }
    .enva-logo img, .enva-logo .custom-logo { height: 45px; max-width: 180px; }
    .enva-navbar.scrolled .enva-logo img, .enva-navbar.scrolled .enva-logo .custom-logo { height: 40px; }
    .enva-mobile-menu { max-width: 100%; }
}

/* ========================================
   PAGE D'ACCUEIL - HERO & SERVICES
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 50%, #4a9fd8 100%);
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.2); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.hero-title { font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); line-height: 1.2; }
.hero-subtitle { font-size: 1.5rem; opacity: 0.95; margin-bottom: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; }

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-badge:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-3px); }
.badge-icon { font-size: 1.5rem; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

.services {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, white 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 159, 216, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 95, 127, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.section-header { text-align: center; max-width: 800px; margin: 0 auto 5rem; position: relative; z-index: 2; }
.section-title { font-size: 3rem; color: #2c5f7f; margin-bottom: 1rem; font-weight: 700; }
.section-subtitle { font-size: 1.2rem; color: #666; }

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

.service-card-vertical { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; display: flex; flex-direction: column; }
.service-card-vertical:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); }
.service-card-image { width: 100%; height: 280px; overflow: hidden; position: relative; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card-vertical:hover .service-card-image img { transform: scale(1.1); }
.service-card-content { padding: 2.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card-content h3 { color: #2c5f7f; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.3; }
.service-card-content p { color: #666; font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }
.service-card-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #4a9fd8; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all 0.3s ease; align-self: flex-start; }
.service-card-link:hover { gap: 1rem; color: #2c5f7f; }

.why-enva { padding: 5rem 2rem; background: #f8f9fa; }
.why-enva h2 { text-align: center; color: #2c5f7f; font-size: 2.5rem; margin-bottom: 3rem; font-weight: 700; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.why-card { background: white; padding: 2.5rem; border-radius: 20px; text-align: center; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; }
.why-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); }
.why-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.why-card h3 { color: #2c5f7f; font-size: 1.3rem; margin-bottom: 1rem; font-weight: 700; }
.why-card p { color: #666; line-height: 1.7; }

.stats-section { padding: 4rem 2rem; background: linear-gradient(135deg, #1a4d6b, #2c5f7f); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; text-align: center; }
.stat-item { padding: 1rem; }
.stat-number { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; color: white; }
.stat-label { font-size: 1.1rem; opacity: 0.9; font-weight: 600; }

.cta-section { padding: 5rem 2rem; background: white; }
.cta-container { max-width: 900px; margin: 0 auto; text-align: center; }
.cta-content h2 { color: #2c5f7f; font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
.cta-content p { color: #666; font-size: 1.2rem; margin-bottom: 2rem; line-height: 1.7; }
.cta-button { display: inline-block; padding: 1.3rem 3rem; background: linear-gradient(135deg, #4a9fd8, #2c5f7f); color: white; text-decoration: none; font-weight: 700; font-size: 1.1rem; border-radius: 50px; box-shadow: 0 10px 30px rgba(74, 159, 216, 0.3); transition: all 0.3s ease; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(74, 159, 216, 0.4); }

@media (max-width: 968px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-badges { flex-direction: column; align-items: center; }
    .hero-badge { width: 100%; max-width: 400px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 640px) {
    .hero { min-height: 80vh; padding: 6rem 1.5rem 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.5rem; }
}

@media (max-width: 1200px) { .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } }

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-card-image { height: 240px; }
    .service-card-content { padding: 2rem; }
    .service-card-content h3 { font-size: 1.3rem; }
}

/* ========================================
   PAGE ÉQUIPEMENTS - DÉGRADÉ UNIFIÉ
   Fix WordPress / GeneratePress
   ======================================== */

/* ── ÉTAPE 1 : Neutraliser les fonds blancs de WordPress/GeneratePress
   qui écrasent le fond de .page-equipements ── */
.page-template-default #primary,
.page-template-default #main,
.page-template-default .site-content,
.page-template-default .content-area,
.page-template-default .inside-article,
.page-template-default .entry-content,
.page-template-default article.page,
body:not(.home) #primary,
body:not(.home) #main,
body:not(.home) .inside-article,
body:not(.home) .entry-content {
    background: transparent !important;
    padding: 0 !important;
}

/* ── ÉTAPE 2 : Wrapper principal avec le dégradé ── */
.page-equipements {
    background: linear-gradient(180deg, #ffffff 0%, #e8f4fd 40%, #f0f7ff 60%, #ffffff 100%);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    display: block;
    /* Min-height pour que le dégradé soit visible même si contenu court */
    min-height: 100vh;
}

/* Halos décoratifs */
.page-equipements::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(74, 159, 216, 0.13) 0%, transparent 40%),
        radial-gradient(circle at 85% 55%, rgba(44, 95, 127, 0.13) 0%, transparent 40%),
        radial-gradient(circle at 50% 85%, rgba(74, 159, 216, 0.09) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* ── ÉTAPE 3 : Sections internes transparentes ── */
.page-equipements .equipements-intro,
.page-equipements .services-grid,
.page-equipements .why-enva,
.page-equipements .cta-section {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Intro */
.page-equipements .equipements-intro {
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.page-equipements .equipements-intro h2 {
    color: #2c5f7f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-equipements .intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Grid services */
.page-equipements .services-grid {
    padding: 1rem 2rem 5rem; /* réduit le padding-top pour coller à l'intro */
}

/* Force le grid même si GeneratePress surcharge .container */
.page-equipements .services-grid .container,
.page-equipements .services-grid > .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    position: relative;
    z-index: 2;
}

/* Fallback responsive inline */
@media (max-width: 1200px) {
    .page-equipements .services-grid .container,
    .page-equipements .services-grid > .container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 700px) {
    .page-equipements .services-grid .container,
    .page-equipements .services-grid > .container {
        grid-template-columns: 1fr !important;
    }
}

/* Cards : fond blanc, bordure bleue subtile */
.page-equipements .service-card-vertical {
    background: #ffffff;
    border: 1px solid rgba(74, 159, 216, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(74, 159, 216, 0.05),
        0 10px 40px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.page-equipements .service-card-vertical:hover {
    transform: translateY(-10px);
    box-shadow:
        0 8px 16px rgba(74, 159, 216, 0.1),
        0 20px 60px rgba(74, 159, 216, 0.2);
    border-color: rgba(74, 159, 216, 0.3);
}

.page-equipements .service-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #f0f5fa;
}

.page-equipements .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.page-equipements .service-card-vertical:hover .service-card-image img { transform: scale(1.08); }

.page-equipements .service-card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-equipements .service-card-content h3 { color: #2c5f7f; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.3; }
.page-equipements .service-card-content p { color: #555; font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }
.page-equipements .service-card-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #4a9fd8; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all 0.3s ease; align-self: flex-start; }
.page-equipements .service-card-link:hover { gap: 1rem; color: #2c5f7f; }

/* Why Enva */
.page-equipements .why-enva { padding: 5rem 2rem; }
.page-equipements .why-enva h2 { text-align: center; color: #2c5f7f; font-size: 2.5rem; font-weight: 700; margin-bottom: 3rem; }
.page-equipements .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1400px; margin: 0 auto; }

.page-equipements .why-card {
    background: #ffffff;
    border: 1px solid rgba(74, 159, 216, 0.15);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(74, 159, 216, 0.05), 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
}

.page-equipements .why-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(74, 159, 216, 0.1), 0 15px 40px rgba(74, 159, 216, 0.18); border-color: rgba(74, 159, 216, 0.3); }
.page-equipements .why-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.page-equipements .why-card h3 { color: #2c5f7f; font-size: 1.3rem; margin-bottom: 1rem; font-weight: 700; }
.page-equipements .why-card p { color: #666; line-height: 1.7; }

/* Stats */
.page-equipements .stats-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f) !important;
    color: white;
    position: relative;
    z-index: 1;
}

.page-equipements .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; text-align: center; max-width: 1200px; margin: 0 auto; }
.page-equipements .stat-item { padding: 1rem; }

.page-equipements .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

.page-equipements .stat-label { font-size: 1.1rem; opacity: 0.9; font-weight: 600; color: white; }

/* CTA */
.page-equipements .cta-section { padding: 5rem 2rem; }
.page-equipements .cta-container { max-width: 900px; margin: 0 auto; text-align: center; }
.page-equipements .cta-content h2 { color: #2c5f7f; font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.page-equipements .cta-content p { color: #666; font-size: 1.2rem; margin-bottom: 2rem; line-height: 1.7; }
.page-equipements .cta-button { display: inline-block; padding: 1.3rem 3rem; background: linear-gradient(135deg, #4a9fd8, #2c5f7f); color: white; text-decoration: none; font-weight: 700; font-size: 1.1rem; border-radius: 50px; box-shadow: 0 10px 30px rgba(74, 159, 216, 0.3); transition: all 0.3s ease; }
.page-equipements .cta-button:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(74, 159, 216, 0.4); }
.page-equipements .container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Responsive */
@media (max-width: 1200px) { .page-equipements .services-grid .container { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } }

@media (max-width: 768px) {
    .page-equipements .services-grid .container { grid-template-columns: 1fr; }
    .page-equipements .service-card-image { height: 240px; }
    .page-equipements .service-card-content { padding: 2rem; }
    .page-equipements .service-card-content h3 { font-size: 1.3rem; }
    .page-equipements .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .page-equipements .stats-grid { grid-template-columns: 1fr; }
    .page-equipements .stat-number { font-size: 2.5rem; }
}
/* ================================================
   FIX GENERATEPRESS - PAGE ÉQUIPEMENTS (ID: 141)
   À COLLER À LA FIN de ton style.css
   ================================================ */

/* Cible précise sur la page ID 141 */
body.page-id-141 #primary,
body.page-id-141 #main,
body.page-id-141 .site-main,
body.page-id-141 article,
body.page-id-141 .inside-article,
body.page-id-141 .entry-content,
body.page-id-141 .entry-header {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    border: none !important;
}

/* Fond principal sur le wrapper */
body.page-id-141 .page-equipements {
    background: linear-gradient(180deg, #ffffff 0%, #e8f4fd 40%, #f0f7ff 60%, #ffffff 100%) !important;
    min-height: 100vh;
    width: 100%;
    display: block;
}

/* Sections internes transparentes */
body.page-id-141 .page-equipements .equipements-intro,
body.page-id-141 .page-equipements .services-grid,
body.page-id-141 .page-equipements .why-enva,
body.page-id-141 .page-equipements .cta-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Stats en bleu forcé */
body.page-id-141 .page-equipements .stats-section {
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f) !important;
}

/* Stat numbers en blanc forcé */
body.page-id-141 .page-equipements .stat-number {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
}

body.page-id-141 .page-equipements .stat-label {
    color: white !important;
}

/* ========================================
   PAGES INTERNES - MENU & ESPACEMENTS
   ======================================== */


/* Fix quick-stats page contact */
.quick-stats .stat-number,
.quick-stats .stat-label {
    color: #2c5f7f !important;
    -webkit-text-fill-color: #2c5f7f !important;
    background: none !important;
}

/* Supprimer l'espace GeneratePress entre menu et hero */
body:not(.home) {
    padding-top: 0 !important;
}
body:not(.home) .site,
body:not(.home) .site-main,
body:not(.home) .site-content,
body:not(.home) #primary,
body:not(.home) #main,
body:not(.home) .content-area,
body:not(.home) .grid-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body:not(.home) article.page,
body:not(.home) .inside-article,
body:not(.home) .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ========================================
   PAGES PRODUIT & RÉALISATIONS
   Classes réutilisables sur toutes les pages
   produit, équipement, réalisation
   ======================================== */

/* Container centré */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section avec espacement */
.product-section {
    margin: 5rem 0;
}

.product-section h2 {
    color: #2c5f7f;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    border-bottom: 3px solid #4a9fd8;
    padding-bottom: 0.5rem;
}

.product-section h3 {
    color: #1a4d6b;
    font-size: 1.3rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.product-section p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Layout texte + image côte à côte */
.content-with-image {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    margin: 3rem 0;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Liste à flèches bleues */
.pro-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pro-list li {
    padding: 0.7rem 0 0.7rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
}

.pro-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4a9fd8;
    font-weight: 700;
}

.pro-list li:last-child { border-bottom: none; }
.pro-list li strong { color: #2c5f7f; font-weight: 600; }

/* Liste à puces classique */
.pro-list-disc {
    list-style: disc;
    padding-left: 2rem;
    margin: 2rem 0;
}

.pro-list-disc li {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
}

.pro-list-disc li strong { color: #2c5f7f; font-weight: 600; }

/* Tableau de spécifications */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.specs-table th {
    background: #2c5f7f;
    color: white;
    padding: 1rem 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.specs-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
    font-size: 1rem;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #2c5f7f;
    width: 35%;
}

.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background: #f8f9fa; }

/* Bloc info technique avec bordure gauche */
.tech-block {
    background: #f8f9fa;
    border-left: 4px solid #4a9fd8;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.tech-block h4 {
    color: #2c5f7f;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.tech-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-block li {
    padding: 0.5rem 0;
    color: #444;
    line-height: 1.7;
}

.tech-block p {
    margin: 0;
    color: #444;
    line-height: 1.7;
}

/* FAQ épurée */
/* FAQ — style Questions fréquentes */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8f4fd;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    color: #2c5f7f;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.faq-answer {
    color: #555;
    line-height: 1.75;
    font-size: 1rem;
}

/* CTA pleine largeur (pages produit) */
.product-cta {
    background: linear-gradient(135deg, #1a4d6b 0%, #4a9fd8 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 5rem 0 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.product-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -250px;
    right: -100px;
}

.product-cta::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
}

.product-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.product-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border: none !important;
}

.product-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.product-cta-btn {
    display: inline-block;
    background: white;
    color: #2c5f7f;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.product-cta-btn:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .specs-table {
        font-size: 0.9rem;
    }
    .specs-table th,
    .specs-table td {
        padding: 0.8rem;
    }
    .specs-table td:first-child {
        width: auto;
    }
    .product-cta h2 {
        font-size: 2rem;
    }
    .product-section h2 {
        font-size: 1.6rem;
    }
}

/* ========================================
   FIX SCROLL HORIZONTAL
   ======================================== */

html,
body {
    overflow-x: hidden;
}

/* Sécurisation full-bleed .product-cta */
.product-cta {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

/* ========================================
   HERO PAGES INTERNES
   Structure commune à toutes les pages
   produit, équipement, réalisation
   ======================================== */

.page-hero {
    padding: 7rem 2rem 1.5rem;
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 50%, #4a9fd8 100%);
    color: white;
}

.page-hero .section-header {
    color: white;
}

.page-hero .section-title {
    color: white;
    font-size: 2.4rem;
}

.page-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.hero-badges {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: white;
}

/* Wrapper vidéo */
.video-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Wrapper vidéo petit format */
.video-wrapper-small {
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin: 2rem 0;
}

/* ========================================
   PAGE NOS RÉALISATIONS
   Cartes full-image avec overlay hover
   ======================================== */

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.realisation-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.realisation-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.realisation-card:hover img {
    transform: scale(1.07);
}

.realisation-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 77, 107, 0.97) 0%,
        rgba(44, 95, 127, 0.85) 50%,
        rgba(74, 159, 216, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.realisation-card:hover .realisation-overlay {
    opacity: 1;
}

/* Badge secteur toujours visible en bas */
.realisation-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(26, 77, 107, 0.9);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.realisation-card:hover .realisation-badge {
    opacity: 0;
}

.realisation-overlay h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.realisation-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.realisation-overlay .realisation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.realisation-overlay .realisation-link:hover {
    background: white;
    color: #2c5f7f;
    border-color: white;
}

@media (max-width: 768px) {
    .realisations-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 3rem;
    }

    /* Sur mobile, overlay toujours visible */
    .realisation-overlay {
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(26, 77, 107, 0.95) 0%,
            transparent 60%
        );
    }

    .realisation-badge { display: none; }
}

/* Services sans padding bas (avant une grille) */
.services-no-bottom {
    padding-bottom: 0 !important;
}

/* Image réduite (échangeur, récupération sur évent...) */
.product-image-small {
    width: 100%;
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
    display: block;
}

/* Liste numérotée sobre pour étapes process */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.steps-list li {
    padding: 1.2rem 0 1.2rem 0;
    border-bottom: 1px solid #e8f4fd;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.steps-list li strong {
    color: #2c5f7f;
}

/* ========================================
   ROADMAP HORIZONTALE
   ======================================== */

.roadmap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 3rem -1rem;
    position: relative;
    overflow-x: visible;
    padding: 1rem 1rem 2rem;
    align-items: flex-start;
}

/* Ligne de connexion entre les étapes */
.roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.roadmap-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délais d'apparition en cascade */
.roadmap-step:nth-child(1) { transition-delay: 0s; }
.roadmap-step:nth-child(2) { transition-delay: 0.3s; }
.roadmap-step:nth-child(3) { transition-delay: 0.6s; }
.roadmap-step:nth-child(4) { transition-delay: 0.9s; }
.roadmap-step:nth-child(5) { transition-delay: 1.2s; }
.roadmap-step:nth-child(6) { transition-delay: 1.5s; }

/* Ligne horizontale entre les cercles */
.roadmap-step::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4a9fd8, #2c5f7f);
    z-index: 0;
}

.roadmap-step:last-child::before {
    display: none;
}

/* Cercle numéroté */
.roadmap-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(74, 159, 216, 0.4);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-step:hover .roadmap-number {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(74, 159, 216, 0.6);
}

/* Carte texte sous le cercle */
.roadmap-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(74, 159, 216, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.roadmap-step:hover .roadmap-card {
    box-shadow: 0 10px 35px rgba(74, 159, 216, 0.15);
    border-color: rgba(74, 159, 216, 0.35);
    transform: translateY(-4px);
}

.roadmap-card h3 {
    color: #2c5f7f;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.roadmap-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive : passage en vertical sur mobile */
@media (max-width: 768px) {
    .roadmap {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .roadmap-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.2rem;
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }

    .roadmap-step::before {
        top: 50%;
        left: 28px;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, #4a9fd8, #2c5f7f);
    }

    .roadmap-card {
        margin-top: 0;
        text-align: left;
        flex: 1;
    }
}

/* ========================================
   BREADCRUMB YOAST
   ======================================== */

.enva-breadcrumb {
    background: #f0f7ff;
    padding: 0.6rem 2rem;
    font-size: 0.82rem;
    border-bottom: 1px solid #d6e8f5;
}

.enva-breadcrumb span,
.enva-breadcrumb a {
    color: #4a9fd8;
    text-decoration: none;
}

.enva-breadcrumb a:hover {
    color: #1a4d6b;
    text-decoration: underline;
}

.enva-breadcrumb .breadcrumb_last {
    color: #888;
    font-weight: 500;
}

/* Séparateurs */
.enva-breadcrumb .separator {
    color: #bbb;
    margin: 0 0.3rem;
}
/* ========================================
   PAGES LÉGALES
   ======================================== */

.legal-hero {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 50%, #4a9fd8 100%);
    padding: 7rem 2rem 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.legal-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    color: white;
}

.legal-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.legal-container {
    max-width: 1200px;
    margin: -3rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.legal-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 4rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #2c5f7f;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4a9fd8;
    display: inline-block;
}

.legal-section h3 {
    color: #1a4d6b;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #555;
}

.legal-section strong { color: #2c5f7f; }

.legal-info-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2ff 100%);
    border-left: 4px solid #4a9fd8;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.legal-info-box p { margin-bottom: 0.5rem; }

.legal-highlight {
    background: #4a9fd8;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-weight: 600;
}

.legal-contact {
    background: linear-gradient(135deg, #1a4d6b 0%, #4a9fd8 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.legal-contact h3 { color: white; margin-bottom: 1rem; }

.legal-contact a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transition: border-color 0.3s ease;
}

.legal-contact a:hover { border-color: white; }

.legal-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.legal-nav-card {
    background: linear-gradient(135deg, #f0f7ff, #e3f2ff);
    padding: 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: #2c5f7f;
    border-left: 4px solid #4a9fd8;
    transition: transform 0.3s ease;
    display: block;
}

.legal-nav-card:hover { transform: translateY(-4px); }
.legal-nav-card h3 { margin-bottom: 0.5rem; color: #2c5f7f; }
.legal-nav-card p { color: #666; margin: 0; }

@media (max-width: 768px) {
    .legal-hero h1 { font-size: 2rem; }
    .legal-card { padding: 2rem 1.5rem; }
}
/* ========================================
   POLITIQUE DE CONFIDENTIALITÉ
   ======================================== */

.legal-hero .update-date {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    border: 2px solid #e3f2ff;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 159, 216, 0.2);
    border-color: #4a9fd8;
}

.right-card h4 {
    color: #2c5f7f;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.right-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Tableau légal */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.legal-table thead tr {
    background: linear-gradient(135deg, #2c5f7f, #4a9fd8);
    color: white;
}

.legal-table th {
    padding: 1rem;
    text-align: left;
}

.legal-table th:first-child { border-radius: 10px 0 0 0; }
.legal-table th:last-child { border-radius: 0 10px 0 0; }

.legal-table td {
    padding: 1rem;
    border-bottom: 1px solid #e3f2ff;
}

.legal-table tr:nth-child(odd) td { background: #f0f7ff; }

@media (max-width: 768px) {
    .rights-grid { grid-template-columns: 1fr; }
}
/* ========================================
   PAGE D'ACCUEIL — HERO SLIDER
   ======================================== */

:root {
    --enva-primary: #4a9fd8;
    --enva-secondary: #2c5f7f;
    --enva-dark: #1a4d6b;
    --enva-light: #f0f7ff;
    --enva-white: #ffffff;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 50%, #4a9fd8 100%);
}

.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    min-height: 600px;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active { opacity: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,77,107,0.85) 0%, rgba(44,95,127,0.75) 50%, rgba(74,159,216,0.65) 100%);
}

.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.slider-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    width: 40px;
    border-radius: 10px;
}

.slider-dot:hover { background: rgba(255,255,255,0.7); }

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(74,159,216,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44,95,127,0.2) 0%, transparent 50%);
    animation: pulse-hero 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse-hero {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-shapes { position: absolute; width: 100%; height: 100%; overflow: hidden; }

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float-shape 15s ease-in-out infinite;
}

.shape1 { width: 400px; height: 400px; background: var(--enva-primary); top: 10%; left: 10%; }
.shape2 { width: 300px; height: 300px; background: var(--enva-secondary); bottom: 20%; right: 15%; animation-delay: 3s; }
.shape3 { width: 250px; height: 250px; background: #4a9fd8; top: 50%; left: 50%; animation-delay: 6s; }

@keyframes float-shape {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(50px,-50px) scale(1.1); }
    66% { transform: translate(-30px,30px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: slideUp 1s ease-out 0.3s forwards;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, #4a9fd8, #6bc5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #4a9fd8, #6bc5ff);
    animation: expandWidth 1s ease-out 1s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes expandWidth { to { transform: scaleX(1); } }

.hero p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideUp 1s ease-out 0.6s forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUp 1s ease-out 0.9s forwards;
}

.btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--enva-secondary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: var(--enva-primary);
    transform: translate(-50%,-50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary:hover::before { width: 300%; height: 300%; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 50px rgba(74,159,216,0.4); color: white; }

.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover { background: white; color: var(--enva-secondary); transform: translateY(-3px); }

.scroll-indicator {
    position: absolute;
    bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    animation: bounce-scroll 2s infinite;
    z-index: 3;
    cursor: pointer;
}

.scroll-indicator svg { width: 30px; height: 30px; stroke: white; fill: none; stroke-width: 2; }

@keyframes bounce-scroll {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%,0); }
    40% { transform: translate(-50%,-10px); }
    60% { transform: translate(-50%,-5px); }
}

/* ========================================
   STATS
   ======================================== */

.stats {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 0;
}

/* ========================================
   WHY US
   ======================================== */

.why-us { padding: 8rem 2rem; background: white; overflow: hidden; }

.why-us-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-content h2 { font-size: 3rem; color: var(--enva-secondary); margin-bottom: 2rem; font-weight: 700; }

.why-us-features { display: flex; flex-direction: column; gap: 2rem; }

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
}

.feature.visible { opacity: 1; transform: translateX(0); }
.feature:hover { background: var(--enva-light); transform: translateX(10px); }

.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--enva-primary), var(--enva-secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h3 { color: var(--enva-secondary); margin-bottom: 0.5rem; font-size: 1.3rem; }
.feature-content p { color: #666; line-height: 1.7; }

.why-us-visual { position: relative; height: 600px; }

.visual-shape {
    position: absolute;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--enva-primary), var(--enva-secondary));
    opacity: 0.1;
}

.visual-shape-1 { width: 400px; height: 400px; top: 0; right: 0; animation: float-shape 10s ease-in-out infinite; }
.visual-shape-2 { width: 300px; height: 300px; bottom: 0; left: 0; animation: float-shape 12s ease-in-out infinite reverse; }

/* ========================================
   PROCESS TIMELINE
   ======================================== */

.process { padding: 8rem 2rem; background: linear-gradient(180deg, var(--enva-light) 0%, white 100%); }
.process-container { max-width: 1200px; margin: 0 auto; }

.timeline { position: relative; padding: 3rem 0; }

.timeline::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--enva-primary), var(--enva-secondary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.timeline-item.visible { opacity: 1; transform: translateX(0); }

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
    transform: translateX(50px);
}

.timeline-item:nth-child(even).visible { transform: translateX(0); }

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    width: 90%;
    transition: all 0.3s ease;
}

.timeline-content:hover { transform: scale(1.05); box-shadow: 0 20px 60px rgba(74,159,216,0.2); }
.timeline-content h3 { color: var(--enva-secondary); font-size: 1.5rem; margin-bottom: 1rem; }
.timeline-content p { color: #666; line-height: 1.7; }

.timeline-number {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--enva-primary), var(--enva-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(74,159,216,0.4);
    z-index: 2;
}

/* ========================================
   CTA HOME
   ======================================== */

.cta {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 50%, #4a9fd8 100%);
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    animation: slide-bg 20s linear infinite;
}

@keyframes slide-bg { 0% { transform: translate(0,0); } 100% { transform: translate(100px,100px); } }

.cta-content { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta h2 { font-size: 3.5rem; color: white; margin-bottom: 1.5rem; font-weight: 700; border: none !important; }
.cta p { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 3rem; line-height: 1.8; }

/* ========================================
   FADE-IN GÉNÉRIQUE
   ======================================== */

.fade-in { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   RESPONSIVE HOME
   ======================================== */

@media (max-width: 1024px) {
    .why-us-container { grid-template-columns: 1fr; gap: 3rem; }
    .why-us-visual { height: 400px; }
    .timeline::before { left: 30px; }
    .timeline-item, .timeline-item:nth-child(even) { padding-left: 80px; padding-right: 0; justify-content: flex-start; }
    .timeline-number { left: 30px; }
    .timeline-content { width: 100%; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; max-width: 300px; }
    .cta h2 { font-size: 2rem; }
    .cta p { font-size: 1.1rem; }
}
/* stat-number — défaut bleu foncé (fond blanc) */
.stat-number {
    color: #2c5f7f !important;
    -webkit-text-fill-color: #2c5f7f !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* stats-section fond bleu → chiffres blanc pur */
.stats-section .stat-number {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* stats-section fond bleu → labels blanc pur */
.stats-section .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    opacity: 1 !important;
}

/* Page accueil : cartes bleues → texte blanc */
.stats .stat-card .stat-number {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* Page équipements → texte blanc */
.page-equipements .stat-number,
body.page-id-141 .page-equipements .stat-number {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.enva-mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(74, 159, 216, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #2c5f7f;
    transition: all 0.3s ease;
}

.enva-mobile-menu-close:hover {
    background: #4a9fd8;
    color: white;
}
.stats {
    background: white;
    margin-top: -40px !important;
    padding: 2rem 0;
}
/* ========================================
   FIX STAT-NUMBER — ciblage précis
   À coller à la toute fin du style.css
   en REMPLACEMENT du bloc :
   "FIX stat-number visible sur fond clair"
   ======================================== */
 
/* Cartes stats page d'accueil : fond bleu → texte blanc */
.stats .stat-card {
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f) !important;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(26, 77, 107, 0.3);
}
 
.stats .stat-card .stat-number {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    font-size: 3rem;
    font-weight: 800;
}
 
.stats .stat-card .stat-label {
    color: rgba(255, 255, 255, 0.85) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
 
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
 
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .stats-grid { grid-template-columns: 1fr; }
}
 
/* Quick-stats page contact : fond blanc → texte bleu (inchangé) */
.quick-stats .stat-number,
.quick-stats .stat-label {
    color: #2c5f7f !important;
    -webkit-text-fill-color: #2c5f7f !important;
    background: none !important;
}
/* ========================================
   WHY-US — version corrigée
   Horizontal, icônes SVG blanches, AMOA en premier
   À coller à la fin du style.css de production
   EN REMPLACEMENT du bloc .why-us existant
   ======================================== */

.why-us {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 50%, #4a9fd8 100%);
    padding: 6rem 2rem;
    overflow: hidden;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Écrase le grid 2 colonnes existant */
    display: block !important;
    gap: unset !important;
}

/* Titres en blanc sur fond bleu */
.why-us .section-header { margin-bottom: 4rem; }
.why-us .section-title { color: white !important; }
.why-us .section-subtitle { color: rgba(255, 255, 255, 0.8) !important; }

/* Grille 3 colonnes horizontale */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Carte */
.why-us-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.why-us-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-us-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
}

/* Cube icône */
.why-us-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease;
}

.why-us-card:hover .why-us-icon {
    background: rgba(255, 255, 255, 0.25);
}

.why-us-icon svg {
    width: 34px;
    height: 34px;
    stroke: white;
    fill: none;
}

/* Textes */
.why-us-card h3 {
    color: white !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-us-card p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

/* Masquer l'ancien visuel décoratif inutile */
.why-us-visual { display: none !important; }

/* Responsive */
@media (max-width: 900px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Sur mobile overlay toujours visible (pas de hover) */
    .why-us-card {
        opacity: 1;
        transform: none;
    }
}
/* ========================================
   PROCESS — ligne chronologique horizontale
   À coller à la fin du style.css de production
   EN REMPLACEMENT du bloc .process existant
   ======================================== */

.process {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--enva-light) 0%, white 100%);
}

.process-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Ligne avec les étapes et connecteurs */
.process-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 3rem;
}

/* Étape */
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    gap: 1.2rem;
}

/* Cercle numéroté */
.process-dot {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(74, 159, 216, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.process-step:hover .process-dot {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(74, 159, 216, 0.5);
}

/* Texte sous le cercle */
.process-body h3 {
    color: #2c5f7f;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-body p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    max-width: 180px;
}

/* Ligne de connexion entre les étapes */
.process-connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, #4a9fd8, #2c5f7f);
    margin-top: 28px; /* aligne avec le centre du cercle (56px / 2 = 28px) */
    opacity: 0.4;
}

/* Masquer l'ancien timeline vertical */
.timeline,
.timeline::before,
.timeline-item,
.timeline-content,
.timeline-number {
    all: unset;
}

/* Responsive : colonne sur mobile */
@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 1rem 0;
    }

    .process-body p {
        max-width: 100%;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        flex: 0 0 30px;
        margin-top: 0;
        margin-left: 27px; /* aligne avec le centre du cercle (56px / 2 - 1px) */
        background: linear-gradient(180deg, #4a9fd8, #2c5f7f);
    }
}
/* ========================================
   BTN-PRIMARY — animation sobre
   Inspirée du btn-secondary
   À coller à la fin du style.css de production
   ======================================== */

.btn-primary {
    background: white;
    color: var(--enva-secondary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Supprimer l'ancien effet ::before (cercle qui envahit) */
.btn-primary::before {
    display: none !important;
}

.btn-primary span {
    position: static;
    z-index: auto;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
/* ========================================
   SÉPARATEUR STATS → SERVICES
   À coller à la fin du style.css de production
   ======================================== */

/* Masquer le séparateur GeneratePress par défaut */
.stats + .services::before,
.stats-container + hr,
.stats + hr {
    display: none !important;
}

/* Séparateur custom intégré dans la section services */
.services {
    position: relative;
}

.services::before {
    content: '';
    display: block;
    width: 240px;
    height: 4px;
    background: linear-gradient(90deg, #4a9fd8, #2c5f7f);
    border-radius: 4px;
    margin: 0 auto 5rem;
    position: relative;
    top: 0;
}
/* Carte neutre pour PlaceHolder*/
.service-card-placeholder {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 60%, #4a9fd8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-placeholder::after {
    content: '';
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2c0 0-4 4-4 9a4 4 0 0 0 8 0c0-5-4-9-4-9z'/%3E%3Cpath d='M12 12c0 0-2 2-2 4a2 2 0 0 0 4 0c0-2-2-4-2-4z'/%3E%3C/svg%3E");
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
}
.service-card-placeholder--boiler::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 15V9m4 6V9m4 6V9'/%3E%3Cpath d='M3 9h18'/%3E%3C/svg%3E");
}

/* Correction image portrait sur les cards catalogue*/
.service-card-image--contain {
    background: #f0f5fa;
}

.service-card-image--contain img {
    object-fit: contain;
    padding: 1rem;
}
.cmplz-cookiebanner {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99999;
    max-width: 400px;
}
.why-grid--4cols {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .why-grid--4cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .why-grid--4cols { grid-template-columns: 1fr; }
}
.engagements-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.engagements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e8f4fd;
}

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

.engagement-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.engagement-icon svg {
    width: 24px;
    height: 24px;
}

.engagement-body {
    flex: 1;
}

.engagement-body strong {
    display: block;
    color: #2c5f7f;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.engagement-body span {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

/*Page Realisation*/
.realisations-grid--always-on .realisation-overlay {
    opacity: 1;
    background: linear-gradient(
        to top,
        rgba(26, 77, 107, 0.95) 0%,
        rgba(44, 95, 127, 0.6) 60%,
        transparent 100%
    );
}

.realisations-grid--always-on .realisation-badge {
    display: none;
}

.realisations-grid--always-on .realisation-card:hover img {
    transform: scale(1.05);
}
/* Page Réalisations — overlay toujours visible */
.realisations-grid--always-on .realisation-card .realisation-overlay {
    opacity: 1 !important;
    background: linear-gradient(
        to top,
        rgba(26, 77, 107, 0.95) 0%,
        rgba(44, 95, 127, 0.6) 60%,
        transparent 100%
    );
}

.realisations-grid--always-on .realisation-badge {
    display: none;
}

.realisations-grid--always-on .realisation-card:hover img {
    transform: scale(1.05);
}
.realisations-grid--always-on {
    padding-top: 3rem;
}

.page-hero {
    padding-bottom: 3rem;
}
/* Page 404 */
.error404 .site-content,
.error404 #primary,
.error404 #main,
.error404 .inside-article,
.error404 .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.error404 .enva-404 {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* ========================================
   BREADCRUMB — intégré dans le hero
   ======================================== */
.page-hero {
    position: relative;
}

.enva-breadcrumb {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.enva-breadcrumb span,
.enva-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.enva-breadcrumb a:hover { color: white; }

.enva-breadcrumb .breadcrumb_last {
    color: white;
    font-weight: 600;
}

.enva-breadcrumb span.sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.4rem;
}

@media (max-width: 768px) {
    .enva-breadcrumb {
        left: 1rem;
        bottom: 1rem;
    }
}

/* ========================================
   FAQ — style Questions fréquentes
   Universel — tous templates, tous slugs
   ======================================== */

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8f4fd !important;
}

.faq-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    color: #2c5f7f !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.4;
}

.faq-answer {
    color: #555 !important;
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 0 !important;
}
/* ========================================
   NUMÉRO TEL NAVBAR — VERSION 1 DISCRÈTE
   ======================================== */

.enva-tel-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.enva-navbar.scrolled .enva-tel-link {
    color: #2c5f7f;
    text-shadow: none;
}

.enva-tel-link:hover {
    background: rgba(74, 159, 216, 0.12);
    color: #4a9fd8;
}

.enva-tel-link svg {
    flex-shrink: 0;
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .enva-tel-link {
        display: none;
    }
}

/* ========================================
   NUMÉRO TEL NAVBAR — VERSION 2 BADGE
   ======================================== */

.enva-tel-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.2rem 0.6rem 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.enva-navbar.scrolled .enva-tel-badge {
    border-color: rgba(44, 95, 127, 0.3);
}

.enva-tel-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

.enva-navbar.scrolled .enva-tel-badge:hover {
    background: rgba(74, 159, 216, 0.08);
    border-color: #4a9fd8;
}

.enva-tel-badge__icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.enva-navbar.scrolled .enva-tel-badge__icon {
    background: rgba(74, 159, 216, 0.15);
    color: #4a9fd8;
}

.enva-tel-badge:hover .enva-tel-badge__icon {
    background: rgba(255, 255, 255, 0.35);
}

.enva-tel-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.enva-tel-badge__label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.enva-navbar.scrolled .enva-tel-badge__label {
    color: #888;
}

.enva-tel-badge__number {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.enva-navbar.scrolled .enva-tel-badge__number {
    color: #2c5f7f;
}

@media (max-width: 1024px) {
    .enva-tel-badge {
        display: none;
    }
}
/* ========================================
   NUMÉRO TEL — MENU MOBILE
   ======================================== */

.enva-mobile-tel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
    margin: 0.5rem 0 1rem;
    background: linear-gradient(135deg, rgba(74, 159, 216, 0.08), rgba(44, 95, 127, 0.08));
    border: 1px solid rgba(74, 159, 216, 0.2);
    border-radius: 14px;
    text-decoration: none;
    color: #2c5f7f;
    transition: all 0.3s ease;
}

.enva-mobile-tel:hover {
    background: linear-gradient(135deg, rgba(74, 159, 216, 0.15), rgba(44, 95, 127, 0.15));
    border-color: #4a9fd8;
}

.enva-mobile-tel svg {
    flex-shrink: 0;
    color: #4a9fd8;
    width: 22px;
    height: 22px;
}

.enva-mobile-tel span {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    line-height: 1;
}

.enva-mobile-tel strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c5f7f;
}

.enva-mobile-tel small {
    font-size: 0.75rem;
    color: #4a9fd8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   TABLEAUX RESPONSIVE — MOBILE
   Sans modification HTML
   ======================================== */

@media (max-width: 768px) {
    .specs-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    .specs-table thead,
    .specs-table tbody,
    .specs-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .specs-table th,
    .specs-table td {
        min-width: 120px;
        word-break: break-word;
        hyphens: auto;
    }

    .specs-table th:first-child,
    .specs-table td:first-child {
        min-width: 140px;
    }
}
/* ================================================================
   REMPLACEMENT STYLE.CSS — ENVA Child Theme
   Date : 2026-03-22
   
   INSTRUCTION :
   Dans votre style.css, repérez cette ligne :
   
     /* ========================================
        ÉDITEUR P&ID — styles à ajouter
        à la fin de style.css
     
   Supprimez TOUT depuis cette ligne jusqu'à la
   toute fin du fichier (dernière ligne incluse),
   puis collez le bloc ci-dessous à la place.
   ================================================================ */

/* ========================================
   ÉDITEUR P&ID VAPEUR — ENVA Consulting
   Page : /editeur-pid-vapeur-en-ligne/
   Centralisé ici — ne pas dupliquer
   ======================================== */

/* ================================================================
   ÉDITEUR P&ID VAPEUR — ENVA Consulting
   Page : /editeur-pid-vapeur-en-ligne/
   
   Ce bloc regroupe TOUT le CSS de la page P&ID.
   Répartition :
     ① Fix GeneratePress layout           → ici
     ② Système de lancement / plein écran → ici
     ③ Hero, contenu SEO, FAQ             → ici
     ④ Interface de l'app (toolbar, etc.) → pid-editor.js (injecté dynamiquement)
   ================================================================ */

/* ── ① Fix GeneratePress — libérer le layout ── */
.page-template-page-pid-editor .site-content,
.page-template-page-pid-editor #primary,
.page-template-page-pid-editor #main,
.page-template-page-pid-editor .site-main,
.page-template-page-pid-editor article,
.page-template-page-pid-editor .inside-article,
.page-template-page-pid-editor .entry-content,
.page-template-page-pid-editor .entry-header {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    border: none !important;
}

/* ── ② Système de lancement (outil sur demande) ── */
#pid-root-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

#pid-root-wrap.pid-open {
    max-height: 820px;
    opacity: 1;
}

#pid-launch-zone {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border: 2px dashed rgba(74, 159, 216, 0.4);
    border-radius: 12px;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

#pid-launch-zone:hover {
    border-color: #4a9fd8;
    background: #eaf4fb;
}

#pid-launch-zone.pid-hidden {
    display: none;
}

#pid-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(26, 77, 107, 0.3);
    font-family: inherit;
    text-decoration: none !important;
}

#pid-launch-btn:hover {
    background: linear-gradient(135deg, #2c5f7f, #4a9fd8);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 77, 107, 0.4);
}

#pid-launch-hint {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #6b7a8d;
    font-style: italic;
}

#pid-launch-hint span {
    color: #27ae60;
    font-style: normal;
    font-weight: 600;
}

/* ── Barre intro + actions ── */
#pid-bar {
    background: #eef6fc;
    border-top: 1px solid rgba(74, 159, 216, 0.3);
    border-bottom: 1px solid rgba(74, 159, 216, 0.3);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#pid-bar p {
    margin: 0;
    font-size: 0.95rem;
    color: #3a3a4a;
    line-height: 1.6;
    flex: 1;
}

.pid-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

#pid-fs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(74, 159, 216, 0.3);
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none !important;
}

#pid-fs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(74, 159, 216, 0.42);
}

.pid-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: #c0392b !important;
    border: 1.5px solid #c0392b;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pid-close-btn:hover {
    background: #fff5f5;
}

/* ── Zone outil ── */
#pid-root {
    width: 100%;
    min-height: 720px;
    display: block;
    border-bottom: 2px solid rgba(74, 159, 216, 0.15);
    background: #fafbfc;
}

/* ── Plein écran ── */
body.pid-is-fullscreen #pid-root {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    z-index: 99997 !important;
    border: none !important;
}

body.pid-is-fullscreen #pid-root #pid-app {
    height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
}

/* ── ③ Hero ── */
#pid-hero {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 55%, #4a9fd8 100%);
    color: #fff;
    text-align: center;
    padding: 4.5rem 2rem 4rem;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#pid-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 1.1rem;
    line-height: 1.2;
    color: #fff;
}

#pid-hero p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.pid-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.pid-badge {
    display: inline-block;
    padding: 0.38rem 1.1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.03em;
}

/* ── ③ Contenu SEO ── */
#pid-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
}

#pid-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a4d6b;
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9fd8;
    display: inline-block;
}

#pid-content p {
    color: #444;
    line-height: 1.75;
    margin: 0 0 1rem;
    font-size: 0.97rem;
}

#pid-content ul {
    padding-left: 1.5rem;
    color: #444;
    line-height: 1.85;
    margin: 0 0 1rem;
}

#pid-content li { margin-bottom: 0.4rem; font-size: 0.97rem; }
#pid-content strong { color: #1a4d6b; }

#pid-content code {
    font-family: 'Courier New', monospace;
    background: #eef6fc;
    padding: 0.1em 0.45em;
    border-radius: 3px;
    font-size: 0.88em;
    color: #2c5f7f;
}

.pid-section { margin-bottom: 3.5rem; }

.pid-two-col {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

.pid-tech-block {
    background: #eef6fc;
    border: 1px solid rgba(74, 159, 216, 0.3);
    border-left: 4px solid #4a9fd8;
    border-radius: 8px;
    padding: 1.4rem 1.6rem;
}

.pid-tech-block h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #2c5f7f;
    margin: 0 0 0.9rem;
}

.pid-tech-block ul { padding-left: 1.1rem; margin: 0; }
.pid-tech-block li { font-size: 0.9rem; color: #444; margin-bottom: 0.35rem; }

.pid-pro-list { list-style: none; padding: 0; margin: 0; }

.pid-pro-list li {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.97rem;
    color: #444;
    line-height: 1.6;
}

.pid-pro-list li::before {
    content: '→';
    color: #4a9fd8;
    font-weight: 700;
    flex-shrink: 0;
    padding-top: 0.05em;
}

/* Téléchargement SVG */
#pid-dl-block {
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border: 1px solid rgba(74, 159, 216, 0.3);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.pid-dl-icon { font-size: 2.8rem; flex-shrink: 0; line-height: 1; }

.pid-dl-text { flex: 1; min-width: 200px; }

.pid-dl-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a4d6b;
    margin: 0 0 0.4rem;
}

.pid-dl-text p { font-size: 0.92rem; color: #555; margin: 0 0 0.2rem; line-height: 1.55; }
.pid-dl-text small { font-size: 0.8rem; color: #7a8a9a; }

.pid-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.75rem;
    background: #1a4d6b;
    color: white !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 77, 107, 0.25);
    border: 2px solid #1a4d6b;
}

.pid-dl-btn:hover {
    background: #2c5f7f;
    border-color: #2c5f7f;
    transform: translateY(-1px);
}

/* Aperçu SVG */
.pid-svg-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.pid-svg-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.9rem 0.6rem;
    background: #fff;
    border: 1px solid #dce8f2;
    border-radius: 8px;
    cursor: default;
    transition: all 0.2s ease;
    min-width: 70px;
}

.pid-svg-tile:hover {
    border-color: #4a9fd8;
    box-shadow: 0 2px 10px rgba(74, 159, 216, 0.15);
    transform: translateY(-2px);
}

.pid-svg-tile span {
    font-size: 0.68rem;
    color: #6b7a8d;
    text-align: center;
    line-height: 1.3;
    font-family: 'Courier New', monospace;
    max-width: 72px;
}

/* FAQ P&ID */
.pid-faq-item { border-bottom: 1px solid #dce8f2; padding: 1.1rem 0; }
.pid-faq-q { font-weight: 600; color: #1a4d6b; font-size: 1rem; margin: 0 0 0.5rem; }
.pid-faq-a { color: #555; line-height: 1.7; font-size: 0.95rem; margin: 0; }

/* Liens internes */
.pid-links-list { list-style: none; padding: 0; margin: 0; }
.pid-links-list li { padding: 0.55rem 0; border-bottom: 1px solid #eef2f7; }

.pid-links-list a {
    color: #2c5f7f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.97rem;
    transition: color 0.2s ease;
}

.pid-links-list a:hover { color: #4a9fd8; text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .pid-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    #pid-bar { flex-direction: column; align-items: flex-start; }
    .pid-bar-actions { width: 100%; }
    #pid-fs-btn { width: 100%; justify-content: center; }
    #pid-root { min-height: 540px; }
    #pid-dl-block { flex-direction: column; padding: 1.5rem; }
}

@media (max-width: 680px) {
    #pid-hero { padding: 3.5rem 1.5rem 3rem; }
    #pid-content { padding: 2.5rem 1.5rem 1.5rem; }
}
/* ================================================================
   TABLE VAPEUR SATURÉE — ENVA Consulting
   Page : /table-vapeur-saturee-industrielle/
   
   Ce bloc centralise TOUT le CSS de la page table vapeur.
   À coller à la fin du style.css, APRÈS le bloc P&ID existant.
   Aucune modification des blocs précédents.
   ================================================================ */

/* ── Fix GeneratePress layout ── */
.page-template-page-steam-table .site-content,
.page-template-page-steam-table #primary,
.page-template-page-steam-table #main,
.page-template-page-steam-table .site-main,
.page-template-page-steam-table article,
.page-template-page-steam-table .inside-article,
.page-template-page-steam-table .entry-content,
.page-template-page-steam-table .entry-header {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    border: none !important;
}

/* ── Hero ── */
#steam-hero {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 55%, #4a9fd8 100%);
    color: #fff;
    text-align: center;
    padding: 4.5rem 2rem 4rem;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#steam-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 1.1rem;
    line-height: 1.2;
    color: #fff;
}

#steam-hero p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ── Zone lancement ── */
#steam-launch-zone {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border: 2px dashed rgba(74, 159, 216, 0.4);
    border-radius: 12px;
    margin: 0.5rem auto;
    max-width: 1100px;
    transition: all 0.3s ease;
}

#steam-launch-zone:hover {
    border-color: #4a9fd8;
    background: #eaf4fb;
}

#steam-launch-zone.steam-hidden {
    display: none;
}

#steam-launch-zone p:first-child {
    color: #3a3a4a;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

#steam-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(26, 77, 107, 0.3);
    font-family: inherit;
}

#steam-launch-btn:hover {
    background: linear-gradient(135deg, #2c5f7f, #4a9fd8);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 77, 107, 0.4);
}

#steam-launch-hint {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #6b7a8d;
    font-style: italic;
}

#steam-launch-hint span {
    color: #27ae60;
    font-style: normal;
    font-weight: 600;
}

/* ── Root wrap (masqué par défaut) ── */
#steam-root-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

#steam-root-wrap.steam-open {
    max-height: 900px;
    opacity: 1;
}

/* ── Barre intro + actions ── */
#steam-bar {
    background: #eef6fc;
    border-top: 1px solid rgba(74, 159, 216, 0.3);
    border-bottom: 1px solid rgba(74, 159, 216, 0.3);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#steam-bar p {
    margin: 0;
    font-size: 0.95rem;
    color: #3a3a4a;
    line-height: 1.6;
    flex: 1;
}

#steam-fs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(74, 159, 216, 0.3);
    white-space: nowrap;
    font-family: inherit;
}

#steam-fs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(74, 159, 216, 0.42);
}

/* ── Zone outil ── */
#steam-root {
    width: 100%;
    background: #fafbfc;
    border-bottom: 2px solid rgba(74, 159, 216, 0.15);
}

#steam-app {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem;
}

/* ── Plein écran ── */
body.steam-is-fullscreen #steam-root {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    z-index: 99997 !important;
    overflow-y: auto;
    border: none !important;
}

body.steam-is-fullscreen #steam-app {
    max-width: 100%;
    padding: 2rem;
}

/* ── Contenu SEO ── */
#steam-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
}

#steam-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a4d6b;
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9fd8;
    display: inline-block;
}

#steam-content p {
    color: #444;
    line-height: 1.75;
    margin: 0 0 1rem;
    font-size: 0.97rem;
}

/* ── Contrôles internes de l'app ── */
.st-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(74, 159, 216, 0.2);
}

.st-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.st-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c5f7f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-seg {
    display: flex;
    gap: 4px;
}

.st-seg-btn {
    background: #eef6fc;
    border: 1px solid rgba(74, 159, 216, 0.3);
    color: #4a8ab0;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s;
    font-family: inherit;
}

.st-seg-btn.active {
    background: #2c5f7f;
    border-color: #2c5f7f;
    color: #fff;
    font-weight: 600;
}

.st-input {
    background: #fff;
    border: 1.5px solid rgba(74, 159, 216, 0.4);
    color: #1a4d6b;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.95rem;
    width: 96px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.st-input:focus {
    border-color: #2c5f7f;
}

.st-select {
    background: #fff;
    border: 1.5px solid rgba(74, 159, 216, 0.4);
    color: #1a4d6b;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.st-select:focus {
    border-color: #2c5f7f;
}

/* ── Onglets ── */
.st-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(74, 159, 216, 0.2);
}

.st-tab {
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7a8d;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
    font-family: inherit;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.st-tab.active {
    color: #2c5f7f;
    border-bottom-color: #2c5f7f;
}

/* ── Résultat point unique ── */
.st-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: #eef6fc;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(74, 159, 216, 0.25);
    margin-top: 1rem;
}

.st-result-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a4d6b;
}

.st-result-cond {
    font-size: 0.8rem;
    color: #6b7a8d;
    margin-top: 2px;
}

.st-state-sat {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(74, 159, 216, 0.12);
    color: #2c5f7f;
    border: 1px solid rgba(74, 159, 216, 0.35);
    white-space: nowrap;
}

.st-state-sup {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(232, 115, 42, 0.12);
    color: #c0531a;
    border: 1px solid rgba(232, 115, 42, 0.35);
    white-space: nowrap;
}

.st-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1px;
    background: rgba(74, 159, 216, 0.12);
    border: 1px solid rgba(74, 159, 216, 0.25);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.st-prop-cell {
    background: #fff;
    padding: 10px 14px;
}

.st-prop-label {
    font-size: 0.7rem;
    color: #6b7a8d;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.st-prop-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a4d6b;
    line-height: 1;
}

.st-prop-value.hl {
    color: #2c5f7f;
}

.st-prop-unit {
    font-size: 0.72rem;
    color: #6b7a8d;
    margin-top: 2px;
}

/* ── Table complète ── */
.st-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.st-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.st-table th {
    background: #1a4d6b;
    color: rgba(255, 255, 255, 0.9);
    padding: 7px 10px;
    text-align: right;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid #4a9fd8;
    white-space: nowrap;
}

.st-table th:first-child {
    text-align: left;
}

.st-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(74, 159, 216, 0.1);
    text-align: right;
    color: #333;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.st-table td:first-child {
    text-align: left;
    color: #2c5f7f;
    font-weight: 600;
}

.st-table tr:hover td {
    background: rgba(74, 159, 216, 0.05);
}

.st-table tr.st-active-row td {
    background: rgba(74, 159, 216, 0.1);
    border-left: 3px solid #2c5f7f;
    font-weight: 600;
}

.st-table tr.st-active-row td:first-child {
    border-left: 3px solid #2c5f7f;
}

/* ── Note surchauffe & table ── */
.st-sup-note {
    font-size: 0.82rem;
    color: #6b7a8d;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ── Unité inline dans contrôles ── */
.st-unit-inline {
    font-size: 0.82rem;
    color: #6b7a8d;
    align-self: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    #steam-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    #steam-bar .pid-bar-actions {
        width: 100%;
    }

    #steam-fs-btn {
        width: 100%;
        justify-content: center;
    }

    .st-props-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #steam-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .st-table {
        font-size: 0.75rem;
    }

    .st-table th,
    .st-table td {
        padding: 5px 7px;
    }
}

@media (max-width: 480px) {
    .st-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .st-props-grid {
        grid-template-columns: 1fr 1fr;
    }

    #steam-hero {
        padding: 3.5rem 1.5rem 3rem;
    }
}
/* ================================================================
   TABLE VAPEUR SATURÉE — ENVA Consulting
   Page : /table-vapeur-saturee-industrielle/
   
   Ce bloc centralise TOUT le CSS de la page table vapeur.
   À coller à la fin du style.css, APRÈS le bloc P&ID existant.
   Aucune modification des blocs précédents.
   ================================================================ */

/* ── Fix GeneratePress layout ── */
.page-template-page-steam-table .site-content,
.page-template-page-steam-table #primary,
.page-template-page-steam-table #main,
.page-template-page-steam-table .site-main,
.page-template-page-steam-table article,
.page-template-page-steam-table .inside-article,
.page-template-page-steam-table .entry-content,
.page-template-page-steam-table .entry-header {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    border: none !important;
}

/* ── Hero ── */
#steam-hero {
    background: linear-gradient(135deg, #1a4d6b 0%, #2c5f7f 55%, #4a9fd8 100%);
    color: #fff;
    text-align: center;
    padding: 4.5rem 2rem 4rem;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#steam-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 1.1rem;
    line-height: 1.2;
    color: #fff;
}

#steam-hero p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ── Zone lancement ── */
#steam-launch-zone {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border: 2px dashed rgba(74, 159, 216, 0.4);
    border-radius: 12px;
    margin: 0.5rem auto;
    max-width: 1100px;
    transition: all 0.3s ease;
}

#steam-launch-zone:hover {
    border-color: #4a9fd8;
    background: #eaf4fb;
}

#steam-launch-zone.steam-hidden {
    display: none;
}

#steam-launch-zone p:first-child {
    color: #3a3a4a;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

#steam-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(26, 77, 107, 0.3);
    font-family: inherit;
}

#steam-launch-btn:hover {
    background: linear-gradient(135deg, #2c5f7f, #4a9fd8);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 77, 107, 0.4);
}

#steam-launch-hint {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #6b7a8d;
    font-style: italic;
}

#steam-launch-hint span {
    color: #27ae60;
    font-style: normal;
    font-weight: 600;
}

/* ── Root wrap (masqué par défaut) ── */
#steam-root-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

#steam-root-wrap.steam-open {
    max-height: 4000px;
    opacity: 1;
    transition: max-height 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

/* ── Barre intro + actions ── */
#steam-bar {
    background: #eef6fc;
    border-top: 1px solid rgba(74, 159, 216, 0.3);
    border-bottom: 1px solid rgba(74, 159, 216, 0.3);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#steam-bar p {
    margin: 0;
    font-size: 0.95rem;
    color: #3a3a4a;
    line-height: 1.6;
    flex: 1;
}

#steam-fs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    background: linear-gradient(135deg, #4a9fd8, #2c5f7f);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(74, 159, 216, 0.3);
    white-space: nowrap;
    font-family: inherit;
}

#steam-fs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(74, 159, 216, 0.42);
}

/* ── Zone outil ── */
#steam-root {
    width: 100%;
    background: #fafbfc;
    border-bottom: 2px solid rgba(74, 159, 216, 0.15);
}

#steam-app {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem;
}

/* ── Plein écran ── */
body.steam-is-fullscreen #steam-root {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    z-index: 99997 !important;
    overflow-y: auto;
    border: none !important;
}

body.steam-is-fullscreen #steam-app {
    max-width: 100%;
    padding: 2rem;
}

/* ── Contenu SEO ── */
#steam-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
}

#steam-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a4d6b;
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a9fd8;
    display: inline-block;
}

#steam-content p {
    color: #444;
    line-height: 1.75;
    margin: 0 0 1rem;
    font-size: 0.97rem;
}

/* ── Contrôles internes de l'app ── */
.st-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(74, 159, 216, 0.2);
}

.st-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.st-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c5f7f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-seg {
    display: flex;
    gap: 4px;
}

.st-seg-btn {
    background: #eef6fc;
    border: 1px solid rgba(74, 159, 216, 0.3);
    color: #4a8ab0;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s;
    font-family: inherit;
}

.st-seg-btn.active {
    background: #2c5f7f;
    border-color: #2c5f7f;
    color: #fff;
    font-weight: 600;
}

.st-input {
    background: #fff;
    border: 1.5px solid rgba(74, 159, 216, 0.4);
    color: #1a4d6b;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.95rem;
    width: 96px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.st-input:focus {
    border-color: #2c5f7f;
}

.st-select {
    background: #fff;
    border: 1.5px solid rgba(74, 159, 216, 0.4);
    color: #1a4d6b;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.st-select:focus {
    border-color: #2c5f7f;
}

/* ── Onglets ── */
.st-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 1.2rem;
    border-bottom: none;
}

.st-tab {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5f7f;
    cursor: pointer;
    border: 1.5px solid rgba(74, 159, 216, 0.4);
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.st-tab:hover {
    background: #eef6fc;
    border-color: #4a9fd8;
    color: #1a4d6b;
}

.st-tab.active {
    background: linear-gradient(135deg, #1a4d6b, #2c5f7f);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(26, 77, 107, 0.25);
}


/* ── Résultat point unique ── */
.st-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: #eef6fc;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(74, 159, 216, 0.25);
    margin-top: 1rem;
}

.st-result-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a4d6b;
}

.st-result-cond {
    font-size: 0.8rem;
    color: #6b7a8d;
    margin-top: 2px;
}

.st-state-sat {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(74, 159, 216, 0.12);
    color: #2c5f7f;
    border: 1px solid rgba(74, 159, 216, 0.35);
    white-space: nowrap;
}

.st-state-sup {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(232, 115, 42, 0.12);
    color: #c0531a;
    border: 1px solid rgba(232, 115, 42, 0.35);
    white-space: nowrap;
}

.st-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1px;
    background: rgba(74, 159, 216, 0.12);
    border: 1px solid rgba(74, 159, 216, 0.25);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.st-prop-cell {
    background: #fff;
    padding: 10px 14px;
}

.st-prop-label {
    font-size: 0.7rem;
    color: #6b7a8d;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.st-prop-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a4d6b;
    line-height: 1;
}

.st-prop-value.hl {
    color: #2c5f7f;
}

.st-prop-unit {
    font-size: 0.72rem;
    color: #6b7a8d;
    margin-top: 2px;
}

/* ── Table complète — scroll ── */
.st-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.st-table-scroll {
    height: 480px;
    overflow-y: auto;
    overflow-x: auto;
    margin-top: 1rem;
    border: 1px solid rgba(74, 159, 216, 0.2);
    border-radius: 8px;
    /* Scrollbar discrète */
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 159, 216, 0.4) transparent;
}

.st-table-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.st-table-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.st-table-scroll::-webkit-scrollbar-thumb {
    background: rgba(74, 159, 216, 0.35);
    border-radius: 3px;
}

.st-table-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 95, 127, 0.5);
}

.st-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.st-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.st-table th {
    background: #1a4d6b;
    color: rgba(255, 255, 255, 0.9);
    padding: 7px 10px;
    text-align: right;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid #4a9fd8;
    white-space: nowrap;
}

.st-table th:first-child {
    text-align: left;
}

.st-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(74, 159, 216, 0.1);
    text-align: right;
    color: #333;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.st-table td:first-child {
    text-align: left;
    color: #2c5f7f;
    font-weight: 600;
}

.st-table tr:hover td {
    background: rgba(74, 159, 216, 0.05);
}

.st-table tr.st-active-row td {
    background: rgba(74, 159, 216, 0.1);
    border-left: 3px solid #2c5f7f;
    font-weight: 600;
}

.st-table tr.st-active-row td:first-child {
    border-left: 3px solid #2c5f7f;
}

/* ── Note surchauffe & table ── */
.st-sup-note {
    font-size: 0.82rem;
    color: #6b7a8d;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ── Unité inline dans contrôles ── */
.st-unit-inline {
    font-size: 0.82rem;
    color: #6b7a8d;
    align-self: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    #steam-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    #steam-bar .pid-bar-actions {
        width: 100%;
    }

    #steam-fs-btn {
        width: 100%;
        justify-content: center;
    }

    .st-props-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #steam-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .st-table {
        font-size: 0.75rem;
    }

    .st-table th,
    .st-table td {
        padding: 5px 7px;
    }
}

@media (max-width: 480px) {
    .st-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .st-props-grid {
        grid-template-columns: 1fr 1fr;
    }

    #steam-hero {
        padding: 3.5rem 1.5rem 3rem;
    }
}