/*
Theme Name: AOTech Child
Theme URI: https://aotech.ch
Description: Thème moderne AOTech Sàrl - refonte 2025
Author: AOTech
Template: twentytwentyfour
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800;900&family=Noto+Sans:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --ao-navy:   #1B3B5F;
  --ao-navy2:  #14304f;
  --ao-navy3:  #0a1e35;
  --ao-blue:   #2a7fc4;
  --ao-blue2:  #1e6aaa;
  --ao-sky:    rgba(42,127,196,0.12);
  --ao-light:  #f2f5f8;
  --ao-border: #dde4ed;
  --ao-text:   #333a45;
  --ao-muted:  #6b7a8d;
  --ao-white:  #ffffff;
  --r-sm: 4px;
  --r-md: 7px;
  --r-lg: 12px;
  --shadow-sm: 0 2px 12px rgba(27,59,95,0.08);
  --shadow-md: 0 6px 32px rgba(27,59,95,0.12);
  --shadow-lg: 0 16px 64px rgba(27,59,95,0.16);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Noto Sans', sans-serif;
  --nav-h: 62px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ao-text);
  background: var(--ao-white);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.ao-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--ao-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  transition: background var(--transition), box-shadow var(--transition);
}

.ao-nav.scrolled {
  background: var(--ao-navy2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ao-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.ao-nav__logo img {
  height: 44px;
  width: auto;
  display: block;
}

.ao-nav__logo-text {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ao-nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.ao-nav__menu a {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  padding: 0 6px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.ao-nav__menu a:hover,
.ao-nav__menu a.active {
  color: #fff;
  border-bottom-color: var(--ao-blue);
}

.ao-nav__cta {
  background: var(--ao-blue) !important;
  color: #fff !important;
  border-radius: var(--r-sm) !important;
  padding: 0 18px !important;
  height: 36px !important;
  border-bottom: none !important;
  font-size: 10px !important;
}

.ao-nav__cta:hover {
  background: var(--ao-blue2) !important;
  border-bottom: none !important;
}

/* Hamburger mobile */
.ao-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.ao-nav__burger span {
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.ao-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  margin-top: 0;
}

.ao-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.ao-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,20,40,0.70) 0%,
    rgba(15,30,55,0.48) 40%,
    rgba(15,30,55,0.08) 70%,
    transparent 100%
  );
}

.ao-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  max-width: 680px;
}

.ao-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(42,127,196,0.18);
  border: 1px solid rgba(42,127,196,0.38);
  color: rgba(255,255,255,0.82);
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  margin-bottom: 22px;
  width: fit-content;
  animation: fadeUp 0.7s 0.1s both;
}

.ao-hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--ao-blue);
  border-radius: 50%;
}

.ao-hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.04;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  animation: fadeUp 0.7s 0.2s both;
}

.ao-hero__title span {
  color: #fff;
}
.home .ao-hero__title span {
  color: var(--ao-blue);
}

.ao-hero__sub {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.60);
  line-height: 1.78;
  margin-bottom: 36px;
  max-width: 500px;
  animation: fadeUp 0.7s 0.3s both;
}

.ao-hero__actions {
  display: flex;
  gap: 12px;
  animation: fadeUp 0.7s 0.4s both;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-sm);
  padding: 13px 24px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn--primary {
  background: var(--ao-blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--ao-blue2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42,127,196,0.4);
}

.btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.28);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn--navy {
  background: var(--ao-navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--ao-navy2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ao-navy);
  border: 1.5px solid var(--ao-border);
}

.btn--ghost:hover {
  border-color: var(--ao-blue);
  color: var(--ao-blue);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.ao-stats {
  background: var(--ao-navy2);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ao-stats__item {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 90px;
}

.ao-stats__item:last-child { border-right: none; }

.ao-stats__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 34px;
  color: #fff;
  line-height: 1;
}

.ao-stats__label {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.40);
  margin-top: 4px;
  line-height: 1.4;
  max-width: 100px;
}

.ao-stats__logo {
  max-height: 72px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity var(--transition);
}

.ao-stats__logo:hover { opacity: 1; }

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.ao-section {
  padding: 72px 0;
}

.ao-section--light { background: var(--ao-white); }
.ao-section--gray  { background: var(--ao-light); }
.ao-section--navy  { background: var(--ao-navy); }
.ao-section--dark  { background: var(--ao-navy3); }

.ao-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.ao-section__eyebrow {
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ao-blue);
  margin-bottom: 10px;
  display: block;
}

