/*
Theme Name: Officiel Tracteur
Theme URI: https://officiel-tracteur.com
Description: Thème enfant Astra pour L'Officiel du Tracteur - Magazine et base de données des machines agricoles
Author: Agence SW
Author URI: https://agencesw.com
Template: astra
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: officiel-tracteur
Tags: agriculture, magazine, tracteur, machinisme

== Changelog ==
= 1.0.0 - 2026-01-12 =
* Version initiale
* CPT Machine, Professionnel, Magazine
* Taxonomies Marque, Type, Puissance
* Système freemium annuaire
* 6 shortcodes
*/

/* ============================================
   VARIABLES CSS - CHARTE GRAPHIQUE
   ============================================ */
:root {
    /* Couleurs principales */
    --ot-rouge: #E31E24;
    --ot-rouge-dark: #B8171C;
    --ot-rouge-light: #FF4136;
    --ot-noir: #2D2D2D;
    --ot-gris-dark: #444444;
    --ot-gris: #666666;
    --ot-gris-light: #999999;
    --ot-gris-pale: #F5F5F5;
    --ot-blanc: #FFFFFF;
    
    /* Couleurs d'accent */
    --ot-jaune: #FFD700;
    --ot-jaune-dark: #E6C200;
    --ot-vert: #4A7C23;
    --ot-vert-dark: #3A6318;
    --ot-vert-light: #5D9B2E;
    
    /* Typographie */
    --ot-font-title: 'Oswald', 'Arial Narrow', sans-serif;
    --ot-font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;
    
    /* Espacements */
    --ot-spacing-xs: 8px;
    --ot-spacing-sm: 16px;
    --ot-spacing-md: 24px;
    --ot-spacing-lg: 40px;
    --ot-spacing-xl: 60px;
    
    /* Bordures et ombres */
    --ot-radius-sm: 4px;
    --ot-radius-md: 8px;
    --ot-radius-lg: 16px;
    --ot-shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --ot-shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --ot-shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--ot-font-body);
    color: var(--ot-noir);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ot-font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

a {
    color: var(--ot-rouge);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ot-rouge-dark);
}

/* ============================================
   HEADER PERSONNALISÉ
   ============================================ */
.ast-primary-header {
    border-bottom: 4px solid var(--ot-rouge);
}

.site-header {
    background: var(--ot-blanc);
}

/* Bandeau supérieur */
.ot-top-bar {
    background: var(--ot-noir);
    color: var(--ot-blanc);
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

.ot-top-bar a {
    color: var(--ot-jaune);
}

/* Navigation */
.main-navigation a {
    font-family: var(--ot-font-title);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--ot-rouge);
}

/* ============================================
   BOUTONS
   ============================================ */
.ot-btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
    font-family: var(--ot-font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: var(--ot-radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ot-btn-primary,
.wp-block-button__link {
    background: var(--ot-rouge);
    color: var(--ot-blanc) !important;
}

.ot-btn-primary:hover,
.wp-block-button__link:hover {
    background: var(--ot-rouge-dark);
    transform: translateY(-2px);
    box-shadow: var(--ot-shadow-md);
}

.ot-btn-secondary {
    background: var(--ot-vert);
    color: var(--ot-blanc);
}

.ot-btn-secondary:hover {
    background: var(--ot-vert-dark);
}

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

.ot-btn-outline:hover {
    background: var(--ot-noir);
    color: var(--ot-blanc);
}

.ot-btn-jaune {
    background: var(--ot-jaune);
    color: var(--ot-noir);
}

.ot-btn-jaune:hover {
    background: var(--ot-jaune-dark);
}

/* ============================================
   SECTIONS
   ============================================ */
.ot-section {
    padding: var(--ot-spacing-xl) 0;
}

.ot-section-title {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ot-noir);
    margin-bottom: var(--ot-spacing-lg);
    position: relative;
    padding-left: 20px;
}

.ot-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--ot-rouge);
}

.ot-section-title span {
    color: var(--ot-rouge);
}

/* Section sombre */
.ot-section-dark {
    background: var(--ot-noir);
    color: var(--ot-blanc);
}

.ot-section-dark .ot-section-title {
    color: var(--ot-blanc);
}

/* Section grise */
.ot-section-grey {
    background: var(--ot-gris-pale);
}

/* ============================================
   CARDS GÉNÉRIQUES
   ============================================ */
.ot-card {
    background: var(--ot-blanc);
    border-radius: var(--ot-radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ot-card-image {
    position: relative;
    overflow: hidden;
}

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

.ot-card:hover .ot-card-image img {
    transform: scale(1.05);
}

.ot-card-body {
    padding: var(--ot-spacing-md);
}

.ot-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--ot-spacing-xs);
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.ot-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-family: var(--ot-font-title);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--ot-radius-sm);
}

.ot-badge-rouge {
    background: var(--ot-rouge);
    color: var(--ot-blanc);
}

.ot-badge-vert {
    background: var(--ot-vert);
    color: var(--ot-blanc);
}

.ot-badge-jaune {
    background: var(--ot-jaune);
    color: var(--ot-noir);
}

