:root {
    --primary: #FF6D00;
    --primary-dark: #1B5E20;
    --secondary: #FF6D00;
    --secondary-dark: #E65100;
    --light-bg: #F5F5F5;
    --dark-text: #212121;
    --light-text: #757575;
}
html,a{
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #FAFAFA;
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 300;
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxyZWN0IHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJ0cmFuc3BhcmVudCI+PC9yZWN0PjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjMiIGZpbGw9IiNGRkYiPjwvY2lyY2xlPjwvc3ZnPg==');
}

/* Navigation */
nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Main Content */
main {
    padding: 60px 0;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Benefits Section */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Requirements Section */
.requirements {
    background-color: var(--light-bg);
    padding: 50px;
    border-radius: 8px;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
}

.requirements-list li {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.requirements-list li:before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

/* How it works */
.steps {
    counter-reset: step-counter;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    padding-left: 80px;
}

.step:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 30px;
    top: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0;
}

.testimonials h2 {
    color: white;
}

.testimonials h2:after {
    background-color: var(--secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255,255,255,0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-radius: 8px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section h2:after {
    display: none;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: white;
    color: var(--secondary-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--secondary-dark);
}

/* Footer */
footer {
    background-color: var(--dark-text);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .btn-outline {
        display: block;
        margin: 15px auto 0;
        max-width: 200px;
    }
}
/* ====================
RESPONSIVE STYLES
==================== */

/* Tablettes (768px - 1024px) */
@media (max-width: 1024px) {
.benefits {
grid-template-columns: repeat(2, 1fr);
}

.steps {
flex-direction: column;
}

.step {
min-width: 100%;
margin-bottom: 15px;
}

.testimonial-grid {
grid-template-columns: 1fr;
}

.footer-content {
grid-template-columns: repeat(2, 1fr);
}
}

/* Grands smartphones (576px - 767px) */
@media (max-width: 767px) {
header {
padding: 40px 0 60px;
}

header h1 {
font-size: 2rem;
}

.header-pattern {
opacity: 0.05;
}

.benefits {
grid-template-columns: 1fr;
}

.requirements-list {
grid-template-columns: 1fr;
}

.nav-links {
flex-wrap: wrap;
justify-content: center;
}

.nav-links li {
margin: 0 10px 10px;
}

.btn-outline {
margin-left: 0;
margin-top: 15px;
}

/* Formulaire - disposition colonne unique */
form > div {
grid-template-columns: 1fr !important;
}
}

/* Petits smartphones (< 576px) */
@media (max-width: 575px) {
.container {
padding: 0 15px;
}

header {
padding: 30px 0 50px;
}

header h1 {
font-size: 1.8rem;
}

header p {
font-size: 1rem;
}

h2 {
font-size: 1.6rem;
}

.requirements, .testimonial-card, .benefit-card {
padding: 20px;
}

.cta-section {
padding: 40px 0;
}

.footer-content {
grid-template-columns: 1fr;
gap: 30px;
}

/* Optimisation formulaire mobile */
form {
padding: 20px !important;
}

input, select, textarea {
padding: 10px !important;
}

button[type="submit"] {
width: 100%;
}
}

/* Styles spécifiques pour l'orientation paysage */
@media (max-height: 500px) and (orientation: landscape) {
header {
padding: 30px 0;
}

.header-content {
padding: 20px 0;
}
}

/* Optimisation pour les très grands écrans */
@media (min-width: 1600px) {
.container {
max-width: 1400px;
}
}

/* ====================
AMÉLIORATIONS MOBILE
==================== */

/* Empêcher le zoom sur les champs de formulaire iOS */
@media screen and (max-width: 767px) {
input, select, textarea {
font-size: 16px !important;
}
}

/* Optimisation des boutons tactiles */
.btn, button {
min-height: 44px; /* Taille minimale pour les zones tactiles */
position: relative;
}

.btn:after, button:after {
content: '';
position: absolute;
top: -10px;
right: -10px;
bottom: -10px;
left: -10px; /* Zone cliquable étendue */
}

/* Correction du viewport mobile */
@viewport {
width: device-width;
zoom: 1.0;
}

/* ====================
ANIMATIONS MOBILE
==================== */

/* Feedback tactile pour les interactions */
@media (hover: none) {
.benefit-card, .btn, button, .nav-links a {
transition: transform 100ms ease-out;
}

.benefit-card:active, .btn:active, button:active {
transform: scale(0.98);
}

.nav-links a:active {
color: var(--secondary) !important;
}
}

/* ====================
OPTIMISATIONS SPÉCIFIQUES
==================== */

/* Correction Safari pour les grids */
@supports (-webkit-touch-callout: none) {
.benefits, .requirements-list {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

.benefit-card, .requirements-list li {
-webkit-box-flex: 1;
-webkit-flex: 1 0 300px;
flex: 1 0 300px;
}
}

/* Correction Firefox pour les flexbox */
@-moz-document url-prefix() {
.steps {
display: block;
}

.step {
width: 100%;
margin-bottom: 20px;
}
}
/* Animation du texte du header */
.header-content h1 {
animation: slideInDown 0.8s ease-out;
}

.header-content p {
animation: slideInDown 1s ease-out;
}

.header-content .btn {
animation: fadeInUp 1.2s ease-out;
}

@keyframes slideInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}

}