.ao-section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--ao-navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.ao-section--navy .ao-section__title,
.ao-section--dark .ao-section__title {
  color: #fff;
}

.ao-section__lead {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ao-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ============================================================
   GRILLE SERVICES
   ============================================================ */
.ao-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.ao-service-card {
  background: var(--ao-white);
  border: 1px solid var(--ao-border);
  border-radius: var(--r-lg);
  padding: 26px;
  border-top: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.ao-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,127,196,0.03), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.ao-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ao-service-card:hover::after { opacity: 1; }

.ao-service-card--navy { border-top-color: var(--ao-navy); }
.ao-service-card--blue { border-top-color: var(--ao-blue); }

.ao-service-card__icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

.ao-service-card--navy .ao-service-card__icon {
  background: rgba(27,59,95,0.08);
}

.ao-service-card--blue .ao-service-card__icon {
  background: rgba(42,127,196,0.10);
}

.ao-service-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--ao-navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.ao-service-card__text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ao-muted);
  line-height: 1.65;
}

/* ============================================================
   SECTION ENTREPRISE (2 colonnes)
   ============================================================ */
.ao-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.ao-about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.ao-about__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ao-about__list li::before {
  content: '';
  min-width: 6px; height: 6px;
  background: var(--ao-blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.ao-about__list li p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #444;
  line-height: 1.68;
}

.ao-about__list strong {
  color: var(--ao-navy);
  font-weight: 600;
}

.ao-about__actions {
  margin-top: 28px;
  display: flex;
  gap: 10px;
}

/* Carte contact */
.ao-contact-card {
  background: var(--ao-white);
  border: 1px solid var(--ao-border);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.ao-contact-card__avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ao-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.ao-contact-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.ao-contact-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ao-navy);
}

.ao-contact-card__role {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ao-muted);
  margin-top: 2px;
}

.ao-contact-card__fields {
  border-top: 1px solid var(--ao-border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ao-contact-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ao-contact-card__label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ao-muted);
  flex-shrink: 0;
}

.ao-contact-card__value {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ao-text);
  text-align: right;
}

.ao-contact-card__value--blue {
  color: var(--ao-blue);
  font-weight: 600;
}

.ao-contact-card__value--navy {
  color: var(--ao-navy);
  font-weight: 600;
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
   PARTENAIRES — CARTES
   ============================================================ */
.ao-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.ao-partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ao-partner-card__logo {
  background: var(--ao-navy);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

.ao-partner-card__logo img {
  max-height: 72px;
  max-width: 190px;
  object-fit: contain;
}

.ao-partner-card__logo--text span {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.ao-partner-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ao-partner-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ao-navy);
}

.ao-partner-card__text {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ao-text);
  line-height: 1.6;
}

.ao-partner-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.ao-partner-card__list li {
  font-size: 12.5px;
  color: var(--ao-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ao-partner-card__list li::before {
  content: '→';
  color: var(--ao-blue);
  font-weight: 700;
  flex-shrink: 0;
}

.ao-partners__label {
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #bbb;
  text-align: center;
  margin-bottom: 24px;
}

/* ============================================================
   PAGE RÉALISATIONS — GRILLE PROJETS
   ============================================================ */
.ao-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.ao-project-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.ao-project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ao-project-card:hover .ao-project-card__img {
  transform: scale(1.04);
}

.ao-project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(10,20,40,0.92) 100%
  );
  transition: opacity var(--transition);
}

.ao-project-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 2;
  transform: translateY(4px);
  transition: transform var(--transition);
}

.ao-project-card:hover .ao-project-card__content {
  transform: translateY(0);
}

.ao-project-card__tag {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ao-blue);
  margin-bottom: 6px;
  display: block;
}

.ao-project-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.ao-project-card__desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.ao-project-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition);
}

.ao-project-card:hover .ao-project-card__arrow {
  opacity: 1;
  transform: translateY(0);
  background: var(--ao-blue);
}

/* ============================================================
   PAGE PROJET — LAYOUT IMMERSIF
   ============================================================ */
.ao-project-hero {
  position: relative;
  height: 65vh;
  min-height: 400px;
  overflow: hidden;
}

.ao-project-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ao-project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,20,40,0.85) 100%);
}

.ao-project-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
  z-index: 2;
}

