/*
Theme Name: FrioGen
Description: Thème WordPress professionnel pour FrioGen - Générateurs d'eau atmosphérique à Saint-Barthélémy
Version: 1.0
Author: Ben
Text Domain: friogen
*/

/* Base styles */
:root {
    --black: rgba(2, 9, 15, 1);
    --dark: rgba(20, 27, 52, 1);
    --gray-400: rgba(152, 162, 179, 1);
    --gray-600: rgba(71, 84, 103, 1);
    --surface-1: rgba(244, 250, 255, 1);
    --white: rgba(255, 255, 255, 1);
    --x-1: rgba(25, 161, 255, 1);
    --x-2: rgba(67, 178, 255, 1);
    --blue: #0880d2;
    --border-color: rgba(25, 161, 255, 0.25);
    --radius: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--black);
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.2;
}

h1 {
    font-size: 58px;
    line-height: 76.8px;
}

h2 {
    font-size: 40px;
    line-height: 57.6px;
}

h3 {
    font-size: 24px;
    line-height: 38.4px;
}

p {
    font-size: 18px;
    line-height: 28.8px;
    opacity: 0.8;
    font-weight: 500;
}

button {
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: none;
    font-weight: 500;
}

section {
    padding: 5rem 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 900px;
    background-image: url('assets/img/image-1.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

/* Hero animations - force visibility for local testing */
.hero-section .wow {
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-section .wow.animated {
    animation-delay: 0.1s !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.contact-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    background-color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 16px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
}

.nav-bar {
    position: absolute;
    top: 46px;
    left: 0;
    width: 100%;
    height: 63px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5rem;
    z-index: 10;
}

.logo {
    width: 45px;
    height: 45px;
    background-image: url('assets/img/logo-dam.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 100px;
    flex-wrap: nowrap;
}

.nav-item {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    color: var(--black);
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cta-button {
    background-color: var(--blue);
    color: var(--white);
    border-radius: 32px;
    padding: 0.625rem 2rem;
    font-size: 17px;
    line-height: 27.2px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.language-switcher a {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
}

.language-switcher a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.manual-language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-link {
    font-size: 16px;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: 4px;
    transition: transform 0.2s ease;
    border: none;
    outline: none;
    box-shadow: none;
}

.lang-link:hover {
    transform: scale(1.1);
}

/* Menu mobile ouvert */
@media (max-width: 768px) {
	 /* Masquer le sélecteur de langue sur mobile */
    .language-switcher {
        display: none !important;
    }
    
    .nav-items {
        position: fixed;
        top: 63px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 63px);
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
        transition: left 0.3s ease;
        justify-content: flex-start;
        align-items: center;
        margin-left: 0 !important;
    }
    .nav-bar {
        top: 0;
    }
    .content-wrapper {
        flex-direction: column-reverse!important;
    }
    .nav-items.active {
        left: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-items.active .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
        text-decoration: none;
        color: var(--black);
        font-size: 18px;
        font-weight: 500;
        display: block !important;
    }

    .nav-items.active .nav-item:last-child {
        border-bottom: none;
    }

}

.hero-content {
    position: absolute;
    top: 639px;
    left: 5rem;
    width: calc(100% - 10rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
}

.hero-content h1 {
    width: 670px;
    color: var(--white);
}

.hero-description {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 569px;
}

.hero-description p {
    color: var(--white);
    font-weight: normal;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--black);
    border-radius: 32px;
    padding: 13px 23px;
    font-size: 18px;
    line-height: 28.8px;
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.17);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.39);
    border-radius: 32px;
    padding: 13px 23px;
    font-size: 18px;
    line-height: 28.8px;
}

/* Hero Content Section */
.hero-content-section {
    background-color: var(--white);
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 5rem;
}

.content-image {
    width: 600px;
    height: 480px;
    border-radius: 1.5rem;
    background-image: url('assets/img/image-2.png');
    background-size: cover;
    background-position: center;
}

.content-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 664px;
}

.content-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 5rem;
}

.feature-card {
    width: 32%;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.feature-icon {
    position: relative;
    width: 48px;
    height: 48px;
}

.feature-icon img {
    width: 34px;
    height: 40px;
}

.icon-additional {
    position: absolute;
    width: 32px;
    height: 7px;
    top: 32px;
    left: 16px;
}

.icon-additional-2 {
    position: absolute;
    width: 9px;
    height: 9px;
    top: 21px;
    left: 28px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-content p {
    font-size: 16px;
    line-height: 25.6px;
}

/* Product Showcase Section */
.product-showcase-section {
    background-color: var(--surface-1);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 664px;
    margin: 0 auto 4rem;
    text-align: center;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1353px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    width: 32%;
    height: auto;
    min-height: 480px;
    background-color: var(--white);
    border-radius: 1.5rem;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    padding: 15px;
    flex-shrink: 0;
}

.product-info {
    padding: 18px 18px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    justify-content: space-between;
}

.product-info h3 {
    font-weight: 600;
}

.product-info p {
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
}

/* Styles spécifiques pour la nouvelle structure des produits */
.product-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.4rem !important;
    opacity: 1 !important;
}

.product-capacity {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--blue) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.4rem !important;
    opacity: 1 !important;
}

.product-temperature {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--gray-600) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.6rem !important;
    opacity: 0.8 !important;
    font-style: italic;
    text-align: left;
}

