/*
 Theme Name:   9 mois de douceur
 Theme URI:    https://9moisdedouceur.fr
 Description:  Thème enfant pour 9moisdedouceur.fr - Accompagnement bienveillant de la conception au postnatal
 Author:       Charlotte
 Author URI:   https://9moisdedouceur.fr
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  9moisdedouceur-child
*/

/* ==========================================================================
   CHARTE GRAPHIQUE 9 MOIS DE DOUCEUR
   ========================================================================== */

:root {
    /* Couleurs principales */
    --color-primary: #D5E8F0;        /* Bleu clair apaisant */
    --color-secondary: #F5E6E0;      /* Rose poudré */
    --color-accent: #E8F0E0;         /* Vert doux */
    --color-accent-coral: #F0D5D5;   /* Corail doux */
    --color-text: #333333;           /* Gris anthracite */
    --color-text-light: #666666;     /* Gris clair */
    --color-white: #FFFFFF;
    --color-background: #FAFAFA;

    /* Typographie */
    --font-heading: 'Quicksand', 'Poppins', sans-serif;
    --font-body: 'Open Sans', 'Lato', Arial, sans-serif;
}

/* ==========================================================================
   TYPOGRAPHIE
   ========================================================================== */

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-background);
}

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

/* ==========================================================================
   LIENS ET BOUTONS
   ========================================================================== */

a {
    color: #5A9BB5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3D7A94;
}

/* Bouton principal */
.btn-primary,
.wp-block-button__link,
button[type="submit"] {
    background-color: #5A9BB5;
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover {
    background-color: #3D7A94;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 155, 181, 0.3);
}

/* Bouton secondaire */
.btn-secondary {
    background-color: transparent;
    color: #5A9BB5;
    border: 2px solid #5A9BB5;
    padding: 10px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5A9BB5;
    color: var(--color-white);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-navigation a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text);
    padding: 10px 15px;
}

.main-navigation a:hover {
    color: #5A9BB5;
}

/* ==========================================================================
   SECTIONS DE PAGE
   ========================================================================== */

/* Section Hero */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section .subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Section Services */
.services-section {
    padding: 60px 20px;
    background-color: var(--color-white);
}

.service-card {
    background-color: var(--color-background);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #5A9BB5;
    margin-bottom: 15px;
}

/* Section Témoignages */
.testimonials-section {
    background-color: var(--color-secondary);
    padding: 60px 20px;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--color-text-light);
    border-left: 3px solid #5A9BB5;
    padding-left: 20px;
}

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #5A9BB5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(90, 155, 181, 0.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 40px 20px;
}

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

.site-footer a:hover {
    color: var(--color-white);
}

/* ==========================================================================
   CLASSES UTILITAIRES
   ========================================================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 50px 15px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
