/* ===================================================
   ATARE LLC — Feuille de style principale
   =================================================== */

:root {
  --navy: #0b1f33;
  --navy-dark: #071523;
  --steel: #4a5a6a;
  --silver: #c9d2da;
  --blue: #2f6fed;
  --blue-dark: #1e4fb8;
  --white: #ffffff;
  --off-white: #f4f6f8;
  --text: #1c2b3a;
  --text-light: #5b6b7a;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link img {
  height: 92px;
  width: auto;
}

@media (max-width: 980px) {
  .logo-link img { height: 68px; }
}

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

nav.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

nav.main-nav > ul > li {
  position: relative;
}

nav.main-nav a {
  color: var(--silver);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 14px;
  display: inline-block;
  letter-spacing: 0.2px;
  transition: color .15s ease;
}

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

nav.main-nav .has-submenu > a::after {
  content: " ▾";
  font-size: 11px;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  display: block;
}

.submenu a:hover {
  background: var(--off-white);
  color: var(--blue);
}

.btn-contact-nav {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 10px 20px !important;
}

.btn-contact-nav:hover {
  background: var(--blue-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto 18px;
  font-weight: 700;
}

.hero p.lead {
  font-size: 18px;
  color: var(--silver);
  max-width: 780px;
  margin: 0 auto 14px;
}

.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all .15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  border: 1.5px solid var(--silver);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--off-white); }

.section-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--navy);
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 16px;
}

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f4;
}

.card img.icon {
  height: 54px;
  margin: 0 auto 16px;
}

.card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--navy);
}

.card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.quote-block {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  gap: 36px;
  align-items: center;
}

.quote-block img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--blue);
}

.quote-block blockquote {
  margin: 0 0 12px;
  font-size: 19px;
  font-style: italic;
  color: var(--silver);
}

.quote-block cite {
  font-style: normal;
  font-weight: 700;
  color: var(--white);
}

@media (max-width: 700px) {
  .quote-block { flex-direction: column; text-align: center; }
}

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero h1 { font-size: 30px; margin: 0 0 10px; }
.page-hero p { color: var(--silver); font-size: 17px; max-width: 700px; margin: 0 auto; }

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--blue); }

/* ---------- Content blocks ---------- */
.service-block {
  margin-bottom: 42px;
  padding-bottom: 38px;
  border-bottom: 1px solid #e8ecef;
}
.service-block:last-child { border-bottom: none; }
.service-block h2 {
  color: var(--navy);
  font-size: 22px;
  margin: 0 0 12px;
}
.service-block p { color: var(--text); font-size: 15.5px; }
.service-block strong { color: var(--navy); }

.expertise-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.expertise-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px dashed #e3e8ec;
  font-size: 15.5px;
}
.expertise-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.expertise-list strong { color: var(--navy); }

.narrative p { font-size: 15.5px; margin-bottom: 18px; color: var(--text); }
.narrative h2 { color: var(--navy); font-size: 24px; margin: 36px 0 16px; }

.value-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.value-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  font-size: 15.5px;
  border-bottom: 1px solid #eef1f4;
}
.value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: 18px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.contact-card p { margin: 6px 0; font-size: 15px; }
.contact-card a { color: var(--blue); font-weight: 600; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: var(--silver);
  padding: 40px 0 24px;
  margin-top: 40px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer img { height: 40px; }
footer.site-footer p { font-size: 13px; margin: 0; color: #8fa0b0; }
footer .footer-links { display: flex; gap: 18px; font-size: 13px; }
footer .footer-links a:hover { color: var(--white); }

/* ---------- Language switcher (Google Translate) ---------- */
.lang-switch {
  margin-left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch::before {
  content: "🌐";
  font-size: 18px;
  line-height: 1;
}
#google_translate_element .goog-te-gadget {
  font-family: inherit !important;
  font-size: 0 !important;
  color: transparent !important;
}
#google_translate_element .goog-te-gadget-simple {
  background: var(--white);
  border: 1.5px solid var(--blue) !important;
  border-radius: 6px;
  padding: 8px 14px;
  display: inline-block;
}
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value {
  display: inline-flex !important;
  align-items: center;
}
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span {
  color: var(--navy) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}
#google_translate_element img { vertical-align: middle; }
body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }

/* ---------- Role badges (capabilities strip) ---------- */
.role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}
.role-badge {
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.lead-text {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
}
.text-light-note {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  border-left: 3px solid var(--silver);
  padding-left: 14px;
  margin-top: 24px;
}

/* ---------- QR codes (contact page) ---------- */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 460px;
  margin: 32px auto 0;
}
.qr-item {
  background: var(--white);
  border: 1px solid #e3e8ec;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: center;
}
.qr-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  margin: 0 auto 12px;
}
.qr-item span {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
@media (max-width: 560px) {
  .qr-grid { grid-template-columns: 1fr 1fr; max-width: 340px; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f4;
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote-mark {
  font-size: 34px;
  color: var(--blue);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 6px;
}
.testimonial-card p {
  font-size: 14.5px;
  color: var(--text);
  flex-grow: 1;
  margin: 0 0 14px;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  border-top: 1px solid #eef1f4;
  padding-top: 12px;
}

/* ---------- Mobile nav fallback ---------- */
@media (max-width: 980px) {
  .header-inner { flex-direction: column; gap: 10px; padding-bottom: 14px; }
  nav.main-nav > ul { flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 26px; }
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 16/9;
  background: var(--navy-dark);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,31,51,0.55);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
  z-index: 5;
}
.carousel-btn:hover { background: var(--blue); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  padding: 0;
}
.carousel-dot.active { background: var(--white); }
@media (max-width: 640px) {
  .carousel-slide { aspect-ratio: 4/3; }
  .carousel-btn { width: 36px; height: 36px; font-size: 18px; }
}
