/* ================== STYLES GÉNÉRAUX ================== */
* {
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background-attachment: fixed;
color: #333;
line-height: 1.6;
}

header {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
color: #fff;
text-align: center;
padding: 30px 20px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
font-size: 2.5em;
margin: 0;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
animation: fadeInDown 0.8s ease-out;
}

.header-subtitle {
margin: 10px 0 0 0;
font-size: 1.2em;
font-weight: 300;
opacity: 0.95;
}

footer {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
color: #fff;
text-align: center;
padding: 20px;
margin-top: 40px;
box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}

.footer-note {
font-size: 0.9em;
opacity: 0.8;
margin-top: 5px;
}

main {
max-width: 1000px;
margin: 30px auto;
background-color: #fff;
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
animation: fadeIn 1s ease-out;
}

h1, h2, h3 {
margin-top: 0;
line-height: 1.3;
}

h2 {
color: #2980b9;
padding-bottom: 10px;
margin-top: 30px;
font-size: 1.8em;
}

h3 {
color: #16a085;
font-size: 1.4em;
margin-top: 20px;
}

p {
line-height: 1.8;
margin: 0.8em 0;
font-size: 1.05em;
}

ul, ol {
margin: 0 0 1.5em 2em;
line-height: 1.8;
}

li {
margin-bottom: 0.5em;
}

a {
color: #3498db;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
border-bottom: 2px solid transparent;
}
a:hover {
color: #2980b9;
border-bottom: 2px solid #2980b9;
text-decoration: none;
}