.ot-badge-outline {
    background: transparent;
    border: 2px solid var(--ot-rouge);
    color: var(--ot-rouge);
}

/* ============================================
   STATISTIQUES
   ============================================ */
.ot-stats-bar {
    background: var(--ot-rouge);
    padding: var(--ot-spacing-md) 0;
}

.ot-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ot-spacing-lg);
    text-align: center;
}

.ot-stat-item {
    color: var(--ot-blanc);
}

.ot-stat-number {
    font-family: var(--ot-font-title);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.ot-stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 8px;
}

/* ============================================
   FICHES MACHINES
   ============================================ */
.ot-machine-card {
    background: var(--ot-blanc);
    border-radius: var(--ot-radius-md);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.ot-machine-card:hover {
    border-color: var(--ot-rouge);
    box-shadow: var(--ot-shadow-md);
}

.ot-machine-image {
    height: 200px;
    background: var(--ot-gris-pale);
    position: relative;
}

.ot-machine-brand {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ot-blanc);
    padding: 6px 12px;
    font-family: var(--ot-font-title);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--ot-radius-sm);
}

.ot-machine-year {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ot-vert);
    color: var(--ot-blanc);
    padding: 6px 12px;
    font-family: var(--ot-font-title);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--ot-radius-sm);
}

.ot-machine-info {
    padding: var(--ot-spacing-md);
}

.ot-machine-name {
    font-family: var(--ot-font-title);
    font-size: 22px;
    font-weight: 600;
    color: var(--ot-noir);
    margin-bottom: var(--ot-spacing-xs);
}

.ot-machine-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ot-spacing-sm);
    font-size: 13px;
    color: var(--ot-gris);
}

.ot-machine-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Fiche machine détaillée */
.ot-machine-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--ot-spacing-lg);
}

.ot-machine-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ot-spacing-lg);
    margin-bottom: var(--ot-spacing-lg);
}

.ot-machine-gallery {
    border-radius: var(--ot-radius-md);
    overflow: hidden;
}

.ot-machine-details h1 {
    font-size: 36px;
    margin-bottom: var(--ot-spacing-sm);
}

.ot-machine-price {
    font-family: var(--ot-font-title);
    font-size: 32px;
    font-weight: 700;
    color: var(--ot-rouge);
    margin-bottom: var(--ot-spacing-md);
}

/* Sections techniques */
.ot-tech-section {
    background: var(--ot-gris-pale);
    border-radius: var(--ot-radius-md);
    padding: var(--ot-spacing-md);
    margin-bottom: var(--ot-spacing-md);
}

.ot-tech-section-title {
    font-family: var(--ot-font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--ot-rouge);
    margin-bottom: var(--ot-spacing-sm);
    padding-bottom: var(--ot-spacing-xs);
    border-bottom: 2px solid var(--ot-rouge);
}

.ot-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ot-spacing-sm);
}

.ot-tech-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ot-tech-label {
    font-weight: 600;
    color: var(--ot-gris-dark);
}

.ot-tech-value {
    color: var(--ot-noir);
}

/* ============================================
   ANNUAIRE PROFESSIONNELS
   ============================================ */
