/*
Theme Name: OVIIGI Technologies
Theme URI: https://oviigi.com
Author: OVIIGI Technologies
Description: Theme premium pour hebergement web, cloud, domaines et solutions numeriques.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: oviigi-technologies
*/

:root {
  --oviigi-navy: #071B33;
  --oviigi-orange: #FF8A24;
  --oviigi-white: #FFFFFF;
  --oviigi-light: #F5F8FC;
  --oviigi-text: #172B45;
}

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--oviigi-text);
  background: var(--oviigi-light);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* OVIIGI PREMIUM CSS V1 */

html { scroll-behavior: smooth; }

.oviigi-header {
  background: #071B33;
  color: #fff;
  border-bottom: 1px solid #193653;
}

.oviigi-header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.oviigi-brand-name {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.oviigi-brand-name span { color: #FF8A24; }

.oviigi-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oviigi-menu a { color: #E4ECF6; font-size: 14px; }
.oviigi-menu a:hover { color: #FF8A24; }

.oviigi-header-cta,
.oviigi-btn-primary {
  display: inline-block;
  background: #FF8A24;
  color: #071B33;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 700;
}

.oviigi-hero {
  background: linear-gradient(135deg,#071B33,#102E50);
  color: #fff;
  padding: 100px 24px;
}

.oviigi-hero-inner,
.oviigi-section-inner {
  max-width: 1200px;
  margin: auto;
}

.oviigi-eyebrow {
  color: #FF8A24;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
}

.oviigi-hero h1 {
  font-size: clamp(36px,5vw,68px);
  line-height: 1.12;
  max-width: 780px;
  letter-spacing: -2px;
}

.oviigi-hero-description {
  max-width: 650px;
  color: #C5D3E3;
  font-size: 18px;
  line-height: 1.7;
}

.oviigi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.oviigi-btn-secondary {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid #7189A3;
  border-radius: 9px;
  color: #fff;
}

.oviigi-services { padding: 80px 24px; }
.oviigi-services h2 { font-size: 36px; }
.oviigi-section-description { color: #60718A; }

.oviigi-services-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
  margin-top: 36px;
}

.oviigi-service-card {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #E4EAF1;
  box-shadow: 0 8px 30px rgba(7,27,51,.05);
}

.oviigi-service-card h3 { color: #071B33; }
.oviigi-service-card p { line-height: 1.7; color: #60718A; }

.oviigi-footer {
  background: #071B33;
  color: #fff;
  padding: 65px 24px 20px;
}

.oviigi-footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 35px;
}

.oviigi-footer h2 span { color: #FF8A24; }
.oviigi-footer p { color: #C5D3E3; line-height: 1.7; }
.oviigi-footer ul { list-style: none; padding: 0; }
.oviigi-footer li { margin-bottom: 12px; }
.oviigi-footer a { color: #C5D3E3; }
.oviigi-footer a:hover { color: #FF8A24; }

.oviigi-footer-bottom {
  max-width: 1200px;
  margin: 45px auto 0;
  border-top: 1px solid #25415E;
  padding-top: 20px;
  font-size: 13px;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.screen-reader-text:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: #fff;
  color: #071B33;
  padding: 12px;
}

@media (max-width: 900px) {
  .oviigi-header-inner { flex-wrap: wrap; }
  .oviigi-navigation { width: 100%; order: 3; }
  .oviigi-menu { flex-wrap: wrap; gap: 15px; }
  .oviigi-services-grid { grid-template-columns: repeat(2,1fr); }
  .oviigi-footer-inner { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .oviigi-header-inner { padding: 18px; }
  .oviigi-brand-name { font-size: 21px; }
  .oviigi-header-cta { padding: 10px 13px; font-size: 12px; }
  .oviigi-menu { gap: 12px 18px; }
  .oviigi-hero { padding: 65px 20px; }
  .oviigi-hero h1 { letter-spacing: -1px; }
  .oviigi-hero-description { font-size: 16px; }
  .oviigi-services { padding: 55px 20px; }
  .oviigi-services h2 { font-size: 28px; }
  .oviigi-services-grid { grid-template-columns: 1fr; }
  .oviigi-footer-inner { grid-template-columns: 1fr; }
}

/* OVIIGI PREMIUM LOGO V1 */

.oviigi-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.oviigi-brand-name {
  display: inline-flex;
  align-items: center;
}

.oviigi-premium-logo {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .oviigi-premium-logo {
    width: 155px;
  }

  .oviigi-brand {
    flex: 0 1 155px;
  }
}

/* OVIIGI HAMBURGER CSS V1 */

.oviigi-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid #36516F;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.oviigi-menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 3px;
}

.oviigi-menu-toggle:focus-visible {
  outline: 2px solid #FF8A24;
  outline-offset: 3px;
}

@media (max-width: 900px) {

  .oviigi-menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .oviigi-header-cta {
    order: 1;
  }

  .oviigi-navigation {
    display: none;
    width: 100%;
    order: 3;
  }

  .oviigi-navigation.is-open {
    display: block;
  }

  .oviigi-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
  }

  .oviigi-menu li {
    width: 100%;
  }

  .oviigi-menu a {
    display: block;
    padding: 13px 10px;
    color: #FFFFFF;
    border-bottom: 1px solid #25415E;
  }

  .oviigi-menu a:hover,
  .oviigi-menu a:focus-visible {
    color: #FF8A24;
  }
}

@media (max-width: 600px) {
  .oviigi-header-inner {
    gap: 10px;
  }

  .oviigi-brand {
    flex: 1 1 120px;
  }

  .oviigi-premium-logo {
    width: 155px;
  }

  .oviigi-header-cta {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* OVIIGI MOBILE FIX V2 */

@media (max-width: 900px) {

  .oviigi-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
  }

  .oviigi-brand {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
  }

  .oviigi-premium-logo {
    width: 170px;
    max-width: 100%;
    height: auto;
  }

  .oviigi-menu-toggle {
    display: inline-flex;
    order: 2;
    flex: 0 0 44px;
    margin-left: auto;
  }

  .oviigi-header-cta {
    display: none;
  }

  .oviigi-navigation {
    display: none;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    margin: 4px 0 0;
    padding: 0 12px;
    background: #071B33;
    border: 1px solid #25415E;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .oviigi-navigation.is-open {
    display: block;
  }

  .oviigi-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 0;
  }

  .oviigi-menu li {
    width: 100%;
    margin: 0;
  }

  .oviigi-menu a {
    display: block;
    padding: 11px 10px;
    font-size: 14px;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  .oviigi-premium-logo {
    width: 155px;
  }
}

/* OVIIGI HEADER ACTIONS V1 */

.oviigi-header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.oviigi-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.oviigi-action-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

@media (min-width: 901px) {
  .oviigi-header-actions {
    order: 2;
  }

  .oviigi-header-cta {
    order: 3;
  }
}

@media (max-width: 900px) {
  .oviigi-header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .oviigi-brand {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
  }

  .oviigi-header-actions {
    order: 2;
    gap: 8px;
    flex: 0 0 auto;
  }

  .oviigi-action-icon {
    width: 34px;
    height: 40px;
  }

  .oviigi-menu-toggle {
    order: 3;
    margin-left: 0;
  }

  .oviigi-navigation {
    order: 4;
  }

  .oviigi-header-cta {
    display: none;
  }
}

@media (max-width: 380px) {
  .oviigi-header-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .oviigi-premium-logo {
    width: 115px;
  }

  .oviigi-header-actions {
    gap: 3px;
  }

  .oviigi-action-icon {
    width: 30px;
  }

  .oviigi-menu-toggle {
    width: 40px;
    flex-basis: 40px;
  }
}
