/*
Theme Name: SURIFAC Prévention
Theme URI: https://surifac.fr
Author: SURIFAC
Author URI: https://surifac.fr
Description: Thème WordPress pour SURIFAC - Formation à la prévention des risques professionnels. Structure identique au thème IA, palette orange principale.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: surifac-prev
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
  SURIFAC Prévention - Theme statique
  Couleur principale : orange | Couleur secondaire : bleu (boutons, accents)
*/

/* =============================================
   VARIABLES & RESET
============================================= */
:root {
  --orange: #FC7032;
  --orange-dark: #e55f22;
  --orange-light: #ff8a55;
  --orange-glow: rgba(252,112,50,0.25);
  --orange-soft: rgba(252,112,50,0.08);
  --navy: #1C1874;
  --navy-dark: #120f52;
  --navy-light: #2a2494;
  --navy-glow: rgba(28,24,116,0.25);
  --yellow: #FFDD50;
  --yellow-soft: rgba(255,221,80,0.12);
  --white: #ffffff;
  --off-white: #fdf8f4;
  --gray-100: #f5f1ed;
  --gray-200: #ebe3da;
  --gray-300: #d6cabc;
  --gray-400: #a89a8b;
  --gray-500: #6e6559;
  --gray-600: #4a4239;
  --text: #2d1a0a;
  --text-on-dark: #fcebdd;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-md: 0 8px 30px rgba(252,112,50,0.12);
  --shadow-lg: 0 16px 50px rgba(252,112,50,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 90px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   HEADER
============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(252,112,50,0.08);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(252,112,50,0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo { display: flex; align-items: center; cursor: pointer; }
.site-logo img { height: 38px; width: auto; }
.logo-text .logo-suri { font-weight: 800; font-size: 1.45rem; color: var(--navy); }
.logo-text .logo-fac { font-weight: 800; font-size: 1.45rem; color: var(--orange); }
.logo-text .logo-sub { font-size: 0.6rem; color: var(--gray-500); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; margin-top: -2px; display: block; }

.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav li { list-style: none; }
.main-nav a { font-size: 0.88rem; font-weight: 500; color: var(--gray-600); position: relative; padding: 4px 0; }
.main-nav a::after { content:''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--orange); border-radius: 2px; transition: width 0.3s ease; }
.main-nav a:hover, .main-nav .current a { color: var(--orange); }
.main-nav a:hover::after, .main-nav .current a::after { width: 100%; }

.header-cta-btn {
  padding: 10px 22px; font-size: 0.85rem; font-weight: 700;
  background: var(--navy); color: var(--white); border-radius: 50px;
  box-shadow: 0 4px 14px var(--navy-glow);
  transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 6px;
}
.header-cta-btn:hover { background: var(--navy-dark); transform: translateY(-1px); color: var(--white); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* =============================================
   BUTTONS
============================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; font-family: var(--font); font-size: 0.95rem; font-weight: 700; border-radius: 50px; border: none; cursor: pointer; transition: all 0.3s ease; text-align: center; }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 6px 24px var(--orange-glow); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(252,112,50,0.35); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 6px 24px var(--navy-glow); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-outline-navy:hover { border-color: var(--navy); color: var(--navy); }

/* =============================================
   HERO
============================================= */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #FFA078 0%, #F77B3F 100%); position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; top: -200px; right: -100px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255,221,80,0.18) 0%, transparent 70%); }
.hero::after { content: ''; position: absolute; bottom: -150px; left: -50px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(28,24,116,0.18) 0%, transparent 70%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 80px 80px; }
.hero .container { position: relative; z-index: 2; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { max-width: 560px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; font-size: 0.75rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.hero-eyebrow::before { content:''; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--white); margin-bottom: 20px; letter-spacing: -0.03em; line-height: 1.15; }
.hero h1 .highlight { color: var(--yellow); }
.hero-sub { font-size: 1.1rem; color: var(--white); margin-bottom: 36px; line-height: 1.8; opacity: 0.95; }
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-proof { display: flex; gap: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-proof-item .number { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.hero-proof-item .number span { color: var(--yellow); }
.hero-proof-item .label { font-size: 0.78rem; color: var(--white); opacity: 0.85; margin-top: 2px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card { background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-xl); padding: 40px; max-width: 420px; width: 100%; }
.hero-card-badge { display: inline-block; padding: 4px 12px; background: var(--navy); color: var(--white); font-size: 0.7rem; font-weight: 700; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.hero-card h2 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.hero-card p { color: var(--white); font-size: 0.9rem; opacity: 0.9; margin-bottom: 24px; line-height: 1.7; }
.hero-card .btn { width: 100%; justify-content: center; }

/* =============================================
   SECTIONS
============================================= */
.section { padding: 100px 0; }
.section-light { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--text-on-dark); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 14px; display: block; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 14px; color: var(--text); }
.section-desc { font-size: 1rem; color: var(--gray-500); line-height: 1.7; }

/* =============================================
   PAIN / INFO CARDS
============================================= */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px 28px; transition: all 0.35s ease; position: relative; overflow: hidden; }
.pain-card::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); opacity: 0; transition: opacity 0.3s; }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pain-card:hover::before { opacity: 1; }
.pain-icon { font-size: 1.8rem; margin-bottom: 16px; }
.pain-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.pain-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }

/* =============================================
   CONSEQUENCE BANNER
============================================= */
.consequence-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); padding: 56px 0; text-align: center; position: relative; overflow: hidden; }
.consequence-banner .container { position: relative; z-index: 2; max-width: 800px; }
.consequence-banner p { font-size: 1.15rem; color: var(--text-on-dark); line-height: 1.8; }
.consequence-banner strong { color: var(--orange); font-weight: 700; }