.ot-directory-card {
    background: var(--ot-blanc);
    border-radius: var(--ot-radius-md);
    padding: var(--ot-spacing-md);
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.ot-directory-card:hover {
    border-color: var(--ot-rouge);
    box-shadow: var(--ot-shadow-sm);
}

.ot-directory-header {
    display: flex;
    align-items: center;
    gap: var(--ot-spacing-sm);
    margin-bottom: var(--ot-spacing-sm);
}

.ot-directory-logo {
    width: 60px;
    height: 60px;
    background: var(--ot-gris-pale);
    border-radius: var(--ot-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ot-directory-logo img {
    max-width: 100%;
    max-height: 100%;
}

.ot-directory-company {
    font-family: var(--ot-font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--ot-noir);
}

.ot-directory-role {
    font-size: 14px;
    color: var(--ot-gris);
}

.ot-directory-contact {
    margin-top: var(--ot-spacing-sm);
    padding-top: var(--ot-spacing-sm);
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Contact masqué (freemium) */
.ot-directory-contact.is-locked {
    position: relative;
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.ot-directory-locked-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    filter: none;
    pointer-events: auto;
}

.ot-directory-locked-overlay .ot-btn {
    font-size: 12px;
    padding: 10px 20px;
}

/* ============================================
   MAGAZINE & COUVERTURES
   ============================================ */
.ot-magazine-card {
    background: var(--ot-blanc);
    border-radius: var(--ot-radius-md);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.ot-magazine-card:hover {
    transform: translateY(-8px);
}

.ot-magazine-cover {
    position: relative;
    padding: var(--ot-spacing-sm);
}

.ot-magazine-cover img {
    width: 100%;
    border-radius: var(--ot-radius-sm);
    box-shadow: var(--ot-shadow-md);
    transition: transform 0.3s ease;
}

.ot-magazine-card:hover .ot-magazine-cover img {
    transform: rotate(-2deg) scale(1.02);
}

.ot-magazine-issue {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--ot-jaune);
    color: var(--ot-noir);
    font-family: var(--ot-font-title);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 0 var(--ot-radius-md) 0 var(--ot-radius-md);
}

.ot-magazine-info {
    padding: var(--ot-spacing-sm);
}

.ot-magazine-title {
    font-family: var(--ot-font-title);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ot-magazine-price {
    font-family: var(--ot-font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--ot-rouge);
}

/* ============================================
   ARTICLES & BLOG
   ============================================ */
.ot-article-card {
    background: var(--ot-blanc);
    border-radius: var(--ot-radius-md);
    overflow: hidden;
}

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

.ot-article-category {
    position: absolute;
    top: 12px;
    left: 12px;
}

.ot-article-body {
    padding: var(--ot-spacing-md);
}

.ot-article-meta {
    font-size: 12px;
    color: var(--ot-gris);
    margin-bottom: var(--ot-spacing-xs);
}

.ot-article-title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: var(--ot-spacing-xs);
}

.ot-article-title a {
    color: var(--ot-noir);
}

.ot-article-title a:hover {
    color: var(--ot-rouge);
}

.ot-article-excerpt {
    font-size: 14px;
    color: var(--ot-gris);
}

/* Article featured */
.ot-article-featured {
    position: relative;
    border-radius: var(--ot-radius-md);
    overflow: hidden;
    min-height: 400px;
}

.ot-article-featured .ot-article-image {
    position: absolute;
    inset: 0;
    height: auto;
}

.ot-article-featured .ot-article-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: var(--ot-spacing-lg);
}

.ot-article-featured .ot-article-title {
    font-size: 28px;
    color: var(--ot-blanc);
}

.ot-article-featured .ot-article-title a {
    color: var(--ot-blanc);
}

.ot-article-featured .ot-article-meta {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.ot-newsletter {
    background: var(--ot-gris-pale);
    padding: var(--ot-spacing-lg) 0;
}

.ot-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ot-spacing-lg);
}

.ot-newsletter-title {
    font-family: var(--ot-font-title);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ot-newsletter-form {
    display: flex;
    gap: 12px;
}

.ot-newsletter-form input[type="email"] {
    padding: 16px 24px;
    border: 2px solid var(--ot-noir);
    border-radius: var(--ot-radius-sm);
    font-size: 16px;
    width: 300px;
}

.ot-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--ot-rouge);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--ot-noir);
    color: var(--ot-blanc);
}

.ot-footer-main {
    padding: var(--ot-spacing-xl) 0;
}

.ot-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--ot-spacing-lg);
}

.ot-footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: var(--ot-spacing-sm);
    font-size: 14px;
    line-height: 1.6;
}

.ot-footer-title {
    font-family: var(--ot-font-title);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--ot-spacing-md);
    color: var(--ot-jaune);
}

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

.ot-footer-links li {
    margin-bottom: 10px;
}

.ot-footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.ot-footer-links a:hover {
    color: var(--ot-blanc);
}

.ot-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--ot-spacing-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.ot-social-links {
    display: flex;
    gap: 12px;
}

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

.ot-social-links a:hover {
    background: var(--ot-rouge);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .ot-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ot-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .ot-machine-header {
        grid-template-columns: 1fr;
    }
    
    .ot-section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .ot-section {
        padding: var(--ot-spacing-lg) 0;
    }
    
    .ot-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .ot-newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .ot-newsletter-form input[type="email"] {
        width: 100%;
    }
    
    .ot-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ot-footer-bottom {
        flex-direction: column;
        gap: var(--ot-spacing-sm);
    }
    
    .ot-tech-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */
.ot-text-center { text-align: center; }
.ot-text-rouge { color: var(--ot-rouge); }
.ot-text-vert { color: var(--ot-vert); }
.ot-text-jaune { color: var(--ot-jaune); }
.ot-bg-rouge { background-color: var(--ot-rouge); }
.ot-bg-vert { background-color: var(--ot-vert); }
.ot-bg-gris { background-color: var(--ot-gris-pale); }
.ot-bg-noir { background-color: var(--ot-noir); }
.ot-mt-0 { margin-top: 0; }
.ot-mb-0 { margin-bottom: 0; }
.ot-mt-sm { margin-top: var(--ot-spacing-sm); }
.ot-mb-sm { margin-bottom: var(--ot-spacing-sm); }
.ot-mt-md { margin-top: var(--ot-spacing-md); }
.ot-mb-md { margin-bottom: var(--ot-spacing-md); }
.ot-mt-lg { margin-top: var(--ot-spacing-lg); }
.ot-mb-lg { margin-bottom: var(--ot-spacing-lg); }

/* ============================================
   HOMEPAGE - SECTIONS PERSONNALISABLES
   ============================================ */

/* Hero Section */
.ot-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ot-noir);
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
}

.ot-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.ot-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.ot-hero-title {
    font-family: var(--ot-font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--ot-blanc);
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
}

.ot-hero-title span {
    color: var(--ot-rouge);
}

.ot-hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.ot-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ot-btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

/* Section génériques */
.ot-section {
    padding: 80px 0;
}

.ot-section-grey {
    background-color: var(--ot-gris-pale);
}

.ot-section-dark {
    background-color: var(--ot-noir);
    color: var(--ot-blanc);
}