/* Style spécial pour eau chaude */
[data-product="a10-frio-gen-2"] .product-temperature {
    color: #e74c3c !important;
    font-weight: 600 !important;
}

.product-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
    opacity: 1 !important;
    border-top: 1px solid rgba(25, 161, 255, 0.2);
    padding-top: 0.5rem;
    margin-top: auto;
}

.learn-more {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.learn-more:hover {
    background-color: #1a4a6b;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    z-index: 1001;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    min-height: 600px;
    max-height: 80vh;
}

.modal-left {
    flex: 0 0 40%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: #f8f9fa;
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.product-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

.modal-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 600px;
}

/* Style de la scrollbar pour la modale */
.modal-right::-webkit-scrollbar {
    width: 8px;
}

.modal-right::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-right::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 4px;
}

.modal-right::-webkit-scrollbar-thumb:hover {
    background: #1a4a6b;
}

.product-details h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.product-sku {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
}

.product-details p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.product-specs h3,
.product-filters h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.product-specs {
    margin-bottom: 2rem;
}

.product-filters {
    margin-top: 1rem;
}

.product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.product-specs li:last-child {
    border-bottom: none;
}

.filters-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.filter-card h4 {
    font-size: 14px;
    margin-bottom: 0.25rem;
    color: var(--black);
    flex: 1;
    text-align: left;
}

.filter-card .price {
    font-weight: 600;
    color: var(--blue);
    font-size: 16px;
    flex-shrink: 0;
}

/* WOW.js Animations */
.wow {
    visibility: hidden;
    opacity: 0;
}

.wow.animated {
    visibility: visible;
    opacity: 1;
}

.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInRight {
    animation-name: fadeInRight;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 60px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(60px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Fallback for when WOW.js doesn't load */
.wow[style*="animation"] {
    visibility: visible !important;
}

/* Solutions Section */
.solutions-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 5rem;
    background-color: var(--white);
}

.solutions-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-card {
    width: 714px;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.solution-icon {
    width: 48px;
    height: 48px;
}

.solution-icon.custom-icon img {
    width: 35px;
    height: 43px;
    margin-top: 2px;
    margin-left: 6px;
}

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.solution-image {
    width: 584px;
    height: 584px;
    background-color: transparent;
    position: relative;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white);
    overflow: hidden;
}

.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 3rem;
}

.testimonials-logo {
    display: flex;
    align-items: center;
}

.testimonials-logo img {
    width: auto;
    object-fit: contain;
}

.testimonials-title {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 32rem;
}

.testimonials-controls {
    display: flex;
    gap: 0.5rem;
}

.testimonials-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-carousel {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 492px;
    padding: 2rem;
    background-color: #f2f7fb;
    border-radius: 20px;
}

.testimonial-card.blur {
    filter: blur(6px);
}

.quote-icon {
    width: 58px;
    height: 58px;
    transform: rotate(180deg);
    margin-bottom: 1.5rem;
}

.quote-icon img {
    width: 46px;
    height: 34px;
    transform: rotate(180deg);
    margin: 12px 0 0 6px;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.testimonial-content h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 33.6px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-name {
    font-weight: 600;
    font-size: 24px;
    line-height: 30.5px;
}

.author-location {
    opacity: 0.8;
    font-weight: 500;
    font-size: 16px;
    line-height: 25.6px;
}

/* FAQ Section */
.faq-section {
    background-color: #f2f6fb;
}

.faq-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.faq-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #ffffff;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-question h3 {
    text-align: left;
    font-weight: bold;
    font-size: 24px;
    line-height: 28.8px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 0.5rem;
    background-color: #f2f6fb;
    border-radius: 0.75rem;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
}

.faq-answer p {
    color: #475467;
    font-size: 18px;
    line-height: 27px;
    padding: 1.5rem 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 0.5rem 2rem;
}

/* Contact Section */
.contact-section {
    position: relative;
    background-color: var(--black);
    padding: 6rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card {
    width: 80%;
    max-width: 1200px;
    min-height: 350px;
    background-color: var(--x-1);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 3rem;
}

.contact-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    gap: 2rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.5rem;
}

