/* ==========================================================================
   Arthurimmo.com Brignais - Feuille de styles principale
   ========================================================================== */

/* Variables CSS */
:root {
  --primary-orange: #f29400;
  --primary-dark: #31393f; 
  --gradient-dark: #31393f; 
  --gradient-orange: linear-gradient(135deg, #f29400, #ffb74a);
  --background-light: #f8f9fa;
  --text-primary: #333;
  --text-secondary: #6c757d;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 99px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

/* Déclaration des polices DIN locales */
@font-face {
  font-family: 'DIN';
  src: url('/assets/fonts/D-DIN.woff2') format('woff2'), url('/assets/fonts/D-DIN.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DIN';
  src: url('/assets/fonts/D-DIN-Italic.woff2') format('woff2'), url('/assets/fonts/D-DIN-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DIN';
  src: url('/assets/fonts/D-DIN-Bold.woff2') format('woff2'), url('/assets/fonts/D-DIN-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset et base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DIN', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Typographie */
h1, h2, h3 {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-size: 20px;
}

.lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 24px;
  text-align: center;
}

/* Liens */
a {
  text-decoration: none;
  color: var(--primary-orange);
  transition: color 0.3s;
}

a:hover {
  color: #d98200;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-orange);
  color: #fff;
}

.btn-primary:hover {
  background: #d98200;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.btn-secondary:hover {
  background: var(--primary-orange);
  color: #fff;
}

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

.btn-white:hover {
  background: #f0f0f0;
}

.btn-white-border {
  color: #fff;
  border-color: #fff;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.btn-submit {
  width: 100%;
  max-width: 400px;
  font-size: 18px;
  padding: 16px;
}

.btn-icon {
  margin-right: 8px;
}

/* Barre de progression */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary-orange);
  width: 0;
  z-index: 1001;
  transition: width 0.1s;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(31, 35, 39, 0.8);
  backdrop-filter: blur(10px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.brand-name .com {
  color: var(--primary-orange);
}

.brand-tagline {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-orange);
}

.burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* Drawer mobile */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--primary-dark);
  z-index: 1002;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 18px;
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
}

.drawer-links a {
  color: #fff;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.drawer-links a:hover {
  background: rgba(242,148,0,0.1);
}

.drawer-cta {
  padding: 20px;
}

/* Hero section */
.hero {
  min-height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -15%;
  width: 60%;
  height: 60%;
  background: rgba(242,148,0,0.12);
  border-radius: 50%;
  filter: blur(80px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 70%;
  height: 70%;
  background: rgba(242,148,0,0.08);
  border-radius: 50%;
  filter: blur(90px);
}

.badge-expert {
  position: absolute;
  top: 100px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content .sublead {
  color: var(--primary-orange);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

/* Section Gérant */
.gerant-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.gerant-photo-wrapper {
  position: relative;
}

.gerant-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

.gerant-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: var(--primary-orange);
  color: white;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 2px solid white;
}

.gerant-content h2 {
  text-align: left;
  margin-bottom: 8px;
}

.gerant-meta {
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 18px;
}

.gerant-quote {
  font-style: italic;
  margin: 20px 0;
  padding-left: 20px;
  border-left: 3px solid var(--primary-orange);
  font-size: 18px;
}

.gerant-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.signature {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 2px solid #eee;
  font-weight: 700;
}

/* Section Résultats */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.result-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.kpi-number {
  font-size: 72px;
  font-weight: 700;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 12px;
}

.kpi-label {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.kpi-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Section Méthode */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--primary-orange);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Section Erreurs - CORRIGÉ EN GRIS #31393f */
#erreurs {
  background: #fff;
}

.errors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.error-card {
  background: var(--background-light);
  padding: 24px;
  border-radius: var(--radius-lg);
  border-top: 4px solid #31393f;
}

.error-num {
  font-size: 32px;
  font-weight: 700;
  color: #31393f;
  margin-bottom: 12px;
}

.error-card h3 {
  color: #31393f;
  margin-bottom: 12px;
  font-size: 18px;
}

.error-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Section Comparaison */
#pap-vs-agence {
  background: var(--background-light);
}

.comparison-table {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 48px;
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--primary-dark);
  color: #fff;
  padding: 20px;
  font-weight: 700;
  font-size: 16px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  align-items: center;
  font-size: 15px;
}

.comparison-row:last-child {
  border-bottom: none;
}

.check {
  color: var(--primary-orange);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.cross {
  color: #ccc;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

/* Section Pourquoi */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.reason-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid #eee;
}

.reason-icon {
  margin-bottom: 16px;
}

.reason-icon.orange {
  color: var(--primary-orange);
}

/* Swiper */
.swiper {
  padding-bottom: 50px;
  margin-top: 48px;
}

.sold-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: auto;
}

.sold-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #e2e8f0;
}

.sold-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-sold {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-orange);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.sold-body {
  padding: 24px;
}

