/* Suissetrans INT — déménagement international Suisse ⇄ Espagne/Portugal. Design system : rouge/logistique premium. */

:root {
  --red: #e0332a;
  --red-dark: #a8241d;
  --red-light: #ff5a4d;
  --navy: #10151f;
  --navy-light: #1c2333;
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #14161c;
  --text-muted: #5b6270;
  --border: #e7e4df;
  --shadow: 0 14px 34px -14px rgba(16, 21, 31, 0.28);
  --shadow-sm: 0 6px 16px -8px rgba(16, 21, 31, 0.22);
  --radius: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.icon { width: 1em; height: 1em; flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1.1em; color: var(--text-muted); }
a { color: var(--red); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -0.01em; }
.logo .logo-mark { width: 34px; height: 34px; color: var(--red); }
.logo span { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text); font-size: 0.94rem; font-weight: 600; position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width 0.25s ease; }
.main-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

.btn-call-header { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff !important; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; transition: background 0.2s ease, transform 0.2s ease; white-space: nowrap; }
.btn-call-header:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-call-header .icon { width: 15px; height: 15px; }

/* ---------- Language switch ---------- */
.header-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.lang-switch a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted); padding: 4px 10px; border-radius: 999px; transition: background 0.2s ease, color 0.2s ease; }
.lang-switch a::after { display: none; }
.lang-switch a::before { content: ""; width: 17px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(16,21,31,0.18); flex-shrink: 0; }
.lang-switch a.lang-fr::before { background: linear-gradient(90deg, #0055A4 0 33.33%, #ffffff 33.33% 66.66%, #EF4135 66.66% 100%); }
.lang-switch a.lang-es::before { background: linear-gradient(180deg, #AA151B 0 27%, #F1BF00 27% 73%, #AA151B 73% 100%); }
.lang-switch a.lang-de::before { background: linear-gradient(180deg, #14161c 0 33.33%, #DD0000 33.33% 66.66%, #FFCE00 66.66% 100%); }
.lang-switch a.lang-pt::before { background: linear-gradient(90deg, #006600 0 42%, #FF0000 42% 100%); }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.is-active { background: var(--red); color: #fff; }

/* Compact language switch on mobile: flags only, no space wasted */
@media (max-width: 680px) {
  .site-header .container { padding-left: 14px; padding-right: 14px; }
  .header-right { gap: 6px; }
  .logo { font-size: 1.02rem; gap: 6px; }
  .logo .logo-mark { width: 27px; height: 27px; }
  .lang-switch { gap: 1px; padding: 2px; }
  .lang-switch a { font-size: 0; gap: 0; padding: 3px 4px; }
  .lang-switch a::before { width: 17px; height: 11px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe58; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 70px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(224,51,42,0.35) 0%, transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(224,51,42,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero { padding-bottom: 128px; }
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 64px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 35%, 100% 100%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #ff8478; font-weight: 800; margin-bottom: 16px; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 520px; }
.hero .stat-row { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.hero .stat-row div strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero .stat-row div span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.route-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.route-card img { border-radius: 10px; aspect-ratio: 4/3.1; object-fit: cover; width: 100%; }
.route-line { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border); }
.route-line .point { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 800; font-size: 0.85rem; color: var(--navy); }
.route-line .point span.flag { font-size: 1.3rem; }
.route-line .track { flex: 1; height: 2px; margin-right: 12px; background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 12px); position: relative; }
.route-line .track::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--red); font-weight: 900; font-size: 1.05rem; line-height: 1; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .hero-eyebrow { color: var(--red); justify-content: center; display: flex; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #f0d3d1; }
.card:hover::before { transform: scaleX(1); }
.card .icon-badge { width: 50px; height: 50px; border-radius: 12px; background: #fdeceb; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--red); }
.card .icon-badge .icon { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 14px; font-size: 0.95rem; }
.card a.card-link { font-weight: 700; font-size: 0.9rem; color: var(--red); }
.card a.card-link:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.testimonial-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.testimonial .stars { color: var(--red); letter-spacing: 2px; font-size: 0.95rem; }
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.testimonial .author { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.google-badge { display: inline-flex; align-items: center; gap: 6px; }
.google-badge svg { width: 16px; height: 16px; }
.google-badge span { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ---------- Timeline (4 étapes) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 8px; }
.timeline::before {
  content: "";
  position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.timeline-step { position: relative; text-align: center; padding: 0 16px; z-index: 1; }
.timeline-step .num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  box-shadow: var(--shadow-sm); border: 4px solid var(--bg);
}
.timeline-step .num .icon { width: 22px; height: 22px; }
.timeline-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.timeline-step p { font-size: 0.88rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--red); transition: transform 0.25s ease; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Route pills (villes / destinations) ---------- */
.zone-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.zone-pills a { background: var(--surface); border: 1px solid var(--border); padding: 9px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--text); transition: all 0.2s ease; }
.zone-pills a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: 12px; }
.gallery-grid a { position: relative; border-radius: 10px; overflow: hidden; display: block; box-shadow: var(--shadow-sm); }
.gallery-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,21,31,0.6) 100%); opacity: 0; transition: opacity 0.25s ease; }
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:nth-child(4) { grid-row: span 2; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; margin: 0 24px; overflow: hidden; box-shadow: var(--shadow); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgba(224,51,42,0.4) 0%, transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Page hero ---------- */
.page-hero { padding: 54px 0 42px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 90% at 90% 0%, rgba(224,51,42,0.32) 0%, transparent 60%); }
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 640px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

.content-block { max-width: 760px; }
.content-block h2 { margin-top: 1.5em; }
.content-block ul { color: var(--text-muted); padding-left: 1.2em; }
.content-block li { margin-bottom: 0.5em; }

.two-col { display: grid; grid-template-columns: 1fr 330px; gap: 46px; align-items: start; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: sticky; top: 90px; }
.side-card h3 { font-size: 1.03rem; }
.side-card ul { list-style: none; padding: 0; margin: 16px 0; }
.side-card li { display: flex; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-muted); }
.side-card li:last-child { border-bottom: none; }
.side-card li .icon { width: 17px; height: 17px; color: var(--red); margin-right: 10px; flex-shrink: 0; }

.service-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 26px 0; aspect-ratio: 16/10; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 54px 0 26px; margin-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { display: flex; align-items: center; margin-bottom: 12px; }
.footer-grid li .icon { width: 15px; height: 15px; margin-right: 10px; flex-shrink: 0; color: rgba(255,255,255,0.55); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,0.3); transition: transform 0.2s ease; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Contact form ---------- */
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.87rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--sans); font-size: 0.95rem; background: var(--bg); color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(224,51,42,0.14); }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero h1, .hero p.lead, .hero .cta-row, .hero .stat-row { animation: fadeInUp 0.8s ease both; }
.hero p.lead { animation-delay: 0.1s; }
.hero .cta-row { animation-delay: 0.2s; }
.hero .stat-row { animation-delay: 0.3s; }
.route-card { animation: fadeInUp 0.9s ease 0.15s both; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .route-card { max-width: 380px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--red) 0 6px, transparent 6px 12px); }
  .timeline-step { text-align: left; display: flex; gap: 18px; align-items: flex-start; padding: 0; }
  .timeline-step .num { margin: 0; flex-shrink: 0; }
}
@media (max-width: 680px) {
  .main-nav { position: fixed; top: 66px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; transform: translateY(-140%); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: block; }
  .btn-call-header { display: none; }
  .grid-3, .grid-2, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  .cta-band { margin: 0 16px; padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #e0332a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
  z-index: 400;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #a8241d; transform: translateY(-3px); }
@media (max-width: 680px) {
  .back-to-top { right: 16px; bottom: 84px; width: 42px; height: 42px; }
}
