/* ===== SOS PNEUS GENÈVE - Global Styles ===== */
:root {
  --blue-nuit: #001A36;
  --yellow: #FACA04;
  --red-suisse: #CB2822;
  --gray-bg: #F0F2F5;
  --white: #FFFFFF;
  --text-dark: #1a1a1a;
  --text-light: #cccccc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--blue-nuit);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo img {
  height: 75px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  padding: 8px 0;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--yellow);
}

.btn-urgence {
  display: inline-block;
  background: var(--red-suisse);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.btn-urgence:hover {
  background: #e62e27;
  transform: translateY(-1px);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 15px;
}

.lang-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.5;
  font-size: 0;
}

.lang-switch a.active {
  border-color: var(--yellow);
  opacity: 1;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a svg {
  width: 26px;
  height: 26px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,26,54,0.85) 0%, rgba(0,26,54,0.6) 50%, rgba(0,26,54,0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.hero .subtitle {
  font-size: 1rem;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue-nuit);
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #ffe033;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(250,202,4,0.4);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue-nuit);
}

.hero .badges {
  font-size: 0.95rem;
  color: var(--yellow);
  font-weight: 500;
  letter-spacing: 1px;
}

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

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

section.bg-dark {
  background: var(--blue-nuit);
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-nuit);
  text-transform: uppercase;
  margin-bottom: 10px;
}

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

.section-title .accent {
  color: var(--yellow);
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.bg-dark .section-title p {
  color: #aaa;
}

/* ===== INTRO ===== */
.intro-block {
  text-align: center;
}

.intro-block h2 {
  font-size: 1.8rem;
  color: var(--blue-nuit);
  margin-bottom: 10px;
}

.intro-block p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

/* ===== WHY US CARDS ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.why-card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--blue-nuit);
  color: var(--yellow);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-nuit);
  margin-bottom: 10px;
  text-transform: uppercase;
  min-height: 3.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.why-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  text-align: justify;
  flex: 1;
  width: 100%;
}

/* ===== VIP CLUB ===== */
.vip-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.vip-image {
  flex: 1;
  max-width: 400px;
}

.vip-image img {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.vip-content {
  flex: 1;
}

.vip-content h2 {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 15px;
}

.vip-content p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.vip-content .vip-list {
  margin: 15px 0 25px;
}

.vip-content .vip-list li {
  color: #ddd;
  padding: 4px 0;
  font-size: 0.95rem;
}

.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue-nuit);
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

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

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
}

.step-card .step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--yellow);
}

.step-icon-svg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue-nuit);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid var(--yellow);
}

.step-icon-svg svg {
  width: 36px;
  height: 36px;
  color: var(--yellow);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-nuit);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: #666;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 60px 0;
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text {
  flex: 1;
}

.cta-button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  color: #ccc;
  margin-bottom: 0;
  max-width: 600px;
}

.btn-red {
  display: inline-block;
  background: var(--red-suisse);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-red:hover {
  background: #e62e27;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(203,40,34,0.4);
}

/* ===== SERVICES PAGE ===== */
.hero-services {
  min-height: 60vh;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.service-block {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-block .service-text {
  flex: 1;
}

.service-block .service-img {
  flex: 1;
}

.service-block .service-img img {
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  width: 100%;
}

.service-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-nuit);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bg-dark .service-block h3 {
  color: var(--yellow);
}

.service-block p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

.bg-dark .service-block p {
  color: #ccc;
}

.service-list {
  margin-top: 10px;
}

.service-list li {
  padding: 4px 0;
  color: #555;
  font-size: 0.95rem;
}

.service-list li::before {
  content: '–';
  margin-right: 8px;
  color: var(--yellow);
  font-weight: 700;
}

.bg-dark .service-list li {
  color: #ccc;
}

/* ===== ZONE MAP ===== */
.zone-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.zone-map {
  flex: 1;
}

.zone-map img {
  border-radius: 12px;
  width: 100%;
}

.zone-text {
  flex: 1;
}

.zone-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-nuit);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.zone-text p {
  color: #555;
  margin-bottom: 15px;
}

.zone-list li {
  padding: 6px 0;
  font-size: 1rem;
  color: #333;
}

.zone-note {
  margin-top: 15px;
  font-weight: 600;
  color: var(--blue-nuit);
}

/* ===== ESPACE PRO ===== */
.pro-hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 20px 60px;
}

.pro-text { flex: 1; }
.pro-images { flex: 1; display: flex; gap: 15px; }
.pro-images img {
  border-radius: 12px;
  width: 48%;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.pro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pro-feature {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--yellow);
}

.pro-feature img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.pro-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-nuit);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pro-feature p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.6;
  text-align: justify;
}

/* VIP Enterprise card */
.vip-enterprise {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--blue-nuit) 0%, #002a5c 100%);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  border: 2px solid var(--yellow);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.vip-enterprise h3 {
  color: var(--yellow);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.vip-enterprise .sub {
  color: #aaa;
  margin-bottom: 20px;
}

.vip-enterprise .features li {
  color: var(--white);
  padding: 6px 0;
  font-size: 0.95rem;
}

