/* ═══════════════════════════════════════════════════════════════
   F4T - STYLESHEET PRINCIPAL
   Version 1.0 - Responsive & Performant
   Palette : Vert #2E7D5D, Rouge #C53030, Gris #4B4B4B
   ═══════════════════════════════════════════════════════════════ */

/* ========== VARIABLES CSS ========== */
:root {
    /* Couleurs principales */
    --color-primary: #2E7D5D;
    --color-primary-light: #3A9B73;
    --color-primary-dark: #1F5A42;
    --color-secondary: #A8B5AA;
    --color-accent: #C53030;
    --color-accent-hover: #A32525;
    
    /* Couleurs neutres */
    --color-white: #FFFFFF;
    --color-light: #EDEDED;
    --color-gray: #888888;
    --color-dark: #4B4B4B;
    --color-black: #1A1A1A;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-width: 1200px;
    
    /* Header */
    --header-height: 80px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 18px;
    transition: 0.3s;
}

.social-link:hover {
    background: #2E7D5D;
    transform: translateY(-3px);
}
.request-form input,
.request-form select,
.request-form textarea {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
    font-size: 15px;
    line-height: 1.2;
}
/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.125rem;
}

/* ========== HEADER ========== */
.header {
    min-height: 60px;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}


body{
    font-family:'Poppins',sans-serif;
    background:#f9f9f9;
    margin:0;
    padding:0;
}
.table-scroll{
    max-height:750px;      /* height of visible table area */
    overflow-y:auto;       /* vertical scrollbar */
    overflow-x:hidden;     /* prevents horizontal scroll */
    border:1px solid #dddddd;
    border-radius:8px;
    margin-top:20px;
}

.table-scroll table{
    width:100%;
    border-collapse:collapse;
}

.table-scroll th{
    position:sticky;
    top:0;
    background:#007866;
    color:white;
}
#toile-table tr{
cursor:pointer;
}

#toile-table tr.selected{
background:#007866;
color:white;
}
/* PAGE */
.product-page{
    max-width:100%;
    margin:auto;
    padding:70px 25px;
    position:relative;
}

/* CLOSE BUTTON */
.product-close-btn{
    position:fixed;
    top:20px;
    right:25px;
    background:#007866;
    color:white;
    border:none;
    width:40px;
    height:40px;
    border-radius:50%;
    font-size:27px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    z-index:1000;
}

.product-close-btn:hover{
    background:#005e50;
}

/* HEADER */
.product-header{
    text-align:center;
    margin-bottom:50px;
}

.product-header h1{
    font-size:60px;
    font-weight:800;
    color:white;
    background:#007866;
    padding:20px 0;
    margin:0 -25px 20px -25px;
    text-align:center;
    border-radius:6px;
}

/* IMAGE */
.product-image-frame{
    width:100%;
    margin-bottom:50px;
}

/* IMAGE */
/* IMAGE */
.product-image-frame{
    width:100%;
    height:500px;
    margin-bottom:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}

/* IMAGE */
.product-image-frame img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(0,0,0,0.15);
}

/* SECTIONS */
.product-section{
    display:grid;
    grid-template-columns:14% 81%;
    gap:5%;
    margin-bottom:70px;
    align-items:start;
    padding-bottom:40px;
    border-bottom:1px solid #ffffff;
    position:relative;
}

/* Vertical separator */
.product-section::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:15%;
    width:2px;
    background:#007866;
}

/* SIDEBAR TITLE */
.product-section-title{
    font-weight:700;
    color:#007866;
    font-size:24px;
    padding-top:10px;
}

/* CONTENT */
.product-section-content{
    font-size:24px;
    line-height:1.8;
    color:#333;
    text-align:justify;
    overflow-x:auto;
}

/* LISTS */
.fixation-list,
.application-list{
    list-style:none;
    padding-left:0;
    margin-top:15px;
}

