/*
Theme Name: M2 Agency
Theme URI: https://m2strategie.com
Author: M2 Stratégie
Author URI: https://m2strategie.com
Description: Un thème WordPress sur mesure pour l'agence M2, spécialisée en postal et numérique.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: m2-agency
Tags: custom-background, custom-logo, custom-menu, featured-images, one-column
*/

/* NOTE: Ce thème utilise Tailwind CSS. 
   Les classes utilitaires doivent être générées via un build process (npm run build).
   Ci-dessous, les styles globaux et critiques.
*/

:root {
    --color-primary: #02463A;   /* Vert Sapin */
    --color-secondary: #A6E068; /* Vert Pomme */
    --color-bg: #FCF9F7;        /* Sable/Beige */
    --font-main: 'Work Sans', sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-primary);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Background Unifié (Grain + Gradient) */
body::before {
    content: "";
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        radial-gradient(at 0% 0%, rgba(166, 224, 104, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(2, 70, 58, 0.04) 0px, transparent 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

/* Animations de base */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Utilitaires Typo */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    transition: color 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--color-secondary);
}