/* =============================================
   FORMATION CARDS (catalog)
============================================= */
.formations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.formation-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden; transition: all 0.4s ease; display: flex; flex-direction: column; }
.formation-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.formation-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.formation-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.formation-card:hover .formation-card-img img { transform: scale(1.05); }
.formation-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.formation-card .tag { display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--orange); background: var(--orange-soft); padding: 4px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; align-self: flex-start; }
.formation-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.formation-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.formation-card .card-links { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.formation-card .card-links a { font-size: 0.85rem; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.formation-card .card-links a:hover { color: var(--navy); }

/* =============================================
   FORMATION DETAIL (page formations)
============================================= */
.formation-block { padding: 70px 0; border-bottom: 1px solid var(--gray-200); }
.formation-block.alt-bg { background: var(--off-white); }
.formation-block-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.formation-block-layout.reversed { direction: rtl; }
.formation-block-layout.reversed > * { direction: ltr; }
.formation-block-content .section-eyebrow { text-align: left; }
.formation-block-content h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.02em; }
.formation-block-content > p { color: var(--gray-500); line-height: 1.8; margin-bottom: 20px; }
.formation-block-content ul { margin-bottom: 24px; list-style: none; }
.formation-block-content ul li { padding: 6px 0 6px 26px; position: relative; color: var(--gray-600); font-size: 0.92rem; }
.formation-block-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.program-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.program-links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; font-size: 0.85rem; font-weight: 600; color: var(--navy); background: var(--white); border: 1px solid var(--gray-200); border-radius: 50px; transition: all 0.3s; }
.program-links a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }
.program-links a::before { content: '📄'; font-size: 0.9rem; }
.formation-block-visual { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.formation-block-visual img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   PROCESS TIMELINE
============================================= */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-timeline::before { content:''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: var(--gray-200); }
.process-item { text-align: center; padding: 0 16px; position: relative; }
.process-num { width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 2px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 0 auto 20px; position: relative; z-index: 2; transition: all 0.3s; }
.process-item:hover .process-num { border-color: var(--orange); background: var(--orange); color: var(--white); }
.process-item h3 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.process-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* =============================================
   CTA SECTION
============================================= */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #FFA078 0%, #F77B3F 100%); position: relative; overflow: hidden; }
.cta-section::before { content:''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,221,80,0.15) 0%, transparent 70%); }
.cta-inner { text-align: center; position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-inner p { color: var(--white); opacity: 0.95; margin-bottom: 32px; font-size: 1.02rem; }
.cta-inner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HEADER
============================================= */
.page-header { padding: 140px 0 60px; background: linear-gradient(135deg, #FFA078 0%, #F77B3F 100%); text-align: center; position: relative; overflow: hidden; }
.page-header::before { content:''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 80px 80px; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 14px; position: relative; letter-spacing: -0.02em; }
.page-header p { color: var(--white); opacity: 0.95; font-size: 1.05rem; max-width: 560px; margin: 0 auto; position: relative; }

/* =============================================
   ABOUT
============================================= */
.about-hero { padding: 140px 0 60px; background: var(--off-white); }
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-photo { width: 100%; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: auto; object-fit: cover; }
.about-content .section-eyebrow { text-align: left; }
.about-content h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--navy); margin-bottom: 20px; }
.about-content p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.about-content p strong { color: var(--navy); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 36px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); transition: all 0.3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }

