/*
Theme Name: SFIB - Société Française des Iris et Plantes Bulbeuses
Theme URI: https://iris-bulbeuses.fr
Author: SFIB
Author URI: https://iris-bulbeuses.fr
Description: Thème WordPress officiel de la Société Française des Iris et plantes Bulbeuses. Design élégant avec les couleurs iris pourpre et vert jardin.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sfib
Tags: one-column, custom-colors, custom-menu, featured-images, full-width-template, theme-options

Ce thème a été créé spécialement pour la SFIB avec un système de design moderne et responsive.
*/

/* WordPress Reset & Normalization */
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #FAF8F5;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

/* WordPress Core Styles */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* =====================================================
   SFIB CUSTOM STYLES
   ===================================================== */

/*
 * SFIB - Société Française des Iris et plantes Bulbeuses
 * Styles WordPress-ready
 * Version: 1.0
 */

/* ========================================
   1. GOOGLE FONTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   2. CSS VARIABLES
   ======================================== */
:root {
  /* Couleurs principales */
  --sfib-iris-purple: #6B4C9A;
  --sfib-iris-purple-light: #8B6CBB;
  --sfib-iris-purple-dark: #4A3570;
  --sfib-garden-green: #4A7C59;
  --sfib-garden-green-light: #6B9C79;
  --sfib-golden-yellow: #D4A84B;
  --sfib-cream: #FAF8F5;
  --sfib-earth-brown: #8B7355;
  
  /* Couleurs sémantiques */
  --sfib-background: #FAF8F5;
  --sfib-foreground: #1A1A2E;
  --sfib-muted: #F0EDE8;
  --sfib-muted-foreground: #6B7280;
  --sfib-border: #E5E2DC;
  --sfib-card: #FFFFFF;
  
  /* Espacements */
  --sfib-spacing-xs: 0.5rem;
  --sfib-spacing-sm: 1rem;
  --sfib-spacing-md: 1.5rem;
  --sfib-spacing-lg: 2rem;
  --sfib-spacing-xl: 3rem;
  --sfib-spacing-2xl: 4rem;
  
  /* Bordures */
  --sfib-radius: 0.75rem;
  --sfib-radius-lg: 1rem;
  --sfib-radius-xl: 1.5rem;
}

/* ========================================
   3. BASE STYLES
   ======================================== */
.sfib-section {
  padding: 5rem 1rem;
}

.sfib-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sfib-container-narrow {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   4. TYPOGRAPHY
   ======================================== */
.sfib-font-display {
  font-family: 'Playfair Display', serif;
}

.sfib-font-sans {
  font-family: 'Inter', sans-serif;
}

.sfib-heading-1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

.sfib-heading-2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.sfib-heading-3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.sfib-text-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.sfib-text-muted {
  color: var(--sfib-muted-foreground);
}

/* ========================================
   5. LAYOUT UTILITIES
   ======================================== */
.sfib-grid {
  display: grid;
  gap: 1.5rem;
}

.sfib-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.sfib-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sfib-flex {
  display: flex;
}

.sfib-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sfib-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sfib-gap-4 {
  gap: 1rem;
}

.sfib-gap-6 {
  gap: 1.5rem;
}

.sfib-gap-8 {
  gap: 2rem;
}

/* ========================================
   6. COMPONENTS - CARDS
   ======================================== */
.sfib-card {
  background: var(--sfib-card);
  border-radius: var(--sfib-radius-lg);
  border: 1px solid var(--sfib-border);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sfib-card:hover {
  box-shadow: 0 10px 40px -10px rgba(107, 76, 154, 0.15);
}

.sfib-card-gradient {
  background: linear-gradient(135deg, var(--sfib-iris-purple), var(--sfib-iris-purple-dark));
  color: white;
}

/* ========================================
   7. COMPONENTS - BUTTONS
   ======================================== */
.sfib-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--sfib-radius);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.sfib-button-primary {
  background: linear-gradient(135deg, var(--sfib-iris-purple), var(--sfib-iris-purple-dark));
  color: white;
}

.sfib-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 76, 154, 0.4);
}

.sfib-button-golden {
  background: linear-gradient(135deg, var(--sfib-golden-yellow), #C49A3B);
  color: var(--sfib-foreground);
}

.sfib-button-golden:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 168, 75, 0.4);
}

.sfib-button-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.sfib-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sfib-button-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ========================================
   8. COMPONENTS - HEADER
   ======================================== */
.sfib-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.sfib-header-transparent {
  background: transparent;
  padding: 1.25rem 0;
}

.sfib-header-solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

.sfib-nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--sfib-radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sfib-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--sfib-iris-purple), var(--sfib-iris-purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
}

/* ========================================
   9. COMPONENTS - HERO
   ======================================== */
.sfib-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.sfib-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(74, 53, 112, 0.7) 0%,
    rgba(107, 76, 154, 0.6) 50%,
    rgba(74, 124, 89, 0.5) 100%
  );
}

.sfib-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 1rem;
}

.sfib-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--sfib-radius-lg);
  padding: 1.5rem;
  text-align: center;
}

/* ========================================
   10. COMPONENTS - FOOTER
   ======================================== */
.sfib-footer {
  background: var(--sfib-foreground);
  color: white;
  padding: 4rem 1rem 2rem;
}

.sfib-footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sfib-footer-link:hover {
  color: white;
}

/* ========================================
   11. ANIMATIONS
   ======================================== */
@keyframes sfib-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes sfib-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sfib-slide-up {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.sfib-animate-float {
  animation: sfib-float 3s ease-in-out infinite;
}

.sfib-animate-fade-in {
  animation: sfib-fade-in 0.5s ease-out forwards;
}

.sfib-animate-slide-up {
  animation: sfib-slide-up 0.6s ease-out forwards;
}

/* ========================================
   12. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .sfib-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sfib-section {
    padding: 3rem 1rem;
  }
  
  .sfib-grid-2,
  .sfib-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .sfib-heading-1 {
    font-size: 2rem;
  }
  
  .sfib-heading-2 {
    font-size: 1.5rem;
  }
}

/* ========================================
   13. UTILITIES
   ======================================== */
.sfib-text-center { text-align: center; }
.sfib-text-left { text-align: left; }
.sfib-text-right { text-align: right; }

.sfib-mt-4 { margin-top: 1rem; }
.sfib-mt-6 { margin-top: 1.5rem; }
.sfib-mt-8 { margin-top: 2rem; }
.sfib-mb-4 { margin-bottom: 1rem; }
.sfib-mb-6 { margin-bottom: 1.5rem; }
.sfib-mb-8 { margin-bottom: 2rem; }

.sfib-p-4 { padding: 1rem; }
.sfib-p-6 { padding: 1.5rem; }
.sfib-p-8 { padding: 2rem; }

.sfib-rounded { border-radius: var(--sfib-radius); }
.sfib-rounded-lg { border-radius: var(--sfib-radius-lg); }
.sfib-rounded-xl { border-radius: var(--sfib-radius-xl); }

.sfib-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sfib-shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.sfib-gradient-iris {
  background: linear-gradient(135deg, var(--sfib-iris-purple), var(--sfib-iris-purple-dark));
}

.sfib-gradient-garden {
  background: linear-gradient(135deg, var(--sfib-garden-green), var(--sfib-garden-green-light));
}

.sfib-bg-muted {
  background: var(--sfib-muted);
}

.sfib-bg-cream {
  background: var(--sfib-cream);
}

