/* ========================================
   Variables CSS - Inspiré du thème Summit
   ======================================== */
:root {
    /* Couleurs principales */
    --primary-color: #e1f0fb;
    --primary-dark: #b3d9f7;
    --secondary-color: #999;
    --success-color: #d8f3bc;
    --warning-color: #f9dcac;
    --danger-color: #f3bfc8;
    
    /* Couleurs de texte */
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --text-white: #fff;
    
    /* Couleurs de fond */
    --bg-white: #fff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    
    /* Bordures */
    --border-color: #e5e5e5;
    --border-radius: 0.25rem;
    --border-radius-lg: 0.5rem;
    
    /* Typographie */
    --font-primary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-white);
    font-weight: var(--font-weight-normal);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ========================================
   Buttons - Style Summit
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: visible;
    background: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background-image: url('images/btn_contour.svg');
    background-size: 100% 110%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    transition: all var(--transition-base);
}

.btn-primary {
    color: #333;;
}

.btn-primary::before {
    filter: brightness(1) hue-rotate(0deg);
}

.btn-primary:hover {
    transform: translateY(-2px);
	color: #4B90E2;
}

.btn-primary:hover::before {
    filter: brightness(1.1);
    transform: scale(1.02);
}


.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-language {
    background-color: rgba(225, 240, 251, 0.2);
    color: var(--text-primary);
    border-color: rgba(225, 240, 251, 0.3);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-language:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* ========================================
   Header & Navigation - Style Summit
   ======================================== */
   
/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover img {
    transform: scale(0.95);
}
.logo-text {
    position: absolute;
    left: -9999px;
}


/* Mobile */
@media (max-width: 768px) {
    .navbar-logo img {
        height: 38px;
    }
}

   
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
}

.navbar-brand i {
    color: #4a90e2;
    font-size: 2rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4a90e2;
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: #4a90e2;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggler span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    padding: 7rem 0 0rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e1f0fb 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

/* Illustration SVG de fond - Style Summit */
.hero-background::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50%;
    height: 120%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cg fill='%234a90e2' opacity='0.08'%3E%3Ccircle cx='320' cy='100' r='80'/%3E%3Crect x='280' y='200' width='100' height='100' rx='10'/%3E%3Cpolygon points='350,350 320,400 380,400'/%3E%3Cellipse cx='310' cy='450' rx='60' ry='40'/%3E%3C/g%3E%3Cg fill='%23f9a825' opacity='0.06'%3E%3Ccircle cx='350' cy='150' r='30'/%3E%3Crect x='340' y='260' width='40' height='40' rx='5' transform='rotate(45 360 280)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
}

/* Formes géométriques décoratives gauche */
.hero-background::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -5%;
    width: 40%;
    height: 80%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Cg fill='%234caf50' opacity='0.08'%3E%3Crect x='20' y='50' width='80' height='80' rx='10' transform='rotate(-15 60 90)'/%3E%3Ccircle cx='60' cy='200' r='50'/%3E%3Cpolygon points='80,300 40,360 120,360'/%3E%3C/g%3E%3Cg fill='%239c27b0' opacity='0.06'%3E%3Ccircle cx='100' cy='120' r='25'/%3E%3Crect x='80' y='250' width='35' height='35' rx='5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-40px) rotate(-5deg);
    }
    75% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0.5;
}

/* Illustrations décoratives Hero */
.hero-illustration {
    position: absolute;
    opacity: 0.6;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.hero-book {
    top: 15%;
    right: 10%;
    width: 180px;
    height: 140px;
    animation: float 15s ease-in-out infinite;
}

.hero-pencil {
    top: 60%;
    left: 8%;
    width: 80px;
    height: 80px;
    animation: float 12s ease-in-out infinite reverse;
}

.hero-stars {
    top: 30%;
    left: 15%;
    width: 150px;
    height: 150px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Responsive pour les illustrations */
@media (max-width: 768px) {
    .hero-book {
        width: 120px;
        height: 90px;
        right: 5%;
    }
    
    .hero-pencil {
        width: 60px;
        height: 60px;
        left: 5%;
    }
    
    .hero-stars {
        width: 100px;
        height: 100px;
        left: 10%;
    }
}

.hero-content {
    position: absolute;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
	left:45%;
	padding-top: 50px;
}
@media (max-width: 768px) {
    .hero-content {
        left: 0%;
        position: static;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: var(--font-weight-light);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-text {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-badge i {
    color: #f9a825;
    font-size: 1.5rem;
}

.hero-badge span {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.hero .btn-primary {
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #e1f0fb 0%, #b3d9f7 100%);*/
    border-radius: 50%;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: #4a90e2;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color : #cd5c5c;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========================================
   About Section (New Layout)
   ======================================== */
 .about { padding: 5rem 0; background-color: var(--bg-light); }  
   
.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  /*align-items: center;*/
  gap: 3rem;
  justify-content: center;
}

.about-photo {
  flex: 1 1 280px;
  text-align: center;
}

.about-photo img {
  width: 440px;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.about-photo img:hover {
  transform: rotate(0deg) scale(1.03);
}

.about-text {
  flex: 1 1 500px;
  background-color: var(--bg-white);
  padding: 2.5rem 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.about-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 2rem 0;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}


/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    padding: 2rem;
    text-align: center;
    border-top: 4px solid;
}

.service-primary {
    border-top-color: #4a90e2;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.service-success {
    border-top-color: #4caf50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
}

.service-info {
    border-top-color: #9c27b0;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(156, 39, 176, 0.05) 100%);
}

.service-header i {
    font-size: 3rem;
    color: inherit;
}

.service-primary i { color: #4a90e2; }
.service-success i { color: #4caf50; }
.service-info i { color: #9c27b0; }

.service-body {
    padding: 2rem;
}

.service-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.service-features li i {
    color: #4caf50;
    font-size: 1rem;
}

.pricing-info {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #e1f0fb 0%, #b3d9f7 100%);
    border-radius: var(--border-radius-lg);
    margin-top: 2rem;
}

.pricing-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-info p {
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 2rem 0;
    background-color: #2c3e50;
    color: var(--text-white);
    text-align: center;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-toggler {
        display: flex;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .btn {
        padding: 0.675rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