.contact-text h2 {
    color: var(--black);
}

.contact-text p {
    color: var(--black);
}

.contact-bold {
    font-weight: 600 !important;
    opacity: 1 !important;
}

.contact-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-black {
    width: 205px;
    padding: 13px 23px;
    background-color: var(--black);
    color: var(--white);
    border-radius: 32px;
    font-size: 18px;
    line-height: 28.8px;
}

.btn-white {
    padding: 13px 23px;
    background-color: var(--white);
    color: var(--black);
    border-radius: 32px;
    font-size: 18px;
    line-height: 28.8px;
}

.footer-nav {
    display: flex;
    width: 1352px;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 441px;
    left: 80px;
}

.footer-logo {
    position: relative;
    width: 47px;
    height: 40px;
}

.footer-logo img {
    position: absolute;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    line-height: 20.4px;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    width: 100%;
    opacity: 0.75;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.copyright {
    color: var(--white);
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.copyright-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 14px;
    opacity: 0.8;
}

.separator {
    color: var(--white);
    opacity: 0.5;
}

.developed-by {
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
}

.developer-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    transition: color 0.3s ease;
}

.developer-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal {
    display: flex;
    width: 482px;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-legal a {
    width: 124px;
    color: var(--white);
    text-decoration: none;
    text-align: center;
    font-size: 16px;
}

/* Desktop contact bar */
@media (min-width: 769px) {
    .contact-bar {
        display: flex;
    }
}

/* Responsive styles */
@media (max-width: 1400px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        left: 2rem;
        width: calc(100% - 4rem);
    }
    
    .hero-content h1 {
        width: 50%;
        font-size: 48px;
        line-height: 58px;
    }
    
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .content-image, .content-text {
        width: 100%;
    }
    
    .solutions-section {
        flex-direction: column;
        gap: 3rem;
    }
    
    .solution-card {
        width: 100%;
    }
    
    .solution-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .solution-image img {
        width: 90%;
        height: 90%;
        top: 5%;
        left: 5%;
    }
    
    .contact-card {
        width: 90%;
        left: 5%;
    }
    
    .contact-card-content {
        width: 90%;
        left: 5%;
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-text {
        width: 100%;
    }
    
    .contact-card {
        width: 90%;
        margin: 0 auto 2rem auto;
    }
    
    .contact-card-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-bar {
        display: none;
    }
    
    .hero-buttons {
        display: none;
    }
    
    .btn-primary {
        display: none;
    }
    
    .btn-outline {
        display: none;
    }
    
    h1 {
        font-size: 36px;
        line-height: 44px;
    }
    
    h2 {
        font-size: 30px;
        line-height: 38px;
    }
    
    .hero-section {
        height: 700px;
    }
    
    .nav-bar {
        padding: 0 1rem;
    }
    
    .nav-items {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .solution-image {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        top: 180px;
    }
    
    .hero-content h1 {
        width: 100%;
        font-size: 34px;
    }
    
    .feature-cards, .product-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card, .product-card {
        width: 100%;
        height: auto;
        min-height: 420px;
        overflow: visible;
    }

    .product-card img {
        height: 180px;
        padding: 12px;
    }

    .product-info {
        padding: 15px 15px 18px 15px;
        gap: 0.25rem;
    }

    /* Styles responsive pour les nouveaux éléments de produit */
    .product-name {
        font-size: 18px !important;
        margin-bottom: 0.3rem !important;
    }

    .product-capacity {
        font-size: 13px !important;
        margin-bottom: 0.3rem !important;
    }

    .product-temperature {
        font-size: 11px !important;
        margin-bottom: 0.4rem !important;
        text-align: left;
    }

    .product-price {
        font-size: 16px !important;
        margin-bottom: 0.5rem !important;
        padding-top: 0.4rem;
    }

    .learn-more {
        font-size: 13px;
        padding: 0.65rem;
        flex-shrink: 0;
    }
    
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .testimonials-carousel {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        height: auto;
        min-height: 400px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-legal {
        width: 100%;
        justify-content: center;
    }

    .testimonials-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .testimonials-logo img {
        height: 200px;
    }
    
    /* Modal responsive */
    .modal-body {
        flex-direction: column;
        min-height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-left {
        flex: none;
        padding: 20px;
    }
    
    .modal-right {
        padding: 20px;
        overflow-y: auto;
    }
    
    .modal-content {
        max-height: 95vh;
        overflow: hidden;
    }
    
    .product-details h2 {
        font-size: 24px;
    }
    
    .filters-grid {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-card {
        padding: 1rem;
        gap: 1rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .filter-card img {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .filter-card h4 {
        font-size: 14px;
        flex: 1;
        text-align: left;
    }
    
    .filter-card .price {
        font-size: 16px;
        font-weight: 600;
        flex-shrink: 0;
    }
    
    .product-filters h3 {
        font-size: 18px;
        margin-bottom: 1rem;
    }

    /* Copyright responsive */
    .copyright-content {
        gap: 0.25rem;
        font-size: 12px;
    }

    .developer-link {
        padding: 0.25rem 0.5rem;
    }
}


/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.image-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.image-modal-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Amélioration pour une meilleure qualité d'affichage */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Hauteur maximale pour éviter les images trop grandes */
    max-height: 80vh;
}

/* Filter image hover effect */
.filter-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.filter-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for image modal */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
        padding: 10px;
    }

    .image-modal-content img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        max-height: 85vh;
    }

    .image-modal-close {
        top: -40px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-modal-content {
        max-width: 98%;
        max-height: 98%;
        padding: 5px;
    }

    .image-modal-content img {
        max-height: 90vh;
    }

    .image-modal-close {
        top: -35px;
        right: 5px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
}

/* Contact Form Modal Styles */
.contact-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-form-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.contact-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    z-index: 10001;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.contact-modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.contact-modal-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.contact-modal-header h2 {
    margin-bottom: 0.5rem;
    color: var(--black);
    font-size: 24px;
}

.contact-modal-header p {
    color: var(--gray-600);
    margin: 0;
    font-size: 16px;
}

.contact-modal-body {
    padding: 2rem;
}

/* Styles pour le formulaire de contact */
.fallback-contact-form .form-group {
    margin-bottom: 1.5rem;
}

.fallback-contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
    font-size: 14px;
}

.fallback-contact-form input,
.fallback-contact-form select,
.fallback-contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.fallback-contact-form input:focus,
.fallback-contact-form select:focus,
.fallback-contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 128, 210, 0.1);
}

.fallback-contact-form .form-submit {
    text-align: center;
    margin-top: 2rem;
}

.fallback-contact-form .btn-primary {
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fallback-contact-form .btn-primary:hover {
    background-color: #1a4a6b;
}

/* Styles pour Contact Form 7 dans la modale */
.contact-modal-body .wpcf7 {
    margin: 0;
}

.contact-modal-body .wpcf7-form {
    margin: 0;
}

.contact-modal-body .wpcf7-form p {
    margin-bottom: 1.5rem;
}

.contact-modal-body .wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
    font-size: 14px;
}

.contact-modal-body .wpcf7-form input[type="text"],
.contact-modal-body .wpcf7-form input[type="email"],
.contact-modal-body .wpcf7-form input[type="tel"],
.contact-modal-body .wpcf7-form select,
.contact-modal-body .wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-modal-body .wpcf7-form input:focus,
.contact-modal-body .wpcf7-form select:focus,
.contact-modal-body .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 128, 210, 0.1);
}