.ot-section-dark .ot-section-title {
    color: var(--ot-blanc);
}

.ot-section-title {
    font-family: var(--ot-font-heading);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--ot-noir);
}

.ot-section-title span {
    color: var(--ot-rouge);
}

.ot-section-footer {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.ot-cta-section {
    background: linear-gradient(135deg, var(--ot-rouge) 0%, var(--ot-rouge-dark) 100%);
    padding: 80px 0;
}

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

.ot-cta-title {
    font-family: var(--ot-font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--ot-blanc);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.ot-cta-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Newsletter Section */
.ot-newsletter-section {
    padding: 60px 0;
}

.ot-newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.ot-newsletter-title {
    font-family: var(--ot-font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ot-newsletter-text {
    font-size: 18px;
    color: var(--ot-gris);
    margin-bottom: 30px;
}

.ot-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.ot-newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--ot-gris-light);
    border-radius: 6px;
    font-size: 16px;
}

.ot-newsletter-form input[type="email"]:focus {
    border-color: var(--ot-rouge);
    outline: none;
}

/* Articles Grid */
.ot-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ot-article-card {
    background: var(--ot-blanc);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ot-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.ot-article-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.ot-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ot-article-card:hover .ot-article-image img {
    transform: scale(1.05);
}

.ot-article-content {
    padding: 25px;
}

.ot-article-category {
    display: inline-block;
    background: var(--ot-rouge);
    color: var(--ot-blanc);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ot-article-title {
    font-family: var(--ot-font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

.ot-article-title a {
    color: var(--ot-noir);
    text-decoration: none;
}

.ot-article-title a:hover {
    color: var(--ot-rouge);
}

.ot-article-excerpt {
    font-size: 15px;
    color: var(--ot-gris);
    line-height: 1.6;
    margin-bottom: 15px;
}

.ot-article-date {
    font-size: 13px;
    color: var(--ot-gris-light);
}

/* Responsive Homepage */
@media (max-width: 992px) {
    .ot-hero-title {
        font-size: 42px;
    }
    
    .ot-hero-subtitle {
        font-size: 18px;
    }
    
    .ot-section {
        padding: 60px 0;
    }
    
    .ot-section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    .ot-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ot-hero {
        min-height: 400px;
        padding: 60px 20px;
    }
    
    .ot-hero-title {
        font-size: 32px;
    }
    
    .ot-hero-subtitle {
        font-size: 16px;
    }
    
    .ot-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ot-btn-lg {
        width: 100%;
        max-width: 280px;
    }
    
    .ot-section {
        padding: 50px 0;
    }
    
    .ot-section-title {
        font-size: 26px;
    }
    
    .ot-cta-title {
        font-size: 28px;
    }
    
    .ot-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .ot-newsletter-form {
        flex-direction: column;
    }
}

/* ============================================
   MAGAZINES - CARTES ET GRILLE
   ============================================ */
.ot-magazines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ot-magazine-card {
    background: var(--ot-blanc);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ot-magazine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.ot-magazine-cover {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.ot-magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ot-magazine-card:hover .ot-magazine-cover img {
    transform: scale(1.05);
}

.ot-magazine-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ot-rouge);
    color: var(--ot-blanc);
    font-family: var(--ot-font-heading);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 2;
}

.ot-magazine-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--ot-gris-pale) 0%, #e8e8e8 100%);
    color: var(--ot-gris);
}

.ot-magazine-placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.ot-magazine-info {
    padding: 20px;
    text-align: center;
}

.ot-magazine-title {
    font-family: var(--ot-font-heading);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.ot-magazine-title a {
    color: var(--ot-noir);
    text-decoration: none;
}

.ot-magazine-title a:hover {
    color: var(--ot-rouge);
}

.ot-magazine-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--ot-rouge);
    margin-bottom: 15px;
}

.ot-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    display: inline-block;
}

.ot-badge-grey {
    display: inline-block;
    background: #ccc;
    color: #666;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
}

.ot-no-results {
    text-align: center;
    padding: 40px;
    color: var(--ot-gris);
    font-size: 18px;
}

/* Section Magazine fond sombre */
.ot-section-dark .ot-magazine-card {
    background: var(--ot-blanc);
}

.ot-section-dark .ot-magazines-grid {
    padding: 20px 0;
}

/* Responsive Magazines */
@media (max-width: 1024px) {
    .ot-magazines-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .ot-magazines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ot-magazine-info {
        padding: 15px;
    }
    
    .ot-magazine-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ot-magazines-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ============================================
   SINGLE MAGAZINE - PAGE INDIVIDUELLE
   ============================================ */
.ot-single-magazine {
    padding: 40px 0 80px;
}

/* Breadcrumb */
.ot-breadcrumb {
    font-size: 14px;
    color: var(--ot-gris);
    margin-bottom: 30px;
}

.ot-breadcrumb a {
    color: var(--ot-gris);
    text-decoration: none;
}

.ot-breadcrumb a:hover {
    color: var(--ot-rouge);
}

.ot-breadcrumb span {
    margin: 0 8px;
}

.ot-breadcrumb .current {
    color: var(--ot-noir);
    font-weight: 600;
}

/* Grid principal */
.ot-magazine-single-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Couverture */
.ot-magazine-single-cover {
    position: sticky;
    top: 120px;
    align-self: start;
}

.ot-magazine-cover-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.ot-magazine-cover-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.ot-magazine-badge-large {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--ot-rouge);
    color: var(--ot-blanc);
    font-family: var(--ot-font-heading);
    font-size: 18px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
}

.ot-magazine-placeholder-large {
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ot-gris-pale) 0%, #e0e0e0 100%);
    border-radius: 12px;
    font-size: 24px;
    color: var(--ot-gris);
    margin-bottom: 20px;
}

.ot-magazine-placeholder-large .ot-magazine-placeholder-icon {
    font-size: 80px;
    margin-bottom: 15px;
}

/* Contenu */
.ot-magazine-single-content {
    max-width: 700px;
}

.ot-magazine-single-title {
    font-family: var(--ot-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--ot-noir);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Dossier principal */
.ot-magazine-dossier {
    background: var(--ot-gris-pale);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--ot-rouge);
}

.ot-magazine-dossier .ot-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ot-rouge);
    margin-bottom: 8px;
}

