/*
Theme Name: Zanelli V2
Theme URI: https://zanelli-boulangerie.fr
Author: Zanelli
Author URI: https://zanelli-boulangerie.fr
Description: Theme premium sur-mesure pour la boulangerie-patisserie Zanelli. Design elegant orange/dore/noir inspire du logo circulaire. Produits frais et artisanaux.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zanelli-v2
Tags: bakery, food, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS VARIABLES
============================================ */
:root {
    /* Logo-inspired palette */
    --orange-deep: #E8890C;
    --orange-primary: #F0960E;
    --orange-light: #F5A623;
    --orange-glow: #F7B731;
    --gold: #D4A017;
    --gold-light: #E6C35C;
    --amber: #FFBF00;
    --cream: #FFF9F0;
    --cream-warm: #FFF3E0;
    --cream-dark: #F5E6D0;

    /* Neutrals - from logo's black script */
    --noir: #1A1A1A;
    --charcoal: #2C2C2C;
    --graphite: #4A4A4A;
    --gris: #7A7A7A;
    --gris-light: #B0B0B0;
    --blanc: #FFFFFF;

    /* Accent */
    --brun: #5C3D2E;
    --brun-light: #8B6F5E;
    --vert-frais: #6B8E23;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
    --font-accent: 'Dancing Script', cursive;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 4px 20px rgba(240, 150, 14, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--blanc);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--noir);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--graphite);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: var(--blanc);
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-deep), var(--orange-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(240, 150, 14, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--blanc);
    border-color: var(--blanc);
}

.btn-outline:hover {
    background: var(--blanc);
    color: var(--orange-primary);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--noir);
    color: var(--blanc);
    border-color: var(--noir);
}

.btn-dark:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--orange-primary);
    border-color: var(--orange-primary);
}

.btn-secondary:hover {
    background: var(--orange-primary);
    color: var(--blanc);
    transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.site-logo img {
    height: 55px;
    width: auto;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.site-header.scrolled .site-logo img {
    height: 45px;
}

.site-logo .logo-text {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--blanc);
    transition: var(--transition);
}

.site-header.scrolled .site-logo .logo-text {
    color: var(--orange-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blanc);
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}

.site-header.scrolled .nav-menu li a {
    color: var(--charcoal);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--orange-primary);
}

.site-header.scrolled .nav-menu li a:hover,
.site-header.scrolled .nav-menu li.current-menu-item a,
.site-header.scrolled .nav-menu li.current_page_item a {
    background: var(--cream-warm);
    color: var(--orange-primary);
}

/* Burger menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    background: none;
    border: none;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--blanc);
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.scrolled .burger-menu span {
    background: var(--noir);
}

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

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

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

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #3E3E3E 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.5) 0%,
        rgba(26, 26, 26, 0.3) 40%,
        rgba(232, 137, 12, 0.2) 100%
    );
    z-index: 2;
}

/* Decorative circles inspired by logo */
.hero-circle {
    position: absolute;
    border-radius: var(--radius-full);
    z-index: 2;
    pointer-events: none;
}

.hero-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 150, 14, 0.15) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.hero-circle-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 191, 0, 0.08) 0%, transparent 70%);
    top: 30%;
    left: 15%;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 40px rgba(240, 150, 14, 0.3);
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-accent {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 3vw, 1.6rem);
    color: var(--orange-glow);
    margin-bottom: 26px;
    display: block;
}

.hero h1 {
    color: var(--blanc);
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
	font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

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

/* ============================================
   SECTION STYLING
============================================ */
.section {
    padding: var(--section-padding);
}

.section-light {
    background: var(--blanc);
}

.section-cream {
    background: var(--cream);
}

.section-warm {
    background: var(--cream-warm);
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--blanc);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.75);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    font-family: var(--font-accent);
    font-size: 4rem;
    color: var(--orange-primary);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--orange-primary), var(--orange-light));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ============================================
   SPECIALTIES / PRODUCTS GRID
============================================ */
.specialites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.specialite-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--blanc);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.specialite-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.specialite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialite-card:hover .specialite-card-image img {
    transform: scale(1.08);
}

.specialite-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.specialite-card-body {
    padding: 24px;
}

.specialite-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.specialite-card p {
    font-size: 0.9rem;
    color: var(--gris);
    line-height: 1.6;
}

.specialite-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.3;
    box-shadow: var(--shadow-orange);
    z-index: 2;
}

.about-content .section-label {
    text-align: left;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--cream-warm);
    transform: translateX(4px);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-size: 1rem;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* ============================================
   KEY NUMBERS
