/*
Theme Name: SenAbonnement
Theme URI: https://senabonnement.com
Author: Votre Nom
Author URI: https://votre-site.com
Description: Thème personnalisé pour SenAbonnement
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: senabonnement
*/

/* Variables globales */
:root {
  --primary-orange: #deb11c;
  --dark-orange: #c19e10;
  --light-orange: #f7edc8;
  --dark-bg: #1A1A1A;
  --light-bg: #F5F5F5;
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --shadow: 0 4px 15px rgba(219, 179, 20, 0.2);
  --transition: all 0.3s ease;
  --summer-blue: #00A8E8;
  --summer-yellow: #FFD700;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Bannière été */
.summer-banner {
  background: linear-gradient(90deg, var(--summer-blue) 0%, var(--summer-yellow) 100%);
  color: white;
  padding: 0.8rem;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.summer-banner .content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 1200px;
  width: 100%;
}

.summer-banner .close-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
}

.summer-banner .icon {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Hero Section */
.hero {
  height: auto;
  min-height: 80vh;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding: 2rem 0;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 100%;
  z-index: 2;
  padding: 1.5rem;
  animation: fadeInUp 1s ease;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  box-shadow: 0 4px 20px #0002;
  margin: 1rem;
}

.hero-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Bouton */
.btn {
  display: inline-block;
  background-color: var(--primary-orange);
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--dark-orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
}

/* Clients Counter */
.counter-section {
  background-color: var(--primary-orange);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
}

/* Catégories */
.categories {
  padding: 3rem 1rem;
  text-align: center;
  background-color: white;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-orange);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.category-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.15);
}

.category-img {
  height: 150px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f9f9f9;
}

.category-info {
  padding: 1.2rem;
}

.category-info h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-bg);
  font-size: 1.1rem;
}

.category-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Offres spéciales */
.special-offers {
  padding: 3rem 1rem;
  background-color: white;
  text-align: center;
}

.offer-card {
  background: linear-gradient(135deg, var(--summer-blue) 0%, var(--summer-yellow) 100%);
  border-radius: 12px;
  padding: 1.5rem;
  color: white;
  text-align: center;
  margin-top: 1.5rem;
  box-shadow: 0 8px 25px rgba(0,168,232,0.2);
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

.offer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.offer-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.offer-card .btn {
  background-color: white;
  color: var(--summer-blue);
  position: relative;
  z-index: 1;
}

.offer-card .btn:hover {
  background-color: rgba(255,255,255,0.9);
}

/* Pourquoi nous choisir */
.why-us {
  padding: 3rem 1rem;
  background-color: var(--light-orange);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: white;
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 1.8rem;
  color: var(--primary-orange);
  margin-bottom: 0.8rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #666;
}

/* Newsletter */
.newsletter {
  padding: 2.5rem 1rem;
  background-color: var(--dark-bg);
  color: white;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.8rem;
}

.newsletter-form input {
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  border: none;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 45vh;
    padding: 1rem 0;
    clip-path: none;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .category-img {
    height: 100px;
  }

  .category-info {
    padding: 0.8rem;
  }

  .category-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .category-info p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .category-info .btn {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .category-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .category-info {
    flex: 1;
    padding: 0.8rem;
  }

  .category-info h3 {
    font-size: 0.9rem;
  }

  .category-info p {
    display: none;
  }
}