/* ==============================================
   RULFOT ÉCOLE DE FRANÇAIS - MAIN STYLESHEET
   Framework: Pure CSS with Grid/Flexbox
   ============================================== */

/* ---- CSS Variables ---- */
:root {
  --color-primary: #1a3c5e;
  --color-primary-dark: #122a42;
  --color-primary-light: #2d5f8f;
  --color-accent: #c8993a;
  --color-accent-light: #e8b84b;
  --color-accent-dark: #a07820;
  --color-bg: #fdfaf5;
  --color-bg-dark: #0f2035;
  --color-bg-section: #f0eee9;
  --color-text: #1a1a2e;
  --color-text-light: #4a4a6a;
  --color-text-muted: #7a7a9a;
  --color-white: #ffffff;
  --color-success: #2d8a4e;
  --color-success-bg: #e8f5ed;
  --color-error: #c0392b;
  --color-border: #e0ddd5;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

address {
  font-style: normal;
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header.light h2 {
  color: var(--color-white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.section-header.light p {
  color: rgba(255,255,255,0.8);
}

.section-tag {
  display: inline-block;
  background: rgba(200, 153, 58, 0.15);
  color: var(--color-accent-dark);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-header.light .section-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 20, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1.25rem 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text em {
  font-style: italic;
  color: var(--color-accent-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

.nav-link.nav-cta {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.6rem 1.25rem;
}

.nav-link.nav-cta:hover {
  background: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  background: var(--color-bg-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem 4rem;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,40,0.95) 0%, rgba(26,60,94,0.85) 50%, rgba(10,20,40,0.6) 100%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(200,153,58,0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,153,58,0.2);
  border: 1px solid rgba(200,153,58,0.4);
  color: var(--color-accent-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--color-accent-light);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.hero-image {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ============================================
   AVANTAGES SECTION
   ============================================ */
.avantages-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.avantage-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.avantage-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.avantage-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transform: scaleX(0);
  transition: var(--transition);
}

.avantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(200,153,58,0.3);
}

.avantage-card:hover::before {
  transform: scaleX(1);
}

.avantage-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.avantage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.avantage-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 6rem 0;
  background: var(--color-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-img {
  position: relative;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card.featured .service-img img {
  height: 100%;
  min-height: 280px;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.35rem 0.875rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--color-text-light);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-card .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
  align-self: flex-start;
}

.service-card .btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   PROCESSUS SECTION
   ============================================ */
.processus-section {
  padding: 6rem 0;
  background: var(--color-bg-section);
}

.processus-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.processus-timeline::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  z-index: 0;
}

.processus-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem 2rem;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-slow);
}

.processus-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.step-icon {
  width: 5rem;
  height: 5rem;
  background: var(--color-white);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ============================================
   TÉMOIGNAGES SECTION
   ============================================ */
.temoignages-section {
  padding: 6rem 0;
  background: var(--color-primary-dark);
}

.temoignages-slider {
  overflow: hidden;
  position: relative;
}

.temoignages-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.temoignage-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  min-width: calc(33.333% - 1.333rem);
  flex-shrink: 0;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.temoignage-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,153,58,0.3);
}

.temoignage-stars {
  color: var(--color-accent-light);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.temoignage-card blockquote {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.75rem;
  position: relative;
}

.temoignage-card blockquote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
  opacity: 0.5;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.temoignage-author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.temoignage-author strong {
  display: block;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.temoignage-author span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--color-accent-light);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question span:first-child {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

.faq-question:hover span:first-child {
  color: var(--color-accent-dark);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 300;
  transition: transform 0.3s ease;
  min-width: 28px;
  text-align: center;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.975rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 6rem 0;
  background: var(--color-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  background: rgba(200,153,58,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item h4 {
  color: var(--color-accent-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-info-item a:hover {
  color: var(--color-accent-light);
}

.contact-image {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ---- Form ---- */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(200,153,58,0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  min-height: 1.2em;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a4a6a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ---- Form Success ---- */
#formSuccess {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--color-success-bg);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(45, 138, 78, 0.3);
}

#formSuccess .success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

#formSuccess h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-success);
  margin-bottom: 1rem;
}

#formSuccess p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

#formSuccess .btn-primary {
  background: var(--color-success);
  border-color: var(--color-success);
}

.form-success {
  text-align: center;
  padding: 2.5rem;
  background: var(--color-success-bg);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(45, 138, 78, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
}

.footer-top {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
  gap: 3rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links-col ul li {
  margin-bottom: 0.6rem;
}

.footer-links-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--color-accent-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  font-size: 1rem;
  min-width: 1.25rem;
  margin-top: 0.1rem;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

.footer-contact-item a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--color-accent-light);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--color-primary-dark);
  border: 1px solid rgba(200,153,58,0.3);
  border-radius: var(--radius-xl);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: none;
  max-width: 900px;
  margin: 0 auto;
}

.cookie-banner.show {
  display: block;
  animation: slideUpFade 0.4s ease;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-inner {
  padding: 1.75rem 2rem;
}

.cookie-banner-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cookie-banner-text p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.cookie-banner-text a {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.cookie-btn-primary:hover {
  background: var(--color-accent-dark);
}

.cookie-btn-secondary {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.15);
}

.cookie-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

.cookie-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.25);
}

.cookie-btn-outline:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.cookie-customize-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.cookie-option-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.cookie-option-info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  margin: 0;
}

.cookie-toggle {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1100px) {
  .hero-section {
    padding: 7rem 2rem 4rem;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .service-card.featured {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }

  .service-card.featured .service-img img {
    height: 220px;
  }

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

  .processus-timeline::before {
    display: none;
  }

  .temoignage-card {
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link.nav-cta {
    margin-top: 1rem;
    text-align: center;
  }

  /* Hero */
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6rem 1.5rem 3rem;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 300px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  /* Avantages */
  .avantages-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Processus */
  .processus-timeline {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .temoignage-card {
    min-width: calc(100% - 0px);
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Cookie */
  .cookie-banner-content {
    flex-direction: column;
  }

  .cookie-banner-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .cookie-banner-inner {
    padding: 1.25rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}