/* =============================================
   CONTACT
============================================= */
.contact-hero { padding: 140px 0 60px; background: var(--off-white); text-align: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info-block { background: linear-gradient(135deg, #FF9D6E 0%, var(--orange) 100%); border-radius: var(--radius-xl); padding: 40px; color: var(--white); }
.contact-info-block h2 { font-size: 1.2rem; margin-bottom: 28px; }
.c-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: start; }
.c-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.c-item h3 { font-size: 0.9rem; margin-bottom: 2px; }
.c-item p { font-size: 0.88rem; color: var(--white); opacity: 0.95; }
.c-item p a { color: var(--white); font-weight: 700; text-decoration: underline; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 0.9rem; color: var(--text); background: var(--white); transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-alt { text-align: center; margin-top: 16px; }
.form-alt span { font-size: 0.85rem; color: var(--gray-400); }
.form-alt a { font-size: 0.9rem; font-weight: 700; color: var(--orange); }

/* =============================================
   LEGAL PAGES
============================================= */
.legal-content { color: var(--gray-600); line-height: 1.8; max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; color: var(--navy); margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; color: var(--navy); margin: 28px 0 10px; }
.legal-content ul { list-style: disc; padding-left: 24px; margin: 12px 0; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--orange); }

/* =============================================
   FLOATING CTA
============================================= */
.floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 999; padding: 14px 28px; background: var(--navy); color: var(--white); border-radius: 50px; font-weight: 700; font-size: 0.88rem; box-shadow: 0 8px 32px rgba(28,24,116,0.4); transition: all 0.3s; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: var(--font); opacity: 0; pointer-events: none; }
.floating-cta.visible { opacity: 1; pointer-events: auto; }
.floating-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 40px rgba(28,24,116,0.5); color: var(--white); }

/* =============================================
   FOOTER
============================================= */
.site-footer { background: var(--navy-dark); color: var(--text-on-dark); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.88rem; opacity: 0.7; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h3 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 16px; }
.footer-col li { margin-bottom: 8px; list-style: none; }
.footer-col a { font-size: 0.87rem; color: var(--text-on-dark); opacity: 0.75; }
.footer-col a:hover { opacity: 1; color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; opacity: 0.5; }

/* =============================================
   CALENDRIER (prochaines formations)
============================================= */
.calendar-intro { padding: 70px 0 40px; text-align: center; background: var(--off-white); }
.calendar-intro p { max-width: 720px; margin: 0 auto; color: var(--gray-600); font-size: 1.02rem; }

.calendar-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 20px 0 60px; background: var(--off-white); }
.calendar-filter { padding: 8px 18px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all 0.3s; font-family: var(--font); }
.calendar-filter:hover { border-color: var(--orange); color: var(--orange); }
.calendar-filter.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.month-group { margin-bottom: 48px; }
h2.month-label, .month-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--orange-soft); line-height: 1.4; }

.session-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.session-row { display: grid; grid-template-columns: 120px 1fr 200px 160px; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px 26px; transition: all 0.3s; }
.session-row:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.session-date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--orange); color: var(--white); border-radius: var(--radius); padding: 14px 8px; min-width: 96px; }
.session-date .day { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.session-date .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; font-weight: 600; }
.session-date .year { font-size: 0.7rem; opacity: 0.8; margin-top: 2px; }
.session-date.multi { padding: 10px 8px; }
.session-date.multi .day { font-size: 1.1rem; }
.session-title h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; line-height: 1.35; }
.session-title .subtitle { font-size: 0.82rem; color: var(--gray-500); }
.session-meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: var(--gray-600); }
.session-meta .meta-line { display: flex; align-items: center; gap: 6px; }
.session-places { font-size: 0.82rem; font-weight: 600; }
.session-places.available { color: #16a34a; }
.session-places.limited { color: var(--orange); }
.session-places.full { color: #9ca3af; }
.session-cta { text-align: right; }
.session-cta .btn-small { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; font-size: 0.82rem; font-weight: 700; border-radius: 50px; background: var(--orange); color: var(--white); box-shadow: 0 4px 14px var(--orange-glow); transition: all 0.3s; }
.session-cta .btn-small:hover { background: var(--orange-dark); transform: translateY(-1px); color: var(--white); }
.session-cta .btn-small.disabled { background: var(--gray-200); color: var(--gray-500); pointer-events: none; box-shadow: none; }

.calendar-note { background: var(--yellow-soft); border-left: 3px solid var(--yellow); padding: 18px 22px; border-radius: var(--radius); margin: 40px 0; font-size: 0.9rem; color: var(--gray-600); }
.calendar-note strong { color: var(--navy); }

/* =============================================
   UTILITIES
============================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .formations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .formation-block-layout, .formation-block-layout.reversed { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { max-height: 400px; max-width: 360px; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .session-row { grid-template-columns: 96px 1fr 160px; gap: 16px; }
  .session-meta, .session-places { grid-column: 2; }
  .session-cta { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 768px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: var(--white); padding: 80px 28px 28px; transition: right 0.35s ease; z-index: 999; box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--gray-100); }
  .main-nav a { display: block; padding: 14px 0; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .section { padding: 64px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .formations-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
  .hero-proof { gap: 24px; flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .values-grid { grid-template-columns: 1fr; }
  .floating-cta .desk-text { display: none; }
  .header-cta-btn { display: none; }
  .session-row { grid-template-columns: 80px 1fr; gap: 14px; padding: 18px; }
  .session-cta { grid-column: 1 / -1; grid-row: auto; text-align: left; margin-top: 6px; }
  .session-meta { grid-column: 1 / -1; }
  .session-places { grid-column: 1 / -1; }
  .session-date .day { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
}
