/* ============================================
   VARIABLES ET RESET
   ============================================ */

:root {
	--orange: #FE8E0F;
	--grey: #E4E2DD;
	--black: #202020;
	--white: #FFFFFF;
	--font-primary: 'Inter', 'Capucine basic black', sans-serif;
	--font-secondary: 'Coolvetica', 'Inter', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	line-height: 1.6;
	color: var(--black);
	overflow-x: hidden;
}

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

/* ============================================
   HEADER ET NAVIGATION
   ============================================ */

#header {
	position: fixed;
	top: 0;
	width: 100%;
	background: var(--white);
	box-shadow: 0 2px 20px rgba(32, 32, 32, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.navbar {
	padding: 1rem 0;
}

.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	height: 50px;
	width: auto;
}

.nav-menu {
	display: flex;
}

.nav-list {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-link {
	text-decoration: none;
	color: var(--black);
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-link:hover {
	color: var(--orange);
}

.nav-extras {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.social-icons {
	display: flex;
	gap: 1rem;
}

.social-icons a {
	color: var(--black);
	font-size: 1.2rem;
	transition: color 0.3s ease;
}

.social-icons a:hover {
	color: var(--orange);
}

.language-switcher {
	display: flex;
	gap: 0.5rem;
}

.lang-btn {
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: var(--black);
	border: 2px solid var(--grey);
	border-radius: 5px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
	background: var(--orange);
	color: var(--white);
	border-color: var(--orange);
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: var(--black);
	transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   SECTIONS GÉNÉRALES
   ============================================ */

section {
	padding: 80px 0;
}

section[id] {
	scroll-margin-top: 100px;
}

h2 {
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1rem;
	color: var(--black);
}

.section-intro {
	text-align: center;
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto 3rem;
	color: var(--black);
}

.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	background: var(--orange);
	color: var(--white);
	padding: 1rem 2.5rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(254, 142, 15, 0.3);
}

.cta-button:hover {
	background: var(--black);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(32, 32, 32, 0.3);
}

.cta-button i {
	font-size: 1.2rem;
}

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

.hero-section {
	position: relative;
	height: 100vh;
	overflow: hidden;
}

.hero-overlay {
	padding: 0 20px;
	text-align: center;
}

.hero-overlay h1 {
	color: white;
	font-size: 3rem;
	font-weight: 900;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
	letter-spacing: 2px;
	line-height: 1.3;
}

.hero-overlay h1 .subtitle {
	display: block;
	font-size: 1.8rem;
	font-weight: 600;
	color: #FE8E0F;
	margin-top: 1rem;
	letter-spacing: 0;
}

.slider-container {
	position: relative;
	height: 100%;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease;
}

.slide.active {
	opacity: 1;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slide-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--white);
	z-index: 2;
	max-width: 800px;
	padding: 2rem;
}

.slide-content h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
	font-size: 1.5rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slider-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 2rem;
	z-index: 3;
}

.slider-nav button {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: var(--white);
	font-size: 1.5rem;
	padding: 1rem;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s ease;
}

.slider-nav button:hover {
	background: var(--orange);
}

.slider-dots {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 1rem;
	z-index: 3;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: 2px solid var(--orange);
	cursor: pointer;
	transition: background 0.3s ease;
}

.dot.active {
	background: var(--orange);
	border-color: var(--orange);
}

/* ============================================
   SECTION "COM FUNCIONA"
   ============================================ */

.how-it-works {
	background: var(--grey);
}

.steps-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
	margin-bottom: 4rem;
}

.step {
	text-align: center;
	background: var(--white);
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(32, 32, 32, 0.1);
	transition: transform 0.3s ease;
}

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

.step-icon {
	background: var(--orange);
	color: var(--white);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 2rem;
}

.step h3 {
	margin-bottom: 1rem;
	color: var(--black);
}

.video-container {
	text-align: center;
}

.video-container video {
	max-width: 100%;
	height: auto;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(32, 32, 32, 0.2);
}

/* ============================================
   SECTION CARTE
   ============================================ */

#map {
	height: 400px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(32, 32, 32, 0.1);
}

/* ============================================
   SECTION MODÈLES DE TÉLÉPHONES
   ============================================ */

.phone-models {
	background: linear-gradient(135deg, var(--white) 0%, var(--grey) 100%);
}

.search-container {
	max-width: 600px;
	margin: 0 auto 2rem;
}

.search-box {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--white);
	border: 2px solid var(--grey);
	border-radius: 50px;
	padding: 0.8rem 1.5rem;
	box-shadow: 0 5px 20px rgba(32, 32, 32, 0.1);
	transition: all 0.3s ease;
}

.search-box:focus-within {
	border-color: var(--orange);
	box-shadow: 0 8px 30px rgba(254, 142, 15, 0.2);
}

.search-box i {
	color: var(--orange);
	font-size: 1.2rem;
	margin-right: 1rem;
}

