/*
Theme Name: Neotabac - Astra Child
Theme URI: https://neotabac.com
Description: Theme enfant Astra pour Neotabac - Plateforme premium d'echange de coupons prepayes Neosurf, Paysafecard, PCS, Transcash, Cashlib. Optimise SEO 100%.
Author: Neotabac Team
Author URI: https://neotabac.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: neotabac
Tags: e-commerce, seo, prepaid, neosurf, paysafecard, exchange, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   NEOTABAC CHILD THEME - BASE STYLES
   ======================================== */

/* CSS Variables */
:root {
  --nt-primary: #E87722;
  --nt-primary-dark: #D46510;
  --nt-primary-light: #FF9A4D;
  --nt-secondary: #1A1A2E;
  --nt-secondary-light: #16213E;
  --nt-accent: #00C853;
  --nt-accent-light: #69F0AE;
  --nt-bg: #FFF8F0;
  --nt-bg-alt: #FFFFFF;
  --nt-text: #2D2D2D;
  --nt-text-light: #666666;
  --nt-white: #FFFFFF;
  --nt-light-gray: #F5F5F5;
  --nt-border: #E0E0E0;
  --nt-shadow: rgba(0, 0, 0, 0.08);
  --nt-radius: 12px;
  --nt-radius-sm: 8px;
  --nt-transition: all 0.3s ease;
  --nt-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--nt-font);
  color: var(--nt-text);
  background: var(--nt-bg-alt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nt-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nt-secondary);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; line-height: 1.7; }

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

a:hover { color: var(--nt-primary-dark); }

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

/* Buttons */
.nt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--nt-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--nt-transition);
  gap: 8px;
  font-family: var(--nt-font);
}

.nt-btn-primary {
  background: linear-gradient(135deg, var(--nt-primary), var(--nt-primary-dark));
  color: var(--nt-white);
  box-shadow: 0 4px 15px rgba(232, 119, 34, 0.25);
}

.nt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 119, 34, 0.35);
  color: var(--nt-white);
}

.nt-btn-secondary {
  background: var(--nt-secondary);
  color: var(--nt-white);
}

.nt-btn-secondary:hover {
  background: var(--nt-secondary-light);
  color: var(--nt-white);
  transform: translateY(-2px);
}

.nt-btn-outline {
  background: transparent;
  color: var(--nt-primary);
  border-color: var(--nt-primary);
}

.nt-btn-outline:hover {
  background: var(--nt-primary);
  color: var(--nt-white);
  transform: translateY(-2px);
}

.nt-btn-white {
  background: var(--nt-white);
  color: var(--nt-primary);
}

.nt-btn-white:hover {
  background: var(--nt-bg);
  transform: translateY(-2px);
}

/* Container */
.nt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nt-container-sm { max-width: 800px; }
.nt-container-lg { max-width: 1400px; }

/* Section Spacing */
.nt-section { padding: 80px 0; }
.nt-section-sm { padding: 48px 0; }
.nt-section-lg { padding: 120px 0; }
.nt-section-alt { background: var(--nt-bg); }
.nt-section-dark {
  background: linear-gradient(135deg, var(--nt-secondary) 0%, var(--nt-secondary-light) 100%);
  color: var(--nt-white);
}

/* Section Headers */
.nt-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.nt-section__label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(232, 119, 34, 0.1);
  color: var(--nt-primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.nt-section__title { margin-bottom: 16px; }
.nt-section__subtitle {
  color: var(--nt-text-light);
  font-size: 1.125rem;
}

.nt-section-dark .nt-section__title { color: var(--nt-white); }
.nt-section-dark .nt-section__subtitle { color: rgba(255, 255, 255, 0.8); }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  z-index: 100000;
  background: var(--nt-primary);
  color: var(--nt-white);
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
}

.skip-link:focus { top: 0; }

/* Screen Reader Text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  word-wrap: normal;
}

/* Grid System */
.nt-grid {
  display: grid;
  gap: 24px;
}

.nt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.nt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nt-grid-4 { grid-template-columns: repeat(4, 1fr); }

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

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