/*
Theme Name: GeneratePress
Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Version: 3.6.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options

GeneratePress, Copyright 2014-2025 EDGE22 Studios LTD.
GeneratePress is distributed under the terms of the GNU GPL

GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2025 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/

/*
Theme Name: GeneratePress Child
Description: Design Adh2oc Industrial Prime
*/

/* 1. IMPORTATION DES POLICES */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --brand-blue: #0077cc;
    --brand-light: #f0f7ff;
    --brand-gold: #FFC107;
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 119, 204, 0.08);
    --text-main: #1e293b;
    --text-slate: #475569;
}

/* 2. STYLE GLOBAL */
body {
    background-color: var(--bg-color);
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .main-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

/* 3. NAVIGATION (EFFET GLASS) */
.main-navigation {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    border-radius: 0 0 20px 20px;
    margin: 0 20px;
}

/* 4. HERO SECTION & TITRE */
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #031d38 0%, #0077cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 30px;
}

/* 5. BARRE DE RECHERCHE */
.search-container-custom {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.search-container-custom input {
    width: 100%;
    padding: 15px 25px 15px 50px;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 25px rgba(0, 119, 204, 0.05);
    font-family: 'Space Grotesk', sans-serif;
}

/* 6. GRILLE DE CATÉGORIES (LES CARTES BLANCHES) */
/* Applique ces classes à tes colonnes GenerateBlocks */
.category-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 119, 204, 0.08);
    border-color: rgba(0, 119, 204, 0.2);
}

.category-card h3 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #031d38;
}

.category-card h3 i {
    margin-right: 12px;
    color: var(--brand-blue);
    background: var(--brand-light);
    padding: 8px;
    border-radius: 8px;
}

/* 7. STYLE DES LIENS (OUTILS) */
.tool-link-wrapper {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-slate);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tool-link-wrapper:hover {
    background: var(--brand-light);
    color: var(--brand-blue);
}

.tool-link-wrapper i {
    width: 20px;
    margin-right: 10px;
    font-size: 0.85rem;
    color: var(--brand-blue);
}

/* 8. BADGE "NEW" */
.new-badge {
    margin-left: auto;
    font-size: 0.6rem;
    font-weight: 700;
    background: rgba(255, 193, 7, 0.15);
    color: #b48900;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

/* 9. BANDEAU ACTUALITÉS (TICKER) */
.news-ticker-container {
    background: white;
    border: 1px solid var(--brand-gold);
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 40px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 10. RESPONSIVE */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .category-card { margin-bottom: 20px; }
}