.fixation-list li,
.application-list li{
    position:relative;
    padding-left:22px;
    margin-bottom:10px;
}

.fixation-list li::before,
.application-list li::before{
    content:"•";
    position:absolute;
    left:0;
    color:#007866;
    font-size:30px;
}

/* TABLE */
.product-section-content table{
    width:95%;
    max-width:95vw;
    border-collapse:collapse;
    margin-top:20px;
    font-size:22px;
}
.table-guide{
    text-align:center;
    font-size:21px;
    background:#e6f4f1;
    color:#007866;
    padding:8px 12px;
    border-radius:6px;
    margin-bottom:12px;
}
.product-section-content table td,
.product-section-content table th{
    border:1px solid #000;
    padding:10px;
    text-align:center;
}

.product-section-content table th{
    background:#007866;
    color:white;
}

/* REQUEST BOX */
.request-box{
    background:#007866;
    padding:30px;
    border-radius:14px;
    box-shadow:0 6px 20px rgba(0,0,0,0.12);
    margin-top:50px;
}

.request-box h3{
    margin-bottom:20px;
    font-size:33px;
    color:white;
    text-align:center;
}

/* FORM ROW */
.request-form .form-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
}

/* INPUTS */
.request-form input,
.request-form select{
    width:180px;
    height:32px;
    padding:5px 8px;
    font-size:15px;
    border-radius:8px;
    border:none;
    box-sizing:border-box;
}

/* ACCESSORIES */
#accessories-container{
    display:flex;
    align-items:center;
    gap:6px;
}

.accessoire-select{
    width:140px;
}

/* ACCESSORY GROUP */
.accessory-group{
    display:flex;
    gap:6px;
    align-items:center;
}

/* ADD BUTTON */
#add-accessory-btn{
    height:32px;
    padding:0 12px;
    font-size:20px;
    border-radius:8px;
    background:white;
    color:#007866;
    border:none;
    cursor:pointer;
}

/* REMOVE BUTTON */
.accessory-group button{
    height:32px;
    font-size:18px;
    border:none;
    border-radius:6px;
    padding:0 8px;
}

/* TEXTAREA */
.request-form textarea{
    display:block;
    margin:15px auto;
    width:70%;
    min-height:70px;
    border-radius:8px;
    border:none;
    padding:8px;
    font-size:20px;
}

/* SUBMIT BUTTON */
.request-form button[type="submit"]{
    display:block;
    margin:15px auto 0 auto;
    background:white;
    color:#007866;
    border:none;
    padding:10px 30px;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){

.product-section{
    grid-template-columns:1fr;
}

.product-section::before{
    display:none;
}

.request-form input,
.request-form select{
    width:120px;
}

.request-form textarea{
    width:90%;
}

}


.product-page{
    max-width:1200px;
    margin:auto;
    padding:70px 25px;
    position:relative;
}
.header-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    height: var(--header-height); /* ensure a fixed height */
}
.header-left{
    flex-shrink:0;
}

.logo{
    height:48px;
    width:auto;
    max-width:none;
    display:block;
    object-fit:contain;
    
}
.nav{
    flex:1;
}
.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.lang-switcher{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:nowrap;
}

.lang-btn{
    font-size:12px;
    padding:3px 6px;
    border-radius:4px;
}

.lang-btn.active {
    color: var(--color-primary);
    background-color: rgba(46, 125, 93, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition-fast);
}

/* ========== HERO ========== */
/* ========== HERO ========== */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Background image */
    background-image: url('/assets/img/dream_big.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    /* fallback color */
    background-color: var(--color-primary-dark);
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(46,125,93,0.85) 0%,
        rgba(31,90,66,0.92) 100%
    );
}

/* Container */
.hero-container {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* Content */
.hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
}

/* Title */
.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