.ot-magazine-dossier p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--ot-noir);
}

/* Métadonnées */
.ot-magazine-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--ot-blanc);
    border: 1px solid #eee;
    border-radius: 12px;
}

.ot-magazine-meta-item {
    display: flex;
    flex-direction: column;
}

.ot-meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ot-gris);
    margin-bottom: 5px;
}

.ot-meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--ot-noir);
}

/* Status badges */
.ot-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.ot-status-available {
    background: #d4edda;
    color: #155724;
}

.ot-status-preorder {
    background: #fff3cd;
    color: #856404;
}

.ot-status-sold {
    background: #f8d7da;
    color: #721c24;
}

/* Bloc achat */
.ot-magazine-purchase {
    background: linear-gradient(135deg, var(--ot-rouge) 0%, var(--ot-rouge-dark) 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.ot-magazine-price-large {
    font-family: var(--ot-font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--ot-blanc);
    margin-bottom: 20px;
}

.ot-magazine-price-large span {
    font-size: 24px;
}

.ot-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.ot-magazine-purchase .ot-btn-primary {
    background: var(--ot-blanc);
    color: var(--ot-rouge);
    font-size: 18px;
}

.ot-magazine-purchase .ot-btn-primary:hover {
    background: var(--ot-jaune);
    color: var(--ot-noir);
}

.ot-magazine-sold-out {
    color: var(--ot-blanc);
}

.ot-magazine-sold-out p {
    margin-bottom: 15px;
    font-size: 18px;
}

.ot-magazine-sold-out .ot-btn-outline {
    border-color: var(--ot-blanc);
    color: var(--ot-blanc);
}

/* Description et sommaire */
.ot-magazine-description,
.ot-magazine-sommaire {
    margin-bottom: 40px;
}

.ot-magazine-description h2,
.ot-magazine-sommaire h2 {
    font-family: var(--ot-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--ot-noir);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ot-rouge);
}

.ot-sommaire-content {
    background: var(--ot-gris-pale);
    padding: 25px;
    border-radius: 8px;
}

.ot-sommaire-content p {
    margin: 0 0 10px 0;
    padding-left: 20px;
    position: relative;
}

.ot-sommaire-content p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ot-rouge);
    font-weight: bold;
}

