/* ================================================================
   TUUMA – STYLES GLOBAUX
   Variables, reset, typographie, boutons, navbar, footer
   ================================================================ */

:root {
    /* Palette de couleurs inspirée du logo Tuuma */
    --color-primary: #00A8B5;         /* Cyan / Turquoise principal */
    --color-primary-dark: #00828C;    /* Cyan foncé pour les états hover */
    --color-primary-light: #E6F7F8;   /* Fond très clair teinté de cyan */
    
    --color-accent: #FA4E55;          /* Corail / Rouge orangé dynamique */
    --color-accent-dark: #D93B42;     /* Corail foncé pour les états hover */
    
    --color-text: #2C2C2C;            /* Gris foncé / Noir anthracite (texte principal) */
    --color-text-secondary: #5F6B7A;  /* Gris neutre (texte secondaire) */
    --color-text-muted: #8A94A3;      /* Gris clair (texte indicatif / discret) */
    
    --color-bg: #F8F9FA;              /* Fond général de la page doux */
    --color-surface: #FFFFFF;         /* Blanc pur pour les cartes et conteneurs */
    
    --color-border: #E2E8F0;          /* Bordures standards */
    --color-border-light: #EDF2F7;    /* Bordures subtiles */

    /* Typographie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Espacements & Formes */
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Ombres professionnelles adaptées à la charte */
    --shadow-sm: 0 2px 8px rgba(0, 168, 181, 0.04);
    --shadow: 0 8px 30px rgba(0, 168, 181, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 168, 181, 0.14);
    
    --container-width: 1200px;
    --spacing: 1.5rem;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* ----- TYPOGRAPHIE ----- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.4rem; }

.highlight {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-text-secondary);
}

.text-center {
    text-align: center;
}

/* ----- BOUTONS ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.btn-lg {
    padding: 0.9rem 2.8rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
}

/* ----- NAVBAR ----- */
.navbar {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.navbar-nav a {
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
    position: relative;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--color-primary);
}

.navbar-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* ----- FOOTER ----- */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ----- RESPONSIVE (éléments globaux) ----- */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    .navbar-actions .btn-outline {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}