.sold-body h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.sold-result {
  background: #fff8eb;
  border-left: 4px solid var(--primary-orange);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

/* Section sombre */
.dark-section {
  background: var(--gradient-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dark-section h2 {
  color: #fff;
}

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

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.tool-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.tool-card h3 {
  color: #fff;
  margin: 20px 0 16px;
}

.tool-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tool-card li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}

.tool-card li:last-child {
  border-bottom: none;
}

.svg-orange {
  color: var(--primary-orange);
}

/* Témoignages */
.testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '"';
  font-size: 120px;
  font-family: Georgia, serif;
  position: absolute;
  top: -20px;
  left: 20px;
  color: var(--text-primary);
  opacity: 0.08;
}

.testimonial-text {
  font-style: italic;
  font-size: 17px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.testimonial-author strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.testimonial-author span {
  color: var(--primary-orange);
  font-size: 14px;
  font-weight: 500;
}

/* Formulaire */
.form-wrapper {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-top: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.form-group {
  position: relative;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 14px 14px 48px;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 4px rgba(242,148,0,0.1);
}

.form-group .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.rgpd-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
}

.rgpd-check input {
  width: auto;
  margin-top: 4px;
}

.form-error {
  color: #31393f;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.input-error {
  border-color: #31393f !important;
}

.success-message {
  font-weight: 700;
  color: #155724;
  margin-top: 1rem;
}

.form-submit {
  text-align: center;
}

/* Contact final */
.contact-final {
  background: var(--gradient-orange);
  color: #111;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-final::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  filter: blur(80px);
}

.contact-final-inner {
  position: relative;
  z-index: 2;
}

.contact-final h2 {
  color: #111;
  margin-bottom: 32px;
}

.contact-phone {
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
}

.contact-address {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 500;
}

.contact-final-cta {
  margin: 32px 0;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  margin: 0 12px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

/* Swiper boutons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-orange) !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.swiper-pagination-bullet-active {
  background: var(--primary-orange) !important;
}

/* Accessibilité */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-orange);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1002;
}

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

/* Loading état */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading > * {
  visibility: hidden;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid rgba(255,255,255,0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Classes utilitaires */
.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-secondary);
  line-height: 1.6;
}

.inherit-color {
  color: inherit;
}

.underline {
  text-decoration: underline;
}

.orange {
  color: var(--primary-orange);
}

.section-bg-light {
  background: var(--background-light);
}

.section-white {
  background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  
  .burger {
    display: block;
  }
  
  .gerant-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .gerant-photo-wrapper {
    margin: 0 auto 20px auto;
    width: 160px;
  }
  
  .gerant-content h2 {
    text-align: center;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .errors-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-header {
    display: none;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border-bottom: 3px solid var(--primary-orange);
  }
  
  .comparison-table {
    background: none;
    box-shadow: none;
  }
  
  .comparison-row > div:nth-child(1) {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
  }
  
  .comparison-row > div:nth-child(2),
  .comparison-row > div:nth-child(3) {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: var(--radius-md);
    background: #f8f9fa;
  }
  
  .comparison-row > div:nth-child(2)::before {
    content: 'Arthurimmo.com';
    font-weight: 700;
    color: var(--text-secondary);
  }
  
  .comparison-row > div:nth-child(3)::before {
    content: 'Vente PAP seul';
    font-weight: 700;
    color: var(--text-secondary);
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-wrapper {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   Styles pour merci.html
   ========================================================================== */

.contact-info p.no-margin {
  margin: 0;
}

.contact-info .phone-highlight {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: #f29400;
  font-weight: 700;
}

.confirmation-note {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Fallback AOS si JavaScript désactivé
   ========================================================================== */

noscript [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   CORRECTIONS HERO & ÉQUIPE - Déplacées depuis index.html pour respecter CSP
   ========================================================================== */

/* Fix Hero - Titre blanc visible au premier plan */
.hero::before,
.hero::after {
  z-index: 1 !important;
}

.hero-content {
  position: relative !important;
  z-index: 10 !important;
}

.hero h1,
.hero-title-custom,
h1.hero-title-custom {
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: clamp(48px, 7vw, 72px) !important;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.7) !important;
  font-weight: 700 !important;
  position: relative !important;
  z-index: 100 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Section équipe - Vos interlocuteurs */
.team-section {
  padding: 80px 0;
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.team-photo-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
}

.team-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f29400;
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  color: #31393f;
  margin-bottom: 8px;
}

.team-contact {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.team-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  color: #31393f;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
  max-width: 100%;
  word-wrap: break-word;
}

.team-contact a:hover {
  color: #f29400;
}

/* FIX CRITIQUE - Icônes de taille fixe et visible */
.team-contact a svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  stroke: #f29400 !important;
  fill: none !important;
  flex-shrink: 0 !important;
  display: block !important;
}