============================================ */
.chiffres-section {
    background: linear-gradient(135deg, var(--noir) 0%, #2a2a2a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.chiffres-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(240, 150, 14, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.chiffre-item {
    position: relative;
}

.chiffre-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--orange-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.chiffre-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chiffre-divider {
    width: 40px;
    height: 2px;
    background: var(--orange-primary);
    margin: 12px auto;
    opacity: 0.5;
}

/* ============================================
   FRESH PRODUCTS BANNER
============================================ */
.fresh-banner {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-glow) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fresh-banner::before,
.fresh-banner::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.fresh-banner::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.fresh-banner::after {
    width: 200px;
    height: 200px;
    bottom: -80px;
    right: -60px;
}

.fresh-banner h2 {
    color: var(--blanc);
    margin-bottom: 16px;
}

.fresh-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ============================================
   PAGE BANNER (Internal pages)
============================================ */
.page-banner {
    position: relative;
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--noir) 0%, #2a2a2a 50%, #3E3E3E 100%);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(240, 150, 14, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-banner h1 {
    color: var(--blanc);
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
}

.page-banner .banner-subtitle {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--orange-glow);
    position: relative;
    z-index: 2;
}

/* ============================================
   PRODUCTS PAGE
============================================ */
.produits-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid var(--cream-dark);
    border-radius: 50px;
    background: var(--blanc);
    color: var(--graphite);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.filter-btn.active {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
    color: var(--blanc);
    box-shadow: var(--shadow-orange);
}

.produits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.produit-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--blanc);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.produit-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.produit-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--orange-primary);
    color: var(--blanc);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
}

.produit-card-body {
    padding: 24px;
}

.produit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.produit-card p {
    font-size: 0.9rem;
    color: var(--gris);
    margin-bottom: 16px;
}

.produit-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--cream-dark);
}

.produit-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--orange-primary);
}

.produit-tag {
    font-size: 0.8rem;
    color: var(--vert-frais);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   ENGAGEMENTS PAGE
============================================ */
.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.engagement-card {
    padding: 40px 32px;
    background: var(--blanc);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--orange-primary), var(--orange-glow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.engagement-card:hover::before {
    transform: scaleX(1);
}

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

.engagement-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: var(--radius-full);
    background: var(--cream-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.engagement-card:hover .engagement-icon {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    transform: scale(1.1);
}

.engagement-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.engagement-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--blanc);
    padding: 48px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange-primary);
    background: var(--blanc);
    box-shadow: 0 0 0 4px rgba(240, 150, 14, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gris-light);
}

/* Honeypot */
.ohnohoney {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form-message {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    display: block;
}

.form-message.error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 28px;
    background: var(--blanc);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

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

.info-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-size: 1.1rem;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--gris);
}

.info-card a {
    color: var(--orange-primary);
    font-weight: 500;
}

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

.contact-map {
    margin-top: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--noir);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--orange-primary);
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.75);
}

.footer-social a:hover svg {
    fill: var(--blanc);
}

.footer-column h4 {
    color: var(--blanc);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--orange-primary);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--orange-primary);
    padding-left: 4px;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-hours li span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.footer-hours li span:last-child {
    color: var(--orange-glow);
    font-weight: 500;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--orange-primary);
}

/* ============================================
   404 PAGE
============================================ */
.page-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    background: var(--cream);
}

.page-404 .error-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--orange-primary);
    line-height: 1;
    opacity: 0.15;
}

.page-404 h1 {
    font-size: 2rem;
    margin-top: -30px;
    margin-bottom: 16px;
}

.page-404 p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .fade-in:nth-child(7) { transition-delay: 0.6s; }

/* ============================================
   WORDPRESS CORE
============================================ */
.alignleft {
    float: left;
    margin: 0 24px 24px 0;
}

.alignright {
    float: right;
    margin: 0 0 24px 24px;
}

.aligncenter {
    display: block;
    margin: 24px auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--gris);
    padding: 8px 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   LOADING SPINNER
============================================ */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    border-top-color: var(--blanc);
    animation: spin 0.6s linear infinite;
}

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

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

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

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

    .about-grid {
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--blanc);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    }

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

    .nav-menu li a {
        color: var(--charcoal);
        font-size: 1rem;
        padding: 16px 32px;
    }

    .nav-menu li a:hover {
        color: var(--orange-primary);
        background: var(--cream-warm);
    }

    .hero {
        min-height: 90vh;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        height: 350px;
    }

    .about-image-accent {
        width: 90px;
        height: 90px;
        font-size: 0.9rem;
        top: -10px;
        right: -10px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .page-banner {
        padding: 140px 0 60px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .specialites-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .specialite-card-image {
        height: 220px;
    }

    .produits-grid {
        grid-template-columns: 1fr;
    }

    .engagements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .chiffres-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .produits-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 24px 16px;
    }
}
