/*
 Theme Name:   AS-MEP Child
 Theme URI:    https://www.as-mep.com
 Description:  Thème enfant Astra pour AS Market Entry Partners – Identité premium navy/gold
 Author:       AS Market Entry Partners
 Author URI:   https://www.as-mep.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  asmep-child
*/

/* ==========================================================================
   AS-MEP BRAND IDENTITY
   Navy: #1a2332 | Gold: #c5a55a | White: #ffffff
   Font: Inter (Google Fonts)
   ========================================================================== */

:root {
  --asmep-navy: #1a2332;
  --asmep-navy-light: #243044;
  --asmep-navy-dark: #111827;
  --asmep-gold: #c5a55a;
  --asmep-gold-light: #d4b86e;
  --asmep-gold-dark: #b08f3e;
  --asmep-white: #ffffff;
  --asmep-light-gray: #f8f9fa;
  --asmep-medium-gray: #e9ecef;
  --asmep-text: #2d3748;
  --asmep-text-light: #718096;
}

/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--asmep-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--asmep-navy);
  line-height: 1.3;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  color: var(--asmep-gold-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--asmep-gold);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.ast-primary-header-bar,
.site-header {
  background-color: var(--asmep-navy) !important;
  border-bottom: 2px solid var(--asmep-gold);
}

.site-title a,
.ast-site-identity .site-title a {
  color: var(--asmep-white) !important;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.ast-site-identity .site-description {
  color: var(--asmep-gold) !important;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation */
.main-header-menu a,
.ast-header-sections-navigation a,
.main-navigation a {
  color: var(--asmep-white) !important;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.main-header-menu a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--asmep-gold) !important;
}

/* Mobile menu */
.ast-mobile-menu-buttons .menu-toggle {
  color: var(--asmep-white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.asmep-hero {
  background: linear-gradient(135deg, var(--asmep-navy) 0%, var(--asmep-navy-light) 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.asmep-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(197, 165, 90, 0.08) 0%, transparent 70%);
}

.asmep-hero h1 {
  color: var(--asmep-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
}

.asmep-hero .subtitle {
  color: var(--asmep-gold);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.asmep-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.asmep-btn-primary,
.wp-block-button__link,
.elementor-button {
  background-color: var(--asmep-gold) !important;
  color: var(--asmep-navy) !important;
  border: none;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.asmep-btn-primary:hover,
.wp-block-button__link:hover,
.elementor-button:hover {
  background-color: var(--asmep-gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.4);
}

.asmep-btn-secondary {
  background-color: transparent;
  color: var(--asmep-gold) !important;
  border: 2px solid var(--asmep-gold);
  padding: 12px 34px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
}

.asmep-btn-secondary:hover {
  background-color: var(--asmep-gold);
  color: var(--asmep-navy) !important;
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */

.asmep-section {
  padding: 80px 0;
}

.asmep-section-alt {
  background-color: var(--asmep-light-gray);
}

.asmep-section-dark {
  background-color: var(--asmep-navy);
  color: var(--asmep-white);
}

.asmep-section-dark h2,
.asmep-section-dark h3 {
  color: var(--asmep-white);
}

.asmep-section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* Gold accent line */
.asmep-gold-line {
  width: 60px;
  height: 3px;
  background-color: var(--asmep-gold);
  margin: 1rem auto 2rem;
}

.asmep-gold-line-left {
  margin-left: 0;
}

/* ==========================================================================
   THREE PILLARS (Timing / Positioning / Access)
   ========================================================================== */

.asmep-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .asmep-pillars {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.asmep-pillar {
  text-align: center;
  padding: 40px 30px;
  background: var(--asmep-white);
  border-radius: 8px;
  border-top: 3px solid var(--asmep-gold);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.asmep-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.asmep-pillar-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--asmep-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.asmep-pillar h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.asmep-pillar p {
  color: var(--asmep-text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   SERVICES CARDS
   ========================================================================== */

.asmep-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .asmep-services-grid {
    grid-template-columns: 1fr;
  }
}

.asmep-service-card {
  background: var(--asmep-white);
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--asmep-gold);
  transition: transform 0.3s ease;
}

.asmep-service-card:hover {
  transform: translateY(-3px);
}

.asmep-service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--asmep-navy);
}

.asmep-service-card ul {
  list-style: none;
  padding: 0;
}

.asmep-service-card ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--asmep-text-light);
  font-size: 0.95rem;
}

.asmep-service-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--asmep-gold);
  font-weight: bold;
  font-size: 1.2em;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */

.asmep-process {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 768px) {
  .asmep-process {
    flex-direction: column;
    gap: 20px;
  }
}

.asmep-step {
  flex: 1;
  text-align: center;
  padding: 30px 25px;
  position: relative;
}

.asmep-step-number {
  width: 50px;
  height: 50px;
  background: var(--asmep-gold);
  color: var(--asmep-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

/* ==========================================================================
   TESTIMONIAL / QUOTE
   ========================================================================== */

.asmep-quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--asmep-text);
  position: relative;
}

.asmep-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--asmep-gold);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  opacity: 0.3;
}

/* ==========================================================================
   STATS ROW
   ========================================================================== */

.asmep-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.asmep-stat {
  text-align: center;
}

.asmep-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--asmep-gold);
  line-height: 1;
}

.asmep-stat-label {
  font-size: 0.9rem;
  color: var(--asmep-text-light);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer,
.ast-footer-overlay {
  background-color: var(--asmep-navy-dark) !important;
  color: rgba(255, 255, 255, 0.7);
  border-top: 2px solid var(--asmep-gold);
}

.site-footer a {
  color: var(--asmep-gold) !important;
}

.site-footer a:hover {
  color: var(--asmep-gold-light) !important;
}

/* ==========================================================================
   FORMS (WPForms)
   ========================================================================== */

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form textarea,
.wpforms-form select {
  border: 1px solid var(--asmep-medium-gray);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.wpforms-form input:focus,
.wpforms-form textarea:focus {
  border-color: var(--asmep-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

.wpforms-form .wpforms-submit-container button {
  background-color: var(--asmep-gold) !important;
  color: var(--asmep-navy) !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  padding: 14px 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpforms-form .wpforms-submit-container button:hover {
  background-color: var(--asmep-gold-light) !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .asmep-hero h1 { font-size: 2.4rem; }
  .asmep-hero { padding: 70px 20px 60px; }
  .asmep-section { padding: 60px 0; }
}

@media (max-width: 576px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .asmep-hero h1 { font-size: 2rem; }
  .asmep-hero { padding: 50px 16px 40px; }
  .asmep-section { padding: 40px 0; }
  .asmep-stats { gap: 30px; }
}


/* Hide page title on Home/Accueil pages for cleaner design */
.home .entry-title,
.home .page-title,
.page-id-47 .entry-title,
.page-id-47 .page-title,
.page-id-40 .entry-title,
.page-id-40 .page-title {
  display: none !important;
}