/* ================== CONTENEURS & IMAGES ================== */
.image-container {
text-align: center;
margin: 30px 0;
padding: 20px;
background-color: #f8f9fa;
border-radius: 10px;
}
.image-container img {
max-width: 100%;
height: auto;
border: 3px solid #e0e0e0;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-container img:hover {
transform: scale(1.02);
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.image-container p {
margin-top: 15px;
font-style: italic;
color: #666;
font-size: 0.95em;
}

/* ================== MISE EN ÉVIDENCE ================== */
.highlight {
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
border-left: 6px solid #ffd700;
padding: 20px;
margin: 25px 0;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.highlight p {
margin: 0;
font-weight: 500;
}

/* ================== SECTIONS ================== */
section {
margin: 30px 0;
padding: 25px;
background-color: #f8f9fa;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
transform: translateY(-3px);
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ================== ALERTE (LE PREMIER BLOC) ================== */
.alert-container {
margin-bottom: 30px;
padding: 30px;
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
border: none;
border-radius: 15px;
text-align: center;
box-shadow: 0 10px 30px rgba(238, 90, 111, 0.4);
animation: pulse 2s ease-in-out infinite;
}
.alert-container h1 {
color: #ffffff;
margin-top: 0;
text-transform: uppercase;
font-size: 2.5em;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
animation: shake 0.5s ease-in-out;
}
.alert-container h2 {
color: #ffffff;
margin-bottom: 0.5em;
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
font-size: 1.5em;
}
.alert-container p {
font-weight: bold;
margin-bottom: 1em;
color: #ffffff;
}
.alert-container .center {
display: block;
margin: 20px auto;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.alert-message {
font-size: 1.1em;
margin: 15px 0;
}

.croissant-reminder {
font-size: 1.3em;
margin: 15px 0;
animation: bounce 2s ease-in-out infinite;
}

.alert-stats {
background-color: rgba(255,255,255,0.2);
padding: 15px;
border-radius: 10px;
margin-top: 20px;
}

.alert-stats p {
margin: 5px 0;
color: #ffffff;
}

/* ================== BLOC PRINCIPAL (CONTAINER) ================== */
.container {
background-color: #f8f9fa;
margin: 25px 0;
padding: 25px;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
border-left: 5px solid #3498db;
}

/* ================== BLOC CONTENU ================== */
.content-section {
background-color: #ffffff;
margin: 25px 0;
padding: 25px;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
border-left: 5px solid #16a085;
}

/* Couleurs pour le texte */
.red {
color: #e74c3c;
font-weight: 600;
}
.uppercase {
text-transform: uppercase;
}
.centre {
text-align: center;
}

/* ================== POUR LES TITRES DANS LA NOUVELLE SECTION ================== */
.mimi-titre {
color: #2c3e50;
margin-top: 1em;
margin-bottom: 0.5em;
font-weight: 600;
}

/* Mise en évidence colorée */
.highlight-red {
color: #e74c3c;
font-weight: bold;
background-color: #fadbd8;
padding: 2px 6px;
border-radius: 4px;
}
.highlight-green {
color: #27ae60;
font-weight: bold;
background-color: #d5f4e6;
padding: 2px 6px;
border-radius: 4px;
}

/* ================== ANIMATIONS ================== */
@keyframes fadeIn {
from {
    opacity: 0;
    transform: translateY(20px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

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

@keyframes pulse {
0%, 100% {
    box-shadow: 0 10px 30px rgba(238, 90, 111, 0.4);
}
50% {
    box-shadow: 0 10px 40px rgba(238, 90, 111, 0.6);
}
}

@keyframes shake {
0%, 100% { transform: translateX(0); }
10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}

/* ================== NOUVELLES SECTIONS ================== */

/* Section Introduction */
.intro-section {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.lead-text {
font-size: 1.15em;
font-weight: 500;
margin-bottom: 20px;
}

.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 30px 0;
}

.info-card {
background-color: white;
padding: 25px;
border-radius: 12px;
text-align: center;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
transition: all 0.3s ease;
border-top: 4px solid #3498db;
}

.info-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.info-card .icon {
font-size: 3em;
display: block;
margin-bottom: 15px;
}

.info-card h4 {
color: #2c3e50;
margin: 10px 0;
font-size: 1.1em;
}

.info-card p {
color: #7f8c8d;
font-size: 0.95em;
margin: 5px 0;
}

/* Méthodes de phishing */
.method-card {
background-color: white;
padding: 20px;
margin: 20px 0;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
border-left: 5px solid #e74c3c;
transition: all 0.3s ease;
}

.method-card:hover {
transform: translateX(5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.method-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 15px;
}

.method-icon {
font-size: 2.5em;
}

.method-card h3 {
margin: 0;
color: #e74c3c;
font-size: 1.3em;
}

.example-box {
background-color: #fff5f5;
padding: 12px;
border-radius: 8px;
margin-top: 15px;
border-left: 3px solid #e74c3c;
font-style: italic;
}

/* Box d'avertissement */
.warning-box {
display: flex;
align-items: center;
gap: 15px;
}

.warning-icon {
font-size: 2em;
flex-shrink: 0;
}

/* Signaux d'alerte */
.section-intro {
font-size: 1.1em;
margin-bottom: 25px;
font-weight: 500;
}

.warning-signs {
display: flex;
flex-direction: column;
gap: 15px;
}

.sign-item {
display: flex;
gap: 15px;
align-items: flex-start;
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}

.sign-item:hover {
box-shadow: 0 4px 15px rgba(0,0,0,0.12);
transform: translateX(5px);
}

.sign-icon {
font-size: 2em;
flex-shrink: 0;
}

.sign-icon.red {
color: #e74c3c;
}

.sign-content h4 {
margin: 0 0 8px 0;
color: #2c3e50;
font-size: 1.1em;
}

.sign-content p {
margin: 0 0 10px 0;
color: #555;
}

.code-example {
display: inline-block;
background-color: #f8f9fa;
padding: 5px 10px;
border-radius: 5px;
font-family: 'Courier New', monospace;
color: #e74c3c;
font-size: 0.9em;
border: 1px solid #dee2e6;
}

/* Bannières */
.banner-explanation {
display: flex;
flex-direction: column;
gap: 15px;
margin: 20px 0;
}

.banner-item {
padding: 15px;
border-radius: 10px;
border-left: 5px solid;
}

.banner-item.danger {
background-color: #fff5f5;
border-left-color: #e74c3c;
}

.banner-item.warning {
background-color: #f0fdf4;
border-left-color: #27ae60;
}

.banner-item p {
margin: 8px 0 0 0;
}

/* Grilles de risques */
.risk-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin: 25px 0;
}

.risk-card {
background-color: white;
padding: 25px;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
transition: all 0.3s ease;
border-top: 4px solid #e74c3c;
}

.risk-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.risk-icon {
font-size: 3em;
display: block;
margin-bottom: 15px;
}

.risk-card h4 {
color: #e74c3c;
margin: 10px 0;
font-size: 1.15em;
}

.risk-card p {
color: #555;
font-size: 0.95em;
line-height: 1.6;
}

/* Section protection */
.protection-section {
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.protection-list {
display: flex;
flex-direction: column;
gap: 25px;
margin-top: 25px;
}

.protection-item {
display: flex;
gap: 20px;
background-color: white;
padding: 25px;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}

.protection-item:hover {
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
transform: translateX(5px);
}

.protection-item .number {
flex-shrink: 0;
width: 50px;
height: 50px;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5em;
font-weight: bold;
box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.protection-content h4 {
margin: 0 0 12px 0;
color: #2c3e50;
font-size: 1.2em;
}

.protection-content p {
margin: 0 0 12px 0;
}

.tip-box {
background-color: #fff3cd;
padding: 12px;
border-radius: 8px;
border-left: 4px solid #ffc107;
margin-top: 12px;
font-size: 0.95em;
}

/* Box critique */
.critical-box {
background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
border-left: 6px solid #dc2626;
}

.critical-icon {
font-size: 2.5em;
}

.critical-list {
list-style: none;
padding: 0;
margin: 15px 0 0 0;
}

.critical-list li {
padding: 8px 0;
font-size: 1.05em;
}

/* Section d'urgence */
.emergency-section {
background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
border: 3px solid #f59e0b;
}

.emergency-steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 25px;
}

.emergency-step {
background-color: white;
padding: 20px;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-number {
display: inline-block;
width: 45px;
height: 45px;
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: white;
border-radius: 50%;
text-align: center;
line-height: 45px;
font-size: 1.4em;
font-weight: bold;
margin-bottom: 15px;
box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
}

.step-number.urgent {
animation: pulse 2s ease-in-out infinite;
}

.step-content h4 {
color: #2c3e50;
margin: 0 0 12px 0;
font-size: 1.15em;
}

.step-content ul {
margin: 10px 0 0 20px;
padding: 0;
}

.step-content li {
margin-bottom: 8px;
color: #555;
}

/* Ressources */
.resources-section {
background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.resources-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 20px;
margin-top: 25px;
}

.resource-card {
background-color: white;
padding: 25px;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
text-align: center;
transition: all 0.3s ease;
border-top: 4px solid #3498db;
}

.resource-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.resource-icon {
font-size: 3em;
display: block;
margin-bottom: 15px;
}

.resource-card h4 {
color: #2c3e50;
margin: 10px 0;
font-size: 1.1em;
}

.resource-card p {
color: #7f8c8d;
font-size: 0.95em;
margin-bottom: 15px;
}

.resource-link {
display: inline-block;
padding: 10px 20px;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white !important;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
border: none;
}

.resource-link:hover {
background: linear-gradient(135deg, #2980b9 0%, #1e6fa5 100%);
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Conclusion */
.conclusion-box {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
padding: 30px;
border-radius: 15px;
margin: 30px 0;
box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.conclusion-box h3 {
color: white;
margin-top: 0;
font-size: 1.8em;
text-align: center;
margin-bottom: 25px;
}

.key-points {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
margin: 25px 0;
}

.key-point {
background-color: rgba(255,255,255,0.2);
padding: 15px;
border-radius: 10px;
font-weight: 500;
backdrop-filter: blur(10px);
transition: all 0.3s ease;
}

.key-point:hover {
background-color: rgba(255,255,255,0.3);
transform: translateX(5px);
}

.conclusion-text {
text-align: center;
font-size: 1.2em;
margin: 25px 0 0 0;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
main {
    margin: 15px;
    padding: 20px;
}

header h1 {
    font-size: 1.8em;
}

.header-subtitle {
    font-size: 1em;
}

h2 {
    font-size: 1.5em;
}

.alert-container h1 {
    font-size: 1.8em;
}

.alert-container h2 {
    font-size: 1.2em;
}

section {
    padding: 15px;
}

.info-grid,
.risk-grid,
.resources-grid {
    grid-template-columns: 1fr;
}

.emergency-steps {
    grid-template-columns: 1fr;
}

.key-points {
    grid-template-columns: 1fr;
}

.protection-item,
.sign-item,
.method-card {
    flex-direction: column;
}

.warning-box {
    flex-direction: column;
    text-align: center;
}

.critical-box {
    flex-direction: column;
}
}
