/* ============================================================
   RONDEAU TUNISIE — Coastal Moderne
   ============================================================ */
:root {
  --ocean:   #0077b6;
  --ocean-d: #005f92;
  --ocean-l: #e0eef8;
  --navy:    #0a1628;
  --red:     #c0392b;
  --red-d:   #9b2c1f;
  --white:   #ffffff;
  --silver:  #f4f6f9;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --font:    'Inter', sans-serif;
  --shadow:  0 4px 24px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.14);
  --radius:  6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy);
  padding: 8px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left { display: flex; gap: 24px; }
.topbar-right { font-weight: 500; color: rgba(255,255,255,0.6); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-suzuki {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--ocean);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  letter-spacing: 0.3px;
}

.nav-menu a:hover { color: var(--ocean); background: var(--ocean-l); }
.nav-menu a.active { color: var(--ocean); border-bottom: 2px solid var(--ocean); border-radius: 0; }

.btn-nav {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 24px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 14px rgba(192,57,43,0.35) !important;
  transition: transform .2s, box-shadow .2s !important;
}

.btn-nav:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(192,57,43,0.5) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2146 60%, #0a3060 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230077b6' fill-opacity='0.06'%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  display: inline-block;
  background: rgba(0,119,182,0.3);
  color: var(--ocean-l);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,119,182,0.4);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--ocean);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background .2s, transform .2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--ocean-d);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  transition: border-color .2s, background .2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img img {
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.hero-placeholder {
  width: 100%;
  height: 340px;
  background: rgba(0,119,182,0.15);
  border-radius: 12px;
  border: 2px dashed rgba(0,119,182,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  font-weight: 500;
}

/* Stats bar */
.stats-bar {
  background: var(--ocean);
  padding: 24px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stat-item { color: var(--white); }
.stat-num {
  font-size: 32px;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--silver); }

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-block;
  color: var(--ocean);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.sep {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ============================================================
   CARDS PRODUITS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card-produit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}

.card-produit:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-produit-img {
  height: 200px !important;
  max-height: 200px !important;
  min-height: 200px !important;
  background: var(--silver);
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.card-produit-img img {
  width: 100% !important;
  height: 200px !important;
  max-height: 200px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  padding: 12px !important;
}

.card-produit-img-placeholder {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

.card-produit-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-produit-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 6px;
}

.card-produit-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-produit-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.card-produit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-puissance {
  font-size: 18px;
  font-weight: 900;
  color: var(--ocean);
}

.card-prix {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.btn-sm {
  background: var(--ocean);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .2s;
  display: inline-block;
}

.btn-sm:hover { background: var(--ocean-d); color: var(--white); }

.btn-red {
  background: var(--red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background .2s;
  display: inline-block;
}

.btn-red:hover { background: var(--red-d); color: var(--white); }

/* ============================================================
   CARDS ACTUALITÉS
   ============================================================ */
.card-actu {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}

.card-actu:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-actu-img {
  background: var(--silver);
  overflow: hidden;
}

.card-actu-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s;
}

.card-actu:hover .card-actu-img img { transform: scale(1.05); }

.card-actu-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--ocean-l), var(--silver));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
}

.card-actu-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-actu-date {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.card-actu-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-actu-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

/* ============================================================
   SECTION GAMMES (homepage)
   ============================================================ */
.gammes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gammes-text {
  background: var(--navy);
  color: var(--white);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gammes-text h2 {
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.gammes-text p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.gammes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}

.gammes-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
}

.gammes-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--ocean);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.gammes-img {
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.gammes-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================================
   CONTACT CTA
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-d) 100%);
  padding: 70px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 32px;
}

.btn-white {
  background: var(--white);
  color: var(--ocean);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--ocean);
}

/* ============================================================
   PAGE HERO (intérieur)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2146 100%);
  padding: 60px 0;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: 38px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   FILTRES PRODUITS
   ============================================================ */
.filtres {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filtre-btn {
  padding: 8px 20px;
  border: 2px solid var(--border);
  border-radius: 30px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.filtre-btn:hover, .filtre-btn.active {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
}

/* ============================================================
   GALERIE / CAROUSEL PRODUIT
   ============================================================ */
.produit-galerie {
  position: relative;
  background: var(--silver);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.galerie-main {
  position: relative;
  height: 420px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.galerie-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity .3s;
}

.galerie-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--navy);
  z-index: 10;
  transition: all .2s;
  box-shadow: var(--shadow);
  user-select: none;
}

.galerie-nav:hover { background: var(--ocean); color: white; border-color: var(--ocean); }
.galerie-nav.prev { left: 12px; }
.galerie-nav.next { right: 12px; }
.galerie-nav.hidden { display: none; }

.galerie-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: white;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}

.galerie-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
  background: var(--silver);
}

.galerie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.galerie-thumb.active { border-color: var(--ocean); }
.galerie-thumb:hover { border-color: var(--ocean-d); }

.galerie-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10,22,40,0.6);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--ocean-l);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-item p { font-size: 13px; color: var(--muted); }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0,119,182,0.1); }
.form-group textarea { min-height: 130px; resize: vertical; }

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

.btn-submit {
  width: 100%;
  background: var(--ocean);
  color: var(--white);
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background .2s;
}
.btn-submit:hover { background: var(--ocean-d); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
  border-top: 3px solid var(--ocean);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid p { font-size: 13px; line-height: 1.8; }

.footer-grid ul li {
  font-size: 13px;
  padding: 3px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.footer-grid ul li span { flex-shrink: 0; }

.footer-grid ul li a {
  color: rgba(255,255,255,0.6);
  transition: color .15s, padding-left .15s;
}

.footer-grid ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.social-links { display: flex; flex-direction: column; gap: 8px; }

.social-btn {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
}
.social-btn:hover { background: var(--ocean); border-color: var(--ocean); color: var(--white); }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gammes-grid { grid-template-columns: 1fr; }
  .gammes-img { min-height: 280px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .topbar-right { display: none; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--ocean); box-shadow: var(--shadow-lg); padding: 16px; gap: 4px; z-index: 999; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .navbar { position: relative; }
  .hero { padding: 60px 0; }
}
