/*
Theme Name: ART Emballages Elementor
Theme URI: https://example.com/
Author: Generated by GitHub Copilot
Description: Thème WordPress léger, optimisé pour Elementor, dérivé de la maquette ART Emballages.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: art-emballages-elementor
*/

:root {
  --ae-primary: #284650;
  --ae-primary-2: #2f5259;
  --ae-accent: #567b5e;
  --ae-bg: #f4f4f4;
  --ae-surface: #ffffff;
  --ae-text: #1d2327;
  --ae-muted: #607078;
  --ae-radius: 14px;
  --ae-shadow: 0 10px 30px rgba(40, 70, 80, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ae-text);
  background: var(--ae-bg);
  font-family: "Inter", "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--ae-primary);
  text-decoration: none;
}

a:hover {
  color: var(--ae-primary-2);
}

.site-header {
  background: var(--ae-surface);
  box-shadow: 0 2px 10px rgba(29, 35, 39, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.ae-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ae-primary);
}

.main-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  font-size: 15px;
  font-weight: 600;
}

.site-main {
  min-height: calc(100vh - 180px);
}

.ae-page {
  padding: 28px 0 50px;
}

.ae-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--ae-radius);
  padding: 42px 28px;
  background: linear-gradient(135deg, var(--ae-primary), var(--ae-primary-2));
  color: #fff;
  margin-bottom: 24px;
  box-shadow: var(--ae-shadow);
}

.ae-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.ae-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ae-hero__title {
  margin: 0;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
}

.ae-content {
  background: var(--ae-surface);
  border-radius: var(--ae-radius);
  padding: 24px;
  box-shadow: var(--ae-shadow);
}

.ae-content h1,
.ae-content h2,
.ae-content h3 {
  color: var(--ae-primary);
  line-height: 1.2;
}

.ae-content h1 {
  margin-top: 0;
  font-size: 34px;
}

.ae-content h2 {
  margin-top: 34px;
  font-size: 28px;
}

.ae-content h3 {
  margin-top: 22px;
  font-size: 22px;
}

.ae-content blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--ae-accent);
  background: rgba(86, 123, 94, 0.08);
  border-radius: 8px;
}

.ae-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.ae-content th,
.ae-content td {
  border: 1px solid #dfe5e8;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.ae-content th {
  background: #f2f6f7;
  color: var(--ae-primary);
}

.ae-content ul,
.ae-content ol {
  padding-left: 22px;
}

.ae-content hr {
  border: 0;
  border-top: 1px solid #e4eaed;
  margin: 28px 0;
}

.site-footer {
  margin-top: 40px;
  background: var(--ae-primary);
  color: #fff;
}

.site-footer__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .main-navigation ul {
    gap: 10px;
  }

  .ae-content {
    padding: 18px;
  }
}
