/*
 Theme Name:   GeneratePress Child - Rodolphe Girard
 Theme URI:    https://rodolphegirard.fr
 Description:  Thème enfant de GeneratePress, sans Elementor, pour le site de Rodolphe Girard (psychothérapie à Versailles et en visio).
 Author:       Rodolphe Girard
 Template:     generatepress
 Version:      1.0.0
*/

/* ==========================================================================
   1. VARIABLES — modifiez les couleurs/polices ici, tout le site suit
   ========================================================================== */
:root {
  --color-primary: #4A6B5C;       /* vert sauge - accents, boutons */
  --color-primary-dark: #35493F;  /* vert sauge foncé - titres, hover */
  --color-bg: #FAF7F2;            /* fond principal, crème clair */
  --color-bg-alt: #F1ECE3;        /* fond alterné des sections */
  --color-text: #2E2A26;          /* texte principal */
  --color-text-light: #6B645C;    /* texte secondaire, sous-titres */
  --color-white: #FFFFFF;

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius: 8px;
  --max-width: 1100px;
  --max-width-narrow: 720px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.25;
  font-weight: 600;
  margin-top: 0;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.2em; }

a { color: var(--color-primary-dark); }
a:hover { color: var(--color-primary); }

.rg-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   3. BOUTONS
   ========================================================================== */
.rg-btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--radius);
  text-decoration: none !important;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background .2s ease, transform .15s ease;
}
.rg-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   4. HERO (page d'accueil et pages internes)
   ========================================================================== */
.rg-hero {
  padding: 110px 0 90px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
.rg-hero h1 { margin-bottom: 20px; }
.rg-hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 36px;
}

.rg-hero-sm {
  padding: 70px 0 20px;
  text-align: left;
  background: transparent;
}
.rg-hero-sm h1 { font-size: 2.1rem; }

/* ==========================================================================
   5. SECTIONS
   ========================================================================== */
.rg-section {
  padding: 70px 0;
}
.rg-bg-alt { background: var(--color-bg-alt); }

.rg-content-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 70px 24px;
}
.rg-content-narrow p { font-size: 1.05rem; }

.rg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.rg-grid-2 > div {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius);
}

/* ==========================================================================
   6. CTA (bandeau d'appel à l'action)
   ========================================================================== */
.rg-cta {
  text-align: center;
  background: var(--color-primary-dark);
  color: var(--color-white);
}
.rg-cta h2 { color: var(--color-white); }
.rg-cta .rg-btn {
  background: var(--color-white);
  color: var(--color-primary-dark) !important;
}
.rg-cta .rg-btn:hover { background: var(--color-bg-alt); }

/* ==========================================================================
   7. CALENDLY / PRISE DE RDV
   ========================================================================== */
.rg-calendly {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .rg-hero h1 { font-size: 2rem; }
  .rg-grid-2 { grid-template-columns: 1fr; }
  .rg-section { padding: 48px 0; }
}