/* Autres numéros */
.ot-autres-numeros {
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.ot-autres-numeros .ot-section-title {
    text-align: left;
    margin-bottom: 30px;
}

/* CTA bas de page */
.ot-magazine-cta {
    margin-top: 60px;
}

.ot-magazine-cta .ot-cta-box {
    background: linear-gradient(135deg, var(--ot-noir) 0%, #1a1a1a 100%);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
}

.ot-magazine-cta .ot-cta-title {
    color: var(--ot-blanc);
}

.ot-magazine-cta .ot-cta-text {
    color: rgba(255,255,255,0.8);
}

/* Responsive Single Magazine */
@media (max-width: 992px) {
    .ot-magazine-single-grid {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
    
    .ot-magazine-single-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .ot-magazine-single-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ot-magazine-single-cover {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .ot-magazine-single-title {
        font-size: 26px;
        text-align: center;
    }
    
    .ot-magazine-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .ot-magazine-price-large {
        font-size: 36px;
    }
    
    .ot-magazine-cta .ot-cta-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .ot-magazine-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ARCHIVE MAGAZINE - LISTE DES NUMÉROS
   ============================================ */
.ot-archive-magazine {
    padding: 60px 0 80px;
}

.ot-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.ot-archive-title {
    font-family: var(--ot-font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--ot-noir);
    margin-bottom: 15px;
}

.ot-archive-description {
    font-size: 18px;
    color: var(--ot-gris);
    max-width: 700px;
    margin: 0 auto;
}

.ot-magazines-grid-large {
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 50px;
}

.ot-magazine-date {
    font-size: 13px;
    color: var(--ot-gris);
    margin-bottom: 8px;
}

.ot-magazine-sold-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.8);
    color: var(--ot-blanc);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Pagination */
.ot-pagination {
    text-align: center;
    margin: 40px 0;
}

.ot-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ot-pagination a,
.ot-pagination span {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.ot-pagination a {
    background: var(--ot-gris-pale);
    color: var(--ot-noir);
}

.ot-pagination a:hover {
    background: var(--ot-rouge);
    color: var(--ot-blanc);
}

.ot-pagination .current {
    background: var(--ot-rouge);
    color: var(--ot-blanc);
}

/* CTA Archive */
.ot-archive-cta {
    margin-top: 60px;
}

.ot-archive-cta .ot-cta-box {
    background: linear-gradient(135deg, var(--ot-rouge) 0%, var(--ot-rouge-dark) 100%);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
}

@media (max-width: 1024px) {
    .ot-magazines-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ot-archive-title {
        font-size: 32px;
    }
    
    .ot-magazines-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .ot-magazines-grid-large {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   ANNUAIRE - PROFESSIONNELS
   ============================================ */

/* Archive Annuaire */
.ot-archive-annuaire {
    padding: 60px 0 80px;
}

/* Filtres */
.ot-annuaire-filters {
    background: var(--ot-blanc);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.ot-filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.ot-filter-search {
    flex: 2;
    min-width: 250px;
}

.ot-filter-search input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--ot-gris-light);
    border-radius: 8px;
    font-size: 16px;
}

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

.ot-filter-select {
    flex: 1;
    min-width: 180px;
}

.ot-filter-select select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--ot-gris-light);
    border-radius: 8px;
    font-size: 15px;
    background: var(--ot-blanc);
    cursor: pointer;
}

.ot-active-filters {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ot-filter-tag {
    background: var(--ot-gris-pale);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.ot-clear-filters {
    color: var(--ot-rouge);
    font-size: 14px;
    text-decoration: none;
}

.ot-results-count {
    color: var(--ot-gris);
    margin-bottom: 20px;
}

/* Grille Pro */
.ot-pro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ot-pro-grid-large {
    margin-bottom: 50px;
}

/* Carte Pro */
.ot-pro-card {
    background: var(--ot-blanc);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.ot-pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.ot-pro-card-featured {
    border: 2px solid var(--ot-jaune);
}

.ot-pro-featured-badge-sm {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--ot-jaune);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ot-pro-card-title {
    font-family: var(--ot-font-heading);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.ot-pro-card-title a {
    color: var(--ot-noir);
    text-decoration: none;
}

.ot-pro-card-title a:hover {
    color: var(--ot-rouge);
}

.ot-pro-card-contact {
    font-size: 14px;
    color: var(--ot-gris);
    margin: 0 0 8px 0;
}

.ot-pro-card-position {
    color: var(--ot-gris-light);
}

.ot-pro-card-location {
    font-size: 14px;
    color: var(--ot-gris);
    margin: 0 0 12px 0;
}

.ot-pro-card-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.ot-pro-card-cat {
    background: var(--ot-gris-pale);
    color: var(--ot-gris);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Single Pro */
.ot-single-pro {
    padding: 40px 0 80px;
}

.ot-pro-single-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin-bottom: 60px;
}

.ot-pro-header {
    margin-bottom: 40px;
}

.ot-pro-featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ot-jaune) 0%, #ffc107 100%);
    color: var(--ot-noir);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.ot-pro-company-name {
    font-family: var(--ot-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--ot-noir);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.ot-pro-contact-name {
    font-size: 18px;
    color: var(--ot-gris);
    margin: 0 0 20px 0;
}

.ot-pro-position {
    color: var(--ot-gris-light);
}

.ot-pro-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ot-pro-category-badge {
    background: var(--ot-rouge);
    color: var(--ot-blanc);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
}

.ot-pro-category-badge:hover {
    background: var(--ot-rouge-dark);
    color: var(--ot-blanc);
}

/* Sections */
.ot-pro-section {
    margin-bottom: 40px;
}

.ot-pro-section h2 {
    font-family: var(--ot-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--ot-noir);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ot-rouge);
}

.ot-pro-marques {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ot-pro-marque-tag {
    background: var(--ot-vert);
    color: var(--ot-blanc);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
}

/* Sidebar Contact */
.ot-pro-single-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.ot-pro-contact-card {
    background: var(--ot-blanc);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.ot-pro-contact-card h3 {
    font-family: var(--ot-font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: var(--ot-noir);
}

.ot-pro-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.ot-pro-contact-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.ot-pro-contact-item a {
    color: var(--ot-noir);
    text-decoration: none;
    word-break: break-word;
}

.ot-pro-contact-item a:hover {
    color: var(--ot-rouge);
}

/* Premium Lock */
.ot-pro-premium-lock {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.ot-pro-lock-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.ot-pro-premium-lock p {
    font-size: 14px;
    color: var(--ot-gris);
    margin-bottom: 15px;
}

.ot-pro-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Similaires */
.ot-pro-similaires {
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.ot-pro-similaires .ot-section-title {
    text-align: left;
    margin-bottom: 30px;
}

/* CTA Annuaire */
.ot-annuaire-cta {
    margin-top: 60px;
}

.ot-annuaire-cta .ot-cta-box {
    background: linear-gradient(135deg, var(--ot-vert) 0%, #3d6a1d 100%);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
}

.ot-annuaire-cta .ot-cta-title {
    color: var(--ot-blanc);
}

.ot-annuaire-cta .ot-cta-text {
    color: rgba(255,255,255,0.9);
}

/* Responsive Annuaire */
@media (max-width: 1024px) {
    .ot-pro-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ot-pro-single-grid {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ot-pro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ot-pro-single-grid {
        grid-template-columns: 1fr;
    }
    
    .ot-pro-single-sidebar {
        position: static;
    }
    
    .ot-filter-row {
        flex-direction: column;
    }
    
    .ot-filter-search,
    .ot-filter-select {
        width: 100%;
    }
    
    .ot-pro-company-name {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .ot-pro-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HEADER RUSTIQUE - STYLE TRACTEUR
   ============================================ */

/* Top Bar */
.ot-top-bar {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-bottom: 3px solid var(--ot-jaune);
    padding: 10px 0;
    font-size: 13px;
}

.ot-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ot-top-bar-left {
    display: flex;
    gap: 25px;
}

.ot-top-bar-item {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.ot-top-bar-item:hover {
    color: var(--ot-jaune);
}

.ot-top-bar-tagline {
    color: var(--ot-jaune);
    font-family: var(--ot-font-title);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

/* Header Principal */
.ot-header {
    background: var(--ot-blanc);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.ot-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 40px;
}

/* Logo */
.ot-header-logo {
    flex-shrink: 0;
}

.ot-header-logo img {
    max-height: 70px;
    width: auto;
}

.ot-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.ot-logo-main {
    font-family: var(--ot-font-title);
    font-size: 28px;
    font-weight: 700;
    color: var(--ot-rouge);
    text-transform: uppercase;
}

.ot-logo-sub {
    font-family: var(--ot-font-title);
    font-size: 20px;
    font-weight: 600;
    color: var(--ot-noir);
    text-transform: uppercase;
}

/* Navigation Desktop */
.ot-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ot-main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.ot-main-menu > li {
    position: relative;
}

.ot-main-menu > li > a {
    display: block;
    padding: 12px 18px;
    font-family: var(--ot-font-title);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ot-noir);
    position: relative;
    transition: all 0.3s;
}

.ot-main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--ot-rouge);
    transition: width 0.3s;
}

.ot-main-menu > li > a:hover,
.ot-main-menu > li.current-menu-item > a {
    color: var(--ot-rouge);
}

.ot-main-menu > li > a:hover::after,
.ot-main-menu > li.current-menu-item > a::after {
    width: 100%;
}

/* Sous-menu */
.ot-main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ot-blanc);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-top: 3px solid var(--ot-rouge);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.ot-main-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ot-main-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--ot-noir);
    font-size: 14px;
    transition: all 0.2s;
}

.ot-main-menu .sub-menu a:hover {
    background: var(--ot-gris-pale);
    color: var(--ot-rouge);
    padding-left: 25px;
}

/* Bouton Header */
.ot-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ot-btn-header {
    background: linear-gradient(135deg, var(--ot-rouge) 0%, var(--ot-rouge-dark) 100%);
    color: var(--ot-blanc) !important;
    padding: 12px 24px;
    font-family: var(--ot-font-title);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
    transition: all 0.3s;
}

.ot-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
    color: var(--ot-blanc) !important;
}

/* Bande décorative rustique */
.ot-header-stripe {
    height: 8px;
    background: linear-gradient(90deg, 
        var(--ot-rouge) 0%, 
        var(--ot-rouge) 33%, 
        var(--ot-jaune) 33%, 
        var(--ot-jaune) 66%, 
        var(--ot-vert) 66%, 
        var(--ot-vert) 100%
    );
}

.ot-stripe-pattern {
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.1) 20px,
        rgba(255,255,255,0.1) 40px
    );
}

/* Menu Burger Mobile */
.ot-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ot-burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--ot-noir);
    border-radius: 2px;
    transition: all 0.3s;
}

.ot-menu-toggle.active .ot-burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ot-menu-toggle.active .ot-burger-line:nth-child(2) {
    opacity: 0;
}

.ot-menu-toggle.active .ot-burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu Mobile */
.ot-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--ot-blanc);
    z-index: 9999;
    padding: 80px 20px 40px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.ot-mobile-menu.active {
    transform: translateX(0);
}

.ot-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.ot-mobile-nav li {
    border-bottom: 1px solid var(--ot-gris-pale);
}

.ot-mobile-nav a {
    display: block;
    padding: 18px 0;
    font-family: var(--ot-font-title);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ot-noir);
}

.ot-mobile-nav a:hover {
    color: var(--ot-rouge);
}

/* ============================================
   FOOTER - 2 ZONES ÉGALES
   ============================================ */
.ot-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: var(--ot-blanc);
}

.ot-footer-widgets {
    padding: 60px 0;
}

.ot-footer-widgets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.ot-footer-widget-area {
    padding: 0 20px;
}

/* Contenu par défaut Footer */
.ot-footer-brand {
    margin-bottom: 25px;
}

.ot-footer-brand img {
    max-height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.ot-footer-logo-text {
    font-family: var(--ot-font-title);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ot-blanc);
    margin-bottom: 15px;
}

.ot-footer-brand p,
.ot-footer-widget-area p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 15px;
}

/* Titres widgets footer */
.ot-footer-title,
.ot-footer-widget-area .widget-title,
.ot-footer-widget-area h4 {
    font-family: var(--ot-font-title);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ot-jaune);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

/* Liens footer */
.ot-footer-menu,
.ot-footer-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ot-footer-menu li,
.ot-footer-widget-area ul li {
    margin-bottom: 12px;
}

.ot-footer-menu a,
.ot-footer-widget-area a {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.ot-footer-menu a:hover,
.ot-footer-widget-area a:hover {
    color: var(--ot-blanc);
    transform: translateX(5px);
}

/* Contact footer */
.ot-footer-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ot-footer-contact p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Réseaux sociaux footer */
.ot-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.ot-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.ot-social-link:hover {
    background: var(--ot-rouge);
    transform: translateY(-3px);
}

.ot-social-facebook::before { content: 'f'; font-weight: bold; color: #fff; }
.ot-social-instagram::before { content: '📷'; }
.ot-social-youtube::before { content: '▶'; color: #fff; }
.ot-social-linkedin::before { content: 'in'; font-weight: bold; color: #fff; font-size: 12px; }

/* Barre Copyright */
.ot-footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ot-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ot-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.ot-footer-credits a {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.ot-footer-credits a:hover {
    color: var(--ot-jaune);
}

/* Bande décorative footer */
.ot-footer-stripe {
    height: 6px;
    background: linear-gradient(90deg, 
        var(--ot-rouge) 0%, 
        var(--ot-rouge) 33%, 
        var(--ot-jaune) 33%, 
        var(--ot-jaune) 66%, 
        var(--ot-vert) 66%, 
        var(--ot-vert) 100%
    );
}

/* ============================================
   STYLES WIDGETS FOOTER COMPATIBLES
   ============================================ */
.ot-footer-widget-area .widget {
    margin-bottom: 30px;
}

.ot-footer-widget-area .widget:last-child {
    margin-bottom: 0;
}

/* Widget texte */
.ot-footer-widget-area .textwidget p {
    margin-bottom: 15px;
}

/* Widget menu personnalisé */
.ot-footer-widget-area .widget_nav_menu ul {
    list-style: none;
    padding: 0;
}

/* Widget liens récents */
.ot-footer-widget-area .widget_recent_entries ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   RESPONSIVE DESKTOP - AMÉLIORATION
   ============================================ */

/* Desktop Large (1400px+) */
@media (min-width: 1400px) {
    .ast-container {
        max-width: 1320px;
    }
    
    .ot-header-inner {
        gap: 60px;
    }
    
    .ot-main-menu > li > a {
        padding: 14px 22px;
        font-size: 16px;
    }
    
    .ot-hero-title {
        font-size: 60px;
    }
    
    .ot-section-title {
        font-size: 42px;
    }
    
    .ot-machines-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .ot-pro-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Desktop Standard (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .ast-container {
        max-width: 1140px;
    }
    
    .ot-machines-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .ot-pro-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop Small (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .ast-container {
        max-width: 960px;
    }
    
    .ot-header-inner {
        gap: 30px;
    }
    
    .ot-main-menu > li > a {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .ot-machines-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ot-pro-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ot-footer-widgets-grid {
        gap: 40px;
    }
}

/* ============================================
   RESPONSIVE TABLETTE & MOBILE
   ============================================ */

/* Tablette (768px - 991px) */
@media (max-width: 991px) {
    .ot-header-nav {
        display: none;
    }
    
    .ot-menu-toggle {
        display: flex;
    }
    
    .ot-mobile-menu {
        display: block;
    }
    
    .ot-top-bar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .ot-top-bar-left {
        justify-content: center;
    }
    
    .ot-machines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ot-pro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ot-footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ot-footer-widget-area {
        padding: 0;
        text-align: center;
    }
    
    .ot-footer-social {
        justify-content: center;
    }
    
    .ot-footer-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .ot-footer-menu li {
        margin-bottom: 0;
    }
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
    .ot-top-bar {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .ot-top-bar-tagline {
        display: none;
    }
    
    .ot-header-inner {
        padding: 12px 0;
    }
    
    .ot-header-logo img {
        max-height: 50px;
    }
    
    .ot-logo-main {
        font-size: 22px;
    }
    
    .ot-logo-sub {
        font-size: 16px;
    }
    
    .ot-btn-header {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .ot-hero-title {
        font-size: 32px;
    }
    
    .ot-section-title {
        font-size: 28px;
    }
    
    .ot-machines-grid,
    .ot-pro-grid {
        grid-template-columns: 1fr;
    }
    
    .ot-footer-widgets {
        padding: 40px 0;
    }
    
    .ot-footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile petit (max 480px) */
@media (max-width: 480px) {
    .ot-top-bar-left {
        flex-direction: column;
        gap: 5px;
    }
    
    .ot-hero-buttons {
        flex-direction: column;
    }
    
    .ot-hero-buttons .ot-btn {
        width: 100%;
    }
}

