/* =========================================================
   STAGONA — Υδραυλικός Ηγουμενίτσα
   Mobile-first · bleu/blanc · léger
   ========================================================= */

:root {
  --blue:        #0a6ebd;
  --blue-dark:   #075291;
  --blue-deep:   #063a68;
  --blue-tint:   #eaf4fb;
  --blue-tint-2: #f4f9fd;
  --viber:       #7360f2;
  --green:       #1faa59;
  --ink:         #12283a;
  --muted:       #4a6072;
  --line:        #dbe6ef;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 6px 24px rgba(9, 60, 104, .10);
  --shadow-sm:   0 2px 10px rgba(9, 60, 104, .08);
  --wrap:        1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* espace pour la sticky bar mobile */
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.brand-drop { font-size: 1.35rem; line-height: 1; }
.brand-name { font-size: 1.15rem; color: var(--blue-dark); letter-spacing: .2px; }
.brand-name-lat { color: var(--muted); font-weight: 600; font-size: .85rem; }

.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: .8rem;
  padding: 6px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s ease;
}
.lang-switch button:hover { border-color: var(--blue); color: var(--blue); }
.lang-switch button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; fill: currentColor; }

.btn-call   { background: var(--green); color: #fff; }
.btn-call:hover { background: #178c49; }
.btn-viber  { background: var(--viber); color: #fff; }
.btn-viber:hover { background: #5f4de0; }
.btn-google { background: #fff; color: var(--blue-dark); border-color: var(--line); }
.btn-google:hover { border-color: var(--blue); }
.btn-google .ico { fill: var(--blue); }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(255,255,255,.35), transparent),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 0 60px;
}
.hero-eyebrow {
  letter-spacing: 3px;
  font-weight: 700;
  font-size: .8rem;
  opacity: .9;
  margin-bottom: 6px;
}
.hero-title {
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: .5px;
}
.hero-slogan {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: clamp(1.02rem, 3.6vw, 1.2rem);
  opacity: .96;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .3px;
}
.pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5252;
  box-shadow: 0 0 0 0 rgba(255, 82, 82, .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 82, 82, .7); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 82, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.hero-note {
  margin-top: 18px;
  font-size: .9rem;
  opacity: .85;
  font-weight: 600;
}

/* ---------------- Sections ---------------- */
.section { padding: 52px 0; }
.section-band { background: var(--blue-tint-2); }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--blue-deep);
  margin-bottom: 26px;
}

/* ---------------- Services ---------------- */
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-weight: 600;
  font-size: .98rem;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, border-color .15s ease;
}
.service-card:hover { transform: translateY(-2px); border-color: var(--blue); }
.svc-ico {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--blue-tint);
  border-radius: 9px;
  padding: 4px;
}

/* ---------------- Zone ---------------- */
.zone-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.zone-ico {
  width: 46px; height: 46px;
  fill: var(--blue);
  margin: 0 auto 6px;
}
.zone-text { font-size: 1.1rem; color: var(--muted); }

/* ---------------- Why us ---------------- */
.why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}
.why-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: .9rem;
}
.langs-spoken {
  text-align: center;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------------- Reviews ---------------- */
.reviews-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.stars { color: #f5a623; font-size: 1.5rem; letter-spacing: 3px; margin-bottom: 8px; }
.reviews-text { color: var(--muted); margin-bottom: 22px; }
.btn-google { display: inline-flex; }

/* ---------------- Contact ---------------- */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, border-color .15s ease;
}
a.contact-card:hover { transform: translateY(-2px); border-color: var(--blue); }
.contact-card .ico { width: 28px; height: 28px; fill: var(--blue); margin-bottom: 4px; }
.contact-card .ico-stroke { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { color: var(--muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.contact-value { font-size: 1.15rem; color: var(--blue-deep); }
.contact-note { margin-top: 6px; font-size: .85rem; font-weight: 700; color: #d33; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--blue-deep);
  color: #dcebf7;
  text-align: center;
  padding: 30px 0 90px; /* espace sticky bar */
}
.footer-name { font-weight: 800; letter-spacing: .5px; }
.footer-line { margin-top: 6px; opacity: .9; }
.footer-line a { color: #fff; font-weight: 700; }
.footer-copy { margin-top: 10px; font-size: .8rem; opacity: .6; }

/* ---------------- Sticky call bar (mobile) ---------------- */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(9, 60, 104, .12);
}
.sticky-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 15px;
  border-radius: 12px;
}
.sticky-call .ico { width: 22px; height: 22px; fill: #fff; }
.sticky-viber {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  background: var(--viber);
  border-radius: 12px;
}
.sticky-viber .ico { width: 26px; height: 26px; fill: #fff; }

/* ---------------- Desktop ---------------- */
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  /* la barre collante est surtout utile sur mobile */
  .sticky-bar { display: none; }
  .site-footer { padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
