/* --------------------------------------------------
   Base (variables, reset, styles généraux)
   --------------------------------------------------
   Déclare les variables CSS, le reset, la typo et les styles de base du body.
*/

/* ===============================
   Château Solon - Styles Desktop (min-width: 1025px)
   Version corrigée - Compatible avec mobile
   =============================== */

/* ===============================
   Variables globales et reset CSS
   Personnalisez ici les couleurs, polices et styles de base
=============================== */
:root {
    --primary: #8B4513; /* Brun terreux pour le vin */
    --secondary: #2F4F4F; /* Gris ardoise */
    --accent: #D4AF37; /* Or pour les accents */
    --light: #F5F5F5;
    --dark: #2E2E2E;
    --white: #FFFFFF;
    --font-title: 'Playfair Display', serif;
    --font-text: 'Open Sans', sans-serif;
}

/* ===============================
   Remise à zéro des marges et paddings par défaut
=============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   Style général du body
=============================== */
body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

/* ===============================
   Titres (H1 à H6)
=============================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

/* ===============================
   Paragraphes
=============================== */
p {
    margin-bottom: 1rem;
}

/* ===============================
   Liens hypertextes
=============================== */
a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

/* ===============================
   Conteneur principal
   Permet de centrer et limiter la largeur du contenu
=============================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===============================
   Boutons principaux
=============================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Effet parallax sur les boutons */
.btn, .btn-secondary, button {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    will-change: transform;
}