/* Buttons */
.hero-cta {
    position: fixed; /* stay visible */
    bottom: 20px;    /* distance from bottom */
    left: 50%;       /* center horizontally */
    transform: translateX(-50%);
    z-index: 9999;   /* on top of everything */
    display: flex;
    gap: 10px;       /* space between buttons */
}
.hero-cta a, .cta-buttons a {
    background: #007866;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 0.875rem;
}

/* ========== PRODUCTS PREVIEW ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
       display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
}
.product-card .btn {
    margin-top: auto;
    align-self: flex-start;
}
.product-content {
    padding: var(--spacing-md);
      display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.product-description {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.product-features {
    margin-bottom: var(--spacing-md);
}

.product-features li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--color-gray);
}

.product-features li::before {
    
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

/* ========== TRUST BAND ========== */
.trust-band {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-secondary) 100%);
}

.trust-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.trust-subtitle {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: var(--spacing-xl);
}

.industries-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    transition: var(--transition-fast);
}

.industry-icon {
    font-size: 3rem;
}

.industry-item span {
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
}

/* ========== VALUES ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.value-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.value-description {
    color: var(--color-gray);
    font-size: 0.9375rem;
}

/* ========== CATALOGUE ========== */
.catalogue-controls {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    align-items: center;
    justify-content: space-between;
}

