/* ============================================================
   MYINFRATECH - STYLE.CSS
   Version optimisée pour iPhone, iPad, Android, PC, Mac
   ============================================================ */

/* ====== VARIABLES ====== */
:root {
  --primary: #003d6b;
  --primary-dark: #002a4a;
  --primary-light: #005a9e;
  --accent: #0078d4;
  --accent-light: #3da0e3;
  --accent-glow: rgba(0, 120, 212, 0.15);
  --surface: #f7f9fc;
  --surface-alt: #eef2f7;
  --white: #ffffff;
  --text: #1a2332;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --border: #dde3ed;
  --success: #10b981;
  --error: #ef4444;
  --gradient-hero: linear-gradient(135deg, #001a2e 0%, #003d6b 40%, #005a9e 100%);
  --gradient-section: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  --shadow-sm: 0 1px 3px rgba(0,20,50,0.06);
  --shadow-md: 0 4px 16px rgba(0,20,50,0.08);
  --shadow-lg: 0 8px 32px rgba(0,20,50,0.1);
  --shadow-xl: 0 16px 48px rgba(0,20,50,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ====== RESET MODERN ====== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.3;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  -webkit-appearance: none;
  appearance: none;
}

/* IMPORTANT : éviter le zoom sur les inputs iOS */
input, select, textarea {
  font-size: 16px;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* ====== CONTAINER ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ====== NAVIGATION ====== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  height: var(--nav-height);
  padding-top: env(safe-area-inset-top);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-logo span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--accent-glow);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ====== HAMBURGER ====== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ====== MENU MOBILE ====== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: var(--surface);
  color: var(--primary);
}

/* ====== PAGES (SPA) ====== */
.page {
  display: none;
  padding-top: var(--nav-height);
}

.page.active {
  display: block;
}

/* ====== SECTIONS ====== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-dark .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero {
  padding: 80px 0;
  background: var(--gradient-section);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--primary);
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 120px 0;
  background: var(--gradient-hero);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

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

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

/* ====== TRUST BAR ====== */
.trust-bar {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.trust-item .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.trust-item .label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ====== SERVICE CARDS ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  transform: scale(1.08);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  stroke: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.learn-more svg {
  width: 16px;
  height: 16px;
}

.service-card:hover .learn-more {
  gap: 12px;
}

/* ====== WHY CARDS ====== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 32px 24px;
}

.icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====== METHOD ====== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.method-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.method-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.method-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.method-step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====== CTA ====== */
.cta-section {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== DETAIL SECTIONS ====== */
.detail-section {
  padding: 80px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.detail-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
}

.detail-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.detail-list {
  list-style: none;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text);
}

.check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
}

.detail-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.detail-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  padding: 8px 16px;
  background: var(--surface-alt);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border);
}

/* ====== ABOUT ====== */
.about-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-visual {
  background: var(--accent-glow);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  border: 2px solid var(--accent);
}

.big-stat {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.value-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====== CONTACT ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.cd-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.contact-detail h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-detail p {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}

.contact-detail a {
  color: var(--accent);
}

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

/* ====== FORM ====== */
.contact-form {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
}

.form-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}

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

.form-group.error .form-error {
  display: block;
}

/* ====== FAQ ====== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 24px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  user-select: none;
}

.faq-question:hover,
.faq-question:active {
  background: var(--surface);
  color: var(--primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 800px;
}

.faq-answer-content {
  padding: 0 28px 24px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ====== LEGAL ====== */
.legal-section {
  padding: 60px 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.legal-content a {
  color: var(--accent);
}

.legal-content a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

.legal-box {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: var(--radius);
}

/* ====== FOOTER ====== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ====== ANIMATIONS ====== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ====== RESPONSIVE TABLETTE ====== */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-desc {
    font-size: 1.05rem;
  }
  
  .page-hero {
    padding: 60px 0;
  }
  
  .page-hero h1 {
    font-size: 2.2rem;
  }
  
  .page-hero p {
    font-size: 1.1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .detail-card {
    position: static;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .why-grid,
  .method-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 70px 0;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
}

/* ====== RESPONSIVE MOBILE ====== */
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  
  .nav-inner {
    padding: 0 20px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .page-hero h1 {
    font-size: 1.9rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-inner {
    grid-template-columns: 1fr;
  }
  
  .cta-section h2 {
    font-size: 1.9rem;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .service-card,
  .why-card,
  .method-step,
  .value-card,
  .detail-card,
  .contact-form {
    padding: 28px;
  }
  
  .big-stat {
    font-size: 3rem;
  }
}

/* ====== TRÈS PETITS ÉCRANS (iPhone SE) ====== */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }
  
  .nav-inner {
    padding: 0 16px;
  }
  
  .hero h1 {
    font-size: 1.7rem;
  }
  
  .nav-logo span {
    font-size: 1rem;
  }
  
  .nav-logo img {
    height: 30px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ====== ACCESSIBILITÉ ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ====== PRINT ====== */
@media print {
  .nav,
  .mobile-menu,
  .hero-actions,
  .cta-section,
  .footer,
  .hamburger {
    display: none;
  }
  
  .page {
    display: block !important;
    padding-top: 0;
  }
  
  body {
    color: #000;
  }
}