#model-search {
	flex: 1;
	border: none;
	outline: none;
	font-size: 1rem;
	font-family: var(--font-primary);
	color: var(--black);
}

#model-search::placeholder {
	color: #999;
}

.clear-btn {
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	padding: 0.5rem;
	transition: color 0.3s ease;
}

.clear-btn:hover {
	color: var(--orange);
}

.results-count {
	text-align: center;
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #666;
}

#count-number {
	font-weight: 700;
	color: var(--orange);
	font-size: 1.1rem;
}

.brands-filter {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.brand-filter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	background: var(--white);
	border: 2px solid var(--grey);
	border-radius: 15px;
	padding: 1rem 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 90px;
}

.brand-filter:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(32, 32, 32, 0.1);
	border-color: var(--orange);
}

.brand-filter.active {
	background: var(--orange);
	border-color: var(--orange);
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(254, 142, 15, 0.3);
}

.brand-name {
	font-weight: 600;
	font-size: 0.95rem;
}

.brand-count {
	font-size: 0.8rem;
	opacity: 0.8;
	font-weight: 500;
}

.brand-filter.active .brand-count {
	opacity: 1;
}

.models-grid-advanced {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.model-card-advanced {
	background: var(--white);
	border-radius: 15px;
	padding: 1.5rem;
	box-shadow: 0 5px 20px rgba(32, 32, 32, 0.08);
	transition: all 0.3s ease;
	position: relative;
	border: 2px solid transparent;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.model-card-advanced:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(32, 32, 32, 0.15);
	border-color: var(--orange);
}

.model-icon {
	background: linear-gradient(135deg, var(--orange) 0%, #FF6B35 100%);
	color: var(--white);
	width: 50px;
	height: 50px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	flex-shrink: 0;
}

.model-info {
	flex: 1;
}

.model-info h4 {
	margin: 0 0 0.3rem 0;
	color: var(--black);
	font-size: 1rem;
	font-weight: 600;
}

.model-brand {
	font-size: 0.85rem;
	color: #666;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.popular-badge {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
	color: var(--white);
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	box-shadow: 0 2px 10px rgba(255, 165, 0, 0.3);
}

.availability {
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.availability i {
	font-size: 0.85rem;
}

.availability.available {
	color: #10B981;
}

.availability.unavailable {
	color: #F59E0B;
}

.no-results {
	text-align: center;
	padding: 4rem 2rem;
	background: var(--white);
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(32, 32, 32, 0.1);
}

.no-results i {
	font-size: 4rem;
	color: var(--grey);
	margin-bottom: 1.5rem;
	opacity: 0.5;
}

.no-results h3 {
	color: var(--black);
	margin-bottom: 0.5rem;
}

.no-results p {
	color: #666;
	font-size: 0.95rem;
}

.select-brand-message {
	grid-column: 1 / -1;
	text-align: center;
	padding: 4rem 2rem;
	background: var(--white);
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(32, 32, 32, 0.1);
}

.select-brand-message i {
	font-size: 4rem;
	color: var(--orange);
	margin-bottom: 1.5rem;
}

.select-brand-message h3 {
	color: var(--black);
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
}

.select-brand-message p {
	color: #666;
	font-size: 1rem;
}

/* ============================================
   SECTION HASHTAGS
   ============================================ */

.hashtag-cloud {
	text-align: center;
	padding: 80px 0;
	background: linear-gradient(135deg, var(--grey) 0%, var(--white) 100%);
}

.hashtag-cloud h2 {
	margin-bottom: 3rem;
}

.hashtags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	max-width: 900px;
	margin: 0 auto;
	perspective: 1000px;
}

.hashtag {
	background: linear-gradient(135deg, var(--orange) 0%, #FF6B35 100%);
	color: var(--white);
	padding: 0.7rem 1.5rem;
	border-radius: 30px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(254, 142, 15, 0.3);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	opacity: 1;
	transform: translateY(0) scale(1);
}

.hashtag::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s;
}

.hashtag:hover::before {
	left: 100%;
}

.hashtag:hover {
	background: linear-gradient(135deg, var(--black) 0%, #404040 100%);
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 8px 25px rgba(32, 32, 32, 0.4);
}

.hashtag:nth-child(3n) {
	font-size: 1.1rem;
	padding: 0.8rem 1.8rem;
}

.hashtag:nth-child(5n) {
	font-size: 0.8rem;
	padding: 0.5rem 1.2rem;
}

.hashtag:nth-child(7n) {
	font-size: 1.2rem;
	padding: 0.9rem 2rem;
}

.hashtag:nth-child(11n) {
	font-size: 0.75rem;
	padding: 0.4rem 1rem;
}

.hashtag.animate {
	opacity: 0;
	transform: translateY(20px) scale(0.8);
	animation: hashtag-appear 0.6s ease forwards;
}

@keyframes hashtag-appear {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* ============================================
   SECTION CONTACT
   ============================================ */

.contact {
	background: var(--white);
	padding: 0;
}

.contact .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	max-width: 100%;
	padding: 0;
}

.contact-left {
	background: linear-gradient(135deg, var(--orange) 0%, #FF6B35 100%);
	padding: 80px 60px;
	color: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-left h2 {
	color: var(--white);
	text-align: left;
	margin-bottom: 1.5rem;
}

.contact-right {
	padding: 80px 60px;
	background: var(--grey);
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
	max-width: 400px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: var(--white);
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(32, 32, 32, 0.1);
	transition: transform 0.3s ease;
}

.contact-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(32, 32, 32, 0.15);
}

.contact-icon {
	background: var(--orange);
	color: var(--white);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	flex-shrink: 0;
}

.contact-details h4 {
	margin-bottom: 0.5rem;
	color: var(--black);
}

.contact-details a {
	color: var(--orange);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
}

.contact-details a:hover {
	color: var(--black);
}

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

#footer {
	background: var(--black);
	color: var(--white);
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer-logo {
	height: 80px;
	margin-bottom: 1rem;
}

.footer-section h4 {
	margin-bottom: 1rem;
	color: var(--orange);
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: var(--white);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: var(--orange);
}

.footer-social {
	display: flex;
	gap: 1rem;
}

.footer-social a {
	color: var(--white);
	font-size: 1.5rem;
	transition: color 0.3s ease;
}

.footer-social a:hover {
	color: var(--orange);
}

.footer-bottom {
	border-top: 1px solid var(--grey);
	padding-top: 2rem;
	text-align: center;
}

.footer-bottom a {
	color: var(--orange);
	text-decoration: none;
}

.mobile-break {
	display: none;
}

.dash-desktop {
	display: inline;
}

/* ============================================
   RESPONSIVE - TABLETTES (768px)
   ============================================ */

@media (max-width: 768px) {
	/* Navigation */
	.hamburger {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		background: var(--white);
		box-shadow: 0 2px 20px rgba(32, 32, 32, 0.1);
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}

	.nav-menu.active {
		max-height: 400px;
		opacity: 1;
		visibility: visible;
	}

	.nav-list {
		flex-direction: column;
		padding: 2rem 1rem;
		gap: 1rem;
	}

	.nav-extras {
		gap: 1rem;
	}

	/* Sections */
	section[id] {
		scroll-margin-top: 120px;
	}

	h2 {
		font-size: 2rem;
	}

	/* Hero */
	.hero-overlay {
		padding: 0 30px;
	}

	.hero-overlay h1 {
		font-size: 2rem;
	}

	.hero-overlay h1 .subtitle {
		font-size: 1.2rem;
	}

	.slide-content h1 {
		font-size: 2.5rem;
	}

	.slide-content p {
		font-size: 1.2rem;
	}

	/* Steps */
	.steps-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Modèles */
	.brands-filter {
		gap: 0.8rem;
	}

	.brand-filter {
		min-width: 80px;
		padding: 0.8rem 1rem;
	}

	.brand-name {
		font-size: 0.85rem;
	}

	.models-grid-advanced {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.search-box {
		padding: 0.7rem 1.2rem;
	}

	#model-search {
		font-size: 0.9rem;
	}

	.model-card-advanced {
		padding: 1.2rem;
	}

	.model-icon {
		width: 45px;
		height: 45px;
		font-size: 1.3rem;
	}

	.model-info h4 {
		font-size: 0.95rem;
	}

	/* Hashtags */
	.hashtags {
		gap: 0.8rem;
	}

	.hashtag {
		font-size: 0.8rem !important;
		padding: 0.5rem 1rem !important;
	}

	/* Contact */
	.contact .container {
		grid-template-columns: 1fr;
	}

	.contact-left,
	.contact-right {
		padding: 60px 30px;
	}

	.contact-info {
		flex-direction: column;
		align-items: center;
		gap: 2rem;
	}

	.contact-item {
		width: 100%;
		max-width: 400px;
	}

	/* Footer */
	.mobile-break {
		display: block;
	}

	.dash-desktop {
		display: none;
	}

	.footer-bottom p {
		line-height: 1.6;
	}
}

/* ============================================
   RESPONSIVE - MOBILES (480px)
   ============================================ */

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	section {
		padding: 60px 0;
	}

	/* Hero */
	.slide-content {
		padding: 1rem;
	}

	.slide-content h1 {
		font-size: 2rem;
	}

	/* Modèles */
	.search-container {
		padding: 0 10px;
	}

	.brands-filter {
		gap: 0.5rem;
	}

	.brand-filter {
		min-width: 70px;
		padding: 0.6rem 0.8rem;
		font-size: 0.8rem;
	}

	.model-card-advanced {
		flex-direction: column;
		text-align: center;
	}

	.popular-badge {
		top: auto;
		bottom: 0.5rem;
		left: 50%;
		transform: translateX(-50%);
	}

	.availability {
		position: static;
		justify-content: center;
		margin-top: 0.5rem;
	}

	/* Contact */
	.contact-left,
	.contact-right {
		padding: 40px 20px;
	}
}