.catalogue-search {
    flex: 1;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--color-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.catalogue-filters {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background-color: var(--color-light);
    color: var(--color-dark);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.spinner {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-sm);
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.no-results {
    text-align: center;
    padding: var(--spacing-xxl) 0;
    color: var(--color-gray);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination button {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background-color: var(--color-light);
    color: var(--color-dark);
    font-weight: var(--font-weight-medium);
}

.pagination button:hover,
.pagination button.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.cta-buttons {
    position: fixed;
    bottom: 40px;
    right: 30px; /* or left: 30px */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    height: 40px;
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-white);
        transition: var(--transition-normal);
        padding: var(--spacing-lg);
    }
    
    .nav.show {
        left: 0;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .nav-toggle {
        display: flex;
    }
    .hero {
        min-height: 70vh;
        background-position: center;
    }
    

}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
     .hero {
        min-height: 65vh;
        padding-top: var(--spacing-xl);
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    .hero {
        min-height: 60vh;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .cta-section {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   F4T - CONTENT BLOCKS ALTERNÉS
   Texte + Image qui alternent automatiquement gauche/droite
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ========== CONTENT BLOCK - Bloc de contenu avec texte + image ========== */

.content-blocks-container {
    padding: var(--spacing-xxl) 0;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Animation au scroll */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délai d'animation pour chaque bloc */
.content-block:nth-child(1) { animation-delay: 0.1s; }
.content-block:nth-child(2) { animation-delay: 0.2s; }
.content-block:nth-child(3) { animation-delay: 0.3s; }
.content-block:nth-child(4) { animation-delay: 0.4s; }
.content-block:nth-child(5) { animation-delay: 0.5s; }

/* ========== ALTERNANCE AUTOMATIQUE ========== */

/* Blocs pairs (2, 4, 6...) : Image à GAUCHE, Texte à DROITE */
.content-block:nth-child(even) {
    direction: rtl; /* Inverse l'ordre visuel */
}

/* Reset direction pour le contenu interne */
.content-block:nth-child(even) > * {
    direction: ltr;
}

/* ========== PARTIE TEXTE ========== */

.content-text {
    padding: var(--spacing-lg);
}

.content-text h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.content-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.content-text ul {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.content-text ul li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--color-dark);
    line-height: 1.6;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
}

/* Bouton dans le texte */
.content-text .btn {
    margin-top: var(--spacing-md);
}

/* ========== PARTIE IMAGE ========== */

.content-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

/* Effet hover sur l'image */
.content-block:hover .content-image img {
    transform: scale(1.05);
}

/* Badge optionnel sur l'image */
.content-image .image-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

/* ========== VARIANTES ========== */

/* Variante avec fond coloré */
.content-block.with-background {
    background-color: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

/* Variante compacte (moins d'espace) */
.content-block.compact {
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.content-block.compact .content-text {
    padding: var(--spacing-sm);
}

/* ========== RESPONSIVE ========== */
/* WHEN SPACE GETS SMALLER */
@media (max-width:1100px){

    .lang-btn{
        font-size:11px;
        padding:2px 5px;
    }

}

/* VERY SMALL SPACE */
@media (max-width:950px){

    .lang-btn{
        font-size:10px;
        padding:2px 4px;
    }

}
@media (max-width: 992px) {
    .content-block {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Annule l'alternance sur mobile - toujours texte en haut */
    .content-block:nth-child(even) {
        direction: ltr;
    }
    
    /* Image en premier sur mobile pour tous les blocs */
    .content-block {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .content-text h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .content-text {
        padding: var(--spacing-sm);
    }
    
    .content-text h2 {
        font-size: 1.5rem;
    }
    
    .content-text p {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   F4T - CONTENT BLOCKS ADDITIONNELS
   Grid Features | Citation | Liste à puces | Vidéo + Description
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ========== 1. GRID DE FEATURES (3 colonnes) ========== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-xxl) 0;
}

.feature-item {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

/* Si tu veux utiliser des images au lieu d'emojis */
.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto var(--spacing-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Responsive - 2 colonnes sur tablette */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 colonne sur mobile */
@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* ========== 2. CITATION AVEC PHOTO ========== */

.quote-block {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    margin: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

/* Guillemets décoratifs */
.quote-block::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 150px;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-content {
    position: relative;
    z-index: 1;
}

.quote-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.quote-author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.quote-author-info {
    flex: 1;
}

.quote-author-name {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
}

.quote-author-title {
    font-size: 0.9375rem;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .quote-text {
        font-size: 1.25rem;
    }
    
    .quote-block {
        padding: var(--spacing-xl);
    }
}


/* ========== 3. LISTE À PUCES AVEC IMAGE ========== */

.list-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    margin: var(--spacing-xxl) 0;
}

.list-content h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.list-content p {
    font-size: 1.0625rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.checklist {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.checklist li {
    padding: 12px 0 12px 40px;
    position: relative;
    color: var(--color-dark);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 28px;
    height: 28px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
}

.list-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .list-with-image {
        grid-template-columns: 1fr;
    }
}


/* ========== 4. VIDÉO + DESCRIPTION ========== */

.video-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
    margin: var(--spacing-xxl) 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-color: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

/* Placeholder pour vidéo pas encore uploadée */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 4rem;
}

.video-description h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.video-description h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.video-description p {
    font-size: 1.0625rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.video-description ul {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.video-description ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--color-dark);
}

.video-description ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.875rem;
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--color-light);
}

.video-stat {
    text-align: center;
}

.video-stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    display: block;
}

.video-stat-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 4px;
}

@media (max-width: 992px) {
    .video-block {
        grid-template-columns: 1fr;
    }
    
    .video-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .video-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Each icon + text container */
.contact-item {
    position: relative;
}

/* Icon styles */
.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s, opacity 0.3s;
    color: white;
}

/* Individual background colors */
.contact-icon.phone {
    background: #1F5A42; /* green */
}

.contact-icon.email {
    background: #1F5A42; /* Gmail red */
}

.contact-icon.whatsapp {
    background: #1F5A42 /* WhatsApp green */
}

.contact-icon:hover {
    transform: translateX(-5px);
}

/* Hidden text by default */
.contact-text {
    position: absolute;
    right: 60px; /* distance from icon */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

/* Show text on hover */
.contact-item:hover .contact-text {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

/* Mobile adjustments */
@media(max-width:768px){
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-text {
        right: 50px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    .floating-contact {
        right: 5px; /* slightly more on smaller screens */
    }
}
/* Scroll Arrow */
.scroll-arrow {
  position: fixed;
  right: 20px;
  bottom: 30px;
  font-size: 2rem;
  background: #1F5A42;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0.8;
}

.scroll-arrow:hover {
  opacity: 1;
  transform: scale(1.1);
}
/* =========================================
   LEGAL PAGE - CLEAN CARD DESIGN
========================================= */

/* FIX PAGE WIDTH */
.container {
    max-width: 1200px;
    margin: auto;
}

/* CONTENT WRAPPER */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* EACH SECTION = CARD */
.legal-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    transition: all 0.25s ease;
}

/* subtle hover */
.legal-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* TITLES */
.legal-card h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2E7D5D;
}

/* SUBTITLES */
.legal-card h3 {
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 6px;
    color: #222;
}

/* TEXT */
.legal-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* LISTS */
.legal-card ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.legal-card li {
    margin-bottom: 5px;
    color: #444;
}

/* STRONG */
.legal-card strong {
    color: #000;
}

/* LINKS */
.legal-card a {
    color: #2E7D5D;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

/* HERO CLEANER */




/* FOOTER NOTE */
.legal-update {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .legal-card {
        padding: 20px;
    }


}
/* Your existing floating-contact CSS remains unchanged */
industry-icon-large i {
    font-size: 55px;       /* Bigger & bold */
    color: #007866;        /* Brand green */
    transition: transform 0.3s, color 0.3s;
}

.industry-icon-large i:hover {
    transform: scale(1.2); /* Interactive hover */
    color: #00b894;        /* Lighter green */
}
        /* ===== INDUSTRIES SECTION STYLING ===== */
        .industries-section {
            padding: 60px 0;
            background: #f9f9f9;
        }
        .industry-detail {
            margin-bottom: 60px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            overflow: hidden;
        }
        .industry-header {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 30px;
            background: #f0f0f0;
        }
        .industry-header .industry-icon-large {
            font-size: 50px;
        }
        .industry-header h2 {
            margin: 0;
            font-size: 28px;
            font-weight: 700;
        }
        .industry-header p {
            margin: 4px 0 0;
            font-size: 16px;
            color: #555;
        }
        .industry-content {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            padding: 30px;
        }
        .industry-text {
            flex: 1 1 400px;
            min-width: 300px;
        }
        .industry-text h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }
        .industry-text ul {
            margin: 0 0 20px 0;
            padding-left: 20px;
            color: #333;
        }
        .industry-text p {
            margin-bottom: 20px;
            color: #444;
        }
        .industry-text a.btn {
            padding: 10px 20px;
            border-radius: 6px;
            background: #007866;
            color: white;
            text-decoration: none;
            font-weight: 600;
        }
        .industry-products {
            flex: 1 1 250px;
            min-width: 200px;
            background: #f0f0f0;
            border-radius: 8px;
            padding: 20px;
        }
        .industry-products h4 {
            font-size: 18px;
            margin-bottom: 15px;
        }
        .industry-products ul {
            margin: 0;
            padding-left: 20px;
            color: #333;
        }

        /* CTA SECTION */
        .cta-section {
            padding: 60px 0;
            background: #007866;
            color: #fff;
            text-align: center;
            border-radius: 12px;
            margin: 40px auto;
        }
        .cta-section .cta-title {
            font-size: 28px;
            margin-bottom: 15px;
            font-weight: 700;
        }
        .cta-section .cta-subtitle {
            font-size: 18px;
            margin-bottom: 25px;
        }
        .cta-section a.btn-large {
            padding: 15px 30px;
            font-size: 16px;
            background: white;
            color: #007866;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            transition: 0.3s;
        }
        .cta-section a.btn-large:hover {
            background: #e6e6e6;
        }

        /* RESPONSIVE */
        @media(max-width: 768px){
            .industry-content {
                flex-direction: column;
            }
            .industry-products {
                margin-top: 20px;
            }
        }