.contact-modal-body .wpcf7-form input[type="submit"] {
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    display: block;
    margin: 2rem auto 0;
}

.contact-modal-body .wpcf7-form input[type="submit"]:hover {
    background-color: #1a4a6b;
}

.contact-modal-body .wpcf7-response-output {
    margin: 1rem 0 0 0;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.contact-modal-body .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.contact-modal-body .wpcf7-validation-errors {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive pour la modale */
@media (max-width: 768px) {
    .contact-modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .contact-modal-header,
    .contact-modal-body {
        padding: 1.5rem;
    }
    
    .contact-modal-header h2 {
        font-size: 20px;
    }
    
    .contact-modal-header p {
        font-size: 14px;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.language-switcher a {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
}

.language-switcher a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.manual-language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-link {
    font-size: 16px;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: 4px;
    transition: transform 0.2s ease;
    border: none;
    outline: none;
    box-shadow: none;
}

.lang-link:hover {
    transform: scale(1.1);
}

.lang-link.active {
    background-color: rgba(8, 128, 210, 0.1);
    border-radius: 4px;
}

/* Suppression des bordures sur les drapeaux et éléments de langue */
.language-switcher a,
.language-switcher img,
.lang-link,
.manual-language-switcher a,
.manual-language-switcher img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.language-switcher img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Suppression des bordures TranslatePress */
.trp-language-switcher > div,
.trp-ls-shortcode-current-language,
.trp-ls-shortcode-language,
.trp_language_switcher_shortcode .trp-language-switcher,
.trp-language-switcher-container {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

.trp-flag-image {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Amélioration responsive du menu */
@media (max-width: 1200px) {
    .nav-items {
        gap: 1rem;
        margin-left: 50px;
    }

    .nav-item {
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
    .nav-items {
        gap: 0.75rem;
        margin-left: 20px;
    }

    .nav-item {
        font-size: 13px;
    }
}