.ao-project-hero__breadcrumb {
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.ao-project-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.ao-project-hero__breadcrumb a:hover { color: #fff; }

.ao-project-hero__tag {
  display: inline-block;
  background: var(--ao-blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.ao-project-hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 52px);
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.ao-project-hero__subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* Section texte + galerie projet */
.ao-project-body {
  padding: 64px 0;
}

.ao-project-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.ao-project-meta {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.ao-project-meta__title {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ao-muted);
  margin-bottom: 16px;
}

.ao-project-meta__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ao-project-meta__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ao-project-meta__list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--ao-blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.ao-project-meta__list li span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ao-text);
  line-height: 1.5;
}

.ao-project-content h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--ao-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.ao-project-content p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ao-muted);
  line-height: 1.82;
  margin-bottom: 24px;
}

.ao-project-content p strong {
  color: var(--ao-text);
  font-weight: 600;
}

/* Galerie photos projet */
.ao-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.ao-gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
}

.ao-gallery__item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.ao-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ao-gallery__item:hover img {
  transform: scale(1.04);
}

/* ============================================================
   PAGE MENTIONS LÉGALES / PROTECTION DONNÉES
   ============================================================ */
.ao-legal {
  padding: 96px 0 72px;
}

.ao-legal__content {
  max-width: 740px;
  margin: 0 auto;
}

.ao-legal__content h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  color: var(--ao-navy);
  margin-bottom: 32px;
}

.ao-legal__content h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ao-navy);
  margin: 32px 0 12px;
}

.ao-legal__content p, .ao-legal__content li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ao-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ao-footer {
  background: var(--ao-navy3);
}

.ao-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ao-footer__brand img {
  height: 28px;
  opacity: 0.7;
  margin-bottom: 14px;
}

.ao-footer__tagline {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 260px;
}

.ao-footer__heading {
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 16px;
}

.ao-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ao-footer__links a {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color var(--transition);
}

.ao-footer__links a:hover { color: rgba(255,255,255,0.8); }

.ao-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.ao-footer__copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.22);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

.ao-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ao-reveal.revealed, .ao-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ao-services { grid-template-columns: repeat(2, 1fr); }
  .ao-about, .ao-project-layout { grid-template-columns: 1fr; gap: 36px; }
  .ao-project-meta { position: static; }
  .ao-projects { grid-template-columns: 1fr; }
  .ao-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ao-stats { grid-template-columns: repeat(3, 1fr); }
  .ao-hero__content { padding: 0 28px; }
  .ao-partners-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ao-nav__menu { display: none; }
  .ao-nav__burger { display: flex; }
  .ao-services { grid-template-columns: 1fr; }
  .ao-gallery { grid-template-columns: repeat(2, 1fr); }
  .ao-gallery__item:first-child { grid-column: span 2; }
  .ao-footer__main { grid-template-columns: 1fr; }
  .ao-stats { grid-template-columns: 1fr 1fr; }
  .ao-partners-grid { grid-template-columns: 1fr; gap: 20px; }
  .ao-partners { gap: 28px; }
  .ao-partners img { height: 40px; }
}

/* ============================================================
   HERO — SCROLL INDICATOR
   ============================================================ */
.ao-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  z-index: 3;
  animation: fadeIn 1s 0.8s both;
}

.ao-hero__scroll-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.ao-hero__scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollPulse 2s ease-in-out infinite;
}

.ao-hero__scroll:hover .ao-hero__scroll-label {
  color: rgba(255,255,255,0.8);
}

.ao-hero__scroll:hover .ao-hero__scroll-arrow svg path {
  stroke: rgba(255,255,255,1);
}

/* ===== AJOUTS SESSION ===== */
/* Solaire dans nav — icône uniquement, couleur normale */
.ao-nav__menu a[href*="solaire"] {
  color: rgba(255,255,255,0.58);
}
.ao-nav__menu a[href*="solaire"]:hover {
  color: #fff;
  border-bottom-color: var(--ao-blue);
}
/* Fix badges normes — blanc sur fond navy */
.ao-norm-badge {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
}

/* ============================================================
   MASQUER HEADER DIVI — toutes pages thème enfant AOTech
   ============================================================ */
html body #main-header,
html body #top-header,
html body #et-secondary-nav,
html body #et_mobile_nav_menu,
html body ul.et-menu-nav,
html body .et-menu-nav,
html body div#main-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
html body,
html body #page-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ============================================================
   MASQUER HEADER/FOOTER TWENTYTWENTYFOUR (thème parent)
   ============================================================ */
div#header,
div#headerimg,
div#footer,
.wp-block-template-part[class*="header"],
#masthead {
    display: none !important;
}

/* Supprimer marges résiduelles T24 */
body.page { margin-top: 0 !important; padding-top: 0 !important; }
#page { padding-top: 0 !important; margin-top: 0 !important; }