.vip-enterprise .price {
  color: var(--yellow);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 20px 0;
}

/* ===== TARIFS PAGE ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 3px solid var(--yellow);
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(250,202,4,0.2);
}

.pricing-card .badge-recomm {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--blue-nuit);
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-nuit);
  margin-bottom: 5px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--yellow);
  margin: 10px 0 20px;
}

.pricing-card .price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: #999;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 25px;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-card ul li:last-child {
  border: none;
}

.pricing-card .btn-card {
  display: block;
  background: var(--blue-nuit);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
  margin-top: auto;
}

.pricing-card .btn-card:hover {
  background: var(--yellow);
  color: var(--blue-nuit);
}

.pricing-card.featured .btn-card {
  background: var(--yellow);
  color: var(--blue-nuit);
}

.pricing-card.featured .btn-card:hover {
  background: #ffe033;
}

/* Tarifs à la carte */
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.tarif-table th {
  background: var(--blue-nuit);
  color: var(--white);
  padding: 15px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tarif-table td {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.tarif-table tr:last-child td {
  border: none;
}

.tarif-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--blue-nuit);
  white-space: nowrap;
}

.tarif-table .category-header td {
  background: var(--gray-bg);
  font-weight: 700;
  color: var(--blue-nuit);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 20px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--blue-nuit);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--yellow);
}

.footer-col a,
.footer-col p {
  display: block;
  color: #aaa;
  font-size: 0.88rem;
  padding: 3px 0;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
}

.footer-bottom a {
  color: var(--yellow);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  font-size: 0.78rem;
}

.footer-legal a {
  color: #888;
  transition: color 0.3s;
}

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

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .vip-section { flex-direction: column; text-align: center; }
  .vip-image { max-width: 300px; }
  .service-block, .service-block.reverse { flex-direction: column; }
  .zone-section { flex-direction: column; }
  .pro-hero-content { flex-direction: column; padding-top: 120px; }
  .pro-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  .cta-layout { flex-direction: column; text-align: center; }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-nuit);
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

  /* Hero mobile: reduce height */
  .hero { min-height: 60vh; }
  .hero-services { min-height: 45vh; }
  .hero h1 { font-size: 1.5rem; word-wrap: break-word; overflow-wrap: break-word; }
  .hero-content { padding: 30px 15px; }
  .hero-buttons { flex-direction: column; }
  .hero .subtitle { font-size: 0.9rem; }
  .hero .badges { font-size: 0.8rem; }

  /* Intro block: allow wrapping */
  .intro-block h2 { font-size: 1.2rem; word-wrap: break-word; overflow-wrap: break-word; }

  /* Section titles mobile */
  .section-title h2 { font-size: 1.4rem; word-wrap: break-word; overflow-wrap: break-word; }

  /* Service rows: center text on mobile */
  .service-row { gap: 30px; }
  .service-row .text { text-align: center; }
  .service-row h3 { font-size: 1.3rem; text-align: center; }
  .service-row .svc-list { text-align: left; }

  /* Tarif tables: stacked layout on mobile */
  .tarif-table,
  .tarif-table thead,
  .tarif-table tbody,
  .tarif-table tr,
  .tarif-table th,
  .tarif-table td {
    display: block;
    width: 100%;
  }
  .tarif-table th {
    font-size: 0.9rem;
    padding: 12px 15px;
    text-align: center;
  }
  .tarif-table .category-header td {
    font-size: 0.8rem;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
  }
  .tarif-table tr:not(.category-header) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    gap: 4px;
  }
  .tarif-table tr:not(.category-header) td {
    padding: 0;
    border: none;
    font-size: 0.88rem;
  }
  .tarif-table tr:not(.category-header) td:first-child {
    flex: 1;
    min-width: 0;
  }
  .tarif-table tr:not(.category-header) td:last-child {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--blue-nuit);
    text-align: right;
    white-space: nowrap;
    font-size: 0.85rem;
  }
  .tarif-table thead tr {
    display: block;
    padding: 0;
    border: none;
  }
  .tarif-table .category-header {
    display: block;
    padding: 0;
    border: none;
  }

  /* Footer mobile */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-logo img { max-width: 140px; border-radius: 8px; }
  .footer-legal { justify-content: center; }

  /* Cards & grids */
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pro-images { flex-direction: column; }
  .pro-images img { width: 100%; }

  /* CTA section mobile */
  .cta-section h2 { font-size: 1.4rem; }

  /* Pricing cards mobile */
  .pricing-cards { max-width: 100%; }
  .pricing-card { padding: 25px 20px; }
  .pricing-card .price { font-size: 1.8rem; }

  /* Legal pages hero */
  .legal-hero { min-height: 25vh; }

  /* Article pages hero */
  .article-hero { min-height: 35vh; }

  /* Logo mobile */
  .logo img { height: 55px; }
  .btn-urgence { font-size: 11px; padding: 8px 12px; }
  .lang-switch { margin-left: 8px; }
  .lang-switch a { width: 24px; height: 24px; }
  .lang-switch a svg { width: 20px; height: 20px; }
}
