/* ==========================================================
   Tazzada Transport — feuille de style principale (mobile-first)
   Couleurs : bleu nuit #1B2A4A · orange #FF7A00 · blanc · gris clair
   ========================================================== */
:root {
  --navy: #1B2A4A;
  --navy-dark: #121d34;
  --orange: #FF7A00;
  --orange-dark: #e06a00;
  --white: #ffffff;
  --gray-50: #f6f7f9;
  --gray-100: #eef0f4;
  --gray-300: #cfd4dd;
  --gray-600: #5b6475;
  --text: #1f2633;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(27, 42, 74, .08);
  --container: 1140px;
  --mobile-bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: var(--mobile-bar-h); /* espace pour la barre d'appel mobile */
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: 'Poppins', 'Inter', sans-serif; color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.75rem, 5vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--gray { background: var(--gray-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head p { color: var(--gray-600); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 10px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, transform .15s, border-color .2s;
  font-family: inherit; line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255,122,0,.35); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--orange-dark); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover, .btn--secondary:focus-visible { background: var(--navy); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--light:hover, .btn--light:focus-visible { background: #fff; color: var(--navy); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-group .btn { flex: 1 1 220px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--gray-100); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--orange); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; }
.logo span small { display: block; font-size: .7rem; font-weight: 500; color: var(--gray-600); letter-spacing: .04em; }
.header-phone { display: none; }
.nav-toggle { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }
.main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow); }
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.main-nav a { display: block; padding: 12px 0; text-decoration: none; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--gray-100); }
.main-nav a[aria-current="page"] { color: var(--orange); font-weight: 600; }

/* ---------- Hero / bandeaux ---------- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #24385f 100%); color: #fff; padding: 48px 0 56px; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 620px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.rating-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 8px 14px; border-radius: 999px; font-size: .95rem; margin-bottom: 18px; color: #fff; text-decoration: none; }
.rating-badge .stars { color: #FFC23D; letter-spacing: 1px; }
.hero .btn-group { margin-top: 24px; }
.hero-link { display: inline-block; margin-top: 18px; color: #fff; font-weight: 500; }

.page-banner { background: var(--navy); color: #fff; padding: 44px 0; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: rgba(255,255,255,.85); margin: 0; max-width: 680px; }

/* ---------- Emplacements photos ---------- */
.image-slot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 14px, var(--gray-50) 14px, var(--gray-50) 28px);
  border: 2px dashed var(--gray-300); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; color: var(--gray-600);
}
.hero .image-slot { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.75); }
.image-slot img { width: 100%; height: 100%; object-fit: cover; }
/* Photo réelle : pas de pointillés, cadrage ajusté */
.image-slot.image-slot--filled { background: none; border: 0; box-shadow: 0 18px 45px rgba(0,0,0,.35); display: block; }
/* Effet : cadre effet verre + zoom lent à l'ouverture + zoom au survol */
.hero-photo {
  position: relative; margin: 0; padding: 10px; border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  animation: photoFadeIn .9s ease-out both;
}
.hero-photo .image-slot--filled { aspect-ratio: 5 / 4; border-radius: 16px; position: relative; z-index: 1; box-shadow: none; }
.hero-photo .image-slot--filled img { object-position: 50% 70%; transition: transform .8s ease; animation: photoZoom 2.2s ease-out both; }
.hero-photo:hover .image-slot--filled img { transform: scale(1.04); }
.hero-photo .image-slot--filled::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,42,74,0) 60%, rgba(27,42,74,.35) 100%); pointer-events: none; }
@keyframes photoFadeIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photoZoom { from { scale: 1.1; } to { scale: 1; } }
@keyframes badgeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero-photo .image-slot--filled img, .photo-badge { animation: none; transition: none; }
}
.hero-photo .photo-badge { left: 24px; bottom: 24px; animation: badgeIn .6s ease-out .9s both; }
.photo-badge { position: absolute; z-index: 2; left: 14px; bottom: 14px; background: #fff; color: var(--navy); border-radius: 12px; padding: 10px 14px; font-size: .88rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2); display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.photo-badge svg { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; }
.photo-badge small { display: block; font-weight: 500; color: var(--gray-600); font-size: .78rem; }

.eyebrow { display: inline-block; background: rgba(255,122,0,.12); color: var(--orange-dark); font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; letter-spacing: .02em; }
.group-title { font-size: 1.25rem; margin: 8px 0 18px; }
.grid + .group-title { margin-top: 40px; }
.destinations { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.destinations li { background: #fff; border: 1px solid var(--gray-100); border-radius: 999px; padding: 6px 12px; font-size: .9rem; font-weight: 500; }

.country-card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.country-card p { margin: 0; font-size: .95rem; }
.country-card h3 small { font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 600; color: var(--orange-dark); background: rgba(255,122,0,.12); padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
/* Encadré tarif */
.price-box { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 22px; margin: 0 0 24px; box-shadow: var(--shadow); }
.price-amount { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(2rem, 7vw, 2.6rem); line-height: 1; color: var(--orange); white-space: nowrap; }
.price-amount small { font-size: .45em; font-weight: 600; color: #fff; margin-left: 4px; }
.price-text { flex: 1 1 220px; }
.price-text strong { display: block; font-size: 1.05rem; color: #fff; }
.price-text span { font-size: .9rem; color: rgba(255,255,255,.8); }
.hero-price { display: inline-block; line-height: 1.5; margin-top: 4px; max-width: 100%; background: rgba(255,122,0,.15); border: 1px solid rgba(255,122,0,.5); color: #fff; padding: 8px 14px; border-radius: 12px; font-size: .95rem; }
.hero-price strong { color: var(--orange); font-family: 'Poppins', sans-serif; font-size: 1.25rem; white-space: nowrap; margin: 0 4px; }
.hero-price-min { white-space: nowrap; }
/* Simulateur de tarif */
.sim-grid { display: grid; gap: 24px; align-items: start; }
@media (max-width: 959px) { #simulateur-section { padding-top: 24px; } }
.sim-card h2, .tarif-card h2 { font-size: 1.25rem; }
.tarif-card { margin-bottom: 20px; }
.tarif-card .price-box { margin: 12px 0 14px; }
.sim-resultat { margin-top: 20px; padding: 20px; border-radius: var(--radius); background: #fff4ea; border: 2px solid var(--orange); }
.sim-label { font-weight: 600; color: var(--navy); margin: 0 0 4px; }
.sim-total { font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 8vw, 2.6rem); font-weight: 700; color: var(--orange-dark); margin: 0 0 6px; line-height: 1.1; }
.sim-total--devis { color: var(--navy); }
.sim-detail { color: var(--gray-600); font-size: .95rem; }
.sim-note { font-size: .85rem; color: var(--gray-600); }
.sim-erreur { color: #a4262c; font-weight: 500; margin: 0 0 10px; }
.sim-actions { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.sim-actions .btn { width: 100%; flex: 0 0 auto; }
.sim-disclaimer { font-size: .85rem; color: var(--gray-600); margin-top: 24px; }
@media (min-width: 960px) { .sim-grid { grid-template-columns: 1.1fr 1fr; } .sim-card { position: sticky; top: 90px; } }
.agencies { display: grid; gap: 20px; }
.relay-card { border-left: 5px solid var(--navy); }
.relay-card p { color: var(--text); }
.country-card .city-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.country-card .city-list li { background: var(--gray-50); }
@media (min-width: 960px) { .country-grid { grid-template-columns: repeat(2, 1fr); } }

/* Photo de l'agence (format portrait) */
.agency-photo { margin: 0; max-width: 460px; justify-self: center; width: 100%; }
.agency-photo img { width: 100%; height: auto; aspect-ratio: 740 / 1020; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 45px rgba(27,42,74,.22); }
.agency-photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--gray-600); text-align: center; }
@media (max-width: 959px) { .agency-photo img { aspect-ratio: 4 / 5; object-position: 50% 35%; } }

.image-slot figcaption { padding: 16px; font-size: .9rem; }
.image-slot svg { width: 42px; height: 42px; margin: 0 auto 8px; opacity: .6; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); border: 1px solid var(--gray-100); }
.card-icon { width: 54px; height: 54px; border-radius: 12px; background: rgba(255,122,0,.12); color: var(--orange); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 28px; height: 28px; }
.card p { color: var(--gray-600); }
.card-cta { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-100); font-weight: 600; color: var(--navy); text-decoration: none; }
.card-cta strong { color: var(--orange); white-space: nowrap; }
.service-card { display: flex; flex-direction: column; }
.service-card .card-cta { margin-top: auto; }
.service-card .image-slot { aspect-ratio: 16 / 9; margin: -26px -22px 20px; border-radius: var(--radius) var(--radius) 0 0; border-width: 0 0 2px; }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 44px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn-group { justify-content: center; max-width: 560px; margin: 20px auto 0; }

/* ---------- Zone desservie ---------- */
.city-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.city-list li { background: var(--white); border: 1px solid var(--gray-100); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.city-list li svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.highlight-box { background: #fff4ea; border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 26px 22px; margin-top: 36px; }
.highlight-box h2 { font-size: 1.3rem; }

/* ---------- À propos ---------- */
.two-col { display: grid; gap: 32px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.info-list strong { display: block; color: var(--navy); }

/* ---------- Contact ---------- */
.phone-box { display: block; text-decoration: none; background: var(--orange); color: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: 0 10px 30px rgba(255,122,0,.3); transition: background .2s; }
.phone-box:hover { background: var(--orange-dark); }
.phone-box--second { margin-top: 12px; padding: 18px 22px; background: var(--navy); box-shadow: var(--shadow); }
.phone-box--second:hover { background: var(--navy-dark); }
.phone-box--whatsapp { background: #25D366; }
.phone-box--whatsapp:hover { background: #1ebe5b; }
.phone-box span { display: block; font-size: 1rem; opacity: .95; }
.phone-box strong { display: block; font-family: 'Poppins', sans-serif; font-size: clamp(1.9rem, 8vw, 2.8rem); letter-spacing: .02em; margin: 6px 0; }
.form-card { margin-top: 28px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--gray-300); border-radius: 10px; font: inherit; color: var(--text); background: #fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,0,.18); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--gray-600); margin-top: 10px; }
.form-status { display: none; margin-top: 14px; padding: 14px; border-radius: 10px; font-weight: 500; }
.form-status.is-success { display: block; background: #e8f7ee; color: #146c3a; }
.form-status.is-error { display: block; background: #fdecec; color: #a4262c; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 40px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
.footer-grid h2 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .85rem; text-align: center; }

/* ---------- Barre d'appel fixe (mobile) ---------- */
.mobile-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: var(--mobile-bar-h);
  display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -4px 18px rgba(0,0,0,.12);
}
.mobile-call-bar .btn { flex: 1; padding: 10px 12px; font-size: .98rem; }
.mobile-call-bar .btn--primary { flex: 1.6; }
.mobile-call-bar .btn--secondary { font-size: .9rem; }
.mobile-call-bar .btn { gap: 6px; padding: 10px 8px; }
.mobile-call-bar .btn--primary { flex: 1.5; font-size: .92rem; }
.mobile-call-bar { align-items: center; gap: 10px; }
.mobile-call-bar .btn--primary { flex: 1; font-size: 1.02rem; height: 100%; }
.wa-round {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; box-shadow: 0 4px 12px rgba(37,211,102,.4);
}
.wa-round svg { width: 28px; height: 28px; }

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed; right: 14px; bottom: calc(var(--mobile-bar-h) + 14px + env(safe-area-inset-bottom)); z-index: 160;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px; border-radius: 999px;
  background: #25D366; color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s, background .2s;
}
.whatsapp-float:hover { background: #1ebe5b; transform: translateY(-2px); }
.whatsapp-float svg { width: 30px; height: 30px; flex-shrink: 0; }
.whatsapp-float { display: none; } /* sur mobile : WhatsApp est dans la barre du bas */
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; }
@media (min-width: 960px) {
  .whatsapp-float { display: inline-flex; bottom: 24px; right: 24px; padding: 12px 20px 12px 14px; }
}

/* ==========================================================
   Tablette & desktop
   ========================================================== */
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .city-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-call-bar { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 72px 0 80px; }
  .hero-grid, .two-col { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .nav-toggle { display: none; }
  .main-nav { display: block; position: static; box-shadow: none; background: none; }
  .main-nav ul { display: flex; gap: 26px; padding: 0; }
  .main-nav a { border: 0; padding: 6px 0; }
  .main-nav a:hover { color: var(--orange); }
  .header-phone { display: inline-flex; padding: 10px 18px; font-size: .95rem; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .city-list { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .btn-group .btn { flex: 0 0 auto; }
  .cta-band .btn-group .btn { flex: 1 1 0; }
}
