/* ============================================
   RESET & VARIABLES — Direction "Chaleureux & humain"
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Fonds */
    --cream: #FAF7F2;
    --cream-deep: #F4ECE1;
    --card: #FFFFFF;
    --card-warm: #FFFDFB;

    /* Texte */
    --ink: #201B2E;
    --ink-soft: #5C5566;
    --ink-mute: #8A8290;

    /* Accents */
    --terracotta: #E07A5F;
    --terracotta-dark: #C75D43;
    --terracotta-soft: #F8E7E0;
    --amber: #F0A860;
    --amber-soft: #FBEEDC;

    /* Sémantique */
    --sage: #3F9C7C;
    --sage-bg: #E7F3ED;
    --danger: #D9534F;
    --danger-bg: #FBEBEA;

    /* Bordures & ombres (chaudes) */
    --border: #ECE2D5;
    --border-strong: #E0D3C2;
    --shadow-sm: 0 1px 2px rgba(70, 45, 25, 0.05);
    --shadow: 0 8px 24px -8px rgba(85, 55, 30, 0.14);
    --shadow-lg: 0 26px 54px -16px rgba(85, 55, 30, 0.22);

    /* Rayons */
    --radius: 22px;
    --radius-sm: 14px;
    --radius-pill: 999px;

    /* Dégradé accent */
    --gradient: linear-gradient(135deg, #E07A5F 0%, #F0A860 100%);
}

/* Le défilement smooth est piloté en JS (durée fixe) — voir navigation.js */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Halos chauds animés en fond (remplace les blobs bleus) */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 0;
}
body::before {
    width: 620px; height: 620px;
    background: rgba(224, 122, 95, 0.14);
    top: -180px; left: -160px;
    animation: blob-move-1 24s ease-in-out infinite;
}
body::after {
    width: 520px; height: 520px;
    background: rgba(240, 168, 96, 0.13);
    bottom: 6%; right: -120px;
    animation: blob-move-2 30s ease-in-out infinite;
}

@keyframes blob-move-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(70px, 60px) scale(1.06); }
    66%      { transform: translate(20px, 120px) scale(0.95); }
}
@keyframes blob-move-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-60px, -70px) scale(1.08); }
    66%      { transform: translate(-110px, 40px) scale(0.95); }
}

@keyframes heroFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Typographie titres : serif optique chaleureux */
h1, h2, h3, .section-title {
    font-family: 'Fraunces', 'Times New Roman', serif;
    font-optical-sizing: auto;
    letter-spacing: -0.01em;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }

main { position: relative; z-index: 2; }

a { color: inherit; }

/* Accessibilité + perf : neutralise animations/transitions (halos en boucle,
   fondus) pour les utilisateurs qui préfèrent moins de mouvement. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
